diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 1a36d0d17086..896f099d6d71 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -1,106 +1,3 @@
-# Contributing to azure-rest-api-specs
-First, thank you for contributing to Azure specs repository! Swagger specs are the basis for generating Azure SDKs in multiple different languages, Azure CLIs for interacting with the services, and can provide documentation for these services.
-
-## Basics
-If you're a spec author looking for information about all of the repositories and steps in the pipeline, go to the [adx-documentation-pr](https://github.com/Azure/adx-documentation-pr) repository. Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that repo.
-
-## Table of Contents
-[Before starting](#before-starting)
-- [Onboarding](#onboarding)
-- [Github basics](#github-basics)
-- [Code of Conduct](#code-of-conduct)
-
-[Making changes](#making-changes)
-- [Documentation](#documentation)
-- [Filenames and folder structure](#filenames-and-folder-structure)
-- [Tools for writing Swagger](#tools-for-writing-swagger)
-- [Tools for validating Swagger](#tools-for-validating-swagger)
-
-[Submitting a PR](#submitting-a-pr)
-
-[Review process](#review-process)
-- [SLA](#sla)
-- [Review Criteria](#review-criteria)
-
-## Before starting
-
-### Onboarding
-Make sure that your Github account is part of the Azure organization. [Use this page](http://aka.ms/azuregithub) to link your account.
-
-Before cloning this repository, please make sure you have started in our [documentation repository adx-documentation-pr](https://github.com/Azure/adx-documentation-pr) (you will only have access to that page if you are part of the Azure organization).
-
-### Github basics
-
-#### GitHub workflow
-If you don't have experience with Git and Github, some of the terminology and process can be confusing. [Here's a guide to understanding Github](https://guides.github.com/introduction/flow/).
-
-#### Forking the Azure/azure-rest-api-specs repository
-Unless you are working with multiple contributors on the same file, we ask that you fork the repository and submit your Pull Request from there. [Here's a guide to forks in Github](https://guides.github.com/activities/forking/).
-
-### Code of Conduct
-This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
-
-## Making changes
-Swagger files are simply JSON files that follow the [OpenAPI Specification](http://swagger.io/specification/). This specification is extensible, and there are extensions that are used by AutoRest when your SDK is generated. Additionally, there are patterns and standards that are necessary for generating quality SDKs and CLIs.
-
-### Documentation
-The [/documentation](../documentation/) folder contains many resources for writing Swagger files.
-
-The [Swagger Checklist](../documentation/swagger-checklist.md) page is intended as a guide for different scenarios. If you know the service behavior that you're trying to model (e.g. PUT/PATCH/GET responses and request schemas, or modeling long running operations), that document is structured to make it easy to find our recommendations.
-
-The [Reference Documentation](../documentation/creating-swagger.md) page contains lots of information about each part of a Swagger file and how to structure it correctly for code generation. If you're looking for an explanation on what a part of Swagger relates to your service or how it's used to generate code, that document is the right place to go.
-
-### Filenames and folder structure
-- Swagger spec for every api-version should be in a separate folder named with the api-version.
- - It is time consuming to review the file line by line for every api-version. When you are creating the swagger spec for the new api-version, please copy the swagger spec from the previous version in to the new api-versioned folder and commit it. After that overwrite it with the changes for the new api-version. This makes it easy for us to review the changes.
-
-### Tools for writing Swagger
-As JSON files, specs can be modified in any text editor that you choose. We have some recommendations that can make editing these files easier.
-
-- _**Recommended**_ Visual Studio Code.
-- Visual Studio Code can provide a nice experience for editing JSON, though it takes extra work to use the JSON schema that defines Swagger files.
-
-### Tools for validating Swagger
-There are some tools that can help you make sure your spec conforms to guidelines. The more of these issues that are caught before the PR is sent, the quicker the turnaround to merging the PR will be.
-
-- _**Recommended**_ Please take a look at the [validation tools for swagger checklist](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/swagger-checklist.md#validation-tools-for-swagger-checklist) section.
-- The [OpenAPI Initiative Swagger editor](http://editor.swagger.io/#/) will help find basic issues in a Swagger file. However, we apply a higher bar than this validator - just because this site doesn't show errors doesn't mean the spec is ready to merge.
-- Similarly, this online [schema validator](https://json-schema-validator.herokuapp.com/) can help find basic errors. Again, we apply a higher bar than this validator - just because this site doesn't show errors doesn't mean the spec is ready to merge.
- * In the upper left box, paste the [swagger schema from here](https://github.com/swagger-api/swagger-spec/blob/master/schemas/v2.0/schema.json)
- * In the lower left box, paste your swagger json
- * Upon clicking the validate button, you should either see errors or success.
-
-## Submitting a PR
-
-Please send a [GitHub Pull Request to Azure REST API Specs](https://github.com/azure/azure-rest-api-specs/pull/new/master) with a clear list of what you've done (read more about [pull requests](http://help.github.com/pull-requests/)). When you send a pull request, we will love you forever if you include additions to the documentation for your given service. We can always use more documentation and beautiful markdown. Please follow make sure all of your commits are atomic (one feature per commit).
-
-Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this:
-
- $ git commit -m "A brief summary of the commit
- >
- > A paragraph describing what changed and its impact."
-
-Please be kind with your pull requests and ensure you keeping them as focused and cohesive as possible. Keep your pull
-request free of merge commits, code review fixes and anything that may take away from the essence of your contribution.
-Use the git tools you have available to you, such as amend, rebase, etc.
-
-
-## Review process
-We review spec PRs to maintain a high bar of quality for all products that will be generated from these specs (including SDKs in all languages, CLIs and documentation). It's critical that spec files are both syntactically and semantically correct, as well as conform to common patterns that make it possible to generate SDKs and CLIs that are usable for customers. Since specs are the base input for all of these products, the review process starts with PRs to this repository. Please refer to [Swagger Review Process](https://github.com/Azure/adx-documentation-pr/wiki/Swagger-Review-Process) for more details.
-
-The expectation is that every spec in a PR will be correct JSON, syntactically correct, will semantically agree with the service it applies to, and will follow the recommended patterns.
-
-#### Basic JSON correctness
-A spec file must be valid JSON, according to the [JSON specification](https://tools.ietf.org/html/rfc7159). It must also be a valid Swagger file, according to the [OpenAPI Specification](http://swagger.io/specification/). Finally, it must also conform to the [schema that AutoRest applies](https://raw.githubusercontent.com/Azure/autorest/master/schema/swagger-extensions.json).
-
-#### Semantic correctness
-Your spec file must correctly represent your service. Even if a spec passes all of the rules listed above, it might not accurately describe the service that it is intended to describe. This could include
-- Incorrect schemas for responses or requests (both missing and superfluous properties)
-- Missing operations
-- Missing parameters (especially required ones)
-- etc (this list is not comprehensive)
-
-Making sure that the spec is correct from a semantic point of view requires domain knowledge and careful comparison of your spec file with your actual service. We will do our best to point out inconsistencies between spec and service if we can infer them, but you are responsible for making sure your spec and service agree.
-
-**Recommendation**: Check each operation, parameter, schema, property to make sure it accurately models the service API. Refer back to the [Reference documentation](../documentation/creating-swagger.md) for more details on every part of Swagger.
+### *This is an outdated document. Please refer the new [wiki](https://github.com/Azure/adx-documentation-pr/wiki) for up to date details.*
+([`Link your GitHub account`](https://repos.opensource.microsoft.com/) to the 'Azure' organization for access.)
diff --git a/.markdownlint.json b/.markdownlint.json
new file mode 100644
index 000000000000..f1fb7eb9fa4f
--- /dev/null
+++ b/.markdownlint.json
@@ -0,0 +1,27 @@
+{
+ "default": true,
+ "MD001": false,
+ "MD003": false,
+ "MD004": false,
+ "MD005": false,
+ "MD006": false,
+ "MD007": false,
+ "MD009": false,
+ "MD012": false,
+ "MD013": false,
+ "MD020": false,
+ "MD022": false,
+ "MD024": false,
+ "MD025": false,
+ "MD026": false,
+ "MD028": false,
+ "MD029": false,
+ "MD031": false,
+ "MD032": false,
+ "MD033": false,
+ "MD034": false,
+ "MD036": false,
+ "MD040": false,
+ "MD041": false,
+ "MD047": false
+}
diff --git a/CODEOWNERS b/CODEOWNERS
index 33a119211adb..53c2514c8363 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -64,12 +64,12 @@
/specification/servicebus/ @sazeesha @v-ajnava
/specification/servicefabric/ @juhacket @samedder
/specification/sql/ @dnayantara @jaredmoo @nathannfan
-/specification/storage/ @jasonyang-msft @stankovski
+/specification/storage/ @jasonyang-msft @xiaonlimsft
/specification/storageimportexport/ @leoz-ms
/specification/storagesync/ @ankushbindlish2
/specification/storsimple8000series/ @manaas-microsoft
/specification/streamanalytics/ @atpham256
-/specification/subscriptions/ @stankovski
+/specification/subscriptions/ @navysingla
/specification/timeseriesinsights/ @sandshadow
/specification/trafficmanager/ @allencal @hrkulkarmsft
/specification/web/ @lukaszstem @naveedaz @nking92
diff --git a/README.md b/README.md
index 786c0ad791d0..9095d0b4f4b2 100644
--- a/README.md
+++ b/README.md
@@ -1,22 +1,16 @@
-[](https://travis-ci.org/Azure/azure-rest-api-specs)
-
# Azure REST API Specifications
## Description
This repository is the canonical source for REST API specifications for Microsoft Azure.
-## Basics
-If you're a spec author looking for information about all of the repositories and steps in the pipeline, go to the [adx-documentation-pr](https://github.com/Azure/adx-documentation-pr) repository. Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that repo.
+## Getting started
+If you're a spec author looking for information about all of the repositories and steps in the pipeline, go to our [documentation](https://github.com/Azure/adx-documentation-pr/wiki) repository. Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that repo.
Latest improvement: Microsoft employees can try out our new experience at [OpenAPI Hub](https://aka.ms/openapihub) - online experience for using our validation tools and finding your workflow.
Please check the [announcements page](https://github.com/Azure/azure-rest-api-specs/wiki/Announcements) for any new updates since your last visit.
-## Getting started
-- Our [Contribution guidelines](./.github/CONTRIBUTING.md) walks you through the process of contributing to this repository.
-- The [/documentation](./documentation/) folder contains reference documentation for all aspects of Swagger and our recommended patterns. Start with the [Creating Swagger](./documentation/creating-swagger.md) page.
-
## Directory Structure
The structure of the directory should strictly follow these rules:
diff --git a/arm-compute/quickstart-templates/aliases.json b/arm-compute/quickstart-templates/aliases.json
index f5944d69cdbf..c3166eef59fc 100644
--- a/arm-compute/quickstart-templates/aliases.json
+++ b/arm-compute/quickstart-templates/aliases.json
@@ -1,90 +1,87 @@
{
- "$schema":"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
- "contentVersion":"1.0.0.0",
- "parameters":{},
- "variables":{},
- "resources":[],
-
- "outputs":{
- "aliases":{
- "type":"object",
- "value":{
-
- "Linux":{
- "CentOS":{
- "publisher":"OpenLogic",
- "offer":"CentOS",
- "sku":"7.5",
- "version":"latest"
+ "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "variables": {},
+ "resources": [],
+ "outputs": {
+ "aliases": {
+ "type": "object",
+ "value": {
+ "Linux": {
+ "CentOS": {
+ "publisher": "OpenLogic",
+ "offer": "CentOS",
+ "sku": "7.5",
+ "version": "latest"
},
- "CoreOS":{
- "publisher":"CoreOS",
- "offer":"CoreOS",
- "sku":"Stable",
- "version":"latest"
+ "CoreOS": {
+ "publisher": "CoreOS",
+ "offer": "CoreOS",
+ "sku": "Stable",
+ "version": "latest"
},
- "Debian":{
- "publisher":"credativ",
- "offer":"Debian",
- "sku":"9",
- "version":"latest"
+ "Debian": {
+ "publisher": "Debian",
+ "offer": "debian-10",
+ "sku": "10",
+ "version": "latest"
},
"openSUSE-Leap": {
- "publisher":"SUSE",
- "offer":"openSUSE-Leap",
- "sku":"42.3",
+ "publisher": "SUSE",
+ "offer": "openSUSE-Leap",
+ "sku": "42.3",
"version": "latest"
},
- "RHEL":{
- "publisher":"RedHat",
- "offer":"RHEL",
- "sku":"7-RAW",
- "version":"latest"
+ "RHEL": {
+ "publisher": "RedHat",
+ "offer": "RHEL",
+ "sku": "7-RAW",
+ "version": "latest"
},
- "SLES":{
- "publisher":"SUSE",
- "offer":"SLES",
- "sku":"15",
- "version":"latest"
+ "SLES": {
+ "publisher": "SUSE",
+ "offer": "SLES",
+ "sku": "15",
+ "version": "latest"
},
- "UbuntuLTS":{
- "publisher":"Canonical",
- "offer":"UbuntuServer",
- "sku":"18.04-LTS",
- "version":"latest"
+ "UbuntuLTS": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.04-LTS",
+ "version": "latest"
}
},
-
- "Windows":{
- "Win2019Datacenter":{
- "publisher":"MicrosoftWindowsServer",
- "offer":"WindowsServer",
- "sku":"2019-Datacenter",
- "version":"latest"
+ "Windows": {
+ "Win2019Datacenter": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2019-Datacenter",
+ "version": "latest"
},
- "Win2016Datacenter":{
- "publisher":"MicrosoftWindowsServer",
- "offer":"WindowsServer",
- "sku":"2016-Datacenter",
- "version":"latest"
+ "Win2016Datacenter": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2016-Datacenter",
+ "version": "latest"
},
- "Win2012R2Datacenter":{
- "publisher":"MicrosoftWindowsServer",
- "offer":"WindowsServer",
- "sku":"2012-R2-Datacenter",
- "version":"latest"
+ "Win2012R2Datacenter": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2012-R2-Datacenter",
+ "version": "latest"
},
- "Win2012Datacenter":{
- "publisher":"MicrosoftWindowsServer",
- "offer":"WindowsServer",
- "sku":"2012-Datacenter",
- "version":"latest"
+ "Win2012Datacenter": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2012-Datacenter",
+ "version": "latest"
},
- "Win2008R2SP1":{
- "publisher":"MicrosoftWindowsServer",
- "offer":"WindowsServer",
- "sku":"2008-R2-SP1",
- "version":"latest"
+ "Win2008R2SP1": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2008-R2-SP1",
+ "version": "latest"
}
}
}
diff --git a/arm-compute/quickstart-templates/swagger.json b/arm-compute/quickstart-templates/swagger.json
index a44fcedcd9f7..f8641cf2f90c 100644
--- a/arm-compute/quickstart-templates/swagger.json
+++ b/arm-compute/quickstart-templates/swagger.json
@@ -417,4 +417,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/arm-compute/quickstart-templates/vm-simple-linux.json b/arm-compute/quickstart-templates/vm-simple-linux.json
index c318700e35b2..0d1cd7bea59a 100644
--- a/arm-compute/quickstart-templates/vm-simple-linux.json
+++ b/arm-compute/quickstart-templates/vm-simple-linux.json
@@ -185,4 +185,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/arm-compute/quickstart-templates/vm-simple-windows.json b/arm-compute/quickstart-templates/vm-simple-windows.json
index d5917d24792a..416305f78b95 100644
--- a/arm-compute/quickstart-templates/vm-simple-windows.json
+++ b/arm-compute/quickstart-templates/vm-simple-windows.json
@@ -186,4 +186,4 @@
}
}
]
-}
\ No newline at end of file
+}
diff --git a/arm-compute/quickstart-templates/vm-simple.json b/arm-compute/quickstart-templates/vm-simple.json
index 09740bc83f0e..d2f4bec8f5dc 100644
--- a/arm-compute/quickstart-templates/vm-simple.json
+++ b/arm-compute/quickstart-templates/vm-simple.json
@@ -41,4 +41,4 @@
"type": "object"
}
}
-}
\ No newline at end of file
+}
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index fdc2e18fd8e7..4693cf53101a 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -106,18 +106,9 @@ jobs:
timeoutInMinutes: 120
strategy:
matrix:
- ruby:
- AZURE_SDK_REPO: azure-sdk-for-ruby
- AZURE_SDK_PARAMS: ''
java:
AZURE_SDK_REPO: azure-sdk-for-java
AZURE_SDK_PARAMS: ''
- javascript:
- AZURE_SDK_REPO: azure-sdk-for-js
- AZURE_SDK_PARAMS: ''
- node:
- AZURE_SDK_REPO: azure-sdk-for-node
- AZURE_SDK_PARAMS: ''
python:
AZURE_SDK_REPO: azure-sdk-for-python
AZURE_SDK_PARAMS: ''
diff --git a/cSpell.json b/cSpell.json
index 040a4af808d0..ca3148fdadb4 100644
--- a/cSpell.json
+++ b/cSpell.json
@@ -402,12 +402,6 @@
"Availabilily"
]
},
- {
- "filename": "**/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json",
- "words": [
- "Postt"
- ]
- },
{
"filename": "**/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServicePlans.json",
"words": [
@@ -591,38 +585,11 @@
]
},
{
- "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/webapplicationfirewall.json",
+ "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/**/webapplicationfirewall.json",
"words": [
"Conditon"
]
},
- {
- "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2016-09-01-preview/servicefabric.json",
- "words": [
- "resouce",
- "mininum",
- "revent",
- "empheral"
- ]
- },
- {
- "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/application.json",
- "words": [
- "resouce",
- "mininum",
- "revent",
- "empheral"
- ]
- },
- {
- "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/preview/2017-07-01-preview/servicefabric.json",
- "words": [
- "resouce",
- "mininum",
- "revent",
- "empheral"
- ]
- },
{
"filename": "**/specification/relay/resource-manager/Microsoft.Relay/stable/2016-07-01/relay.json",
"words": [
@@ -650,49 +617,12 @@
"reponse"
]
},
- {
- "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2018-02-01/cluster.json",
- "words": [
- "mininum",
- "resouce",
- "revent",
- "empheral"
- ]
- },
- {
- "filename": "**/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2016-09-01/servicefabric.json",
- "words": [
- "exmaple",
- "Nodetype",
- "assgined",
- "carefull",
- "primay",
- "nodetypes",
- "Dispaly",
- "resouce",
- "mininum",
- "revent",
- "empheral"
- ]
- },
{
"filename": "**/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2018-01-01-preview/servicebus-preview.json",
"words": [
"networkrulesets",
"Setget"
]
- },
- {
- "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2019-02-01/webapplicationfirewall.json",
- "words": [
- "Conditon"
- ]
- },
- {
- "filename": "**/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/webapplicationfirewall.json",
- "words": [
- "Conditon"
- ]
}
]
}
diff --git a/custom-words.txt b/custom-words.txt
index 19383a9ce803..4252e015c5d6 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1,5 +1,6 @@
AADDS
aadiam
+AATP
abcxyz
ABFS
Accel
@@ -44,6 +45,7 @@ amlcompute
amortizedcost
analysisservices
AND'ed
+Annotatable
anomalydetector
anomalyfinder
APAC
@@ -200,6 +202,7 @@ Bsaling
BYOC
BYOL
BYOS
+bzip
cacerts
calculatebaseline
canadacentral
@@ -207,6 +210,7 @@ canadaeast
canceldelete
cancelpipelinerun
canonicalized
+Carbonite
catenate
catenated
caverphone
@@ -242,7 +246,9 @@ Cloneability
Cloneable
closedlist
closedlists
+Cloudamize
cloudapp
+cloudsimple
clustermonitoring
cmdlet
CMMI
@@ -276,6 +282,7 @@ contosomedia
cooldown
Corda
coreml
+Corent
Cortana
cosmosdb
costcenter
@@ -288,6 +295,7 @@ createorupdate
credativ
crossdomain
csname
+CSRP
csrs
currentbillingfeatures
currentuser
@@ -342,6 +350,7 @@ deadlettered
deallocate
deallocated
Deallocates
+deallocating
Deallocation
debugsend
decodable
@@ -380,6 +389,7 @@ devtestlab
devtestlabs
dhcp
diagnosticcontext
+DIMM
disableautoscale
disablescheduling
disambiguated
@@ -389,6 +399,7 @@ diskoperations
Distcp
DMTS
Dnat
+dnsname
dnszones
docx
Domainful
@@ -589,6 +600,7 @@ IMDS
importdevices
Inbuild
indic
+Informix
Ingestor
ingressed
inkrecognizer
@@ -626,6 +638,7 @@ isordered
issqlcompression
istransitioning
isusernameavailable
+ISVs
items
ITSM
janedoe
@@ -683,6 +696,7 @@ LDAP
ldaps
ldom
leavingpool
+LEDs
libtrust
lifecycle
lifetimejobstats
@@ -756,6 +770,7 @@ maxresults
mbaldwin
Mbps
MCAS
+MDATP
mediaservices
Mesos
messagingplan
@@ -907,6 +922,7 @@ overridable
OWASP
oxxm
pageable
+PARAVIRTUAL
Passthrough
patternanyentities
patternrule
@@ -914,6 +930,7 @@ patternrules
PAYG
Paypal
PBIE
+PCNET
peerings
Pendingissuance
Pendingrevocation
@@ -953,6 +970,7 @@ postrestore
powerbi
powerbidedicated
powerbiembedded
+poweredoff
poweroff
prebackup
prebackupvalidation
@@ -1031,6 +1049,7 @@ rediscache
rediscachemanagement
Redshift
Reenabled
+Refid
regen
regeneratekey
regexentities
@@ -1201,6 +1220,7 @@ smallmoney
SMBIOS
snapshotsdr
SNAT
+softwareplan
SOHSV
solaris
solr
@@ -1268,6 +1288,8 @@ substatuses
substringof
subtasksinfo
subteam
+subtree
+subtrees
subword
subwords
sudoer
@@ -1336,6 +1358,7 @@ translatortext
trendingtopics
triggeredwebjobs
triggerruns
+Turbonomic
Txns
Typeless
UEBA
@@ -1411,6 +1434,7 @@ vaultconfig
Vaultsecret
vaultstorageconfig
vaultusages
+vcenter
Vcore
Vcores
Vertica
@@ -1438,6 +1462,8 @@ vmsizes
VMSS
VMSSVM
vmware
+vmwaretools
+VMXNET
vnet
vnetid
Vnets
@@ -1445,6 +1471,8 @@ Vpnclient
vpnconfiguration
vpndeviceconfigurationscript
vray
+Vrops
+vsphere
VSTS
VXLAN
waagent
@@ -1477,6 +1505,7 @@ Westlake
westus
whitelisted
Whitelisting
+Whitelistings
Whois
Widevine
windowsazuremediaservices
@@ -1489,11 +1518,13 @@ wrapkey
WSFC
WTGCTBG
XBing
+Xeon
Xero
XSMB
YYMMDD
Zabbix
+Zerto
Zilla
ziplist
Zoho
-zset
\ No newline at end of file
+zset
diff --git a/documentation/ContributingGuidelines.md b/documentation/ContributingGuidelines.md
new file mode 100644
index 000000000000..5c23dbd5ac32
--- /dev/null
+++ b/documentation/ContributingGuidelines.md
@@ -0,0 +1,2 @@
+### Please refer to the [`wiki`](https://github.com/Azure/adx-documentation-pr/wiki) for internal contribution guidelines.
+[`Link your GitHub account`](https://repos.opensource.microsoft.com/) to the 'Azure' organization for access.
diff --git a/documentation/creating-swagger.md b/documentation/creating-swagger.md
index e2bfa9687afa..cb0c6dd7fb5f 100644
--- a/documentation/creating-swagger.md
+++ b/documentation/creating-swagger.md
@@ -342,7 +342,7 @@ You can describe all the [possible HTTP Response status codes](http://www.w3.org
- If **a schema is provided** for the negative response codes then this will have an impact on the return type of the generated method.
- For example: if a schema was provided for 200, and 400 was also described with a schema then,
- the **return type** would be the Common Ancestor of both the schemas. In most cases there is nothing common between a positive and a negative response code. Hence the return type will be an `Object`. Note:This may not be very helpful to the customer
- - an exception ** will NOT be thrown for 400** and the generated method will deserialize the response body as per the schema of "400".
+ - an exception **will NOT be thrown for 400** and the generated method will deserialize the response body as per the schema of "400".
- any other negative response code will be treated as per the "default" response status code defined in the swagger for that operation.
- If **a schema is NOT provided** for the negative response codes then this will **NOT** have an impact on the return type of the generated method.
- For example: if a schema was provided for 200 and 404 was described as one of the responses. However, 404 does not have a schema. In this scenario,
diff --git a/documentation/openapi-authoring-automated-guidelines.md b/documentation/openapi-authoring-automated-guidelines.md
index 88ef6569942f..9ea784b53e94 100644
--- a/documentation/openapi-authoring-automated-guidelines.md
+++ b/documentation/openapi-authoring-automated-guidelines.md
@@ -32,34 +32,34 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an
| Id | Rule Name | Applies to |
| --- | --- | --- |
-| [R3012](#r3012) | [APIVersionPattern](#r3012) | ARM OpenAPI(swagger) specs |
-| [R3019](#r3019) | [ARMResourcePropertiesBag](#r3019) | ARM and Data plane OpenAPI(swagger) specs |
-| [R3014](#r3014) | [BodyPropertiesNamesCamelCase](#r3014) | ARM and Data plane OpenAPI(swagger) specs |
-| [R3016](#r3016) | [DefinitionsPropertiesNamesCamelCase](#r3016) | ARM and Data plane OpenAPI(swagger) specs |
-| [R3006](#r3006) | [BodyTopLevelProperties](#r3006) | ARM OpenAPI(swagger) specs |
-| [R3008](#r3008) | [CollectionObjectPropertiesNaming](#r3008) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2044](#r2044) | [InvalidVerbUsed](#r2044) | ARM and Data plane OpenAPI(swagger) specs |
-| [R3023](#r3023) | [OperationsAPIImplementation](#r3023) | ARM OpenAPI(swagger) specs |
-| [R3007](#r3007) | [PutGetPatchResponseSchema](#r3007) | ARM and Data plane OpenAPI(swagger) specs |
-| [R3025](#r3025) | [TrackedResourceGetOperation](#r3025) | ARM OpenAPI(swagger) specs |
-| [R3026](#r3026) | [TrackedResourcePatchOperation](#r3026) | ARM OpenAPI(swagger) specs |
-| [R2059](#r2059) | [UniqueResourcePaths](#r2059) | ARM OpenAPI(swagger) specs |
-| [R2016](#r2016) | [PatchBodyParametersSchema](#r2016) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2062](#r2062) | [XmsResourceInPutResponse](#r2062) | ARM OpenAPI(swagger) specs |
-| [R3027](#r3027) | [TrackedResourceListByResourceGroup](#r3027) | ARM OpenAPI(swagger) specs |
-| [R3028](#r3028) | [TrackedResourceListBySubscription](#r3028) | ARM OpenAPI(swagger) specs |
-| [R3011](#r3011) | [DescriptionMustNotBeNodeName](#r3011) | ARM and Data plane OpenAPI(swagger) specs |
+| [R3012](#r3012) | [APIVersionPattern](#r3012) | ARM OpenAPI(swagger) specs |
+| [R3019](#r3019) | [ARMResourcePropertiesBag](#r3019) | ARM and Data plane OpenAPI(swagger) specs |
+| [R3014](#r3014) | [BodyPropertiesNamesCamelCase](#r3014) | ARM and Data plane OpenAPI(swagger) specs |
+| [R3016](#r3016) | [DefinitionsPropertiesNamesCamelCase](#r3016) | ARM and Data plane OpenAPI(swagger) specs |
+| [R3006](#r3006) | [BodyTopLevelProperties](#r3006) | ARM OpenAPI(swagger) specs |
+| [R3008](#r3008) | [CollectionObjectPropertiesNaming](#r3008) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2044](#r2044) | [InvalidVerbUsed](#r2044) | ARM and Data plane OpenAPI(swagger) specs |
+| [R3023](#r3023) | [OperationsAPIImplementation](#r3023) | ARM OpenAPI(swagger) specs |
+| [R3007](#r3007) | [PutGetPatchResponseSchema](#r3007) | ARM and Data plane OpenAPI(swagger) specs |
+| [R3025](#r3025) | [TrackedResourceGetOperation](#r3025) | ARM OpenAPI(swagger) specs |
+| [R3026](#r3026) | [TrackedResourcePatchOperation](#r3026) | ARM OpenAPI(swagger) specs |
+| [R2059](#r2059) | [UniqueResourcePaths](#r2059) | ARM OpenAPI(swagger) specs |
+| [R2016](#r2016) | [PatchBodyParametersSchema](#r2016) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2062](#r2062) | [XmsResourceInPutResponse](#r2062) | ARM OpenAPI(swagger) specs |
+| [R3027](#r3027) | [TrackedResourceListByResourceGroup](#r3027) | ARM OpenAPI(swagger) specs |
+| [R3028](#r3028) | [TrackedResourceListBySubscription](#r3028) | ARM OpenAPI(swagger) specs |
+| [R3011](#r3011) | [DescriptionMustNotBeNodeName](#r3011) | ARM and Data plane OpenAPI(swagger) specs |
| [R2020](#r2020) | [RequiredPropertiesMissingInResourceModel](#r2020) | ARM OpenAPI(swagger) specs |
#### ARM Warnings
| Id | Rule Name | Applies to |
| --- | --- | --- |
-| [R3018](#r3018) | [EnumInsteadOfBoolean](#r3018) | ARM and Data plane OpenAPI(swagger) specs |
-| [R3017](#r3017) | [GuidUsage](#r3017) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2057](#r2057) | [InvalidSkuModel](#r2057) | ARM OpenAPI(swagger) specs |
-| [R3010](#r3010) | [TrackedResourceListByImmediateParent](#r3010) | ARM OpenAPI(swagger) specs |
-| [R2004](#r2004) | [NonApplicationJsonType](#r2004) | ARM OpenAPI(swagger) specs |
+| [R3018](#r3018) | [EnumInsteadOfBoolean](#r3018) | ARM and Data plane OpenAPI(swagger) specs |
+| [R3017](#r3017) | [GuidUsage](#r3017) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2057](#r2057) | [InvalidSkuModel](#r2057) | ARM OpenAPI(swagger) specs |
+| [R3010](#r3010) | [TrackedResourceListByImmediateParent](#r3010) | ARM OpenAPI(swagger) specs |
+| [R2004](#r2004) | [NonApplicationJsonType](#r2004) | ARM OpenAPI(swagger) specs |
### SDK Violations
@@ -69,26 +69,26 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an
| --- | --- | --- |
| [R2024](#r2024) | [AnonymousBodyParameter](#r2024) | ARM and Data plane OpenAPI(swagger) specs |
| [R2026](#r2026) | [AvoidAnonymousTypes](#r2026) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2014](#r2014) | [SubscriptionIdParameterInOperations](#r2014) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2027](#r2027) | [DefaultMustBeInEnum](#r2027) | ARM and Data plane OpenAPI(swagger) specs |
-| [R1001](#r1001) | [OperationIdNounInVerb](#r1001) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2055](#r2055) | [OneUnderscoreInOperationId](#r2055) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2003](#r2003) | [ValidFormats](#r2003) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2005](#r2005) | [LongRunningResponseStatusCode](#r2005) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2008](#r2008) | [MutabilityWithReadOnlyRule](#r2008) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2025](#r2025) | [NextLinkPropertyMustExist](#r2025) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2014](#r2014) | [SubscriptionIdParameterInOperations](#r2014) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2027](#r2027) | [DefaultMustBeInEnum](#r2027) | ARM and Data plane OpenAPI(swagger) specs |
+| [R1001](#r1001) | [OperationIdNounInVerb](#r1001) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2055](#r2055) | [OneUnderscoreInOperationId](#r2055) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2003](#r2003) | [ValidFormats](#r2003) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2005](#r2005) | [LongRunningResponseStatusCode](#r2005) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2008](#r2008) | [MutabilityWithReadOnlyRule](#r2008) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2025](#r2025) | [NextLinkPropertyMustExist](#r2025) | ARM and Data plane OpenAPI(swagger) specs |
| [R2028](#r2028) | [NonEmptyClientName](#r2028) | ARM and Data plane OpenAPI(swagger) specs |
| [R2060](#r2060) | [PageableRequires200Response](#r2060) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2019](#r2019) | [ResourceHasXMsResourceEnabled](#r2019) | ARM OpenAPI(swagger) specs |
+| [R2019](#r2019) | [ResourceHasXMsResourceEnabled](#r2019) | ARM OpenAPI(swagger) specs |
| [R2058](#r2058) | [XmsPathsMustOverloadPaths](#r2058) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2012](#r2012) | [XmsClientNameParameter](#r2012) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2013](#r2013) | [XmsClientNameProperty](#r2013) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2047](#r2047) | [NamePropertyDefinitionInParameter](#r2047) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2056](#r2056) | [RequiredReadOnlyProperties](#r2056) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2054](#r2054) | [SecurityDefinitionsStructure](#r2054) | ARM OpenAPI(swagger) specs |
-| [R2006](#r2006) | [ControlCharactersNotAllowed](#r2006) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2009](#r2009) | [ArraySchemaMustHaveItems](#r2009) | ARM and Data plane OpenAPI(swagger) specs |
-| [R3013](#r3013) | [DeleteMustNotHaveRequestBody](#r3013) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2012](#r2012) | [XmsClientNameParameter](#r2012) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2013](#r2013) | [XmsClientNameProperty](#r2013) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2047](#r2047) | [NamePropertyDefinitionInParameter](#r2047) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2056](#r2056) | [RequiredReadOnlyProperties](#r2056) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2054](#r2054) | [SecurityDefinitionsStructure](#r2054) | ARM OpenAPI(swagger) specs |
+| [R2006](#r2006) | [ControlCharactersNotAllowed](#r2006) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2009](#r2009) | [ArraySchemaMustHaveItems](#r2009) | ARM and Data plane OpenAPI(swagger) specs |
+| [R3013](#r3013) | [DeleteMustNotHaveRequestBody](#r3013) | ARM and Data plane OpenAPI(swagger) specs |
| [R4001](#r4001) | [XmsParameterLocation](#r4001) | ARM and Data plan OpenAPI(swagger) specs |
#### SDK Warnings
@@ -99,16 +99,16 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an
| [R4000](#r4000-3) | [DescriptiveDescriptionRequired](#r4000-3) | ARM and Data plane OpenAPI(swagger) specs |
| [R4000](#r4000-4) | [DescriptionAndTitleMissing](#r4000-4) | ARM and Data plane OpenAPI(swagger) specs |
| [R4000](#r4000-5) | [OperationDescriptionOrSummaryRequired](#r4000-5) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2001](#r2001) | [AvoidNestedProperties](#r2001) | ARM and Data plane OpenAPI(swagger) specs |
-| [R4002](#r4002) | [LocationMustHaveXmsMutability](#r4002) | ARM OpenAPI(swagger) specs |
-| [R2066](#r2066) | [PostOperationIdContainsUrlVerb](#r2066) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2001](#r2001) | [AvoidNestedProperties](#r2001) | ARM and Data plane OpenAPI(swagger) specs |
+| [R4002](#r4002) | [LocationMustHaveXmsMutability](#r4002) | ARM OpenAPI(swagger) specs |
+| [R2066](#r2066) | [PostOperationIdContainsUrlVerb](#r2066) | ARM and Data plane OpenAPI(swagger) specs |
| [R2015](#r2015) | [ParameterNotDefinedInGlobalParameters](#r2015) | ARM and Data plane OpenAPI(swagger) specs |
| [R1010](#r1010) | [AvoidMSDNReferences](#r1010) | ARM and Data plane OpenAPI(swagger) specs |
-| [R2017](#r2017) | [PutRequestResponseScheme](#r2017) | ARM and Data plane OpenAPI(swagger) specs |
+| [R2017](#r2017) | [PutRequestResponseScheme](#r2017) | ARM and Data plane OpenAPI(swagger) specs |
| [R1009](#r1009) | [DeleteInOperationName](#r1009) | ARM and Data plane OpenAPI(swagger) specs |
| [R1005](#r1005) | [GetInOperationName](#r1005) | ARM and Data plane OpenAPI(swagger) specs |
| [R1003](#r1003) | [ListInOperationName](#r1003) | ARM and Data plane OpenAPI(swagger) specs |
-| [R1006](#r1006) | [PutInOperationName](#r1006) | ARM and Data plane OpenAPI(swagger) specs |
+| [R1006](#r1006) | [PutInOperationName](#r1006) | ARM and Data plane OpenAPI(swagger) specs |
| [R1007](#r1007) | [PatchInOperationName](#r1007) | ARM and Data plane OpenAPI(swagger) specs |
| [R1011](#r1011) | [HttpsSupportedScheme](#r1011) | ARM OpenAPI(swagger) specs |
| [R2065](#r2065) | [LicenseHeaderMustNotBeSpecified](#r2065) | ARM and Data plane OpenAPI(swagger) specs |
@@ -331,7 +331,7 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul
Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rules](#automated-rules) | [ARM](#arm-violations): [Errors](#arm-errors) or [Warnings](#arm-warnings) | [SDK](#sdk-violations): [Errors](#sdk-errors) or [Warnings](#sdk-warnings)
-### R4002 LocationMustHaveXmsMutability
+### R4002 LocationMustHaveXmsMutability
**Category** : SDK Warning
**Applies to** : ARM OpenAPI(swagger) specs
@@ -378,7 +378,7 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul
Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rules](#automated-rules) | [ARM](#arm-violations): [Errors](#arm-errors) or [Warnings](#arm-warnings) | [SDK](#sdk-violations): [Errors](#sdk-errors) or [Warnings](#sdk-warnings)
-### R2066 PostOperationIdContainsUrlVerb
+### R2066 PostOperationIdContainsUrlVerb
**Category** : SDK Warning
**Applies to** : ARM and Data plane OpenAPI(swagger) specs
diff --git a/documentation/openapi-authoring-manual-guidelines.md b/documentation/openapi-authoring-manual-guidelines.md
index 6b20e2237bfd..f88a627ebc31 100644
--- a/documentation/openapi-authoring-manual-guidelines.md
+++ b/documentation/openapi-authoring-manual-guidelines.md
@@ -25,9 +25,9 @@ We request OpenAPI(Swagger) spec authoring be assigned to engineers who have an
| Required parameters MUST be accurately labeled as "required": true in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs |
| Read only parameters of the model properties MUST be labeled as "readOnly": true in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs |
| Required parameters MUST be accurately labeled as "required": true in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs |
-| Required properties of a model definition MUST be accurately labeled as "required": [ "propertyName1" ] in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs |
+| Required properties of a model definition MUST be accurately labeled as "required": [ "propertyName1" ] in OpenAPI(Swagger) spec | Error | | ARM and Data plane OpenAPI(Swagger) specs |
| An OpenAPI(Swagger) spec MUST NOT define operations or properties or parameters for functionalities that are not currently supported by the service in the given api-version. The primary goal of the spec is that it MUST correctly and completely represent the underlying REST API. For example, NetworkInterface.ipConfigurations is described as a collection. However, it does not support adding more than one IP configuration | Error | | ARM and Data plane OpenAPI(Swagger) specs |
-| A collection model in OpenAPI(Swagger) spec MUST support adding more than one element to the collection | Error | | ARM and Data plane OpenAPI(Swagger) specs |
+| A collection model in OpenAPI(Swagger) spec MUST support adding more than one element to the collection | Error | | ARM and Data plane OpenAPI(Swagger) specs |
| Operations that are exposed through private previews MUST NOT be described in the public GitHub repository. They MUST be described in the private GitHub repository instead | Error | | ARM and Data plane OpenAPI(Swagger) specs |
| Parameters that are common to most of the operations (example: resourceGroupName) SHOULD be defined in the global parameters section and they MUST have the extension "x-ms-parameter-location": "method" applied on them. This will make sure that they do not end up being properties on the generated client | Error | SDK Violation | ARM and Data plane OpenAPI(Swagger) specs |
| Each operation described in a OpenAPI(Swagger) specification MUST be tested prior to opening a pull request against the preview/master branch of the Azure REST API Specs GitHub repo | Error | | ARM and Data plane OpenAPI(Swagger) specs |
diff --git a/documentation/swagger-checklist.md b/documentation/swagger-checklist.md
index 93e841d54183..ad8ad747f097 100644
--- a/documentation/swagger-checklist.md
+++ b/documentation/swagger-checklist.md
@@ -12,10 +12,10 @@ This checklist is a current snapshot of requirements for developing Swagger spec
Today, there are tools available for validating a sizable portion of this checklist. Please install these tools on your development machine and use them to validate your Swaggers as you build them.
-- [AutoRest OpenAPI Validator](https://github.com/Azure/autorest/blob/master/docs/user/command-line-interface.md#validation) – The OpenAPI validator (activated with `--azure-validator`) statically analyzes a Swagger for errors and violations of requirements outlined in the automated rules checklist. The validator should be run when Swaggers are created or updated. It will be continuously updated to validate newer requirements.
+- [AutoRest OpenAPI Validator](https://github.com/Azure/autorest/blob/master/docs/user/command-line-interface.md#validation) – The OpenAPI validator (activated with `--azure-validator`) statically analyzes a Swagger for errors and violations of requirements outlined in the automated rules checklist. The validator should be run when Swaggers are created or updated. It will be continuously updated to validate newer requirements.
**NOTE**: This checkmark ( :white_check_mark: ) indicates that rule is covered by AutoRest validation tool.
-- [Swagger Model Validator](https://github.com/Azure/openapi-validation-tools) - Model Validator validates models defined for body parameters and responses, and matches them against the expected input and output of an operation. To make this real, test examples are required to be specified in a Swagger for every operation defined in a Swagger. Test examples are integrated into a Swagger using the ["x-ms-examples"](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/x-ms-examples.md) extension, which will be used to test against the defined models. Sample test examples for this extension can be found in the [Redis Cache Swagger](https://github.com/Azure/azure-rest-api-specs/blob/master/arm-redis/2016-04-01/swagger/redis.json ).
+- [Swagger Model Validator](https://github.com/Azure/openapi-validation-tools) - Model Validator validates models defined for body parameters and responses, and matches them against the expected input and output of an operation. To make this real, test examples are required to be specified in a Swagger for every operation defined in a Swagger. Test examples are integrated into a Swagger using the ["x-ms-examples"](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/x-ms-examples.md) extension, which will be used to test against the defined models. Sample test examples for this extension can be found in the [Redis Cache Swagger](https://github.com/Azure/azure-rest-api-specs/blob/master/arm-redis/2016-04-01/swagger/redis.json ).
The Azure Developer Experience team will continue to deliver rich tools to validate this checklist.
diff --git a/package.json b/package.json
index fe51deb863d1..5ecad98d56eb 100644
--- a/package.json
+++ b/package.json
@@ -11,30 +11,19 @@
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.4.1",
- "@azure/oad": "^0.6.3",
- "@azure/rest-api-specs-scripts": "^0.3.9",
- "@microsoft.azure/async-io": "^2.0.21",
- "@microsoft.azure/literate": "^1.0.25",
- "@microsoft.azure/polyfill": "^1.0.19",
- "@octokit/rest": "^16.25.0",
+ "@azure/rest-api-specs-scripts": "^0.4.0",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
- "@types/fs-extra": "^5.0.5",
+ "@ts-common/iterator": "^0.3.6",
"@types/js-yaml": "^3.12.1",
"@types/mocha": "^5.2.6",
- "@types/request": "^2.48.1",
"cspell": "^4.0.12",
- "fs-extra": "^7.0.1",
- "glob": "^7.1.3",
"js-yaml": "^3.13.1",
"json-schema-ref-parser": "^6.1.0",
"mocha": "*",
- "oav": "^0.18.1",
- "request": "^2.88.0",
- "request-promise-native": "^1.0.7",
"ts-node": "^8.1.0",
- "typescript": "^3.4.4",
- "z-schema": "^4.0.2"
+ "tslib": "^1.10.0",
+ "typescript": "^3.4.4"
},
"homepage": "https://github.com/azure/azure-rest-api-specs",
"repository": {
@@ -47,7 +36,6 @@
"scripts": {
"test": "tsc && mocha -t 500000 --reporter min",
"spellcheck": "cspell \"specification/**/*.json\"",
- "oav": "oav",
"tsc": "tsc",
"multiapi": "ts-node ./scripts/multiapi.ts"
}
diff --git a/preproduction-azure-pipelines.yml b/preproduction-azure-pipelines.yml
index 44566a98844a..06d4aa41adb4 100644
--- a/preproduction-azure-pipelines.yml
+++ b/preproduction-azure-pipelines.yml
@@ -21,104 +21,29 @@ jobs:
- script: '>&2 echo "the branch is protected"'
failOnStderr: true
-- job: "Syntax"
- pool:
- vmImage: 'Ubuntu 16.04'
- steps:
- - script: |
- echo TRAVIS: $(TRAVIS)
- echo TRAVIS_BRANCH: $(TRAVIS_BRANCH)
- echo TRAVIS_REPO_SLUG: $(TRAVIS_REPO_SLUG)
- echo TRAVIS_PULL_REQUEST: $(TRAVIS_PULL_REQUEST)
- echo TRAVIS_PULL_REQUEST_SLUG: $(TRAVIS_PULL_REQUEST_SLUG)
- echo TRAVIS_PULL_REQUEST_SHA: $(TRAVIS_PULL_REQUEST_SHA)
- echo PR_ONLY: $(PR_ONLY)
- displayName: "Info"
- - task: Npm@1
- displayName: 'npm install'
- inputs:
- verbose: false
- - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- - script: 'npm test -- test/syntax.js'
- displayName: 'Syntax validation'
-
-- job: "Semantic"
- pool:
- vmImage: 'Ubuntu 16.04'
- steps:
- - task: Npm@1
- displayName: 'npm install'
- inputs:
- verbose: false
- - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- - script: 'npm run tsc && node scripts/semanticValidation.js'
- displayName: 'Semantic Validation'
-
-- job: "ModelValidation"
+- job: "Spellcheck"
+ condition: "not(variables['PRIVATE'])"
+ variables:
+ NODE_OPTIONS: '--max-old-space-size=8192'
pool:
vmImage: 'Ubuntu 16.04'
+ continueOnError: true
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
verbose: false
- - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- - script: 'npm run tsc && node scripts/modelValidation.js'
- displayName: 'Model Validation'
+ - script: 'npm run spellcheck'
+ displayName: 'Run cSpell'
- job: "Avocado"
pool:
vmImage: 'Ubuntu 16.04'
- continueOnError: true
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
verbose: false
+ - script: 'npm install -D @azure/avocado@0.5.0'
- script: './node_modules/.bin/avocado'
displayName: 'Avocado'
-
-- job: "BreakingChange"
- pool:
- vmImage: 'Ubuntu 16.04'
- steps:
- - script: 'scripts/install-dotnet.sh'
- displayName: 'Install .Net'
- - task: Npm@1
- displayName: 'npm install'
- inputs:
- verbose: false
- - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- - script: 'npm run tsc && node scripts/breaking-change.js'
- displayName: 'Breaking Changes'
-
-- job: "LintDiff"
- variables:
- NODE_OPTIONS: '--max-old-space-size=8192'
- pool:
- vmImage: 'Ubuntu 16.04'
- steps:
- - task: Npm@1
- displayName: 'npm install'
- inputs:
- verbose: false
- - script: 'scripts/install-dotnet.sh'
- displayName: 'install .Net'
- - script: 'npm install -D @azure/rest-api-specs-scripts@0.3.9'
- - script: 'npm run tsc && node scripts/momentOfTruth.js && node scripts/momentOfTruthPostProcessing.js'
- displayName: 'LintDiff'
-
-- job: "Spellcheck"
- condition: "not(variables['PRIVATE'])"
- variables:
- NODE_OPTIONS: '--max-old-space-size=8192'
- pool:
- vmImage: 'Ubuntu 16.04'
- continueOnError: true
- steps:
- - task: Npm@1
- displayName: 'npm install'
- inputs:
- verbose: false
- - script: 'npm run spellcheck'
- displayName: 'Run cSpell'
diff --git a/profile/2019-07-01-profile.json b/profile/2019-07-01-profile.json
new file mode 100644
index 000000000000..7e73f48c4980
--- /dev/null
+++ b/profile/2019-07-01-profile.json
@@ -0,0 +1,2742 @@
+{
+ "info": {
+ "name": "2019-07-01-profile",
+ "description": "Profile definition targeted for hybrid applications that could run on azure gov general availability version and azure cloud"
+ },
+ "resourcemanager": {
+ "Microsoft.ADHybridHealthService": {
+ "2014-01-01": {
+ "services": [
+ "AzureGov"
+ ],
+ "addsservices": [
+ "AzureGov"
+ ],
+ "configuration": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ],
+ "agents": [
+ "AzureGov"
+ ],
+ "aadsupportcases": [
+ "AzureGov"
+ ],
+ "reports": [
+ "AzureGov"
+ ],
+ "servicehealthmetrics": [
+ "AzureGov"
+ ],
+ "logs": [
+ "AzureGov"
+ ],
+ "anonymousapiusers": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.Advisor": {
+ "2017-04-19": {
+ "suppressions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "configurations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "recommendations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "generateRecommendations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.AlertsManagement": {
+ "2018-05-05-preview": {
+ "alerts": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "alertsSummary": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "smartGroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "Microsoft.AnalysisServices": {
+ "2017-08-01-beta": {
+ "servers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationresults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationstatuses": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.ApiManagement": {
+ "2019-01-01": {
+ "service": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "validateServiceName": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "reportFeedback": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkFeedbackRequired": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Authorization": {
+ "2018-07-01": {
+ "roleDefinitions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "permissions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "providerOperations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-06-01": {
+ "classicAdministrators": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-07-01-preview": {
+ "denyAssignments": [
+ "AzureGov"
+ ]
+ },
+ "2017-04-01": {
+ "locks": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-05-01": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-05-01": {
+ "policyDefinitions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "policySetDefinitions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "policyAssignments": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-09-01-preview": {
+ "checkAccess": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Automation": {
+ "2018-06-30": {
+ "automationAccounts": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "automationAccounts/runbooks": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "automationAccounts/configurations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "automationAccounts/webhooks": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "automationAccounts/softwareUpdateConfigurations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.AzureStack": {
+ "2017-06-01": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registrations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registrations/products": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registrations/customerSubscriptions": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.Batch": {
+ "2019-04-01": {
+ "batchAccounts": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/quotas": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/accountOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.BatchAI": {
+ "2018-03-01": {
+ "clusters": [
+ "AzureGov"
+ ],
+ "jobs": [
+ "AzureGov"
+ ],
+ "fileservers": [
+ "AzureGov"
+ ]
+ },
+ "2018-05-01": {
+ "workspaces": [
+ "AzureGov"
+ ],
+ "workspaces/clusters": [
+ "AzureGov"
+ ],
+ "workspaces/fileservers": [
+ "AzureGov"
+ ],
+ "workspaces/experiments": [
+ "AzureGov"
+ ],
+ "workspaces/experiments/jobs": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ],
+ "locations": [
+ "AzureGov"
+ ],
+ "locations/operationresults": [
+ "AzureGov"
+ ],
+ "locations/operationstatuses": [
+ "AzureGov"
+ ],
+ "locations/usages": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.BotService": {
+ "2018-07-12": {
+ "botServices": [
+ "AzureGov"
+ ],
+ "botServices/channels": [
+ "AzureGov"
+ ],
+ "botServices/connections": [
+ "AzureGov"
+ ],
+ "listAuthServiceProviders": [
+ "AzureGov"
+ ],
+ "checkNameAvailability": [
+ "AzureGov"
+ ],
+ "languages": [
+ "AzureGov"
+ ],
+ "templates": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.Cache": {
+ "2018-03-01": {
+ "Redis": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "RedisConfigDefinition": [
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.CognitiveServices": {
+ "2017-04-18": {
+ "accounts": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/checkSkuAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Compute": {
+ "2018-10-01": {
+ "availabilitySets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualMachines": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualMachines/extensions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualMachineScaleSets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualMachineScaleSets/extensions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualMachineScaleSets/virtualMachines": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/vmSizes": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/runCommands": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/usages": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/systemInfo": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/virtualMachines": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/publishers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "restorePointCollections": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "restorePointCollections/restorePoints": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/capsoperations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "galleries": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "galleries/images": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "galleries/images/versions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "images": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualMachineScaleSets/networkInterfaces": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualMachineScaleSets/virtualMachines/networkInterfaces": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualMachineScaleSets/publicIPAddresses": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-10-15-preview": {
+ "sharedVMImages": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "sharedVMImages/versions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/artifactPublishers": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-09-30": {
+ "disks": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "snapshots": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/diskoperations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Consumption": {
+ "2018-10-01": {
+ "CostTags": [
+ "AzureGov"
+ ],
+ "products": [
+ "AzureGov"
+ ]
+ },
+ "2018-11-01-preview": {
+ "credits": [
+ "AzureGov"
+ ],
+ "events": [
+ "AzureGov"
+ ],
+ "lots": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.ContainerRegistry": {
+ "2017-10-01": {
+ "registries": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/importImage": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/replications": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/webhooks": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/webhooks/ping": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/webhooks/getCallbackConfig": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/webhooks/listEvents": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/listCredentials": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/regenerateCredential": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/listUsages": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "registries/eventGridFilters": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "swagger": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-03-01": {
+ "registries/GetCredentials": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2016-06-27-preview": {
+ "registries/regenerateCredentials": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.CostManagement": {
+ "2018-05-31": {
+ "Reportconfigs": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.DataBox": {
+ "2018-01-01": {
+ "jobs": [
+ "AzureGov"
+ ],
+ "locations": [
+ "AzureGov"
+ ],
+ "locations/validateAddress": [
+ "AzureGov"
+ ],
+ "locations/expresspods": [
+ "AzureGov"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov"
+ ],
+ "locations/operationresults": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ],
+ "locations/serviceHealth": [
+ "AzureGov"
+ ],
+ "locations/availableSkus": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.DataFactory": {
+ "2018-06-01": {
+ "factories": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "factories/integrationRuntimes": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/configureFactoryRepo": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/getFeatureValue": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.DataMigration": {
+ "2018-07-15-preview": {
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "services": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "services/projects": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationStatuses": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "slots": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.DBforMySQL": {
+ "2017-12-01-preview": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/recoverableServers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/virtualNetworkRules": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/azureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/performanceTiers": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.DBforPostgreSQL": {
+ "2017-12-01-preview": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/recoverableServers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/virtualNetworkRules": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/azureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/performanceTiers": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-12-01": {
+ "locations/securityAlertPoliciesAzureAsyncOperation": [
+ "AzureGov"
+ ],
+ "locations/securityAlertPoliciesOperationResults": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.Devices": {
+ "2018-12-01-preview": {
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "usages": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "IotHubs": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.DevTestLab": {
+ "2018-10-15-preview": {
+ "labs": [
+ "AzureGov"
+ ],
+ "schedules": [
+ "AzureGov"
+ ],
+ "labs/virtualMachines": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ],
+ "locations": [
+ "AzureGov"
+ ],
+ "locations/operations": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.EventHub": {
+ "2018-01-01-preview": {
+ "namespaces": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "clusters": [
+ "AzureChina"
+ ]
+ },
+ "2015-08-01": {
+ "checkNamespaceAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-04-01": {
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "sku": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Features": {
+ "2015-12-01": {
+ "features": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "providers": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.ImportExport": {
+ "2016-11-01": {
+ "jobs": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "microsoft.insights": {
+ "2018-05-01-preview": {
+ "components": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-05-01": {
+ "webtests": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-04-16": {
+ "scheduledqueryrules": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-10-01": {
+ "components/pricingPlans": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "migrateToNewPricingModel": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "rollbackToLegacyPricingModel": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "listMigrationdate": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2016-03-01": {
+ "logprofiles": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "alertrules": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-03-01": {
+ "metricalerts": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-04-01": {
+ "autoscalesettings": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "eventCategories": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-03-01-preview": {
+ "eventtypes": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-05-01-preview": {
+ "diagnosticSettings": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "diagnosticSettingsCategories": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-01-01": {
+ "metricDefinitions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "metrics": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-07-01": {
+ "logDefinitions": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-09-01": {
+ "actiongroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "baseline": [
+ "AzureGov"
+ ],
+ "calculatebaseline": [
+ "AzureGov"
+ ]
+ },
+ "2017-04-01": {
+ "activityLogAlerts": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-06-17-preview": {
+ "workbooks": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-08-01-preview": {
+ "logs": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.KeyVault": {
+ "2018-02-14-preview": {
+ "vaults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "vaults/secrets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "vaults/accessPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "deletedVaults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/deletedVaults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/deleteVirtualNetworkOrSubnets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Logic": {
+ "2018-07-01-preview": {
+ "integrationAccounts": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.MarketplaceOrdering": {
+ "2015-06-01": {
+ "agreements": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ],
+ "offertypes": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.Media": {
+ "2018-07-01": {
+ "mediaservices": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/assets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/contentKeyPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/streamingLocators": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/streamingPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/transforms": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/transforms/jobs": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/streamingEndpoints": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/liveEvents": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/liveEvents/liveOutputs": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/streamingEndpointOperations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/liveEventOperations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/liveOutputOperations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/assets/assetFilters": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "mediaservices/accountFilters": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-10-01": {
+ "checknameavailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Migrate": {
+ "2018-02-02": {
+ "projects": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ],
+ "locations": [
+ "AzureGov"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov"
+ ],
+ "locations/assessmentOptions": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.Network": {
+ "2019-02-01": {
+ "virtualNetworks": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "publicIPAddresses": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "networkInterfaces": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "privateEndpoints": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "loadBalancers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "networkSecurityGroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "applicationSecurityGroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "serviceEndpointPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "networkIntentPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "routeTables": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "publicIPPrefixes": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "ddosCustomPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "networkWatchers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "networkWatchers/connectionMonitors": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "networkWatchers/pingMeshes": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualNetworkGateways": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "localNetworkGateways": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "connections": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "applicationGateways": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "applicationGatewayWebApplicationFirewallPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/CheckDnsNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/usages": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/virtualNetworkAvailableEndpointServices": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/availableDelegations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/serviceTags": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/availablePrivateEndpointResources": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/supportedVirtualMachineSizes": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/checkAcceleratedNetworkingSupport": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/validateResourceOwnership": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/setResourceOwnership": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/effectiveResourceOwnership": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "expressRouteCircuits": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "expressRouteCrossConnections": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "expressRouteServiceProviders": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "applicationGatewayAvailableWafRuleSets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "applicationGatewayAvailableSslOptions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "applicationGatewayAvailableServerVariables": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "applicationGatewayAvailableRequestHeaders": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "applicationGatewayAvailableResponseHeaders": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "routeFilters": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "bgpServiceCommunities": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "azureFirewalls": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "azureFirewallFqdnTags": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualNetworkTaps": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "privateLinkServices": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "ddosProtectionPlans": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "networkProfiles": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/bareMetalTenants": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-05-01": {
+ "dnszones": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnsOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnsOperationStatuses": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "getDnsResourceReference": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "internalNotify": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/A": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/AAAA": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/CNAME": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/PTR": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/MX": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/TXT": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/SRV": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/SOA": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/NS": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/CAA": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/recordsets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "dnszones/all": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-08-01": {
+ "trafficmanagerprofiles": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkTrafficManagerNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "trafficManagerGeographicHierarchies": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.NotificationHubs": {
+ "2017-04-01": {
+ "namespaces": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "namespaces/notificationHubs": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNamespaceAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2016-03-01": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.OperationalInsights": {
+ "2015-03-20": {
+ "linkTargets": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.OperationsManagement": {
+ "2015-11-01-preview": {
+ "solutions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-08-21-preview": {
+ "views": [
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.PolicyInsights": {
+ "2018-04-04": {
+ "policyEvents": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-07-01-preview": {
+ "policyStates": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "asyncOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "remediations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "policyTrackedResources": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Portal": {
+ "2018-10-01-preview": {
+ "dashboards": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-08-01-preview": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.PowerBI": {
+ "2016-01-29": {
+ "workspaceCollections": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.PowerBIDedicated": {
+ "2017-10-01": {
+ "capacities": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationresults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationstatuses": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-01-01-preview": {
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.RecoveryServices": {
+ "2016-08-10": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2016-06-01": {
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/backupStatus": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/allocatedStamp": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/allocateStamp": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-01-10": {
+ "locations/checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-07-01": {
+ "locations/backupValidateFeatures": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/backupPreValidateProtection": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Relay": {
+ "2017-04-01": {
+ "namespaces": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.ResourceHealth": {
+ "2017-07-01": {
+ "availabilityStatuses": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-01-01": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Resources": {
+ "2016-09-01": {
+ "tenants": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "providers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkresourcename": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "resources": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions/resources": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions/providers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions/operationresults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "resourceGroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions/resourceGroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions/resourcegroups/resources": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions/locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions/tagnames": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "subscriptions/tagNames/tagValues": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "deployments": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "deployments/operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "links": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Scheduler": {
+ "2016-03-01": {
+ "jobcollections": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Search": {
+ "2015-08-19": {
+ "searchServices": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "resourceHealthMetadata": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-02-28": {
+ "checkServiceNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.ServiceBus": {
+ "2018-01-01-preview": {
+ "namespaces": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-04-01": {
+ "namespaces/authorizationrules": [
+ "AzureGov"
+ ],
+ "namespaces/queues": [
+ "AzureGov"
+ ],
+ "namespaces/queues/authorizationrules": [
+ "AzureGov"
+ ],
+ "namespaces/topics": [
+ "AzureGov"
+ ],
+ "namespaces/topics/authorizationrules": [
+ "AzureGov"
+ ],
+ "namespaces/topics/subscriptions": [
+ "AzureGov"
+ ],
+ "namespaces/topics/subscriptions/rules": [
+ "AzureGov"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "sku": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "premiumMessagingRegions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-08-01": {
+ "checkNamespaceAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.ServiceFabric": {
+ "2018-02-01": {
+ "clusters": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/clusterVersions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Solutions": {
+ "2018-09-01-preview": {
+ "applications": [
+ "AzureGov"
+ ],
+ "applicationDefinitions": [
+ "AzureGov"
+ ],
+ "locations": [
+ "AzureGov"
+ ],
+ "locations/operationstatuses": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.Sql": {
+ "2017-03-01-preview": {
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/backupLongTermRetentionPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/automaticTuning": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/automaticTuning": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/securityAlertPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/extendedAuditingSettings": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/extendedAuditingSettingsAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/extendedAuditingSettingsOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/jobAgents": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/jobAgentOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/jobAgentAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/jobAgents/jobs": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/jobAgents/jobs/steps": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/jobAgents/jobs/executions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/dnsAliases": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/dnsAliasAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/dnsAliasOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/databaseRestoreAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/VulnerabilityAssessment": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances/administrators": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances/databases": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedDatabaseAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedDatabaseOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedDatabaseRestoreAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedDatabaseRestoreOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedServerSecurityAlertPoliciesAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedServerSecurityAlertPoliciesOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/securityAlertPoliciesAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/securityAlertPoliciesOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/administratorAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/administratorOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/longTermRetentionServers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/longTermRetentionBackups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/longTermRetentionPolicyOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/longTermRetentionPolicyAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/longTermRetentionBackupOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/longTermRetentionBackupAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedShortTermRetentionPolicyOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedShortTermRetentionPolicyAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2014-04-01-preview": {
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/serviceObjectives": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/communicationLinks": [
+ "AzureGov"
+ ],
+ "servers/administrators": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/administratorOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/restorableDroppedDatabases": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/recoverableDatabases": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/import": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/importExportOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/operationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databaseSecurityPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/auditingPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/recommendedElasticPools": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/auditingPolicies": [
+ "AzureGov"
+ ],
+ "servers/databases/connectionPolicies": [
+ "AzureGov"
+ ],
+ "servers/connectionPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/dataMaskingPolicies": [
+ "AzureGov"
+ ],
+ "servers/databases/dataMaskingPolicies/rules": [
+ "AzureGov"
+ ],
+ "servers/disasterRecoveryConfiguration": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/metricDefinitions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/metrics": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/aggregatedDatabaseMetrics": [
+ "AzureGov"
+ ],
+ "servers/elasticpools/metrics": [
+ "AzureGov"
+ ],
+ "servers/elasticpools/metricdefinitions": [
+ "AzureGov"
+ ],
+ "servers/databases/topQueries": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/topQueries/queryText": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/extensions": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-06-01-preview": {
+ "locations/capabilities": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/databaseAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/databaseOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/serverKeyAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/serverKeyOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/keys": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/encryptionProtector": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/encryptionProtectorOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/encryptionProtectorAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/serverAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/serverOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/transparentDataEncryption": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/securityAlertPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/vulnerabilityAssessments": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances/vulnerabilityAssessments": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedInstanceAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedInstanceOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-10-01-preview": {
+ "locations/managedInstanceKeyAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedInstanceKeyOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedInstanceEncryptionProtectorOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedInstanceEncryptionProtectorAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/tdeCertificates": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/tdeCertAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/tdeCertOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/elasticPoolAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/elasticPoolOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/elasticpools": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/vulnerabilityAssessments": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances/databases/vulnerabilityAssessments": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/vulnerabilityAssessmentScanAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/vulnerabilityAssessmentScanOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances/recoverableDatabases": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances/metrics": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances/metricDefinitions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "managedInstances/tdeCertificates": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedInstanceTdeCertAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedInstanceTdeCertOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/shortTermRetentionPolicyOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/shortTermRetentionPolicyAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/instanceFailoverGroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/instanceFailoverGroupAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/instanceFailoverGroupOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2015-05-01-preview": {
+ "servers/databases/geoBackupPolicies": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/failoverGroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/failoverGroupAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/failoverGroupOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/deleteVirtualNetworkOrSubnets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/virtualNetworkRules": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/virtualNetworkRulesOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/virtualNetworkRulesAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/deleteVirtualNetworkOrSubnetsOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/deleteVirtualNetworkOrSubnetsAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/advisors": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/elasticPools/advisors": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/advisors": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/elasticPoolEstimates": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/auditRecords": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/VulnerabilityAssessmentScans": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/VulnerabilityAssessmentSettings": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/syncGroups": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/databases/syncGroups/syncMembers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "servers/syncAgents": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "virtualClusters": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/syncGroupOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/syncMemberOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/syncAgentOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/syncDatabaseIds": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/firewallRulesOperationResults": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/firewallRulesAzureAsyncOperation": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.Storage": {
+ "2019-04-01": {
+ "storageAccounts": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/asyncoperations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "storageAccounts/listAccountSas": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "storageAccounts/listServiceSas": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "storageAccounts/blobServices": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "storageAccounts/tableServices": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "storageAccounts/queueServices": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "storageAccounts/fileServices": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/usages": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/deleteVirtualNetworkOrSubnets": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2017-10-01": {
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "usages": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ },
+ "Microsoft.StorageSync": {
+ "2019-02-01": {
+ "storageSyncServices": [
+ "AzureGov"
+ ],
+ "storageSyncServices/syncGroups": [
+ "AzureGov"
+ ],
+ "storageSyncServices/syncGroups/cloudEndpoints": [
+ "AzureGov"
+ ],
+ "storageSyncServices/syncGroups/serverEndpoints": [
+ "AzureGov"
+ ],
+ "storageSyncServices/registeredServers": [
+ "AzureGov"
+ ],
+ "storageSyncServices/workflows": [
+ "AzureGov"
+ ],
+ "operations": [
+ "AzureGov"
+ ],
+ "locations": [
+ "AzureGov"
+ ],
+ "locations/checkNameAvailability": [
+ "AzureGov"
+ ],
+ "locations/workflows": [
+ "AzureGov"
+ ]
+ }
+ },
+ "Microsoft.Web": {
+ "2018-02-01": {
+ "publishingUsers": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "ishostnameavailable": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "isusernameavailable": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "sourceControls": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "availableStacks": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "listSitesAssignedToHostName": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "sites/hostNameBindings": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "sites/slots/hostNameBindings": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "operations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "serverFarms": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "runtimes": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "georegions": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "sites/premieraddons": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "deploymentLocations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "ishostingenvironmentnameavailable": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "checkNameAvailability": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "billingMeters": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "hostingEnvironments": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "hostingEnvironments/multiRolePools": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "hostingEnvironments/workerPools": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-07-01-preview": {
+ "connections": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "customApis": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/managedApis": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/apiOperations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ },
+ "2018-03-01-preview": {
+ "locations/listWsdlInterfaces": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/extractApiDefinitionFromWsdl": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/runtimes": [
+ "AzureGov"
+ ],
+ "connectionGateways": [
+ "AzureGov",
+ "AzureChina"
+ ],
+ "locations/connectionGatewayInstallations": [
+ "AzureGov",
+ "AzureChina"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.go.md b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.go.md
index b15cdf7f29fa..80040132bf08 100644
--- a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.go.md
+++ b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.go.md
@@ -5,7 +5,7 @@ These settings apply only when `--go` is specified on the command line.
``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
- namespace: EnterpriseKnowledgeGraphService
+ namespace: enterpriseknowledgegraphservice
clear-output-folder: true
```
@@ -13,21 +13,12 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-12-03
- - tag: package-2018-12-03-preview
```
-### Tag: package-2018-12 and go
-These settings apply only when `--tag=package-2018-12 --go` is specified on the command line.
+### Tag: package-2018-12-03 and go
+These settings apply only when `--tag=package-2018-12-03 --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
-``` yaml $(tag) == 'package-2018-12' && $(go)
-output-folder: $(go-sdk-folder)/services/$(namespace)/2018-12-03/$(namespace)
+``` yaml $(tag) == 'package-2018-12-03' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/2018-12-03/$(namespace)
```
-
-### Tag: package-2018-12-preview and go
-These settings apply only when `--tag=package-2018-12-preview --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2018-12-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/2018-12-31-preview/$(namespace)
-
diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddAlertFeedback.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddAlertFeedback.json
index 782dc7bc69a8..1e25e5f13862 100644
--- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddAlertFeedback.json
+++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddAlertFeedback.json
@@ -1,17 +1,15 @@
{
"parameters": {
"serviceName": "sampleServiceName",
- "alertFeedback": [
- {
- "level": "Error",
- "state": "Active",
- "shortName": "AlertShortName",
- "feeback": "Like",
- "comment": "SampleComment",
- "consentedToShare": false,
- "serviceMemberId": "SampleServiceMemberId"
- }
- ],
+ "alertFeedback": {
+ "level": "Error",
+ "state": "Active",
+ "shortName": "AlertShortName",
+ "feedback": "Like",
+ "comment": "SampleComment",
+ "consentedToShare": false,
+ "serviceMemberId": "SampleServiceMemberId"
+ },
"api-version": "2014-01-01"
},
"responses": {
diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json
index 1d9a70d84ba8..b15f017c7a0c 100644
--- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json
+++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/AddUserPreference.json
@@ -2,14 +2,12 @@
"parameters": {
"serviceName": "sampleServiceName",
"featureName": "SampleFeatureName",
- "setting": [
- {
- "metricNames": [
- "UserPreference1",
- "UserPreference2"
- ]
- }
- ],
+ "setting": {
+ "metricNames": [
+ "UserPreference1",
+ "UserPreference2"
+ ]
+ },
"api-version": "2014-01-01"
},
"responses": {
diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Alerts.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Alerts.json
index e535b5304c3e..ca0d4dd0e5df 100644
--- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Alerts.json
+++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Alerts.json
@@ -27,21 +27,23 @@
}
],
"scope": "SampleScope",
- "additionalInformation": {
- "titleName": "SampleAdditionalInfo",
- "titleValue": "SampleTitle",
- "properties": [
- {
- "key": "Property1",
- "value": "Value1"
- },
- {
- "key": "Property2",
- "value": "Value2"
- }
- ],
- "hasProperties": true
- },
+ "additionalInformation": [
+ {
+ "titleName": "SampleAdditionalInfo",
+ "titleValue": "SampleTitle",
+ "properties": [
+ {
+ "key": "Property1",
+ "value": "Value1"
+ },
+ {
+ "key": "Property2",
+ "value": "Value2"
+ }
+ ],
+ "hasProperties": true
+ }
+ ],
"createdDate": "2018-04-10T03:12:23.4408944Z",
"resolvedDate": "2018-04-10T03:12:23.4408944Z",
"lastUpdated": "2018-04-30T19:24:42.1946017Z",
diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ConnectorMetadata.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ConnectorMetadata.json
index 673e6f5e5131..b4bae23846d1 100644
--- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ConnectorMetadata.json
+++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/ConnectorMetadata.json
@@ -2,29 +2,26 @@
"parameters": {
"serviceName": "sampleServiceName",
"serviceMemberId": "SampleServiceMemberId",
+ "metricName": "sampleMetricName",
"api-version": "2014-01-01"
},
"responses": {
"200": {
"body": {
- "value": [
+ "connectors": [
{
- "connectors": [
- {
- "connectorId": "3efbb72d-5047-4816-a7dd-73fefe16a2f3",
- "connectorDisplayName": "adhsdfus1runner.adhs.com"
- },
- {
- "connectorId": "b891884f-051e-4a83-95af-2544101c9083",
- "connectorDisplayName": "dfadhybridhealth.dfdomain.net - AAD"
- }
- ],
- "runProfileNames": [
- "Export",
- "ApplyRules",
- "DeltaImport"
- ]
+ "connectorId": "3efbb72d-5047-4816-a7dd-73fefe16a2f3",
+ "connectorDisplayName": "adhsdfus1runner.adhs.com"
+ },
+ {
+ "connectorId": "b891884f-051e-4a83-95af-2544101c9083",
+ "connectorDisplayName": "dfadhybridhealth.dfdomain.net - AAD"
}
+ ],
+ "runProfileNames": [
+ "Export",
+ "ApplyRules",
+ "DeltaImport"
]
}
}
diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/PatchTenant.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/PatchTenant.json
index 3970f6e3c32a..8f5a01a32008 100644
--- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/PatchTenant.json
+++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/PatchTenant.json
@@ -1,10 +1,8 @@
{
"parameters": {
- "tenant": [
- {
- "agentAutoUpdate": false
- }
- ],
+ "tenant": {
+ "agentAutoUpdate": false
+ },
"api-version": "2014-01-01"
},
"responses": {
diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Server_Alerts.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Server_Alerts.json
index c83967580650..e2f7edad9443 100644
--- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Server_Alerts.json
+++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/Server_Alerts.json
@@ -28,21 +28,23 @@
}
],
"scope": "SampleScope",
- "additionalInformation": {
- "titleName": "SampleAdditionalInfo",
- "titleValue": "SampleTitle",
- "properties": [
- {
- "key": "Property1",
- "value": "Value1"
- },
- {
- "key": "Property2",
- "value": "Value2"
- }
- ],
- "hasProperties": true
- },
+ "additionalInformation": [
+ {
+ "titleName": "SampleAdditionalInfo",
+ "titleValue": "SampleTitle",
+ "properties": [
+ {
+ "key": "Property1",
+ "value": "Value1"
+ },
+ {
+ "key": "Property2",
+ "value": "Value2"
+ }
+ ],
+ "hasProperties": true
+ }
+ ],
"createdDate": "2018-04-10T03:12:23.4408944Z",
"resolvedDate": "2018-04-10T03:12:23.4408944Z",
"lastUpdated": "2018-04-30T19:24:42.1945017Z",
diff --git a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UpdateService.json b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UpdateService.json
index ccc58f4862d5..384eea9a3444 100644
--- a/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UpdateService.json
+++ b/specification/adhybridhealthservice/resource-manager/Microsoft.ADHybridHealthService/stable/2014-01-01/examples/UpdateService.json
@@ -1,12 +1,10 @@
{
"parameters": {
"serviceName": "sampleServiceName",
- "service": [
- {
- "notificationEmailEnabled": true,
- "notificationEmailEnabledForGlobalADmins": true
- }
- ],
+ "service": {
+ "notificationEmailEnabled": true,
+ "notificationEmailEnabledForGlobalAdmins": true
+ },
"api-version": "2014-01-01"
},
"responses": {
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json
index 942bded696eb..ed46e4055106 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json
@@ -3,7 +3,7 @@
"info": {
"version": "2019-05-05-preview",
"title": "Azure Alerts Management Service Resource Provider",
- "description": "REST APIs for Azure Alerts Management Service."
+ "description": "Azure Alerts Management Service provides a single pane of glass of alerts across Azure Monitor."
},
"host": "management.azure.com",
"schemes": [
@@ -43,7 +43,7 @@
"200": {
"description": "OK. Successfully retrieved operations list.",
"schema": {
- "$ref": "#/definitions/OperationsList"
+ "$ref": "#/definitions/operationsList"
}
}
},
@@ -52,10 +52,40 @@
}
}
},
+ "/providers/Microsoft.AlertsManagement/alertsMetaData": {
+ "get": {
+ "operationId": "Alerts_MetaData",
+ "description": "List alerts meta data information based on value of identifier parameter.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/identifier"
+ }
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. Successfully listed alert meta data.",
+ "schema": {
+ "$ref": "#/definitions/alertsMetaData"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "MonService": {
+ "$ref": "./examples/AlertsMetaData_MonitorService.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts": {
"get": {
"operationId": "Alerts_GetAll",
- "description": "List all the existing alerts, where the results can be selective by passing multiple filter parameters including time range and sorted on specific fields. ",
+ "description": "List all existing alerts, where the results can be filtered on the basis of multiple parameters (e.g. time range). The results can then be sorted on the basis specific fields, with the default being lastModifiedDateTime. ",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -64,10 +94,10 @@
"$ref": "#/parameters/targetResource"
},
{
- "$ref": "#/parameters/targetResourceGroup"
+ "$ref": "#/parameters/targetResourceType"
},
{
- "$ref": "#/parameters/targetResourceType"
+ "$ref": "#/parameters/targetResourceGroup"
},
{
"$ref": "#/parameters/monitorService"
@@ -81,11 +111,17 @@
{
"$ref": "#/parameters/alertState"
},
+ {
+ "$ref": "#/parameters/alertRule"
+ },
{
"$ref": "#/parameters/smartGroupIdFilter"
},
{
- "$ref": "#/parameters/includePayload"
+ "$ref": "#/parameters/includeContext"
+ },
+ {
+ "$ref": "#/parameters/includeEgressConfig"
},
{
"$ref": "#/parameters/pageCount"
@@ -96,9 +132,15 @@
{
"$ref": "#/parameters/sortOrder"
},
+ {
+ "$ref": "#/parameters/select"
+ },
{
"$ref": "#/parameters/timeRange"
},
+ {
+ "$ref": "#/parameters/customTimeRange"
+ },
{
"$ref": "#/parameters/api-version"
}
@@ -110,13 +152,13 @@
"200": {
"description": "OK. Successfully listed alert objects.",
"schema": {
- "$ref": "#/definitions/AlertsList"
+ "$ref": "#/definitions/alertsList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -153,13 +195,13 @@
"200": {
"description": "OK. Returns the alert with the specified ID.",
"schema": {
- "$ref": "#/definitions/Alert"
+ "$ref": "#/definitions/alert"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -173,7 +215,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/changestate": {
"post": {
"operationId": "Alerts_ChangeState",
- "description": "Change the state of the alert.",
+ "description": "Change the state of an alert.",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -192,13 +234,13 @@
"200": {
"description": "OK. Alert state updated.",
"schema": {
- "$ref": "#/definitions/Alert"
+ "$ref": "#/definitions/alert"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -212,7 +254,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alerts/{alertId}/history": {
"get": {
"operationId": "Alerts_GetHistory",
- "description": "Get the history of the changes of an alert.",
+ "description": "Get the history of an alert, which captures any monitor condition changes (Fired/Resolved) and alert state changes (New/Acknowledged/Closed).",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -226,15 +268,15 @@
],
"responses": {
"200": {
- "description": "OK. Returns the list of changes of alert.",
+ "description": "OK. Returns the history of the specified alert.",
"schema": {
- "$ref": "#/definitions/AlertModification"
+ "$ref": "#/definitions/alertModification"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -248,32 +290,62 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/alertsSummary": {
"get": {
"operationId": "Alerts_GetSummary",
- "description": "Summary of alerts with the count each severity.",
+ "description": "Get a summarized count of your alerts grouped by various parameters (e.g. grouping by 'Severity' returns the count of alerts for each severity).",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
+ {
+ "$ref": "#/parameters/alertsSummaryGroupBy"
+ },
+ {
+ "$ref": "#/parameters/includeSmartGroupsCount"
+ },
+ {
+ "$ref": "#/parameters/targetResource"
+ },
+ {
+ "$ref": "#/parameters/targetResourceType"
+ },
{
"$ref": "#/parameters/targetResourceGroup"
},
+ {
+ "$ref": "#/parameters/monitorService"
+ },
+ {
+ "$ref": "#/parameters/monitorCondition"
+ },
+ {
+ "$ref": "#/parameters/severity"
+ },
+ {
+ "$ref": "#/parameters/alertState"
+ },
+ {
+ "$ref": "#/parameters/alertRule"
+ },
{
"$ref": "#/parameters/timeRange"
},
+ {
+ "$ref": "#/parameters/customTimeRange"
+ },
{
"$ref": "#/parameters/api-version"
}
],
"responses": {
"200": {
- "description": "OK. Alert state updated.",
+ "description": "OK. Alert summary returned.",
"schema": {
- "$ref": "#/definitions/AlertsSummary"
+ "$ref": "#/definitions/alertsSummary"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -287,8 +359,8 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups": {
"get": {
"operationId": "SmartGroups_GetAll",
- "summary": "Get all smartGroups within the subscription",
- "description": "List all the smartGroups within the specified subscription. ",
+ "summary": "Get all Smart Groups within a specified subscription",
+ "description": "List all the Smart Groups within a specified subscription. ",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -337,16 +409,20 @@
"200": {
"description": "OK. Returns list of all smartGroups.",
"schema": {
- "$ref": "#/definitions/SmartGroupsList"
+ "$ref": "#/definitions/smartGroupsList",
+ "description": "List of smart groups in value property."
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
"x-ms-examples": {
"List": {
"$ref": "./examples/SmartGroups_List.json"
@@ -357,8 +433,8 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}": {
"get": {
"operationId": "SmartGroups_GetById",
- "summary": "Get information of smart alerts group.",
- "description": "Get details of smart group.",
+ "summary": "Get information related to a specific Smart Group.",
+ "description": "Get information related to a specific Smart Group.",
"produces": [
"application/json"
],
@@ -383,13 +459,13 @@
}
},
"schema": {
- "$ref": "#/definitions/SmartGroup"
+ "$ref": "#/definitions/smartGroup"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -403,7 +479,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/changeState": {
"post": {
"operationId": "SmartGroups_ChangeState",
- "description": "Change the state from unresolved to resolved and all the alerts within the smart group will also be resolved.",
+ "description": "Change the state of a Smart Group.",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -420,7 +496,7 @@
],
"responses": {
"200": {
- "description": "OK. Alert state updated.",
+ "description": "OK. Smart Group state updated.",
"headers": {
"x-ms-request-id": {
"type": "string",
@@ -428,13 +504,13 @@
}
},
"schema": {
- "$ref": "#/definitions/SmartGroup"
+ "$ref": "#/definitions/smartGroup"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -448,7 +524,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}/history": {
"get": {
"operationId": "SmartGroups_GetHistory",
- "description": "Get the history of the changes of smart group.",
+ "description": "Get the history a smart group, which captures any Smart Group state changes (New/Acknowledged/Closed) .",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
@@ -464,13 +540,13 @@
"200": {
"description": "OK. Returns the list of changes of smart group.",
"schema": {
- "$ref": "#/definitions/SmartGroupModification"
+ "$ref": "#/definitions/smartGroupModification"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -519,6 +595,9 @@
},
{
"$ref": "#/parameters/actionRuleName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
}
],
"responses": {
@@ -537,7 +616,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -592,6 +671,9 @@
},
{
"$ref": "#/parameters/actionRuleName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
}
],
"responses": {
@@ -610,7 +692,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -642,6 +724,9 @@
"description": "The name of action rule that needs to be fetched",
"required": true,
"type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
}
],
"responses": {
@@ -660,7 +745,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -696,6 +781,9 @@
"schema": {
"$ref": "#/definitions/ActionRule"
}
+ },
+ {
+ "$ref": "#/parameters/api-version"
}
],
"responses": {
@@ -714,7 +802,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -741,6 +829,9 @@
"description": "The name that needs to be deleted",
"required": true,
"type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
}
],
"responses": {
@@ -759,7 +850,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -795,6 +886,9 @@
"$ref": "#/definitions/PatchObject"
},
"description": "Parameters supplied to the operation."
+ },
+ {
+ "$ref": "#/parameters/api-version"
}
],
"responses": {
@@ -813,7 +907,7 @@
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
- "$ref": "#/definitions/ErrorResponse"
+ "$ref": "#/definitions/errorResponse"
}
}
},
@@ -828,7 +922,7 @@
"parameters": {
"subscriptionId": {
"name": "subscriptionId",
- "description": "subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
"type": "string",
"in": "path",
"required": true
@@ -848,8 +942,7 @@
"in": "query",
"required": true,
"enum": [
- "2019-05-05-preview",
- "2018-05-05"
+ "2019-05-05-preview"
],
"x-ms-enum": {
"name": "api-version",
@@ -858,14 +951,14 @@
},
"alertId": {
"name": "alertId",
- "description": "Unique ID of an alert object.",
+ "description": "Unique ID of an alert instance.",
"type": "string",
"in": "path",
"required": true,
"x-ms-parameter-location": "method"
},
"targetResourceGroup": {
- "description": "filter by target resource group name",
+ "description": "Filter by target resource group name. Default value is select all.",
"name": "targetResourceGroup",
"type": "string",
"in": "query",
@@ -873,7 +966,7 @@
"x-ms-parameter-location": "method"
},
"targetResource": {
- "description": "filter by target resource",
+ "description": "Filter by target resource( which is full ARM ID) Default value is select all.",
"name": "targetResource",
"type": "string",
"in": "query",
@@ -881,7 +974,7 @@
"x-ms-parameter-location": "method"
},
"targetResourceType": {
- "description": "filter by target resource type",
+ "description": "Filter by target resource type. Default value is select all.",
"name": "targetResourceType",
"type": "string",
"in": "query",
@@ -889,27 +982,27 @@
"x-ms-parameter-location": "method"
},
"monitorService": {
- "description": "filter by monitor service which is the source of the alert object.",
+ "description": "Filter by monitor service which generates the alert instance. Default value is select all.",
"name": "monitorService",
"type": "string",
"in": "query",
"required": false,
"x-ms-parameter-location": "method",
"enum": [
- "Platform",
"Application Insights",
- "Log Analytics",
- "Zabbix",
- "SCOM",
- "Nagios",
- "Infrastructure Insights",
"ActivityLog Administrative",
"ActivityLog Security",
"ActivityLog Recommendation",
"ActivityLog Policy",
"ActivityLog Autoscale",
+ "Log Analytics",
+ "Nagios",
+ "Platform",
+ "SCOM",
"ServiceHealth",
- "SmartDetector"
+ "SmartDetector",
+ "VM Insights",
+ "Zabbix"
],
"x-ms-enum": {
"name": "MonitorService",
@@ -917,7 +1010,7 @@
}
},
"severity": {
- "description": "filter by severity",
+ "description": "Filter by severity. Default value is select all.",
"name": "severity",
"type": "string",
"in": "query",
@@ -936,63 +1029,23 @@
}
},
"smartGroupIdFilter": {
- "description": "filter by smart Group Id",
+ "description": "Filter the alerts list by the Smart Group Id. Default value is none.",
"name": "smartGroupId",
"type": "string",
"in": "query",
"required": false,
"x-ms-parameter-location": "method"
},
- "description": {
- "description": "filter by alert rule description",
- "name": "description",
- "type": "string",
- "in": "query",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "alertRuleId": {
- "description": "filter by alert rule id",
- "name": "alertRuleId",
- "type": "string",
- "in": "query",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "actionGroup": {
- "description": "filter by action group configured as part of action rule",
- "name": "actionGroup",
- "type": "string",
- "in": "query",
- "required": false,
- "x-ms-parameter-location": "method"
- },
- "actionRuleName": {
- "description": "filter by action rule name",
- "name": "name",
- "type": "string",
- "in": "query",
- "required": false,
- "x-ms-parameter-location": "method"
- },
"smartGroupId": {
- "description": "Smart Group Id",
+ "description": "Smart group unique id. ",
"name": "smartGroupId",
"type": "string",
"in": "path",
"required": true,
"x-ms-parameter-location": "method"
},
- "impactedScope": {
- "description": "filter by impacted/target scope (provide comma separated list for multiple scopes). The value should be an well constructed ARM id of the scope.",
- "name": "impactedScope",
- "type": "string",
- "in": "query",
- "required": false,
- "x-ms-parameter-location": "method"
- },
"newState": {
- "description": "filter by state",
+ "description": "New state of the alert.",
"name": "newState",
"type": "string",
"in": "query",
@@ -1009,7 +1062,7 @@
}
},
"alertState": {
- "description": "filter by state",
+ "description": "Filter by state of the alert instance. Default value is to select all.",
"name": "alertState",
"type": "string",
"in": "query",
@@ -1026,7 +1079,7 @@
}
},
"smartGroupState": {
- "description": "filter by state",
+ "description": "Filter by state of the smart group. Default value is to select all.",
"name": "smartGroupState",
"type": "string",
"in": "query",
@@ -1043,7 +1096,7 @@
}
},
"monitorCondition": {
- "description": "filter by monitor condition which is the state of the alert at monitor service",
+ "description": "Filter by monitor condition which is either 'Fired' or 'Resolved'. Default value is to select all.",
"name": "monitorCondition",
"type": "string",
"in": "query",
@@ -1058,8 +1111,16 @@
"modelAsString": true
}
},
+ "alertRule": {
+ "description": "Filter by specific alert rule. Default value is to select all.",
+ "name": "alertRule",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
"timeRange": {
- "description": "filter by time range, default value is 1 day",
+ "description": "Filter by time range by below listed values. Default value is 1 day.",
"name": "timeRange",
"type": "string",
"in": "query",
@@ -1076,16 +1137,40 @@
"modelAsString": true
}
},
- "includePayload": {
- "description": "include payload field content, default value is 'false'.",
- "name": "includePayload",
+ "customTimeRange": {
+ "description": "Filter by custom time range in the format / where time is in (ISO-8601 format)'. Permissible values is within 30 days from query time. Either timeRange or customTimeRange could be used but not both. Default is none.",
+ "name": "customTimeRange",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "includeContext": {
+ "description": "Include context which has contextual data specific to the monitor service. Default value is false'",
+ "name": "includeContext",
+ "type": "boolean",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "includeEgressConfig": {
+ "description": "Include egress config which would be used for displaying the content in portal. Default value is 'false'.",
+ "name": "includeEgressConfig",
+ "type": "boolean",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "includeSmartGroupsCount": {
+ "description": "Include count of the SmartGroups as part of the summary. Default value is 'false'.",
+ "name": "includeSmartGroupsCount",
"type": "boolean",
"in": "query",
"required": false,
"x-ms-parameter-location": "method"
},
"pageCount": {
- "description": "number of items per page, default value is '25'.",
+ "description": "Determines number of alerts returned per page in response. Permissible value is between 1 to 250. When the \"includeContent\" filter is selected, maximum value allowed is 25. Default value is 25.",
"name": "pageCount",
"type": "integer",
"in": "query",
@@ -1093,7 +1178,7 @@
"x-ms-parameter-location": "method"
},
"alertsSortBy": {
- "description": "sort the query results by input field, default value is 'lastModifiedDateTime'.",
+ "description": "Sort the query results by input field, Default value is 'lastModifiedDateTime'.",
"name": "sortBy",
"type": "string",
"in": "query",
@@ -1116,8 +1201,28 @@
"modelAsString": true
}
},
+ "alertsSummaryGroupBy": {
+ "description": "This parameter allows the result set to be grouped by input fields (Maximum 2 comma separated fields supported). For example, groupby=severity or groupby=severity,alertstate.",
+ "name": "groupby",
+ "type": "string",
+ "in": "query",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "enum": [
+ "severity",
+ "alertState",
+ "monitorCondition",
+ "monitorService",
+ "signalType",
+ "alertRule"
+ ],
+ "x-ms-enum": {
+ "name": "AlertsSummaryGroupByFields",
+ "modelAsString": true
+ }
+ },
"smartGroupsSortBy": {
- "description": "sort the query results by input field, default value is 'lastModifiedDateTime'.",
+ "description": "Sort the query results by input field. Default value is sort by 'lastModifiedDateTime'.",
"name": "sortBy",
"type": "string",
"in": "query",
@@ -1136,7 +1241,7 @@
}
},
"sortOrder": {
- "description": "sort the query results order in either ascending or descending, default value is 'desc' for time fields and 'asc' for others.",
+ "description": "Sort the query results order in either ascending or descending. Default value is 'desc' for time fields and 'asc' for others.",
"name": "sortOrder",
"type": "string",
"in": "query",
@@ -1146,10 +1251,72 @@
"asc",
"desc"
]
+ },
+ "select": {
+ "description": "This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project only the required fields rather than getting entire content. Default is to fetch all the fields in the essentials section.",
+ "name": "select",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "description": {
+ "description": "filter by alert rule description",
+ "name": "description",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "alertRuleId": {
+ "description": "filter by alert rule id",
+ "name": "alertRuleId",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "actionGroup": {
+ "description": "filter by action group configured as part of action rule",
+ "name": "actionGroup",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "actionRuleName": {
+ "description": "filter by action rule name",
+ "name": "name",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "impactedScope": {
+ "description": "filter by impacted/target scope (provide comma separated list for multiple scopes). The value should be an well constructed ARM id of the scope.",
+ "name": "impactedScope",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "identifier": {
+ "name": "identifier",
+ "description": "Identification of the information to be retrieved by API call.",
+ "type": "string",
+ "in": "query",
+ "required": true,
+ "enum": [
+ "MonitorServiceList"
+ ],
+ "x-ms-enum": {
+ "name": "identifier",
+ "modelAsString": true
+ }
}
},
"definitions": {
- "Operation": {
+ "operation": {
"description": "Operation provided by provider",
"properties": {
"name": {
@@ -1180,7 +1347,7 @@
}
}
},
- "OperationsList": {
+ "operationsList": {
"description": "Lists the operations available in the AlertsManagement RP.",
"properties": {
"nextLink": {
@@ -1191,7 +1358,7 @@
"description": "Array of operations",
"type": "array",
"items": {
- "$ref": "#/definitions/Operation"
+ "$ref": "#/definitions/operation"
}
}
},
@@ -1199,18 +1366,16 @@
"value"
]
},
- "ErrorResponse": {
+ "errorResponse": {
"description": "An error response from the service.",
- "x-ms-external": true,
"properties": {
"error": {
- "$ref": "#/definitions/ErrorResponseBody"
+ "$ref": "#/definitions/errorResponseBody"
}
}
},
- "ErrorResponseBody": {
+ "errorResponseBody": {
"description": "Details of error response.",
- "x-ms-external": true,
"properties": {
"code": {
"type": "string",
@@ -1228,7 +1393,7 @@
"type": "array",
"description": "A list of additional details about the error.",
"items": {
- "$ref": "#/definitions/ErrorResponseBody"
+ "$ref": "#/definitions/errorResponseBody"
}
}
}
@@ -1255,7 +1420,6 @@
}
},
"ManagedResource": {
- "x-ms-azure-resource": true,
"description": "An azure managed resource object",
"allOf": [
{
@@ -1282,7 +1446,7 @@
"location"
]
},
- "Alert": {
+ "alert": {
"description": "An alert created in alert management service.",
"allOf": [
{
@@ -1291,12 +1455,11 @@
],
"properties": {
"properties": {
- "$ref": "#/definitions/AlertProperties",
- "x-ms-client-flatten": true
+ "$ref": "#/definitions/alertProperties"
}
}
},
- "AlertsList": {
+ "alertsList": {
"description": "List the alerts.",
"properties": {
"nextLink": {
@@ -1307,18 +1470,43 @@
"description": "List of alerts",
"type": "array",
"items": {
- "$ref": "#/definitions/Alert"
+ "$ref": "#/definitions/alert"
}
}
}
},
- "AlertProperties": {
+ "alertProperties": {
"type": "object",
- "description": "An alert created in alert management service.",
+ "description": "Alert property bag",
+ "properties": {
+ "essentials": {
+ "$ref": "#/definitions/essentials"
+ },
+ "context": {
+ "$ref": "#/definitions/alertContext"
+ },
+ "egressConfig": {
+ "$ref": "#/definitions/egressConfig"
+ }
+ }
+ },
+ "egressConfig": {
+ "type": "object",
+ "description": "Config which would be used for displaying the data in portal.",
+ "readOnly": true
+ },
+ "alertContext": {
+ "type": "object",
+ "description": "Information specific to the monitor service that gives more contextual details about the alert.",
+ "readOnly": true
+ },
+ "essentials": {
+ "type": "object",
+ "description": "This object contains consistent fields across different monitor services.",
"properties": {
"severity": {
"type": "string",
- "description": "Severity of alert Sev1 being highest and Sev3 being lowest.",
+ "description": "Severity of alert Sev0 being highest and Sev4 being lowest.",
"readOnly": true,
"enum": [
"Sev0",
@@ -1334,7 +1522,7 @@
},
"signalType": {
"type": "string",
- "description": "Log based alert or metric based alert",
+ "description": "The type of signal the alert is based on, which could be metrics, logs or activity logs.",
"readOnly": true,
"enum": [
"Metric",
@@ -1348,7 +1536,7 @@
},
"alertState": {
"type": "string",
- "description": "Alert object state",
+ "description": "Alert object state, which can be modified by the user.",
"readOnly": true,
"enum": [
"New",
@@ -1362,7 +1550,7 @@
},
"monitorCondition": {
"type": "string",
- "description": "Condition of the rule at the monitor service",
+ "description": "Condition of the rule at the monitor service. It represents whether the underlying conditions have crossed the defined alert rule thresholds.",
"readOnly": true,
"enum": [
"Fired",
@@ -1379,44 +1567,49 @@
},
"targetResourceName": {
"type": "string",
- "description": "Target ARM resource name, on which alert got created."
+ "description": "Name of the target ARM resource name, on which alert got created."
},
"targetResourceGroup": {
"type": "string",
- "description": "Resource group of target ARM resource."
+ "description": "Resource group of target ARM resource, on which alert got created."
},
"targetResourceType": {
"type": "string",
- "description": "Resource type of target ARM resource"
+ "description": "Resource type of target ARM resource, on which alert got created."
},
"monitorService": {
"type": "string",
- "description": "Monitor service which is the source of the alert object.",
+ "description": "Monitor service on which the rule(monitor) is set.",
"readOnly": true,
"enum": [
- "Platform",
"Application Insights",
- "Log Analytics",
- "Infrastructure Insights",
"ActivityLog Administrative",
"ActivityLog Security",
"ActivityLog Recommendation",
"ActivityLog Policy",
"ActivityLog Autoscale",
+ "Log Analytics",
+ "Nagios",
+ "Platform",
+ "SCOM",
"ServiceHealth",
"SmartDetector",
- "Zabbix",
- "SCOM",
- "Nagios"
+ "VM Insights",
+ "Zabbix"
],
"x-ms-enum": {
"name": "MonitorService",
"modelAsString": true
}
},
+ "alertRule": {
+ "type": "string",
+ "description": "Rule(monitor) which fired alert instance. Depending on the monitor service, this would be ARM id or name of the rule.",
+ "readOnly": true
+ },
"sourceCreatedId": {
"type": "string",
- "description": "Unique Id created by monitor service",
+ "description": "Unique Id created by monitor service for each alert instance. This could be used to track the issue at the monitor service, in case of Nagios, Zabbix, SCOM etc.",
"readOnly": true
},
"smartGroupId": {
@@ -1426,34 +1619,35 @@
},
"smartGroupingReason": {
"type": "string",
- "description": "Reason for addition to a smart group",
+ "description": "Verbose reason describing the reason why this alert instance is added to a smart group",
"readOnly": true
},
"startDateTime": {
"type": "string",
"format": "date-time",
- "description": "Creation time(ISO-8601 format).",
+ "description": "Creation time(ISO-8601 format) of alert instance.",
"readOnly": true
},
"lastModifiedDateTime": {
"type": "string",
"format": "date-time",
- "description": "Last modification time(ISO-8601 format).",
+ "description": "Last modification time(ISO-8601 format) of alert instance.",
"readOnly": true
},
- "lastModifiedUserName": {
+ "monitorConditionResolvedDateTime": {
"type": "string",
- "description": "User who last modified the alert.",
+ "format": "date-time",
+ "description": "Resolved time(ISO-8601 format) of alert instance. This will be updated when monitor service resolves the alert instance because the rule condition is no longer met.",
"readOnly": true
},
- "payload": {
- "type": "object",
- "description": "More details which are contextual to the monitor service.",
+ "lastModifiedUserName": {
+ "type": "string",
+ "description": "User who last modified the alert, in case of monitor service updates user would be 'system', otherwise name of the user.",
"readOnly": true
}
}
},
- "AlertModification": {
+ "alertModification": {
"description": "Alert Modification details",
"allOf": [
{
@@ -1462,11 +1656,11 @@
],
"properties": {
"properties": {
- "$ref": "#/definitions/AlertModificationProperties"
+ "$ref": "#/definitions/alertModificationProperties"
}
}
},
- "AlertModificationProperties": {
+ "alertModificationProperties": {
"type": "object",
"description": "Properties of the alert modification item.",
"properties": {
@@ -1479,12 +1673,12 @@
"type": "array",
"description": "Modification details",
"items": {
- "$ref": "#/definitions/AlertModificationItem"
+ "$ref": "#/definitions/alertModificationItem"
}
}
}
},
- "AlertModificationItem": {
+ "alertModificationItem": {
"description": "Alert modification item.",
"properties": {
"modificationEvent": {
@@ -1525,7 +1719,7 @@
}
}
},
- "SmartGroupModification": {
+ "smartGroupModification": {
"description": "Alert Modification details",
"allOf": [
{
@@ -1534,11 +1728,11 @@
],
"properties": {
"properties": {
- "$ref": "#/definitions/SmartGroupModificationProperties"
+ "$ref": "#/definitions/smartGroupModificationProperties"
}
}
},
- "SmartGroupModificationProperties": {
+ "smartGroupModificationProperties": {
"description": "Properties of the smartGroup modification item.",
"properties": {
"smartGroupId": {
@@ -1550,7 +1744,7 @@
"type": "array",
"description": "Modification details",
"items": {
- "$ref": "#/definitions/SmartGroupModificationItem"
+ "$ref": "#/definitions/smartGroupModificationItem"
}
},
"nextLink": {
@@ -1559,7 +1753,7 @@
}
}
},
- "SmartGroupModificationItem": {
+ "smartGroupModificationItem": {
"description": "smartGroup modification item.",
"properties": {
"modificationEvent": {
@@ -1601,8 +1795,8 @@
}
}
},
- "AlertsSummary": {
- "description": "Summary of the alerts.",
+ "alertsSummary": {
+ "description": "Summary of alerts based on the input filters and 'groupby' parameters.",
"allOf": [
{
"$ref": "#/definitions/Resource"
@@ -1610,248 +1804,61 @@
],
"properties": {
"properties": {
- "$ref": "#/definitions/AlertsSummaryProperties",
- "x-ms-client-flatten": true
+ "$ref": "#/definitions/alertsSummaryGroup"
}
}
},
- "AlertsSummaryProperties": {
+ "alertsSummaryGroup": {
"type": "object",
- "description": "Summary of the alerts",
+ "description": "Group the result set.",
"properties": {
"total": {
"type": "integer",
- "description": "Total number of alerts."
+ "description": "Total count of the result set."
},
"smartGroupsCount": {
"type": "integer",
- "description": "Total number of smart groups."
+ "description": "Total count of the smart groups."
},
- "summaryByState": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByState"
- }
- ],
- "type": "object",
- "description": "Summary of alerts by state"
+ "groupedby": {
+ "type": "string",
+ "description": "Name of the field aggregated"
},
- "summaryBySeverity": {
- "type": "object",
- "description": "Summary of alerts by severity",
- "properties": {
- "sev0": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByState"
- }
- ],
- "type": "object",
- "description": "Summary of alerts by severity 'Sev0'"
- },
- "sev1": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByState"
- }
- ],
- "type": "object",
- "description": "Summary of alerts by severity 'Sev1'"
- },
- "sev2": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByState"
- }
- ],
- "type": "object",
- "description": "Summary of alerts by severity 'Sev2'"
- },
- "sev3": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByState"
- }
- ],
- "type": "object",
- "description": "Summary of alerts by severity 'Sev3'"
- },
- "sev4": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByState"
- }
- ],
- "type": "object",
- "description": "Summary of alerts by severity 'Sev4'"
- }
+ "values": {
+ "type": "array",
+ "description": "List of the items",
+ "items": {
+ "$ref": "#/definitions/alertsSummaryGroupItem"
}
- },
- "summaryBySeverityAndMonitorCondition": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryBySeverityAndMonitorCondition"
- }
- ],
- "type": "object",
- "description": "Summary of alerts by severity and monitor condition"
- },
- "summaryByMonitorService": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByMonitorService"
- }
- ],
- "type": "object",
- "description": "Summary of alerts by severity"
- },
- "nextLink": {
- "description": "URL to fetch the next set of results.",
- "type": "string"
- }
- }
- },
- "AlertsSummaryByState": {
- "type": "object",
- "description": "Summary of alerts by state",
- "properties": {
- "new": {
- "type": "integer",
- "description": "Count of alerts with state 'New'"
- },
- "acknowledged": {
- "type": "integer",
- "description": "Count of alerts with state 'Acknowledged'"
- },
- "closed": {
- "type": "integer",
- "description": "Count of alerts with state 'Closed'"
}
}
},
- "AlertsSummaryBySeverityAndMonitorCondition": {
+ "alertsSummaryGroupItem": {
"type": "object",
- "description": "Summary of the alerts by severity and monitor condition",
+ "description": "Alerts summary group item",
"properties": {
- "sev0": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByMonitorCondition"
- }
- ],
- "description": "Summary of alerts by monitor condition with severity 'Sev0'"
- },
- "sev1": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByMonitorCondition"
- }
- ],
- "description": "Summary of alerts by monitor condition with severity 'Sev1'"
- },
- "sev2": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByMonitorCondition"
- }
- ],
- "description": "Summary of alerts by monitor condition with severity 'Sev2'"
- },
- "sev3": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByMonitorCondition"
- }
- ],
- "description": "Summary of alerts by monitor condition with severity 'Sev3'"
- },
- "sev4": {
- "allOf": [
- {
- "$ref": "#/definitions/AlertsSummaryByMonitorCondition"
- }
- ],
- "description": "Summary of alerts by monitor condition with severity 'Sev4'"
- }
- }
- },
- "AlertsSummaryByMonitorCondition": {
- "type": "object",
- "description": "Summary of the alerts by monitor condition",
- "properties": {
- "fired": {
- "type": "integer",
- "description": "Count of alerts with monitorCondition 'Fired'"
- },
- "resolved": {
- "type": "integer",
- "description": "Count of alerts with monitorCondition 'Resolved'"
- }
- }
- },
- "AlertsSummaryByMonitorService": {
- "type": "object",
- "description": "Summary of the alerts by monitor service",
- "properties": {
- "platform": {
- "type": "integer",
- "description": "Count of alerts of \"Platform\""
- },
- "application Insights": {
- "type": "integer",
- "description": "Count of alerts of \"Application Insights\""
- },
- "log Analytics": {
- "type": "integer",
- "description": "Count of alerts of \"Log Analytics\""
- },
- "zabbix": {
- "type": "integer",
- "description": "Count of alerts of \"Zabbix\""
- },
- "scom": {
- "type": "integer",
- "description": "Count of alerts of \"SCOM\""
- },
- "nagios": {
- "type": "integer",
- "description": "Count of alerts of \"Nagios\""
- },
- "infrastructure Insights": {
- "type": "integer",
- "description": "Count of alerts of \"Infrastructure Insights\""
- },
- "activityLog Administrative": {
- "type": "integer",
- "description": "Count of alerts of \"ActivityLog Administrative\""
- },
- "activityLog Security": {
- "type": "integer",
- "description": "Count of alerts of \"ActivityLog Security\""
- },
- "activityLog Recommendation": {
- "type": "integer",
- "description": "Count of alerts of \"ActivityLog Recommendation\""
- },
- "activityLog Policy": {
- "type": "integer",
- "description": "Count of alerts of \"ActivityLog Policy\""
+ "name": {
+ "type": "string",
+ "description": "Value of the aggregated field"
},
- "activityLog Autoscale": {
+ "count": {
"type": "integer",
- "description": "Count of alerts of \"ActivityLog Autoscale\""
+ "description": "Count of the aggregated field"
},
- "serviceHealth": {
- "type": "integer",
- "description": "Count of alerts of \"ServiceHealth\""
+ "groupedby": {
+ "type": "string",
+ "description": "Name of the field aggregated"
},
- "smartDetector": {
- "type": "integer",
- "description": "Count of alerts of \"Smart Detector\""
+ "values": {
+ "type": "array",
+ "description": "List of the items",
+ "items": {
+ "$ref": "#/definitions/alertsSummaryGroupItem"
+ }
}
}
},
- "SmartGroupsList": {
+ "smartGroupsList": {
"description": "List the alerts.",
"properties": {
"nextLink": {
@@ -1862,12 +1869,12 @@
"description": "List of alerts",
"type": "array",
"items": {
- "$ref": "#/definitions/SmartGroup"
+ "$ref": "#/definitions/smartGroup"
}
}
}
},
- "SmartGroup": {
+ "smartGroup": {
"description": "Set of related alerts grouped together smartly by AMS.",
"allOf": [
{
@@ -1877,11 +1884,11 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/SmartGroupProperties"
+ "$ref": "#/definitions/smartGroupProperties"
}
}
},
- "SmartGroupProperties": {
+ "smartGroupProperties": {
"type": "object",
"description": "Properties of smart group.",
"properties": {
@@ -1938,49 +1945,49 @@
},
"resources": {
"items": {
- "$ref": "#/definitions/SmartGroupAggregatedProperty"
+ "$ref": "#/definitions/smartGroupAggregatedProperty"
},
"type": "array",
"description": "Summary of target resources in the smart group"
},
"resourceTypes": {
"items": {
- "$ref": "#/definitions/SmartGroupAggregatedProperty"
+ "$ref": "#/definitions/smartGroupAggregatedProperty"
},
"type": "array",
"description": "Summary of target resource types in the smart group"
},
"resourceGroups": {
"items": {
- "$ref": "#/definitions/SmartGroupAggregatedProperty"
+ "$ref": "#/definitions/smartGroupAggregatedProperty"
},
"type": "array",
"description": "Summary of target resource groups in the smart group"
},
"monitorServices": {
"items": {
- "$ref": "#/definitions/SmartGroupAggregatedProperty"
+ "$ref": "#/definitions/smartGroupAggregatedProperty"
},
"type": "array",
"description": "Summary of monitorServices in the smart group"
},
"monitorConditions": {
"items": {
- "$ref": "#/definitions/SmartGroupAggregatedProperty"
+ "$ref": "#/definitions/smartGroupAggregatedProperty"
},
"type": "array",
"description": "Summary of monitorConditions in the smart group"
},
"alertStates": {
"items": {
- "$ref": "#/definitions/SmartGroupAggregatedProperty"
+ "$ref": "#/definitions/smartGroupAggregatedProperty"
},
"type": "array",
"description": "Summary of alertStates in the smart group"
},
"alertSeverities": {
"items": {
- "$ref": "#/definitions/SmartGroupAggregatedProperty"
+ "$ref": "#/definitions/smartGroupAggregatedProperty"
},
"type": "array",
"description": "Summary of alertSeverities in the smart group"
@@ -1991,7 +1998,7 @@
}
}
},
- "SmartGroupAggregatedProperty": {
+ "smartGroupAggregatedProperty": {
"type": "object",
"description": "Aggregated property of each type",
"properties": {
@@ -2009,7 +2016,7 @@
"type": "object",
"description": "Target scope for a given action rule. By default scope will be the subscription. User can also provide list of resource groups or list of resources from the scope subscription as well.",
"properties": {
- "type": {
+ "scopeType": {
"type": "string",
"description": "type of target scope",
"enum": [
@@ -2157,7 +2164,6 @@
],
"properties": {
"properties": {
- "x-ms-client-flatten": true,
"description": "action rule properties",
"$ref": "#/definitions/ActionRuleProperties"
}
@@ -2331,6 +2337,71 @@
"description": "tags to be updated"
}
}
+ },
+ "alertsMetaData": {
+ "description": "alert meta data information.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/alertsMetaDataProperties"
+ }
+ }
+ },
+ "alertsMetaDataProperties": {
+ "description": "alert meta data property bag",
+ "discriminator": "metadataIdentifier",
+ "required": [
+ "metadataIdentifier"
+ ],
+ "properties": {
+ "metadataIdentifier": {
+ "type": "string",
+ "description": "Identification of the information to be retrieved by API call",
+ "enum": [
+ "MonitorServiceList"
+ ],
+ "x-ms-enum": {
+ "name": "metadataIdentifier",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "MonitorServiceList": {
+ "title": "Monitor service details",
+ "description": "Monitor service details",
+ "required": [
+ "data"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/alertsMetaDataProperties"
+ },
+ {
+ "type": "object"
+ }
+ ],
+ "properties": {
+ "data": {
+ "description": "Array of operations",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MonitorServiceDetails"
+ }
+ }
+ }
+ },
+ "MonitorServiceDetails": {
+ "description": "Details of a monitor service",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Monitor service name"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Monitor service display name"
+ }
+ }
}
}
}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Create_SuppressionRule.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Create_SuppressionRule.json
index 3110d954a41a..ed86d083aab6 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Create_SuppressionRule.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Create_SuppressionRule.json
@@ -9,7 +9,7 @@
"tags": {},
"properties": {
"scope": {
- "type": "ResourceGroup",
+ "scopeType": "ResourceGroup",
"values": [
"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"
]
@@ -62,7 +62,7 @@
"body": {
"properties": {
"scope": {
- "type": "ResourceGroup",
+ "scopeType": "ResourceGroup",
"values": [
"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"
]
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_GetById.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_GetById.json
index c2a255181662..77b20d14013f 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_GetById.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_GetById.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-11-02-privatepreview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d",
"resourceGroupName": "alertscorrelationrg",
"actionRuleName": "DailySuppression"
@@ -10,7 +10,7 @@
"body": {
"properties": {
"scope": {
- "type": "ResourceGroup",
+ "scopeType": "ResourceGroup",
"values": [
"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"
]
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_ResourceGroup.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_ResourceGroup.json
index 8cc03d78173c..2f9c60e46f45 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_ResourceGroup.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_ResourceGroup.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-11-02-privatepreview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d",
"resourceGroupName": "alertscorrelationrg"
},
@@ -12,7 +12,7 @@
{
"properties": {
"scope": {
- "type": "ResourceGroup",
+ "scopeType": "ResourceGroup",
"values": [
"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"
]
@@ -65,7 +65,7 @@
{
"properties": {
"scope": {
- "type": "Resource",
+ "scopeType": "Resource",
"values": [
"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.Compute/VirtualMachines/testResource"
]
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_Subscription.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_Subscription.json
index a5127edbd78a..00972ab28db0 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_Subscription.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_List_Subscription.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-11-02-privatepreview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d"
},
"responses": {
@@ -11,7 +11,7 @@
{
"properties": {
"scope": {
- "type": "ResourceGroup",
+ "scopeType": "ResourceGroup",
"values": [
"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"
]
@@ -64,7 +64,7 @@
{
"properties": {
"scope": {
- "type": "Resource",
+ "scopeType": "Resource",
"values": [
"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg/providers/Microsoft.Compute/VirtualMachines/testResource"
]
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Patch.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Patch.json
index b8db21a89ba1..abb2b0d7d4f4 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Patch.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/ActionRules_Patch.json
@@ -19,7 +19,7 @@
"body": {
"properties": {
"scope": {
- "type": "ResourceGroup",
+ "scopeType": "ResourceGroup",
"values": [
"/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourceGroups/alertscorrelationrg"
]
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json
new file mode 100644
index 000000000000..30a95d200ffa
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/AlertsMetaData_MonitorService.json
@@ -0,0 +1,89 @@
+{
+ "parameters": {
+ "api-version": "2019-05-05-preview",
+ "identifier": "MonitorServiceList"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "metadataIdentifier": "MonitorServiceList",
+ "data": [
+ {
+ "name": "ActivityLog Administrative",
+ "displayName": "Activity Log - Administrative"
+ },
+ {
+ "name": "ActivityLog Autoscale",
+ "displayName": "Activity Log - Autoscale"
+ },
+ {
+ "name": "ActivityLog Policy",
+ "displayName": "Activity Log - Policy"
+ },
+ {
+ "name": "ActivityLog Recommendation",
+ "displayName": "Activity Log - Recommendation"
+ },
+ {
+ "name": "ActivityLog Security",
+ "displayName": "Activity Log - Security"
+ },
+ {
+ "name": "Application Insights",
+ "displayName": "Application Insights"
+ },
+ {
+ "name": "Azure Backup",
+ "displayName": "Azure Backup"
+ },
+ {
+ "name": "Custom",
+ "displayName": "Custom"
+ },
+ {
+ "name": "Data Box Edge",
+ "displayName": "Data Box Edge"
+ },
+ {
+ "name": "VM Insights",
+ "displayName": "VM Insights"
+ },
+ {
+ "name": "Log Analytics",
+ "displayName": "Log Analytics"
+ },
+ {
+ "name": "Nagios",
+ "displayName": "NAGIOS"
+ },
+ {
+ "name": "Platform",
+ "displayName": "Platform"
+ },
+ {
+ "name": "Resource Health",
+ "displayName": "Resource Health"
+ },
+ {
+ "name": "SCOM",
+ "displayName": "SCOM"
+ },
+ {
+ "name": "ServiceHealth",
+ "displayName": "Service Health"
+ },
+ {
+ "name": "Smart Detector",
+ "displayName": "SmartDetector"
+ },
+ {
+ "name": "Zabbix",
+ "displayName": "ZABBIX"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json
index 2291117a6649..f85869a98a5a 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_ChangeState.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a",
"alertId": "66114d64-d9d9-478b-95c9-b789d6502100",
"newState": "Acknowledged",
@@ -12,22 +12,27 @@
"200": {
"body": {
"properties": {
- "severity": "Sev3",
- "signalType": "Log",
- "alertState": "New",
- "monitorCondition": "Fired",
- "monitorService": "Application Insights",
- "targetResourceName": "alertscorrelationworkerrole_int",
- "targetResourceGroup": "alertscorrelationrg",
- "targetResource": "/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int",
- "targetResourceType": "components",
- "sourceCreatedId": "57c049b5-9654-4bb4-a443-3bac3f725d34",
- "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059",
- "smartGroupingReason": "Alerts that frequently occur together have been grouped.",
- "startDateTime": "2018-06-12T22:05:09Z",
- "lastModifiedDateTime": "2018-06-12T22:05:09Z",
- "lastModifiedUserName": "vikramm@microsoft.com",
- "payload": {}
+ "essentials": {
+ "severity": "Sev3",
+ "signalType": "Log",
+ "alertState": "Acknowledged",
+ "monitorCondition": "Fired",
+ "monitorService": "Application Insights",
+ "targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight",
+ "targetResourceName": "servicedeskappinsight",
+ "targetResourceGroup": "servicedeskresourcegroup",
+ "targetResourceType": "components",
+ "sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49",
+ "smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56",
+ "smartGroupingReason": "Occurred frequently with other alerts",
+ "alertRule": "https://servisdfsdfappinsight.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=",
+ "startDateTime": "2018-09-13T15:51:02Z",
+ "lastModifiedDateTime": "2018-09-13T15:51:02Z",
+ "lastModifiedUserName": "System",
+ "monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z"
+ },
+ "egressConfig": {},
+ "context": {}
},
"id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100",
"type": "Microsoft.AlertsManagement/alerts",
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json
index 9cf5350d5d06..a4a3351ecd0e 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_GetById.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a",
"alertId": "66114d64-d9d9-478b-95c9-b789d6502100"
},
@@ -8,22 +8,27 @@
"200": {
"body": {
"properties": {
- "severity": "Sev3",
- "signalType": "Log",
- "alertState": "New",
- "monitorCondition": "Fired",
- "monitorService": "Application Insights",
- "targetResourceName": "alertscorrelationworkerrole_int",
- "targetResourceGroup": "alertscorrelationrg",
- "targetResource": "/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int",
- "targetResourceType": "components",
- "sourceCreatedId": "57c049b5-9654-4bb4-a443-3bac3f725d34",
- "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059",
- "smartGroupingReason": "Alerts that frequently occur together have been grouped.",
- "startDateTime": "2018-06-12T22:05:09Z",
- "lastModifiedDateTime": "2018-06-12T22:05:09Z",
- "lastModifiedUserName": "System",
- "payload": {}
+ "essentials": {
+ "severity": "Sev3",
+ "signalType": "Log",
+ "alertState": "Acknowledged",
+ "monitorCondition": "Fired",
+ "monitorService": "Application Insights",
+ "targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight",
+ "targetResourceName": "servicedeskappinsight",
+ "targetResourceGroup": "servicedeskresourcegroup",
+ "targetResourceType": "components",
+ "sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49",
+ "smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56",
+ "smartGroupingReason": "Occurred frequently with other alerts",
+ "alertRule": "https://sersdfsdfinsight.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=",
+ "startDateTime": "2018-09-13T15:51:02Z",
+ "lastModifiedDateTime": "2018-09-13T15:51:02Z",
+ "lastModifiedUserName": "System",
+ "monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z"
+ },
+ "egressConfig": {},
+ "context": {}
},
"id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100",
"type": "Microsoft.AlertsManagement/alerts",
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json
index 2784aa8fb45b..490ccb5edd4b 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_History.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a",
"alertId": "66114d64-d9d9-478b-95c9-b789d6502100"
},
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json
index adfb727b2fd8..95d0c5c543e7 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d"
},
"responses": {
@@ -10,47 +10,57 @@
"value": [
{
"properties": {
- "severity": "Sev3",
- "signalType": "Log",
- "alertState": "New",
- "monitorCondition": "Fired",
- "monitorService": "Application Insights",
- "targetResourceName": "alertscorrelationworkerrole_int",
- "targetResourceGroup": "alertscorrelationrg",
- "targetResource": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int",
- "targetResourceType": "components",
- "sourceCreatedId": "57c049b5-9654-4bb4-a443-3bac3f725d34",
- "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059",
- "smartGroupingReason": "Alerts that frequently occur together have been grouped.",
- "startDateTime": "2018-06-12T22:05:09Z",
- "lastModifiedDateTime": "2018-06-12T22:05:09Z",
- "lastModifiedUserName": "System",
- "payload": {}
+ "essentials": {
+ "severity": "Sev3",
+ "signalType": "Log",
+ "alertState": "Acknowledged",
+ "monitorCondition": "Fired",
+ "monitorService": "Application Insights",
+ "targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/servicedeskresourcegroup/providers/microsoft.insights/components/servicedeskappinsight",
+ "targetResourceName": "servicedeskappinsight",
+ "targetResourceGroup": "servicedeskresourcegroup",
+ "targetResourceType": "components",
+ "sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49",
+ "smartGroupId": "23d6b2ce-8c54-468f-aff0-sd32aebb7e56",
+ "smartGroupingReason": "Occurred frequently with other alerts",
+ "alertRule": "https://servisdffsdf.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=",
+ "startDateTime": "2018-09-13T15:51:02Z",
+ "lastModifiedDateTime": "2018-09-13T15:51:02Z",
+ "lastModifiedUserName": "System",
+ "monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z"
+ },
+ "egressConfig": {},
+ "context": {}
},
- "id": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100",
+ "id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100",
"type": "Microsoft.AlertsManagement/alerts",
"name": "cpu alert"
},
{
"properties": {
- "severity": "Sev3",
- "signalType": "Log",
- "alertState": "New",
- "monitorCondition": "Fired",
- "monitorService": "Application Insights",
- "targetResourceName": "alertscorrelationworkerrole_int",
- "targetResourceGroup": "alertscorrelationrg",
- "targetResource": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int",
- "targetResourceType": "components",
- "sourceCreatedId": "e1c5c974-b796-46a1-bb59-740eeca48c15",
- "smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059",
- "smartGroupingReason": "Alerts that frequently occur together have been grouped.",
- "startDateTime": "2018-06-12T21:40:09Z",
- "lastModifiedDateTime": "2018-06-12T21:40:09Z",
- "lastModifiedUserName": "System",
- "payload": {}
+ "essentials": {
+ "severity": "Sev3",
+ "signalType": "Log",
+ "alertState": "New",
+ "monitorCondition": "Fired",
+ "monitorService": "Application Insights",
+ "targetResource": "/subscriptions/3b540246-808d-4331-99aa-917b808a9166/resourcegroups/cind/providers/microsoft.operationalinsights/workspaces/servicedeskwcus",
+ "targetResourceName": "servicedeskwcus",
+ "targetResourceGroup": "servicedeskresourcegroup",
+ "targetResourceType": "components",
+ "sourceCreatedId": "6cd6b2ce-8c54-468f-aff0-9d12aebb7e49",
+ "smartGroupId": "d1c49c89-ea95-4697-a299-c0f5ebac62f1",
+ "smartGroupingReason": "Alerts that frequently occur together have been grouped.",
+ "alertRule": "https://servicsdfsdf.portal.mms.microsoft.com/#Workspace/overview/settings/details/Edit Alert Rule/details/index?savedSearchId=&scheduleId=",
+ "startDateTime": "2018-09-13T15:51:02Z",
+ "lastModifiedDateTime": "2018-09-13T15:51:02Z",
+ "lastModifiedUserName": "System",
+ "monitorConditionResolvedDateTime": "2018-09-13T15:51:02Z"
+ },
+ "egressConfig": {},
+ "context": {}
},
- "id": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alerts/239f0e9f-9871-4c8b-a6a2-b893853d1066",
+ "id": "/subscriptions/9e261de7-c804-4b9d-9ebf-6f50fe350a9a/providers/Microsoft.AlertsManagement/alerts/66114d64-d9d9-478b-95c9-b789d6502100",
"type": "Microsoft.AlertsManagement/alerts",
"name": "cpu alert"
}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json
index 035accc302b7..772b0d649e48 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/Alerts_Summary.json
@@ -1,84 +1,113 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
- "subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d"
+ "api-version": "2019-05-05-preview",
+ "subscriptionId": "1e3ff1c0-771a-4119-a03b-be82a51e232d",
+ "groupby": "severity,alertState"
},
"responses": {
"200": {
"body": {
"properties": {
- "total": 885,
- "smartGroupsCount": 2,
- "summaryByState": {
- "new": 884,
- "acknowledged": 1,
- "closed": 0
- },
- "summaryBySeverity": {
- "sev0": {
- "new": 286,
- "acknowledged": 0,
- "closed": 0
+ "groupedby": "severity",
+ "smartGroupsCount": 100,
+ "total": 14189,
+ "values": [
+ {
+ "name": "Sev0",
+ "count": 6517,
+ "groupedby": "alertState",
+ "values": [
+ {
+ "name": "New",
+ "count": 6517
+ },
+ {
+ "name": "Acknowledged",
+ "count": 0
+ },
+ {
+ "name": "Closed",
+ "count": 0
+ }
+ ]
},
- "sev1": {
- "new": 309,
- "acknowledged": 0,
- "closed": 0
+ {
+ "name": "Sev1",
+ "count": 3175,
+ "groupedby": "alertState",
+ "values": [
+ {
+ "name": "New",
+ "count": 3175
+ },
+ {
+ "name": "Acknowledged",
+ "count": 0
+ },
+ {
+ "name": "Closed",
+ "count": 0
+ }
+ ]
},
- "sev2": {
- "new": 0,
- "acknowledged": 0,
- "closed": 0
+ {
+ "name": "Sev2",
+ "count": 1120,
+ "groupedby": "alertState",
+ "values": [
+ {
+ "name": "New",
+ "count": 1120
+ },
+ {
+ "name": "Acknowledged",
+ "count": 0
+ },
+ {
+ "name": "Closed",
+ "count": 0
+ }
+ ]
},
- "sev3": {
- "new": 289,
- "acknowledged": 1,
- "closed": 0
+ {
+ "name": "Sev3",
+ "count": 1902,
+ "groupedby": "alertState",
+ "values": [
+ {
+ "name": "New",
+ "count": 1902
+ },
+ {
+ "name": "Acknowledged",
+ "count": 0
+ },
+ {
+ "name": "Closed",
+ "count": 0
+ }
+ ]
},
- "sev4": {
- "new": 0,
- "acknowledged": 0,
- "closed": 0
+ {
+ "name": "Sev4",
+ "count": 1475,
+ "groupedby": "alertState",
+ "values": [
+ {
+ "name": "New",
+ "count": 1475
+ },
+ {
+ "name": "Acknowledged",
+ "count": 0
+ },
+ {
+ "name": "Closed",
+ "count": 0
+ }
+ ]
}
- },
- "summaryBySeverityAndMonitorCondition": {
- "sev0": {
- "fired": 286,
- "resolved": 0
- },
- "sev1": {
- "fired": 309,
- "resolved": 0
- },
- "sev2": {
- "fired": 0,
- "resolved": 0
- },
- "sev3": {
- "fired": 290,
- "resolved": 0
- },
- "sev4": {
- "fired": 0,
- "resolved": 0
- }
- },
- "summaryByMonitorService": {
- "platform": 0,
- "application Insights": 290,
- "log Analytics": 595,
- "zabbix": 0,
- "scom": 0,
- "nagios": 0,
- "infrastructure Insights": 0,
- "activityLog Administrative": 0,
- "activityLog Security": 0,
- "activityLog Recommendation": 0,
- "activityLog Policy": 0,
- "activityLog Autoscale": 0,
- "serviceHealth": 0,
- "smartDetector": 0
- }
+ ]
},
"id": "/subscriptions/1e3ff1c0-771a-4119-a03b-be82a51e232d/providers/Microsoft.AlertsManagement/alertsSummary/current",
"type": "Microsoft.AlertsManagement/alertsSummary",
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json
index 72d0f6c4566f..6bdb65e58aed 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_ChangeState.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "dd91de05-d791-4ceb-b6dc-988682dc7d72",
"smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059",
"newState": "Acknowledged",
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json
index daa39f9b4fcf..bf70f86a4355 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_GetById.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a",
"smartGroupId": "603675da-9851-4b26-854a-49fc53d32715"
},
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json
index 6b87e63a940c..320d3ef850f1 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_History.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "9e261de7-c804-4b9d-9ebf-6f50fe350a9a",
"smartGroupId": "a808445e-bb38-4751-85c2-1b109ccc1059"
},
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json
index 6d4db43e6ef6..b5ded5a48718 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/examples/SmartGroups_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-05-05-preview",
+ "api-version": "2019-05-05-preview",
"subscriptionId": "dd91de05-d791-4ceb-b6dc-988682dc7d72"
},
"responses": {
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json
index be1bd4faab5a..30b9b05d7e9f 100644
--- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json
@@ -118,7 +118,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}": {
"get": {
"tags": [
- "smartDetectorAlertRules"
+ "SmartDetectorAlertRules"
],
"operationId": "SmartDetectorAlertRules_Get",
"description": "Get a specific Smart Detector alert rule.",
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json
new file mode 100644
index 000000000000..0306e06fb2bc
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json
@@ -0,0 +1,652 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Alerts Management Service Resource Provider",
+ "description": "APIs for Azure Smart Detector Alert Rules CRUD operations.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/microsoft.alertsManagement/smartDetectorAlertRules": {
+ "get": {
+ "tags": [
+ "SmartDetectorAlertRules"
+ ],
+ "operationId": "SmartDetectorAlertRules_List",
+ "description": "List all the existing Smart Detector alert rules within the subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandDetectorParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to list Smart Detector alert rules.",
+ "schema": {
+ "$ref": "#/definitions/AlertRulesList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Smart Detector alert rules": {
+ "$ref": "./examples/SmartDetectorAlertRule_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules": {
+ "get": {
+ "tags": [
+ "SmartDetectorAlertRules"
+ ],
+ "operationId": "SmartDetectorAlertRules_ListByResourceGroup",
+ "description": "List all the existing Smart Detector alert rules within the subscription and resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandDetectorParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to list Smart Detector alert rules.",
+ "schema": {
+ "$ref": "#/definitions/AlertRulesList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List alert rules": {
+ "$ref": "./examples/SmartDetectorAlertRule_ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.alertsManagement/smartDetectorAlertRules/{alertRuleName}": {
+ "get": {
+ "tags": [
+ "SmartDetectorAlertRules"
+ ],
+ "operationId": "SmartDetectorAlertRules_Get",
+ "description": "Get a specific Smart Detector alert rule.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AlertRuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandDetectorParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to get Smart Detector alert rule.",
+ "schema": {
+ "$ref": "#/definitions/AlertRule"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a Smart Detector alert rule": {
+ "$ref": "./examples/SmartDetectorAlertRule_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SmartDetectorAlertRules"
+ ],
+ "operationId": "SmartDetectorAlertRules_CreateOrUpdate",
+ "description": "Create or update a Smart Detector alert rule.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AlertRuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "description": "Parameters supplied to the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AlertRule"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to update a Smart Detector alert rule.",
+ "schema": {
+ "$ref": "#/definitions/AlertRule"
+ }
+ },
+ "201": {
+ "description": "Successful request to create a Smart Detector alert rule.",
+ "schema": {
+ "$ref": "#/definitions/AlertRule"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update a Smart Detector alert rule": {
+ "$ref": "./examples/SmartDetectorAlertRule_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "SmartDetectorAlertRules"
+ ],
+ "operationId": "SmartDetectorAlertRules_Patch",
+ "description": "Patch a specific Smart Detector alert rule.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AlertRuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "description": "Parameters supplied to the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AlertRulePatchObject"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to patch Smart Detector alert rule.",
+ "schema": {
+ "$ref": "#/definitions/AlertRule"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Patch alert rules": {
+ "$ref": "./examples/SmartDetectorAlertRule_Patch.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SmartDetectorAlertRules"
+ ],
+ "operationId": "SmartDetectorAlertRules_Delete",
+ "description": "Delete an existing Smart Detector alert rule.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AlertRuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Successful request to delete a Smart Detector alert rule."
+ },
+ "204": {
+ "description": "The Smart Detector alert rule does not exist. It may have already been deleted."
+ }
+ },
+ "x-ms-examples": {
+ "Delete a Smart Detector alert rule": {
+ "$ref": "./examples/SmartDetectorAlertRule_Delete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describe the format of an Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "ActionGroupsInformation": {
+ "properties": {
+ "customEmailSubject": {
+ "description": "An optional custom email subject to use in email notifications.",
+ "type": "string"
+ },
+ "customWebhookPayload": {
+ "description": "An optional custom web-hook payload to use in web-hook notifications.",
+ "type": "string"
+ },
+ "groupIds": {
+ "description": "The Action Group resource IDs.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "groupIds"
+ ],
+ "description": "The Action Groups information, used by the alert rule."
+ },
+ "ThrottlingInformation": {
+ "properties": {
+ "duration": {
+ "description": "The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes",
+ "type": "string",
+ "format": "duration"
+ }
+ },
+ "description": "Optional throttling information for the alert rule."
+ },
+ "AzureResource": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource type."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource name."
+ },
+ "location": {
+ "type": "string",
+ "description": "The resource location.",
+ "default": "global"
+ },
+ "tags": {
+ "type": "object",
+ "description": "The resource tags."
+ }
+ },
+ "x-ms-azure-resource": true,
+ "description": "An Azure resource object"
+ },
+ "AlertRule": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/AzureResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AlertRuleProperties",
+ "description": "The properties of the alert rule."
+ }
+ },
+ "description": "The alert rule information"
+ },
+ "AlertRulesList": {
+ "description": "List of Smart Detector alert rules.",
+ "properties": {
+ "value": {
+ "description": "List of Smart Detector alert rules.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AlertRule"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "AlertRulePatchObject": {
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource type."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource name."
+ },
+ "tags": {
+ "type": "object",
+ "description": "The resource tags."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AlertRulePatchProperties",
+ "description": "The properties of the alert rule.",
+ "minProperties": 1
+ }
+ },
+ "description": "The alert rule patch information"
+ },
+ "Detector": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The detector id."
+ },
+ "parameters": {
+ "description": "The detector's parameters.'",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "name": {
+ "description": "The Smart Detector name. By default this is not populated, unless it's specified in expandDetector",
+ "type": "string"
+ },
+ "description": {
+ "type": "string",
+ "description": "The Smart Detector description. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "supportedResourceTypes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The Smart Detector supported resource types. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "imagePaths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The Smart Detector image path. By default this is not populated, unless it's specified in expandDetector"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The detector information. By default this is not populated, unless it's specified in expandDetector"
+ },
+ "AlertRuleProperties": {
+ "properties": {
+ "description": {
+ "description": "The alert rule description.",
+ "type": "string"
+ },
+ "state": {
+ "description": "The alert rule state.",
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "AlertRuleState",
+ "modelAsString": true
+ }
+ },
+ "severity": {
+ "description": "The alert rule severity.",
+ "type": "string",
+ "enum": [
+ "Sev0",
+ "Sev1",
+ "Sev2",
+ "Sev3",
+ "Sev4"
+ ],
+ "x-ms-enum": {
+ "name": "Severity",
+ "modelAsString": true
+ }
+ },
+ "frequency": {
+ "description": "The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 5 minutes.",
+ "type": "string",
+ "format": "duration"
+ },
+ "detector": {
+ "description": "The alert rule's detector.",
+ "$ref": "#/definitions/Detector"
+ },
+ "scope": {
+ "description": "The alert rule resources scope.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "actionGroups": {
+ "description": "The alert rule actions.",
+ "$ref": "#/definitions/ActionGroupsInformation"
+ },
+ "throttling": {
+ "description": "The alert rule throttling information.",
+ "$ref": "#/definitions/ThrottlingInformation"
+ }
+ },
+ "required": [
+ "state",
+ "severity",
+ "frequency",
+ "detector",
+ "scope",
+ "actionGroups"
+ ],
+ "description": "The alert rule properties."
+ },
+ "AlertRulePatchProperties": {
+ "properties": {
+ "description": {
+ "description": "The alert rule description.",
+ "type": "string"
+ },
+ "state": {
+ "description": "The alert rule state.",
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "AlertRuleState",
+ "modelAsString": true
+ }
+ },
+ "severity": {
+ "description": "The alert rule severity.",
+ "type": "string",
+ "enum": [
+ "Sev0",
+ "Sev1",
+ "Sev2",
+ "Sev3",
+ "Sev4"
+ ],
+ "x-ms-enum": {
+ "name": "Severity",
+ "modelAsString": true
+ }
+ },
+ "frequency": {
+ "description": "The alert rule frequency in ISO8601 format. The time granularity must be in minutes and minimum value is 5 minutes.",
+ "type": "string",
+ "format": "duration"
+ },
+ "actionGroups": {
+ "description": "The alert rule actions.",
+ "$ref": "#/definitions/ActionGroupsInformation"
+ },
+ "throttling": {
+ "description": "The alert rule throttling information.",
+ "$ref": "#/definitions/ThrottlingInformation"
+ }
+ },
+ "description": "The alert rule properties."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "AlertRuleNameParameter": {
+ "name": "alertRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the alert rule.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "ExpandDetectorParameter": {
+ "name": "expandDetector",
+ "in": "query",
+ "type": "boolean",
+ "description": "Indicates if Smart Detector should be expanded.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json
new file mode 100644
index 000000000000..6d99b0ab58ae
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa",
+ "resourceGroupName": "MyAlertRules",
+ "alertRuleName": "MyAlertRule",
+ "api-version": "2019-06-01",
+ "parameters": {
+ "properties": {
+ "description": "Sample smart detector alert rule description",
+ "state": "Enabled",
+ "severity": "Sev3",
+ "frequency": "PT5M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1"
+ ],
+ "actionGroups": {
+ "customEmailSubject": "My custom email subject",
+ "customWebhookPayload": "{\"AlertRuleName\":\"#alertrulename\"}",
+ "groupIds": [
+ "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup"
+ ]
+ },
+ "throttling": {
+ "duration": "PT20M"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
+ "type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
+ "name": "MyAlertRule",
+ "location": "global",
+ "tags": "",
+ "properties": {
+ "description": "Sample smart detector alert rule description",
+ "state": "Enabled",
+ "severity": "Sev3",
+ "frequency": "PT5M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1"
+ ],
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup"
+ }
+ ],
+ "throttling": {
+ "duration": "PT20M"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
+ "type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
+ "name": "MyAlertRule",
+ "location": "global",
+ "tags": "",
+ "properties": {
+ "description": "Sample smart detector alert rule description",
+ "state": "Enabled",
+ "severity": "Sev3",
+ "frequency": "PT5M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1"
+ ],
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup"
+ }
+ ],
+ "throttling": {
+ "duration": "PT20M"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json
new file mode 100644
index 000000000000..80afa3cfda46
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa",
+ "resourceGroupName": "MyAlertRules",
+ "alertRuleName": "MyAlertRule",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": null
+ },
+ "204": {
+ "body": null
+ }
+ }
+}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Get.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Get.json
new file mode 100644
index 000000000000..d6adf957b004
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Get.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa",
+ "resourceGroupName": "MyAlertRules",
+ "alertRuleName": "MyAlertRule",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
+ "type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
+ "name": "MyAlertRule",
+ "location": "global",
+ "tags": "",
+ "properties": {
+ "description": "Sample smart detector alert rule description",
+ "state": "Enabled",
+ "severity": "Sev3",
+ "frequency": "PT5M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1"
+ ],
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup"
+ }
+ ],
+ "throttling": {
+ "duration": "PT20M"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json
new file mode 100644
index 000000000000..4eeed4d36ade
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa",
+ "resourceGroupName": "MyAlertRules",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "",
+ "value": [
+ {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
+ "type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
+ "name": "MyAlertRule",
+ "location": "global",
+ "tags": "",
+ "properties": {
+ "description": "Sample smart detector alert rule description",
+ "state": "Enabled",
+ "severity": "Sev3",
+ "frequency": "PT5M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1"
+ ],
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup"
+ }
+ ],
+ "throttling": {
+ "duration": "PT20M"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MySecondAlertRule",
+ "type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
+ "name": "MySecondAlertRule",
+ "location": "global",
+ "tags": "",
+ "properties": {
+ "description": "Sample smart detector alert rule description",
+ "state": "Disabled",
+ "severity": "Sev2",
+ "frequency": "PT15M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm2"
+ ],
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json
new file mode 100644
index 000000000000..4d63effb728d
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa",
+ "resourceGroupName": "MyAlertRules",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "",
+ "value": [
+ {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
+ "type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
+ "name": "MyAlertRule",
+ "location": "global",
+ "tags": "",
+ "properties": {
+ "description": "Sample smart detector alert rule description",
+ "state": "Enabled",
+ "severity": "Sev3",
+ "frequency": "PT5M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default"
+ ],
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup"
+ }
+ ],
+ "throttling": {
+ "duration": "PT20M"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MySecondAlertRule",
+ "type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
+ "name": "MySecondAlertRule",
+ "location": "global",
+ "tags": "",
+ "properties": {
+ "description": "Sample smart detector alert rule description",
+ "state": "Disabled",
+ "severity": "Sev2",
+ "frequency": "PT15M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default"
+ ],
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/MyActionGroups/providers/microsoft.insights/actionGroups/MyActionGroup"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json
new file mode 100644
index 000000000000..ab4de65dc113
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Patch.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "b368ca2f-e298-46b7-b0ab-012281956afa",
+ "resourceGroupName": "MyAlertRules",
+ "alertRuleName": "MyAlertRule",
+ "api-version": "2019-06-01",
+ "parameters": {
+ "tags": {
+ "newKey": "newVal"
+ },
+ "properties": {
+ "description": "New description for patching",
+ "frequency": "PT1M"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyAlertRules/providers/microsoft.alertsManagement/smartDetectorAlertRules/MyAlertRule",
+ "type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
+ "name": "MyAlertRule",
+ "location": "global",
+ "tags": {
+ "newKey": "newVal"
+ },
+ "properties": {
+ "description": "New description for patching",
+ "state": "Enabled",
+ "severity": "Sev3",
+ "frequency": "PT1M",
+ "detector": {
+ "id": "VMMemoryLeak"
+ },
+ "scope": [
+ "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/MyVms/providers/Microsoft.Compute/virtualMachines/vm1"
+ ],
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourcegroups/actionGroups/providers/microsoft.insights/actiongroups/MyActionGroup"
+ }
+ ],
+ "throttling": {
+ "duration": "PT20M"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/alertsmanagement/resource-manager/readme.go.md b/specification/alertsmanagement/resource-manager/readme.go.md
index 15f8da2cd650..13f35726b3ee 100644
--- a/specification/alertsmanagement/resource-manager/readme.go.md
+++ b/specification/alertsmanagement/resource-manager/readme.go.md
@@ -12,7 +12,28 @@ go:
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-preview-2019-05
+ - tag: package-2019-03
- tag: package-2018-05
+ - tag: package-2018-05-preview
+```
+
+### Tag: package-preview-2019-05 and go
+
+These settings apply only when `--tag=package-preview-2019-05 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-preview-2019-05' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-05-05/$(namespace)
+```
+
+### Tag: package-2019-03 and go
+
+These settings apply only when `--tag=package-2019-03 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-03' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-03-01/$(namespace)
```
### Tag: package-2018-05 and go
@@ -23,3 +44,12 @@ Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2018-05-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-05-05-preview/$(namespace)
+```
diff --git a/specification/alertsmanagement/resource-manager/readme.java.md b/specification/alertsmanagement/resource-manager/readme.java.md
new file mode 100644
index 000000000000..ffdebe30586c
--- /dev/null
+++ b/specification/alertsmanagement/resource-manager/readme.java.md
@@ -0,0 +1,76 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.alertsmanagement
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-alertsmanagement
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-preview-2019-05
+ - tag: package-2019-03
+ - tag: package-2018-05
+ - tag: package-2018-05-preview
+```
+
+### Tag: package-preview-2019-05 and java
+
+These settings apply only when `--tag=package-preview-2019-05 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag)=='package-preview-2019-05' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.alertsmanagement.v2019_05_05_preview
+ output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2019_05_05_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2019-03 and java
+
+These settings apply only when `--tag=package-2019-03 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag)=='package-2019-03' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.alertsmanagement.v2019_03_01
+ output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2019_03_01
+regenerate-manager: true
+generate-interface: true
+```
+
+
+### Tag: package-2018-05 and java
+
+These settings apply only when `--tag=package-2018-05 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag)=='package-2018-05' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.alertsmanagement.v2018_05_05
+ output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2018_05_05
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-05-preview and java
+
+These settings apply only when `--tag=package-2018-05-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag)=='package-2018-05-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.alertsmanagement.v2018_05_05_preview
+ output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2018_05_05_preview
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md
index 5d0b2f99e73a..319baf7a8d5a 100644
--- a/specification/alertsmanagement/resource-manager/readme.md
+++ b/specification/alertsmanagement/resource-manager/readme.md
@@ -32,6 +32,14 @@ tag: package-2019-03
```
+### Tag: package-2019-06
+
+These settings apply only when `--tag=package-2019-06` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-06'
+input-file:
+ - Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json
+```
### Tag: package-2019-03
These settings apply only when `--tag=package-2019-03` is specified on the command line.
@@ -133,15 +141,4 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-java:
- azure-arm: true
- fluent: true
- namespace: com.microsoft.azure.management.alertsmanagement
- license-header: MICROSOFT_MIT_NO_CODEGEN
- payload-flattening-threshold: 1
- output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-alertsmanagement
-```
+See configuration in [readme.java.md](./readme.java.md)
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json
index 9e647434220f..7bd0863d4091 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimanagement.json
@@ -167,7 +167,6 @@
"description": "API identifier. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
"x-ms-parameter-location": "method"
},
"ApiIdRevParameter": {
@@ -229,7 +228,6 @@
"description": "Identifier of the Backend entity. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
"x-ms-parameter-location": "method"
},
"CacheIdParameter": {
@@ -307,7 +305,6 @@
"description": "Group identifier. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
"x-ms-parameter-location": "method"
},
"IdentityProviderNameParameter": {
@@ -479,7 +476,6 @@
"description": "Operation identifier within an API. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
"x-ms-parameter-location": "method"
},
"PolicyExportFormat": {
@@ -532,7 +528,6 @@
"description": "Product identifier. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
"x-ms-parameter-location": "method"
},
"PropertyIdParameter": {
@@ -686,7 +681,6 @@
"description": "User identifier. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
"x-ms-parameter-location": "method"
}
}
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json
index a51710cd7084..010d8afc44b0 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimdeployment.json
@@ -1065,7 +1065,7 @@
"additionalProperties": {
"type": "string"
},
- "description": "Custom properties of the API Management service.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.Not specifying any of these properties on PATCH operation will reset omitted properties' values to their defaults. For all the settings except Http2 the default value is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`."
+ "description": "Custom properties of the API Management service.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all TLS(1.0, 1.1 and 1.2).Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` can be used to disable just TLS 1.1.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` can be used to disable TLS 1.0 on an API Management service.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` can be used to disable just TLS 1.1 for communications with backends.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` can be used to disable TLS 1.0 for communications with backends.Setting `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` can be used to enable HTTP2 protocol on an API Management service.Not specifying any of these properties on PATCH operation will reset omitted properties' values to their defaults. For all the settings except Http2 the default value is `True` if the service was created on or before April 1st 2018 and `False` otherwise. Http2 setting's default value is `False`.You can disable any of next ciphers by using settings `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA. For example, `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. The default value is `true` for them."
},
"certificates": {
"type": "array",
diff --git a/specification/appconfiguration/resource-manager/readme.go.md b/specification/appconfiguration/resource-manager/readme.go.md
new file mode 100644
index 000000000000..e68fddb79019
--- /dev/null
+++ b/specification/appconfiguration/resource-manager/readme.go.md
@@ -0,0 +1,26 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: appconfiguration
+ clear-output-folder: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-02-01-preview
+```
+
+### Tag: package-2019-02-01-preview and go
+
+These settings apply only when `--tag=package-2019-02-01-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-02-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-02-01-preview/$(namespace)
+```
diff --git a/specification/appconfiguration/resource-manager/readme.java.md b/specification/appconfiguration/resource-manager/readme.java.md
index e8b2672558de..930e52f3b904 100644
--- a/specification/appconfiguration/resource-manager/readme.java.md
+++ b/specification/appconfiguration/resource-manager/readme.java.md
@@ -4,11 +4,30 @@ These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=`.
``` yaml $(java)
-java:
- azure-arm: true
- fluent: true
- namespace: com.microsoft.azure.management.appconfiguration
- license-header: MICROSOFT_MIT_NO_CODEGEN
- payload-flattening-threshold: 1
- output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appconfiguration
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.appconfiguration
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appconfiguration
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2019-02-01-preview
```
+
+### Tag: package-2019-02-01-preview and java
+
+These settings apply only when `--tag=package-2019-02-01-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag)=='package-2019-02-01-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.appconfiguration.v2019_02_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/appconfiguration/resource-manager/v2019_02_01_preview
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/appconfiguration/resource-manager/readme.md b/specification/appconfiguration/resource-manager/readme.md
index 39faedc9455d..e85c4b186104 100644
--- a/specification/appconfiguration/resource-manager/readme.md
+++ b/specification/appconfiguration/resource-manager/readme.md
@@ -53,6 +53,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-java
- repo: azure-sdk-for-net
- repo: azure-sdk-for-js
+ - repo: azure-sdk-for-go
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_app_configuration']
@@ -70,6 +71,10 @@ See configuration in [readme.python.md](./readme.python.md)
See configuration in [readme.java.md](./readme.java.md)
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
## Ruby
See configuration in [readme.ruby.md](./readme.ruby.md)
diff --git a/specification/appconfiguration/resource-manager/readme.python.md b/specification/appconfiguration/resource-manager/readme.python.md
index e1c7b10da6b2..4b37490f2f0a 100644
--- a/specification/appconfiguration/resource-manager/readme.python.md
+++ b/specification/appconfiguration/resource-manager/readme.python.md
@@ -12,16 +12,16 @@ python:
payload-flattening-threshold: 2
namespace: azure.mgmt.appconfiguration
package-name: azure-mgmt-appconfiguration
- package-version: 2.0.0
+ package-version: 0.1.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
- output-folder: $(python-sdks-folder)/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration
+ output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
- output-folder: $(python-sdks-folder)/azure-mgmt-appconfiguration
+ output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration
```
diff --git a/specification/appconfiguration/resource-manager/readme.typescript.md b/specification/appconfiguration/resource-manager/readme.typescript.md
new file mode 100644
index 000000000000..e578f75f4f50
--- /dev/null
+++ b/specification/appconfiguration/resource-manager/readme.typescript.md
@@ -0,0 +1,12 @@
+## TypeScript
+
+These settings apply only when `--typescript` is specified on the command line.
+Please also specify `--typescript-sdks-folder=`.
+
+``` yaml $(typescript)
+typescript:
+ azure-arm: true
+ package-name: "@azure/arm-appconfiguration"
+ output-folder: "$(typescript-sdks-folder)/sdk/appconfiguration/arm-appconfiguration"
+ generate-metadata: true
+```
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
new file mode 100644
index 000000000000..2987cf4d8a5a
--- /dev/null
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
@@ -0,0 +1,452 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AttestationManagementClient",
+ "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.",
+ "version": "2018-09-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Attestation/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Lists all of the available Azure attestation operations.",
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "List all the operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": {
+ "get": {
+ "tags": [
+ "AttestationProvider"
+ ],
+ "operationId": "AttestationProviders_Get",
+ "description": "Get the status of Attestation Provider.",
+ "x-ms-examples": {
+ "AttestationProviders_Get": {
+ "$ref": "./examples/Get_AttestationProvider.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "providerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the attestation service instance"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The status of the specified attestation service instance",
+ "schema": {
+ "$ref": "#/definitions/AttestationProvider"
+ }
+ },
+ "default": {
+ "description": "Error result from Attestation service",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "AttestationProvider"
+ ],
+ "operationId": "AttestationProviders_Create",
+ "description": "Creates or updates the Attestation Provider.",
+ "x-ms-examples": {
+ "AttestationProviders_Create": {
+ "$ref": "./examples/Create_AttestationProvider.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "providerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the attestation service"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "creationParams",
+ "in": "body",
+ "description": "Client supplied parameters.",
+ "schema": {
+ "$ref": "#/definitions/AttestationServiceCreationParams"
+ },
+ "x-ms-parameter-location": "method"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Created or updated attestation service",
+ "schema": {
+ "$ref": "#/definitions/AttestationProvider"
+ }
+ },
+ "201": {
+ "description": "Created or updated attestation service",
+ "schema": {
+ "$ref": "#/definitions/AttestationProvider"
+ }
+ },
+ "default": {
+ "description": "Error result from Attestation service",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AttestationProvider"
+ ],
+ "operationId": "AttestationProviders_Delete",
+ "description": "Delete Attestation Service.",
+ "x-ms-examples": {
+ "AttestationProviders_Delete": {
+ "$ref": "./examples/Delete_AttestationProvider.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "providerName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the attestation service"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource exists and was deleted successfully"
+ },
+ "202": {
+ "description": "Request accepted for deletion of attestation service"
+ },
+ "204": {
+ "description": "Resource does not exist"
+ },
+ "default": {
+ "description": "Error result from Attestation service",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Attestation/attestationProviders": {
+ "get": {
+ "tags": [
+ "AttestationProviders"
+ ],
+ "operationId": "AttestationProviders_List",
+ "description": "Returns a list of attestation providers in a subscription.",
+ "x-ms-examples": {
+ "AttestationProviders_List": {
+ "$ref": "./examples/Get_AttestationProvidersList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestationProviderListResult"
+ }
+ },
+ "default": {
+ "description": "Attestation service error result",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders": {
+ "get": {
+ "tags": [
+ "AttestationProviders"
+ ],
+ "operationId": "AttestationProviders_ListByResourceGroup",
+ "description": "Returns attestation providers list in a resource group.",
+ "x-ms-examples": {
+ "AttestationProviders_ListByResourceGroup": {
+ "$ref": "./examples/Get_AttestationProvidersListByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null,
+ "itemName": "keys"
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestationProviderListResult"
+ }
+ },
+ "default": {
+ "description": "Attestation service error result",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of supported operations.",
+ "items": {
+ "$ref": "#/definitions/OperationsDefinition"
+ }
+ }
+ },
+ "description": "List of supported operations."
+ },
+ "OperationsDefinition": {
+ "type": "object",
+ "description": "Definition object with the name and properties of an operation.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the operation."
+ },
+ "display": {
+ "$ref": "#/definitions/OperationsDisplayDefinition",
+ "description": "Display object with properties of the operation."
+ }
+ }
+ },
+ "OperationsDisplayDefinition": {
+ "type": "object",
+ "description": "Display object with properties of the operation.",
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "Resource provider of the operation."
+ },
+ "resource": {
+ "type": "string",
+ "description": "Resource for the operation."
+ },
+ "operation": {
+ "type": "string",
+ "description": "Short description of the operation."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the operation."
+ }
+ }
+ },
+ "AttestationProvider": {
+ "description": "Attestation service response message.",
+ "required": [
+ "properties"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "type": "object",
+ "$ref": "#/definitions/StatusResult",
+ "description": "Describes Attestation service status.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "StatusResult": {
+ "type": "object",
+ "description": "Status of attestation service.",
+ "required": [
+ "status"
+ ],
+ "properties": {
+ "status": {
+ "type": "string",
+ "description": "Status of attestation service.",
+ "enum": [
+ "Ready",
+ "NotReady",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "AttestationServiceStatus",
+ "modelAsString": true
+ }
+ },
+ "attestUri": {
+ "type": "string",
+ "description": "Gets the uri of attestation service"
+ }
+ }
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from Attestation."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for displaying in a user interface."
+ }
+ },
+ "description": "An error response from Attestation."
+ },
+ "AttestationProviderListResult": {
+ "description": "Attestation Providers List.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Attestation Provider array.",
+ "items": {
+ "$ref": "#/definitions/AttestationProvider"
+ }
+ }
+ }
+ },
+ "AttestationServiceCreationParams": {
+ "description": "Client supplied parameters passed to attestation service.",
+ "properties": {
+ "attestationPolicy": {
+ "type": "string",
+ "description": "Name of attestation policy."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client API version.",
+ "enum": [
+ "2018-09-01-preview"
+ ]
+ }
+ }
+}
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json
new file mode 100644
index 000000000000..b3e4b9d1fc53
--- /dev/null
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Create_AttestationProvider.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-resource-group",
+ "serviceName": "sampleservicename",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-09-01-preview",
+ "providerName": "providername1",
+ "creationParams": "test"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1",
+ "name": "codes1",
+ "type": "Microsoft.Attestation/attestationProviders",
+ "properties": {
+ "status": "Ready",
+ "attestUri": "https://sample-attestation.attestation.azure.net"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1",
+ "name": "codes1",
+ "type": "Microsoft.Attestation/attestationProviders",
+ "properties": {
+ "status": "Ready",
+ "attestUri": "https://sample-attestation.attestation.azure.net"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json
new file mode 100644
index 000000000000..2b4a5c9d7fe5
--- /dev/null
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Delete_AttestationProvider.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-resource-group",
+ "serviceName": "sampleservicename",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-09-01-preview",
+ "providerName": "providername1"
+ },
+ "responses": {
+ "202": {
+ "description": "Request accepted for deletion of attestation service"
+ },
+ "200": {
+ "description": "Resource exists and was deleted successfully"
+ },
+ "204": {
+ "description": "Resource does not exist"
+ }
+ }
+}
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json
new file mode 100644
index 000000000000..946007d64975
--- /dev/null
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvider.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "resourceGroupName": "sample-resource-group",
+ "serviceName": "sampleservicename",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-09-01-preview",
+ "providerName": "providername1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/subscriptionID/resourceGroups/resourceGroupID/providers/Microsoft.Attestation/attestationProviders/codes1",
+ "name": "codes1",
+ "type": "Microsoft.Attestation/attestationProviders",
+ "properties": {
+ "status": "Ready"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json
new file mode 100644
index 000000000000..f1ebf8dc62e3
--- /dev/null
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersList.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1",
+ "name": "codes1",
+ "type": "Microsoft.Attestation/attestationProviders",
+ "properties": {
+ "status": "Ready"
+ }
+ },
+ {
+ "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2",
+ "name": "codes2",
+ "type": "Microsoft.Attestation/attestationProviders",
+ "properties": {
+ "status": "Ready"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json
new file mode 100644
index 000000000000..de5c9261b48d
--- /dev/null
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg1",
+ "subscriptionId": "6c96b33e-f5b8-40a6-9011-5cb1c58b0915",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes1",
+ "name": "codes1",
+ "type": "Microsoft.Attestation/attestationProviders",
+ "properties": {
+ "status": "Ready"
+ }
+ },
+ {
+ "id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2",
+ "name": "codes2",
+ "type": "Microsoft.Attestation/attestationProviders",
+ "properties": {
+ "status": "Ready"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Operations_List.json b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..110db087ae8c
--- /dev/null
+++ b/specification/attestation/resource-manager/Microsoft.Attestation/preview/2018-09-01-preview/examples/Operations_List.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "Microsoft.Attestation/attestationProviders/attestation/read",
+ "display": {
+ "provider": "Microsoft Azure Attestation",
+ "resource": "Attestation",
+ "operation": "Get status of attestation service",
+ "description": "Get status of attestation service."
+ }
+ },
+ {
+ "name": "Microsoft.Attestation/attestationProviders/attestation/write",
+ "display": {
+ "provider": "Microsoft Azure Attestation",
+ "resource": "Attestation",
+ "operation": "Adds attestation service.",
+ "description": "Adds attestation service."
+ }
+ },
+ {
+ "name": "Microsoft.Attestation/attestationProviders/attestation/delete",
+ "display": {
+ "provider": "Microsoft Azure Attestation",
+ "resource": "Attestation",
+ "operation": "Removes attestation service",
+ "description": "Removes attestation service"
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/attestation/resource-manager/readme.md b/specification/attestation/resource-manager/readme.md
new file mode 100644
index 000000000000..ab77741cbe77
--- /dev/null
+++ b/specification/attestation/resource-manager/readme.md
@@ -0,0 +1,60 @@
+# Attestation
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for Attestation.
+
+
+
+---
+## Getting Started
+To build the SDK for Attestation, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+
+### Basic Information
+These are the global settings for the Attestation API.
+
+``` yaml
+openapi-type: arm
+tag: package-2018-09-preview
+```
+
+### Tag: package-2018-09-preview
+
+These settings apply only when `--tag=package-2018-09-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-09-preview'
+input-file:
+- Microsoft.Attestation/preview/2018-09-01-preview/attestation.json
+```
+
+---
+# Code Generation
+
+
+---
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+``` yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.Azure.Management.Attestation
+ output-folder: $(csharp-sdks-folder)/attestation/Microsoft.Azure.Management.Attestation/src/Generated
+ clear-output-folder: true
+```
+
+
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/DeleteRoleDefinition.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/DeleteRoleDefinition.json
deleted file mode 100644
index 437345d2199c..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/DeleteRoleDefinition.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "scope": "scope",
- "roleDefinitionId": "roleDefinitionId",
- "api-version": "2015-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "roleName": "Role name",
- "type": "roletype",
- "description": "Role description",
- "assignableScopes": [
- "/subscriptions/subId"
- ],
- "permissions": [
- {
- "actions": [
- "action"
- ],
- "notActions": []
- }
- ]
- },
- "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
- "type": "Microsoft.Authorization/roleDefinitions",
- "name": "roleDefinitionId"
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetAllProviderOperations.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetAllProviderOperations.json
deleted file mode 100644
index df8754e45686..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetAllProviderOperations.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "parameters": {
- "api-version": "2015-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "id",
- "name": "name",
- "type": "type",
- "displayName": "displayName",
- "resourceTypes": [
- {
- "name": "name",
- "displayName": "name",
- "operations": []
- }
- ],
- "operations": []
- }
- ]
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetPermissions.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetPermissions.json
deleted file mode 100644
index b4ab968baca9..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetPermissions.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "parameters": {
- "resourceGroupName": "rgname",
- "subscriptionId": "subID",
- "api-version": "2015-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "actions": [],
- "notActions": []
- }
- ],
- "nextLink": "nextlink"
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetProviderOperationsRP.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetProviderOperationsRP.json
deleted file mode 100644
index 37706378e9a7..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetProviderOperationsRP.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "parameters": {
- "resourceProviderNamespace": "resourceProviderNamespace",
- "api-version": "2015-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "id",
- "name": "name",
- "type": "type",
- "displayName": "displayName",
- "resourceTypes": [
- {
- "name": "name",
- "displayName": "name",
- "operations": []
- }
- ],
- "operations": []
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetResourcePermissions.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetResourcePermissions.json
deleted file mode 100644
index 7b2f534e9680..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetResourcePermissions.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "subId",
- "resourceGroupName": "rgname",
- "resourceProviderNamespace": "rpnamespace",
- "parentResourcePath": "parentResourcePath",
- "resourceType": "resourceType",
- "resourceName": "resourceName",
- "api-version": "2015-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "actions": [],
- "notActions": []
- }
- ]
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionAtScope.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionAtScope.json
deleted file mode 100644
index 59169b055fea..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionAtScope.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "parameters": {
- "scope": "scope",
- "api-version": "2015-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "roleName": "Role name",
- "type": "roletype",
- "description": "Role description",
- "assignableScopes": [
- "/subscriptions/subId"
- ],
- "permissions": [
- {
- "actions": [
- "action"
- ],
- "notActions": []
- }
- ]
- },
- "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
- "type": "Microsoft.Authorization/roleDefinitions",
- "name": "roleDefinitionId"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionById.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionById.json
deleted file mode 100644
index 6100a19694a1..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionById.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "parameters": {
- "roleDefinitionId": "roleDefinitionId",
- "api-version": "2015-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "roleName": "Role name",
- "type": "roletype",
- "description": "Role description",
- "assignableScopes": [
- "/subscriptions/subId"
- ],
- "permissions": [
- {
- "actions": [
- "action"
- ],
- "notActions": []
- }
- ]
- },
- "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
- "type": "Microsoft.Authorization/roleDefinitions",
- "name": "roleDefinitionId"
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionByName.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionByName.json
deleted file mode 100644
index 437345d2199c..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/GetRoleDefinitionByName.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "scope": "scope",
- "roleDefinitionId": "roleDefinitionId",
- "api-version": "2015-07-01"
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "roleName": "Role name",
- "type": "roletype",
- "description": "Role description",
- "assignableScopes": [
- "/subscriptions/subId"
- ],
- "permissions": [
- {
- "actions": [
- "action"
- ],
- "notActions": []
- }
- ]
- },
- "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
- "type": "Microsoft.Authorization/roleDefinitions",
- "name": "roleDefinitionId"
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/PutRoleDefinition.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/PutRoleDefinition.json
deleted file mode 100644
index d28a7ff36640..000000000000
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/PutRoleDefinition.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "parameters": {
- "scope": "scope",
- "roleDefinitionId": "roleDefinitionId",
- "roleDefinition": {},
- "body": {
- "roleDefinition": {
- "roleName": "Role name",
- "description": "Role description",
- "assignableScopes": [
- "/subscriptions/subId"
- ],
- "permissions": [
- {
- "actions": [
- "action"
- ],
- "notActions": []
- }
- ],
- "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
- "type": "Microsoft.Authorization/roleDefinitions",
- "name": "roleDefinitionId"
- }
- },
- "api-version": "2015-07-01"
- },
- "responses": {
- "201": {
- "body": {
- "properties": {
- "roleName": "Role name",
- "type": "roletype",
- "description": "Role description",
- "assignableScopes": [
- "/subscriptions/subId"
- ],
- "permissions": [
- {
- "actions": [
- "action"
- ],
- "notActions": []
- }
- ]
- },
- "id": "/subscriptions/subID/providers/Microsoft.Authorization/roleDefinitions/roleDefinitionId",
- "type": "Microsoft.Authorization/roleDefinitions",
- "name": "roleDefinitionId"
- }
- }
- }
-}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/authorization-RACalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/authorization-RoleAssignmentsCalls.json
similarity index 100%
rename from specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/authorization-RACalls.json
rename to specification/authorization/resource-manager/Microsoft.Authorization/preview/2017-10-01-preview/authorization-RoleAssignmentsCalls.json
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json
index 901a6f0eea72..81315d28b12b 100644
--- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json
+++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json
@@ -10,12 +10,10 @@
"https"
],
"consumes": [
- "application/json",
- "text/json"
+ "application/json"
],
"produces": [
- "application/json",
- "text/json"
+ "application/json"
],
"security": [
{
@@ -45,11 +43,7 @@
"description": "Gets service administrator, account administrator, and co-administrators for the subscription.",
"parameters": [
{
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for this operation."
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -103,6 +97,7 @@
"description": "The type of the administrator."
},
"properties": {
+ "x-ms-client-flatten": true,
"$ref": "#/definitions/ClassicAdministratorProperties",
"description": "Properties for the classic administrator."
}
@@ -133,6 +128,13 @@
"required": true,
"type": "string",
"description": "The ID of the target subscription."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for this operation."
}
}
}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
similarity index 100%
rename from specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json
rename to specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json
new file mode 100644
index 000000000000..b465e7e64ba4
--- /dev/null
+++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json
@@ -0,0 +1,241 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AuthorizationManagementClient",
+ "version": "2015-07-01",
+ "description": "Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": {
+ "get": {
+ "tags": [
+ "ProviderOperationsMetadata"
+ ],
+ "operationId": "ProviderOperationsMetadata_Get",
+ "description": "Gets provider operations metadata for the specified resource provider.",
+ "parameters": [
+ {
+ "name": "resourceProviderNamespace",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The namespace of the resource provider."
+ },
+ {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for the operation."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "default": "resourceTypes",
+ "description": "Specifies whether to expand the values."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns the operations metadata.",
+ "schema": {
+ "$ref": "#/definitions/ProviderOperationsMetadata"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "GetConfigurations": {
+ "$ref": "./examples/GetProviderOperationsRP.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Authorization/providerOperations": {
+ "get": {
+ "tags": [
+ "ProviderOperationsMetadata"
+ ],
+ "operationId": "ProviderOperationsMetadata_List",
+ "description": "Gets provider operations metadata for all resource providers.",
+ "parameters": [
+ {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for this operation."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "default": "resourceTypes",
+ "description": "Specifies whether to expand the values."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns an array of the operations metadata.",
+ "schema": {
+ "$ref": "#/definitions/ProviderOperationsMetadataListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GetConfigurations": {
+ "$ref": "./examples/GetAllProviderOperations.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ResourceType": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The resource type name."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The resource type display name."
+ },
+ "operations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProviderOperation"
+ },
+ "description": "The resource type operations."
+ }
+ },
+ "description": "Resource Type"
+ },
+ "ProviderOperation": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The operation name."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The operation display name."
+ },
+ "description": {
+ "type": "string",
+ "description": "The operation description."
+ },
+ "origin": {
+ "type": "string",
+ "description": "The operation origin."
+ },
+ "properties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "description": "The operation properties."
+ }
+ },
+ "description": "Operation"
+ },
+ "ProviderOperationsMetadata": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The provider id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The provider name."
+ },
+ "type": {
+ "type": "string",
+ "description": "The provider type."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The provider display name."
+ },
+ "resourceTypes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceType"
+ },
+ "description": "The provider resource types"
+ },
+ "operations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProviderOperation"
+ },
+ "description": "The provider operations."
+ }
+ },
+ "description": "Provider Operations metadata"
+ },
+ "ProviderOperationsMetadataListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProviderOperationsMetadata"
+ },
+ "description": "The list of providers."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to use for getting the next set of results."
+ }
+ },
+ "description": "Provider operations metadata list"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The ID of the target subscription."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for this operation."
+ }
+ }
+}
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json
similarity index 50%
rename from specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json
rename to specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json
index ca45994ad60e..02d3651de52f 100644
--- a/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization.json
+++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json
@@ -10,12 +10,10 @@
"https"
],
"consumes": [
- "application/json",
- "text/json"
+ "application/json"
],
"produces": [
- "application/json",
- "text/json"
+ "application/json"
],
"security": [
{
@@ -36,204 +34,6 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions": {
- "get": {
- "tags": [
- "Permissions"
- ],
- "operationId": "Permissions_ListForResourceGroup",
- "description": "Gets all permissions the caller has for a resource group.",
- "parameters": [
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group to get the permissions for. The name is case insensitive."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns an array of permissions.",
- "schema": {
- "$ref": "#/definitions/PermissionGetResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetPermissions.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/permissions": {
- "get": {
- "tags": [
- "Permissions"
- ],
- "operationId": "Permissions_ListForResource",
- "description": "Gets all permissions the caller has for a resource.",
- "parameters": [
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group containing the resource. The name is case insensitive."
- },
- {
- "name": "resourceProviderNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The namespace of the resource provider."
- },
- {
- "name": "parentResourcePath",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The parent resource identity.",
- "x-ms-skip-url-encoding": true
- },
- {
- "name": "resourceType",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The resource type of the resource.",
- "x-ms-skip-url-encoding": true
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource to get the permissions for."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns an array of permissions.",
- "schema": {
- "$ref": "#/definitions/PermissionGetResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetResourcePermissions.json"
- }
- }
- }
- },
- "/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": {
- "get": {
- "tags": [
- "ProviderOperationsMetadata"
- ],
- "operationId": "ProviderOperationsMetadata_Get",
- "description": "Gets provider operations metadata for the specified resource provider.",
- "parameters": [
- {
- "name": "resourceProviderNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The namespace of the resource provider."
- },
- {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
- },
- {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "default": "resourceTypes",
- "description": "Specifies whether to expand the values."
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns the operations metadata.",
- "schema": {
- "$ref": "#/definitions/ProviderOperationsMetadata"
- }
- }
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetProviderOperationsRP.json"
- }
- }
- }
- },
- "/providers/Microsoft.Authorization/providerOperations": {
- "get": {
- "tags": [
- "ProviderOperationsMetadata"
- ],
- "operationId": "ProviderOperationsMetadata_List",
- "description": "Gets provider operations metadata for all resource providers.",
- "parameters": [
- {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for this operation."
- },
- {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "default": "resourceTypes",
- "description": "Specifies whether to expand the values."
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns an array of the operations metadata.",
- "schema": {
- "$ref": "#/definitions/ProviderOperationsMetadataListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetAllProviderOperations.json"
- }
- }
- }
- },
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/roleAssignments": {
"get": {
"tags": [
@@ -687,239 +487,6 @@
}
}
}
- },
- "/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}": {
- "delete": {
- "tags": [
- "RoleDefinitions"
- ],
- "operationId": "RoleDefinitions_Delete",
- "description": "Deletes a role definition.",
- "parameters": [
- {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The scope of the role definition.",
- "x-ms-skip-url-encoding": true
- },
- {
- "name": "roleDefinitionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The ID of the role definition to delete."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns information about the role definition.",
- "schema": {
- "$ref": "#/definitions/RoleDefinition"
- }
- }
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/DeleteRoleDefinition.json"
- }
- }
- },
- "get": {
- "tags": [
- "RoleDefinitions"
- ],
- "operationId": "RoleDefinitions_Get",
- "description": "Get role definition by name (GUID).",
- "parameters": [
- {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The scope of the role definition.",
- "x-ms-skip-url-encoding": true
- },
- {
- "name": "roleDefinitionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The ID of the role definition."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns information about the role definition.",
- "schema": {
- "$ref": "#/definitions/RoleDefinition"
- }
- }
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetRoleDefinitionByName.json"
- }
- }
- },
- "put": {
- "tags": [
- "RoleDefinitions"
- ],
- "operationId": "RoleDefinitions_CreateOrUpdate",
- "description": "Creates or updates a role definition.",
- "parameters": [
- {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The scope of the role definition.",
- "x-ms-skip-url-encoding": true
- },
- {
- "name": "roleDefinitionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The ID of the role definition."
- },
- {
- "name": "roleDefinition",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/RoleDefinition"
- },
- "description": "The values for the role definition."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "201": {
- "description": "OK - Returns information about the role definition.",
- "schema": {
- "$ref": "#/definitions/RoleDefinition"
- }
- }
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/PutRoleDefinition.json"
- }
- }
- }
- },
- "/{scope}/providers/Microsoft.Authorization/roleDefinitions": {
- "get": {
- "tags": [
- "RoleDefinitions"
- ],
- "operationId": "RoleDefinitions_List",
- "description": "Get all role definitions that are applicable at scope and above.",
- "parameters": [
- {
- "name": "scope",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The scope of the role definition.",
- "x-ms-skip-url-encoding": true
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns an array of role definitions.",
- "schema": {
- "$ref": "#/definitions/RoleDefinitionListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/RoleDefinitionFilter",
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetRoleDefinitionAtScope.json"
- }
- }
- }
- },
- "/providers/Microsoft.Authorization/elevateAccess": {
- "post": {
- "tags": [
- "ElevateAccess"
- ],
- "operationId": "ElevateAccess_Post",
- "description": "Elevates access for a Global Administrator.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns an HttpResponseMessage with HttpStatusCode 200."
- }
- }
- }
- }
- },
- "x-ms-paths": {
- "/{roleDefinitionId}?disambiguation_dummy": {
- "get": {
- "tags": [
- "RoleDefinitions"
- ],
- "operationId": "RoleDefinitions_GetById",
- "description": "Gets a role definition by ID.",
- "parameters": [
- {
- "name": "roleDefinitionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified role definition ID. Use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role definitions.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns information about the role definition.",
- "schema": {
- "$ref": "#/definitions/RoleDefinition"
- }
- }
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetRoleDefinitionById.json"
- }
- }
- }
}
},
"definitions": {
@@ -932,146 +499,6 @@
},
"description": "Role Assignments filter"
},
- "RoleDefinitionFilter": {
- "properties": {
- "roleName": {
- "type": "string",
- "description": "Returns role definition with the specific name."
- }
- },
- "description": "Role Definitions filter"
- },
- "Permission": {
- "properties": {
- "actions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Allowed actions."
- },
- "notActions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Denied actions."
- }
- },
- "description": "Role definition permissions."
- },
- "PermissionGetResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Permission"
- },
- "description": "An array of permissions."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to use for getting the next set of results."
- }
- },
- "description": "Permissions information."
- },
- "ProviderOperation": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The operation name."
- },
- "displayName": {
- "type": "string",
- "description": "The operation display name."
- },
- "description": {
- "type": "string",
- "description": "The operation description."
- },
- "origin": {
- "type": "string",
- "description": "The operation origin."
- },
- "properties": {
- "type": "object",
- "description": "The operation properties."
- }
- },
- "description": "Operation"
- },
- "ResourceType": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The resource type name."
- },
- "displayName": {
- "type": "string",
- "description": "The resource type display name."
- },
- "operations": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProviderOperation"
- },
- "description": "The resource type operations."
- }
- },
- "description": "Resource Type"
- },
- "ProviderOperationsMetadata": {
- "properties": {
- "id": {
- "type": "string",
- "description": "The provider id."
- },
- "name": {
- "type": "string",
- "description": "The provider name."
- },
- "type": {
- "type": "string",
- "description": "The provider type."
- },
- "displayName": {
- "type": "string",
- "description": "The provider display name."
- },
- "resourceTypes": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ResourceType"
- },
- "description": "The provider resource types"
- },
- "operations": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProviderOperation"
- },
- "description": "The provider operations."
- }
- },
- "description": "Provider Operations metadata"
- },
- "ProviderOperationsMetadataListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProviderOperationsMetadata"
- },
- "description": "The list of providers."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to use for getting the next set of results."
- }
- },
- "description": "Provider operations metadata list"
- },
"RoleAssignmentPropertiesWithScope": {
"properties": {
"scope": {
@@ -1157,77 +584,6 @@
"properties"
],
"description": "Role assignment create parameters."
- },
- "RoleDefinitionProperties": {
- "properties": {
- "roleName": {
- "type": "string",
- "description": "The role name."
- },
- "description": {
- "type": "string",
- "description": "The role definition description."
- },
- "type": {
- "type": "string",
- "description": "The role type."
- },
- "permissions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Permission"
- },
- "description": "Role definition permissions."
- },
- "assignableScopes": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Role definition assignable scopes."
- }
- },
- "description": "Role definition properties."
- },
- "RoleDefinition": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "The role definition ID."
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "The role definition name."
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "The role definition type."
- },
- "properties": {
- "$ref": "#/definitions/RoleDefinitionProperties",
- "description": "Role definition properties."
- }
- },
- "description": "Role definition."
- },
- "RoleDefinitionListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/RoleDefinition"
- },
- "description": "Role definition list."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to use for getting the next set of results."
- }
- },
- "description": "Role definition list operation result."
}
},
"parameters": {
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json
similarity index 73%
rename from specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization.json
rename to specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json
index dad1d0c5175d..5daad6d25ef7 100644
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/authorization.json
+++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json
@@ -144,94 +144,6 @@
}
}
},
- "/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": {
- "get": {
- "tags": [
- "ProviderOperationsMetadata"
- ],
- "operationId": "ProviderOperationsMetadata_Get",
- "description": "Gets provider operations metadata for the specified resource provider.",
- "parameters": [
- {
- "name": "resourceProviderNamespace",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The namespace of the resource provider."
- },
- {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the operation."
- },
- {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "default": "resourceTypes",
- "description": "Specifies whether to expand the values."
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns the operations metadata.",
- "schema": {
- "$ref": "#/definitions/ProviderOperationsMetadata"
- }
- }
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetProviderOperationsRP.json"
- }
- }
- }
- },
- "/providers/Microsoft.Authorization/providerOperations": {
- "get": {
- "tags": [
- "ProviderOperationsMetadata"
- ],
- "operationId": "ProviderOperationsMetadata_List",
- "description": "Gets provider operations metadata for all resource providers.",
- "parameters": [
- {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for this operation."
- },
- {
- "name": "$expand",
- "in": "query",
- "required": false,
- "type": "string",
- "default": "resourceTypes",
- "description": "Specifies whether to expand the values."
- }
- ],
- "responses": {
- "200": {
- "description": "OK - Returns an array of the operations metadata.",
- "schema": {
- "$ref": "#/definitions/ProviderOperationsMetadataListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "GetConfigurations": {
- "$ref": "./examples/GetAllProviderOperations.json"
- }
- }
- }
- },
"/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}": {
"delete": {
"tags": [
@@ -363,83 +275,83 @@
}
}
},
- "/{roleDefinitionId}": {
+ "/{scope}/providers/Microsoft.Authorization/roleDefinitions": {
"get": {
"tags": [
"RoleDefinitions"
],
- "operationId": "RoleDefinitions_GetById",
- "description": "Gets a role definition by ID.",
+ "operationId": "RoleDefinitions_List",
+ "description": "Get all role definitions that are applicable at scope and above.",
"parameters": [
{
- "name": "roleDefinitionId",
+ "name": "scope",
"in": "path",
"required": true,
"type": "string",
- "description": "The fully qualified role definition ID. Use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role definitions.",
+ "description": "The scope of the role definition.",
"x-ms-skip-url-encoding": true
},
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well."
+ },
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
- "description": "OK - Returns information about the role definition.",
+ "description": "OK - Returns an array of role definitions.",
"schema": {
- "$ref": "#/definitions/RoleDefinition"
+ "$ref": "#/definitions/RoleDefinitionListResult"
}
}
},
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/RoleDefinitionFilter",
"x-ms-examples": {
"GetConfigurations": {
- "$ref": "./examples/GetRoleDefinitionById.json"
+ "$ref": "./examples/GetRoleDefinitionAtScope.json"
}
}
}
},
- "/{scope}/providers/Microsoft.Authorization/roleDefinitions": {
+ "/{roleDefinitionId}": {
"get": {
"tags": [
"RoleDefinitions"
],
- "operationId": "RoleDefinitions_List",
- "description": "Get all role definitions that are applicable at scope and above.",
+ "operationId": "RoleDefinitions_GetById",
+ "description": "Gets a role definition by ID.",
"parameters": [
{
- "name": "scope",
+ "name": "roleDefinitionId",
"in": "path",
"required": true,
"type": "string",
- "description": "The scope of the role definition.",
+ "description": "The fully qualified role definition ID. Use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role definitions.",
"x-ms-skip-url-encoding": true
},
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well."
- },
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
- "description": "OK - Returns an array of role definitions.",
+ "description": "OK - Returns information about the role definition.",
"schema": {
- "$ref": "#/definitions/RoleDefinitionListResult"
+ "$ref": "#/definitions/RoleDefinition"
}
}
},
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/RoleDefinitionFilter",
"x-ms-examples": {
"GetConfigurations": {
- "$ref": "./examples/GetRoleDefinitionAtScope.json"
+ "$ref": "./examples/GetRoleDefinitionById.json"
}
}
}
@@ -455,138 +367,6 @@
},
"description": "Role Definitions filter"
},
- "Permission": {
- "properties": {
- "actions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Allowed actions."
- },
- "notActions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Denied actions."
- }
- },
- "description": "Role definition permissions."
- },
- "PermissionGetResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Permission"
- },
- "description": "An array of permissions."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to use for getting the next set of results."
- }
- },
- "description": "Permissions information."
- },
- "ProviderOperation": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The operation name."
- },
- "displayName": {
- "type": "string",
- "description": "The operation display name."
- },
- "description": {
- "type": "string",
- "description": "The operation description."
- },
- "origin": {
- "type": "string",
- "description": "The operation origin."
- },
- "properties": {
- "type": "object",
- "x-ms-client-flatten": true,
- "description": "The operation properties."
- }
- },
- "description": "Operation"
- },
- "ResourceType": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The resource type name."
- },
- "displayName": {
- "type": "string",
- "description": "The resource type display name."
- },
- "operations": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProviderOperation"
- },
- "description": "The resource type operations."
- }
- },
- "description": "Resource Type"
- },
- "ProviderOperationsMetadata": {
- "properties": {
- "id": {
- "type": "string",
- "description": "The provider id."
- },
- "name": {
- "type": "string",
- "description": "The provider name."
- },
- "type": {
- "type": "string",
- "description": "The provider type."
- },
- "displayName": {
- "type": "string",
- "description": "The provider display name."
- },
- "resourceTypes": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ResourceType"
- },
- "description": "The provider resource types"
- },
- "operations": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProviderOperation"
- },
- "description": "The provider operations."
- }
- },
- "description": "Provider Operations metadata"
- },
- "ProviderOperationsMetadataListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProviderOperationsMetadata"
- },
- "description": "The list of providers."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to use for getting the next set of results."
- }
- },
- "description": "Provider operations metadata list"
- },
"RoleDefinitionProperties": {
"properties": {
"roleName": {
@@ -659,6 +439,41 @@
}
},
"description": "Role definition list operation result."
+ },
+ "PermissionGetResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Permission"
+ },
+ "description": "An array of permissions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to use for getting the next set of results."
+ }
+ },
+ "description": "Permissions information."
+ },
+ "Permission": {
+ "properties": {
+ "actions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Allowed actions."
+ },
+ "notActions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Denied actions."
+ }
+ },
+ "description": "Role definition permissions."
}
},
"parameters": {
diff --git a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples/ElevateAccess.json
similarity index 80%
rename from specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json
rename to specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples/ElevateAccess.json
index d4972762b66a..4e3584a31e27 100644
--- a/specification/authorization/resource-manager/Microsoft.Authorization/preview/2015-07-01/examples/ElevateAccess.json
+++ b/specification/authorization/resource-manager/Microsoft.Authorization/stable/2015-07-01/examples/ElevateAccess.json
@@ -3,7 +3,6 @@
"api-version": "2015-07-01"
},
"responses": {
- "200": {
- }
+ "200": {}
}
}
diff --git a/specification/authorization/resource-manager/readme.csharp.md b/specification/authorization/resource-manager/readme.csharp.md
index dff04c86ccda..9106c01e9b5b 100644
--- a/specification/authorization/resource-manager/readme.csharp.md
+++ b/specification/authorization/resource-manager/readme.csharp.md
@@ -11,7 +11,7 @@ Please also specify `--csharp-sdks-folder=`.
-``` yaml $(tag) == 'package-2015-07' && $(go)
+``` yaml $(tag) == 'package-2015-07-01' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2015-07-01/$(namespace)
```
@@ -46,6 +47,15 @@ Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2018-07-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-07-01-preview/$(namespace)
+```
+
### Tag: package-2018-09-01-preview and go
These settings apply only when `--tag=package-2018-09-01-preview --go` is specified on the command line.
diff --git a/specification/authorization/resource-manager/readme.java.md b/specification/authorization/resource-manager/readme.java.md
new file mode 100644
index 000000000000..b60b3d715d8a
--- /dev/null
+++ b/specification/authorization/resource-manager/readme.java.md
@@ -0,0 +1,74 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.authorization
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-09-01-preview
+ - tag: package-2018-07-01-preview-only
+ - tag: package-2015-06-01-preview
+```
+
+### Tag: package-2018-09-01-preview and java
+
+These settings apply only when `--tag=package-2018-09-01-preview --java` is specified on he command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2018-09-01-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.authorization.v2018_09_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_09_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-07-01-preview-only and java
+
+These settings apply only when `--tag=package-2018-07-01-preview-only --java` is specified on he command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2018-07-01-preview-only' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.authorization.v2018_07_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_07_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2015-07-01 and java
+
+These settings apply only when `--tag=package-2015-07-01 --java` is specified on he command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2015-07-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.authorization.v2015_07_01
+ output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_07_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2015-06-01-preview and java
+
+These settings apply only when `--tag=package-2015-06-01-preview --java` is specified on he command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2015-06-01-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.authorization.v2015_06_01
+ output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_06_01
+regenerate-manager: true
+generate-interface: true
+```
diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md
index 619c6cc0fa20..63d1b36a237a 100644
--- a/specification/authorization/resource-manager/readme.md
+++ b/specification/authorization/resource-manager/readme.md
@@ -39,25 +39,19 @@ directive:
```
-### Tag: package-2015-07
+### Tag: package-2015-07-01
-These settings apply only when `--tag=package-2015-07` is specified on the command line.
+These settings apply only when `--tag=package-2015-07-01` is specified on the command line.
-``` yaml $(tag) == 'package-2015-07'
+``` yaml $(tag) == 'package-2015-07-01'
input-file:
-- Microsoft.Authorization/stable/2015-07-01/authorization.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json
- Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json
```
-### Tag: package-2015-07-authorization-only
-
-These settings apply only when `--tag=package-2015-07-authorization-only` is specified on the command line.
-
-``` yaml $(tag) == 'package-2015-07-authorization-only'
-input-file:
-- Microsoft.Authorization/stable/2015-07-01/authorization.json
-```
-
### Tag: package-2015-06-01-preview
These settings apply only when `--tag=package-2015-06-01-preview` is specified on the command line.
@@ -67,24 +61,13 @@ input-file:
- Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json
```
-### Tag: package-2015-07-01-preview
-
-These settings apply only when `--tag=package-2015-07-01-preview` is specified on the command line.
-
-``` yaml $(tag) == 'package-2015-07-01-preview'
-input-file:
-- Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json
-- Microsoft.Authorization/preview/2015-07-01/authorization.json
-- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json
-```
-
### Tag: package-2017-10-01-preview-only
These settings apply only when `--tag=package-2017-10-01-preview-only` is specified on the command line.
``` yaml $(tag) == 'package-2017-10-01-preview-only'
input-file:
-- Microsoft.Authorization/preview/2017-10-01-preview/authorization-RACalls.json
+- Microsoft.Authorization/preview/2017-10-01-preview/authorization-RoleAssignmentsCalls.json
```
### Tag: package-2018-01-01-preview-only
@@ -123,9 +106,10 @@ These settings apply only when `--tag=package-2017-10-01-preview` is specified o
``` yaml $(tag) == 'package-2017-10-01-preview'
input-file:
- Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json
-- Microsoft.Authorization/preview/2015-07-01/authorization.json
-- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json
-- Microsoft.Authorization/preview/2017-10-01-preview/authorization-RACalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
+- Microsoft.Authorization/preview/2017-10-01-preview/authorization-RoleAssignmentsCalls.json
```
### Tag: package-2018-01-01-preview
@@ -135,7 +119,7 @@ These settings apply only when `--tag=package-2018-01-01-preview` is specified o
``` yaml $(tag) == 'package-2018-01-01-preview'
input-file:
- Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json
-- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
- Microsoft.Authorization/preview/2018-01-01-preview/authorization-ProviderOperationsCalls.json
- Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleAssignmentsCalls.json
- Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleDefinitionsCalls.json
@@ -148,7 +132,7 @@ These settings apply only when `--tag=package-2018-07-01-preview` is specified o
``` yaml $(tag) == 'package-2018-07-01-preview'
input-file:
- Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json
-- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
- Microsoft.Authorization/preview/2018-01-01-preview/authorization-ProviderOperationsCalls.json
- Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleAssignmentsCalls.json
- Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleDefinitionsCalls.json
@@ -162,13 +146,26 @@ These settings apply only when `--tag=package-2018-09-01-preview` is specified o
``` yaml $(tag) == 'package-2018-09-01-preview'
input-file:
- Microsoft.Authorization/preview/2015-06-01/authorization-ClassicAdminCalls.json
-- Microsoft.Authorization/preview/2015-07-01/authorization-ElevateAccessCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
- Microsoft.Authorization/preview/2018-01-01-preview/authorization-ProviderOperationsCalls.json
- Microsoft.Authorization/preview/2018-09-01-preview/authorization-RoleAssignmentsCalls.json
- Microsoft.Authorization/preview/2018-01-01-preview/authorization-RoleDefinitionsCalls.json
- Microsoft.Authorization/preview/2018-07-01-preview/authorization-DenyAssignmentGetCalls.json
```
+### Tag: profile-hybrid-2019-03-01
+
+These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
+Creating this tag to pick proper resources from the hybrid profile.
+
+``` yaml $(tag) == 'profile-hybrid-2019-03-01'
+input-file:
+- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
+- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json
+```
+
---
# Code Generation
@@ -182,7 +179,7 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-python
after_scripts:
- - python ./scripts/multiapi_init_gen.py azure-mgmt-authorization
+ - python ./scripts/multiapi_init_gen.py azure-mgmt-authorization --default-api-version=2018-09-01-preview
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
@@ -198,58 +195,4 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.authorization
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2015-07
- - tag: package-2018-09-01-preview
-```
-
-### Tag: package-2018-09-01-preview and java
-
-These settings apply only when `--tag=package-2018-09-01-preview --java` is specified on he command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2018-09-01-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.authorization.v2018_09_01_preview
- output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_09_01_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2015-07 and java
-
-These settings apply only when `--tag=package-2015-07 --java` is specified on he command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2015-07' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.authorization.v2015_07_01
- output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_07_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: profile-hybrid-2019-03-01
-
-These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
-Creating this tag to pick proper resources from the hybrid profile.
-
-``` yaml $(tag) == 'profile-hybrid-2019-03-01'
-input-file:
-- Microsoft.Authorization/stable/2015-07-01/authorization.json
-```
+See configuration in [readme.java.md](./readme.java.md)
diff --git a/specification/authorization/resource-manager/readme.python.md b/specification/authorization/resource-manager/readme.python.md
index 3fdfabdc7960..70e14ea1a327 100644
--- a/specification/authorization/resource-manager/readme.python.md
+++ b/specification/authorization/resource-manager/readme.python.md
@@ -24,7 +24,7 @@ batch:
- tag: package-2018-09-01-preview-only
- tag: package-2018-07-01-preview-only
- tag: package-2018-01-01-preview-only
- - tag: package-2015-07-authorization-only
+ - tag: package-2015-07-01
- tag: package-2015-06-01-preview
```
@@ -58,11 +58,11 @@ python:
output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2018_01_01_preview
```
-### Tag: package-2015-07-authorization-only and python
+### Tag: package-2015-07-01 and python
-These settings apply only when `--tag=package-2015-07-authorization-only --python` is specified on the command line.
+These settings apply only when `--tag=package-2015-07-01 --python` is specified on the command line.
-``` yaml $(tag) == 'package-2015-07-authorization-only' && $(python)
+``` yaml $(tag) == 'package-2015-07-01' && $(python)
python:
namespace: azure.mgmt.authorization.v2015_07_01
output-folder: $(python-sdks-folder)/authorization/azure-mgmt-authorization/azure/mgmt/authorization/v2015_07_01
diff --git a/specification/authorization/resource-manager/readme.ruby.md b/specification/authorization/resource-manager/readme.ruby.md
index 16581f69d962..f1c161b3d444 100644
--- a/specification/authorization/resource-manager/readme.ruby.md
+++ b/specification/authorization/resource-manager/readme.ruby.md
@@ -5,26 +5,25 @@ These settings apply only when `--ruby` is specified on the command line.
``` yaml
package-name: azure_mgmt_authorization
package-version: "0.17.0"
-azure-arm: true
+azure-arm: true
```
### Ruby multi-api
``` yaml $(ruby) && $(multiapi)
batch:
- - tag: package-2015-07
+ - tag: package-2015-07-01
- tag: package-2015-06-01-preview
- - tag: package-2015-07-01-preview
- tag: package-2017-10-01-preview-only
- tag: package-2018-01-01-preview-only
```
-### Tag: package-2015-07 and ruby
+### Tag: package-2015-07-01 and ruby
-These settings apply only when `--tag=package-2015-07 --ruby` is specified on the command line.
+These settings apply only when `--tag=package-2015-07-01 --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=`.
-``` yaml $(tag) == 'package-2015-07' && $(ruby)
+``` yaml $(tag) == 'package-2015-07-01' && $(ruby)
namespace: "Azure::Authorization::Mgmt::V2015_07_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_authorization/lib
```
@@ -39,16 +38,6 @@ namespace: "Azure::Authorization::Mgmt::V2015_06_01_preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_authorization/lib
```
-### Tag: package-2015-07-01-preview and ruby
-
-These settings apply only when `--tag=package-2015-07-01-preview --ruby` is specified on the command line.
-Please also specify `--ruby-sdks-folder=`.
-
-``` yaml $(tag) == 'package-2015-07-01-preview' && $(ruby)
-namespace: "Azure::Authorization::Mgmt::V2015_07_01_preview"
-output-folder: $(ruby-sdks-folder)/management/azure_mgmt_authorization/lib
-```
-
### Tag: package-2017-10-01-preview-only and ruby
These settings apply only when `--tag=package-2017-10-01-preview-only --ruby` is specified on the command line.
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 77154365b6b8..8d64104633ed 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
@@ -532,7 +532,6 @@
"type": "string",
"description": "Gets or sets the frequency of the schedule.",
"$ref": "#/definitions/scheduleFrequency"
-
},
"timeZone": {
"type": "string",
diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json
index 460bed25949c..f27c7f041f6e 100644
--- a/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json
+++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2018-01-15/dscNodeCounts.json
@@ -141,7 +141,7 @@
"name": "CountType",
"modelAsString": true
},
- "x-ms-parameter-location":"method"
+ "x-ms-parameter-location": "method"
}
}
}
diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json
index dd53222fec97..81107ff2f113 100644
--- a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json
+++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/Backups.json
@@ -99,6 +99,9 @@
"x-ms-examples": {
"Restore a backup.": {
"$ref": "./examples/Backups/Restore.json"
+ },
+ "Restore a single role from backup.": {
+ "$ref": "./examples/Backups/SingleRepoRestore.json"
}
},
"description": "Restore a backup.",
@@ -275,6 +278,10 @@
"RestoreOptions": {
"description": "Properties for restore options.",
"properties": {
+ "roleName": {
+ "description": "The Azure Stack role name for restore, set it to empty for all infrastructure role",
+ "type": "string"
+ },
"decryptionCertBase64": {
"description": "The certificate file raw data in Base64 string. This should be the .pfx file with the private key.",
"type": "string"
diff --git a/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json
new file mode 100644
index 000000000000..bed97b033b62
--- /dev/null
+++ b/specification/azsadmin/resource-manager/backup/Microsoft.Backup.Admin/preview/2018-09-01/examples/Backups/SingleRepoRestore.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "11111111-2222-3333-4444-555555555555",
+ "resourceGroupName": "System.local",
+ "location": "local",
+ "backup": "64e8625a-8dc0-49df-a195-932901b4be81",
+ "restoreOptions": {
+ "roleName": "fakerp",
+ "decryptionCertBase64": "decryptionCert",
+ "decryptionCertPassword": "decryptionCertPassword"
+ },
+ "api-version": "2018-09-01"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json
index 05ffb72c81d6..33d362fa0e25 100644
--- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json
@@ -340,14 +340,14 @@
"description": "The subnet IP mask in the example format 10.0.0.0/25.",
"type": "array",
"items": {
- "type": "string"
+ "type": "string"
}
},
"vlanId": {
"description": "The Vlan ID of the subnet.",
"type": "array",
"items": {
- "type": "string"
+ "type": "string"
}
}
}
@@ -394,7 +394,7 @@
"description": "The list of IP addresses used for TOR communication.",
"type": "array",
"items": {
- "type": "string"
+ "type": "string"
}
},
"infrastructureNetwork": {
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.json
index 28c29905b580..2be04a76e8f2 100644
--- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.json
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.json
@@ -1,34 +1,44 @@
{
- "parameters": {
- "api-version": "2016-05-01",
- "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
- "resourceGroupName": "System.local",
- "location": "local",
- "scaleUnit": "cluster",
- "creationData": {
- "clusterName": "cluster",
- "physicalNodes": [{
- "name": "machine",
- "bmcIPAddress": "192.0.0.1"
- }],
- "torSwitchBgpAsn": "64703",
- "softwareBgpAsn": "64703",
- "torSwitchBgpPeerIp": [
- "10.0.0.1"
- ],
- "InfrastructureNetwork": {
- "Subnet": ["10.0.0.1/24"],
- "VlanId": ["0"]
- },
- "StorageNetwork": {
- "Subnet": ["10.0.0.1/24"],
- "VlanId": ["0"]
- },
- "NetQosPriority": 1
+ "parameters": {
+ "api-version": "2016-05-01",
+ "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
+ "resourceGroupName": "System.local",
+ "location": "local",
+ "scaleUnit": "cluster",
+ "creationData": {
+ "clusterName": "cluster",
+ "physicalNodes": [
+ {
+ "name": "machine",
+ "bmcIPAddress": "192.0.0.1"
}
- },
- "responses": {
- "200": {},
- "202": {}
+ ],
+ "torSwitchBgpAsn": "64703",
+ "softwareBgpAsn": "64703",
+ "torSwitchBgpPeerIp": [
+ "10.0.0.1"
+ ],
+ "InfrastructureNetwork": {
+ "Subnet": [
+ "10.0.0.1/24"
+ ],
+ "VlanId": [
+ "0"
+ ]
+ },
+ "StorageNetwork": {
+ "Subnet": [
+ "10.0.0.1/24"
+ ],
+ "VlanId": [
+ "0"
+ ]
+ },
+ "NetQosPriority": 1
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json
new file mode 100644
index 000000000000..08cb5519a49d
--- /dev/null
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json
@@ -0,0 +1,258 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "description": "Drive operation endpoints and objects.",
+ "title": "FabricAdminClient",
+ "version": "2019-05-01"
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/drives/{drive}": {
+ "get": {
+ "x-ms-examples": {
+ "Return the requested a storage drive.": {
+ "$ref": "./examples/Drive/Get.json"
+ }
+ },
+ "tags": [
+ "Drives"
+ ],
+ "description": "Return the requested a storage drive.",
+ "operationId": "Drives_Get",
+ "parameters": [
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../2016-05-01/ScaleUnit.json#/parameters/ScaleUnitParameter"
+ },
+ {
+ "$ref": "../2018-10-01/StorageSubSystem.json#/parameters/StorageSubSystemParameter"
+ },
+ {
+ "$ref": "#/parameters/DriveParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Drive"
+ }
+ },
+ "404": {
+ "description": "NOT FOUND"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/drives": {
+ "get": {
+ "x-ms-examples": {
+ "Returns a list of all storage drives at a location.": {
+ "$ref": "./examples/Drive/List.json"
+ }
+ },
+ "tags": [
+ "Drives"
+ ],
+ "description": "Returns a list of all storage drives at a location.",
+ "operationId": "Drives_List",
+ "parameters": [
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../2016-05-01/ScaleUnit.json#/parameters/ScaleUnitParameter"
+ },
+ {
+ "$ref": "../2018-10-01/StorageSubSystem.json#/parameters/StorageSubSystemParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/FilterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DriveList"
+ }
+ },
+ "404": {
+ "description": "NOT FOUND"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Drive"
+ }
+ }
+ },
+ "definitions": {
+ "Drive": {
+ "description": "Representation of a drive resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Properties of a drive.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DriveModel"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../2016-05-01/Fabric.json#/definitions/Resource"
+ }
+ ]
+ },
+ "DriveModel": {
+ "description": "Properties of a drive.",
+ "type": "object",
+ "properties": {
+ "storageNode": {
+ "description": "Node that the drive is physically connected.",
+ "type": "string"
+ },
+ "serialNumber": {
+ "description": "Serial number of the drive.",
+ "type": "string"
+ },
+ "healthStatus": {
+ "description": "Health status of the drive.",
+ "type": "string"
+ },
+ "operationalStatus": {
+ "description": "Operational status of the drive.",
+ "type": "string"
+ },
+ "usage": {
+ "description": "Intended usage of the drive.",
+ "type": "string"
+ },
+ "physicalLocation": {
+ "description": "Indicate where the hardware is located.",
+ "type": "string"
+ },
+ "model": {
+ "description": "Model of the drive.",
+ "type": "string"
+ },
+ "firmwareVersion": {
+ "description": "The firmware version of the drive.",
+ "type": "string"
+ },
+ "isIndicationEnabled": {
+ "description": "Indicate whether the drive's identification LEDs are active or not.",
+ "type": "boolean"
+ },
+ "manufacturer": {
+ "description": "The name of the drive's manufacturer.",
+ "type": "string"
+ },
+ "storagePool": {
+ "description": "The storage pool where the drive is located.",
+ "type": "string"
+ },
+ "mediaType": {
+ "description": "Media type of the drive.",
+ "type": "string"
+ },
+ "capacityGB": {
+ "description": "Total capacity in GB of the drive.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "description": {
+ "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.",
+ "type": "string"
+ },
+ "action": {
+ "description": "Detailed recommended action for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.",
+ "type": "string"
+ }
+ }
+ },
+ "DriveList": {
+ "description": "Pageable list of storage drives.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of storage drives.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Drive"
+ }
+ },
+ "nextLink": {
+ "description": "URI to the next page.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Client API Version.",
+ "required": true,
+ "type": "string",
+ "default": "2019-05-01"
+ },
+ "DriveParameter": {
+ "name": "drive",
+ "description": "Name of the storage drive.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json
new file mode 100644
index 000000000000..14d8cb07fe5a
--- /dev/null
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json
@@ -0,0 +1,227 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "description": "Volume operation endpoints and objects.",
+ "title": "FabricAdminClient",
+ "version": "2019-05-01"
+ },
+ "host": "adminmanagement.local.azurestack.external",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/volumes/{volume}": {
+ "get": {
+ "x-ms-examples": {
+ "Return the requested a storage volume.": {
+ "$ref": "./examples/Volume/Get.json"
+ }
+ },
+ "tags": [
+ "Volumes"
+ ],
+ "description": "Return the requested a storage volume.",
+ "operationId": "Volumes_Get",
+ "parameters": [
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../2016-05-01/ScaleUnit.json#/parameters/ScaleUnitParameter"
+ },
+ {
+ "$ref": "../2018-10-01/StorageSubSystem.json#/parameters/StorageSubSystemParameter"
+ },
+ {
+ "$ref": "#/parameters/VolumeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Volume"
+ }
+ },
+ "404": {
+ "description": "NOT FOUND"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/storageSubSystems/{storageSubSystem}/volumes": {
+ "get": {
+ "x-ms-examples": {
+ "Returns a list of all storage volumes at a location.": {
+ "$ref": "./examples/Volume/List.json"
+ }
+ },
+ "tags": [
+ "Volumes"
+ ],
+ "description": "Returns a list of all storage volumes at a location.",
+ "operationId": "Volumes_List",
+ "parameters": [
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/ResourceGroupParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../2016-05-01/ScaleUnit.json#/parameters/ScaleUnitParameter"
+ },
+ {
+ "$ref": "../2018-10-01/StorageSubSystem.json#/parameters/StorageSubSystemParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../2016-05-01/Fabric.json#/parameters/FilterParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VolumeList"
+ }
+ },
+ "404": {
+ "description": "NOT FOUND"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/Volume"
+ }
+ }
+ },
+ "definitions": {
+ "Volume": {
+ "description": "Representation of a volume resource.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Properties of a volume.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VolumeModel"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../2016-05-01/Fabric.json#/definitions/Resource"
+ }
+ ]
+ },
+ "VolumeModel": {
+ "description": "Properties of a volume.",
+ "type": "object",
+ "properties": {
+ "totalCapacityGB": {
+ "description": "Total capacity in GB of the volume.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "remainingCapacityGB": {
+ "description": "Remaining capacity in GB of the volume.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "healthStatus": {
+ "description": "Health status of the volume.",
+ "type": "string"
+ },
+ "operationalStatus": {
+ "description": "Operational status of the volume.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.",
+ "type": "string"
+ },
+ "action": {
+ "description": "Detailed recommended action for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.",
+ "type": "string"
+ },
+ "volumeLabel": {
+ "description": "Volume label.",
+ "type": "string"
+ }
+ }
+ },
+ "VolumeList": {
+ "description": "Pageable list of storage volumes.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of storage volumes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Volume"
+ }
+ },
+ "nextLink": {
+ "description": "URI to the next page.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Client API Version.",
+ "required": true,
+ "type": "string",
+ "default": "2019-05-01"
+ },
+ "VolumeParameter": {
+ "name": "volume",
+ "description": "Name of the storage volume.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/Get.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/Get.json
new file mode 100644
index 000000000000..e64a1ee5ce59
--- /dev/null
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/Get.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d",
+ "resourceGroupName": "System.redmond",
+ "location": "redmond",
+ "scaleUnit": "s-cluster",
+ "storageSubSystem": "s-cluster.v.masd.stbtest.microsoft.com",
+ "drive": "{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/scaleUnits/s-cluster/storageSubSystems/s-cluster.v.masd.stbtest.microsoft.com/drives/{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}",
+ "name": "redmond/s-cluster/s-cluster.v.masd.stbtest.microsoft.com/{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}",
+ "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives",
+ "location": "redmond",
+ "tags": {},
+ "properties": {
+ "storageNode": "redmond/v-Host4",
+ "serialNumber": "4GV095AX",
+ "healthStatus": "Healthy",
+ "operationalStatus": "OK",
+ "usage": "Capacity",
+ "physicalLocation": "Integrated : Adapter 1 : Port 0 : Target 0 : LUN 4",
+ "model": "Virtual Disk",
+ "firmwareVersion": "1.0",
+ "isIndicationEnabled": false,
+ "manufacturer": "Msft",
+ "storagePool": "SU1_Pool",
+ "mediaType": "HDD",
+ "capacityGB": 1024,
+ "description": "",
+ "action": ""
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/List.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/List.json
new file mode 100644
index 000000000000..f4b50c143471
--- /dev/null
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Drive/List.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d",
+ "resourceGroupName": "System.redmond",
+ "location": "redmond",
+ "scaleUnit": "s-cluster",
+ "storageSubSystem": "s-cluster.v.masd.stbtest.microsoft.com"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/scaleUnits/s-cluster/storageSubSystems/s-cluster.v.masd.stbtest.microsoft.com/drives/{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}",
+ "name": "redmond/s-cluster/s-cluster.v.masd.stbtest.microsoft.com/{bc489b66-faa7-41f0-bee7-bcba258f10fb}:PD:{0801e862-5bee-a657-7b19-6d1504372ecc}",
+ "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/drives",
+ "location": "redmond",
+ "tags": {},
+ "properties": {
+ "storageNode": "redmond/v-Host4",
+ "serialNumber": "4GV095AX",
+ "healthStatus": "Healthy",
+ "operationalStatus": "OK",
+ "usage": "Capacity",
+ "physicalLocation": "Integrated : Adapter 1 : Port 0 : Target 0 : LUN 4",
+ "model": "Virtual Disk",
+ "firmwareVersion": "1.0",
+ "isIndicationEnabled": false,
+ "manufacturer": "Msft",
+ "storagePool": "SU1_Pool",
+ "mediaType": "HDD",
+ "capacityGB": 1024,
+ "description": "",
+ "action": ""
+ }
+ }
+ ]
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json
new file mode 100644
index 000000000000..ffbeee06959c
--- /dev/null
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/Get.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d",
+ "resourceGroupName": "System.redmond",
+ "location": "redmond",
+ "scaleUnit": "s-cluster",
+ "storageSubSystem": "s-cluster.v.masd.stbtest.microsoft.com",
+ "volume": "48f356d4-362d-49cb-a021-fafffbe0e8ad"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/scaleUnits/s-cluster/storageSubSystems/s-cluster.v.masd.stbtest.microsoft.com/volumes/48f356d4-362d-49cb-a021-fafffbe0e8ad",
+ "name": "redmond/s-cluster/s-cluster.v.masd.stbtest.microsoft.com/48f356d4-362d-49cb-a021-fafffbe0e8ad",
+ "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes",
+ "location": "redmond",
+ "tags": {},
+ "properties": {
+ "totalCapacityGB": 1375,
+ "remainingCapacityGB": 1317,
+ "healthStatus": "Healthy",
+ "operationalStatus": "OK",
+ "description": "",
+ "action": "",
+ "volumeLabel": "ObjStore_1"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json
new file mode 100644
index 000000000000..984dc9e01cd5
--- /dev/null
+++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/examples/Volume/List.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d",
+ "resourceGroupName": "System.redmond",
+ "location": "redmond",
+ "scaleUnit": "s-cluster",
+ "storageSubSystem": "s-cluster.v.masd.stbtest.microsoft.com"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/72526b2b-4b61-4700-8f0c-7bb7ae9b6a2d/resourceGroups/System.redmond/providers/Microsoft.Fabric.Admin/fabricLocations/redmond/scaleUnits/s-cluster/storageSubSystems/s-cluster.v.masd.stbtest.microsoft.com/volumes/48f356d4-362d-49cb-a021-fafffbe0e8ad",
+ "name": "redmond/s-cluster/s-cluster.v.masd.stbtest.microsoft.com/48f356d4-362d-49cb-a021-fafffbe0e8ad",
+ "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits/storageSubSystems/volumes",
+ "location": "redmond",
+ "tags": {},
+ "properties": {
+ "totalCapacityGB": 1375,
+ "remainingCapacityGB": 1317,
+ "healthStatus": "Healthy",
+ "operationalStatus": "OK",
+ "description": "",
+ "action": "",
+ "volumeLabel": "ObjStore_1"
+ }
+ }
+ ]
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/azsadmin/resource-manager/fabric/readme.md b/specification/azsadmin/resource-manager/fabric/readme.md
index 3fb1723bbc71..a2c2f7027c1e 100644
--- a/specification/azsadmin/resource-manager/fabric/readme.md
+++ b/specification/azsadmin/resource-manager/fabric/readme.md
@@ -24,7 +24,7 @@ These are the global settings for the Fabric API.
title: FabricAdminClient
description: Fabric Admin Client
openapi-type: arm
-tag: package-2016-05-01
+tag: package-2019-05-01
```
### Tag: package-2016-05-01
@@ -87,6 +87,35 @@ input-file:
- "Microsoft.Fabric.Admin/preview/2018-10-01/Volume.json"
```
+### Tag: package-2019-05-01
+
+These settings apply only when `--tag=package-2019-05-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-05-01'
+input-file:
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/ApplicationOperationResults.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/ComputeOperationResults.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/Fabric.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGateway.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/EdgeGatewayPool.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/FabricLocation.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/FileShare.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/InfraRole.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/InfraRoleInstance.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/IpPool.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/LogicalNetwork.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/LogicalSubnet.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/MacAddressPool.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/NetworkOperationResults.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnit.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/ScaleUnitNode.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/SlbMuxInstance.json"
+ - "Microsoft.Fabric.Admin/preview/2016-05-01/StorageOperationResults.json"
+ - "Microsoft.Fabric.Admin/preview/2018-10-01/StorageSubSystem.json"
+ - "Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json"
+ - "Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json"
+```
+
---
# Code Generation
diff --git a/specification/azsadmin/resource-manager/keyvault/Microsoft.KeyVault.Admin/preview/2017-02-01-preview/KeyVault.json b/specification/azsadmin/resource-manager/keyvault/Microsoft.KeyVault.Admin/preview/2017-02-01-preview/KeyVault.json
index 692f7779bb29..4a2e7c4b2c11 100644
--- a/specification/azsadmin/resource-manager/keyvault/Microsoft.KeyVault.Admin/preview/2017-02-01-preview/KeyVault.json
+++ b/specification/azsadmin/resource-manager/keyvault/Microsoft.KeyVault.Admin/preview/2017-02-01-preview/KeyVault.json
@@ -77,7 +77,7 @@
"type": "string"
},
"description": {
- "description": "The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise � it will be used in tool tips and detailed views.",
+ "description": "The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise it will be used in tool tips and detailed views.",
"type": "string"
}
}
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCheckNameAvailability.json
index 18d4cc7c073c..c46dcb7d97d7 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCheckNameAvailability.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCheckNameAvailability.json
@@ -5,7 +5,7 @@
"location": "wus",
"clusterName": {
"name": "kuskusprod",
- "type": "Microsoft.Kusto/Clusters"
+ "type": "Microsoft.Kusto/clusters"
}
},
"responses": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json
index cafc6ad533c1..f684d5df26d4 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersCreateOrUpdate.json
@@ -16,9 +16,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersGet.json
index 3fdc496deb15..020c68940af9 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersGet.json
@@ -8,9 +8,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersList.json
index b4b2efd9edcf..600dbbdd2207 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersList.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersList.json
@@ -8,9 +8,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
@@ -23,9 +23,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3",
"name": "KustoClusterRPTest3",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersListByResourceGroup.json
index 97803f52885c..18988de3e884 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersListByResourceGroup.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersListByResourceGroup.json
@@ -9,9 +9,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
@@ -24,9 +24,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3",
"name": "KustoClusterRPTest3",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json
index 6d845f8fc23f..f24c6bb7fcd4 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoClustersUpdate.json
@@ -11,9 +11,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCheckNameAvailability.json
index 25ff09c0cd46..4ab6f23ccbce 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCheckNameAvailability.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCheckNameAvailability.json
@@ -6,7 +6,7 @@
"clusterName": "kustoProd",
"databaseName": {
"name": "kuskus",
- "type": "Microsoft.Kusto/Clusters/Databases"
+ "type": "Microsoft.Kusto/clusters/databases"
}
},
"responses": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json
index 15c8b52dce39..5d5f50d6e485 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesCreateOrUpdate.json
@@ -15,9 +15,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesGet.json
index 183fe12e851f..f72a5af6c06f 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesGet.json
@@ -9,9 +9,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesListByCluster.json
index a889e0e1c7e8..e5cd6682c247 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesListByCluster.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesListByCluster.json
@@ -10,9 +10,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
@@ -21,9 +21,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
"name": "KustoClusterRPTest4/KustoDatabase9",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json
index 15c8b52dce39..5d5f50d6e485 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoDatabasesUpdate.json
@@ -15,9 +15,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json
index 3df4a048972a..4a7e3b1ca72a 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsCreateOrUpdate.json
@@ -17,9 +17,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsGet.json
index bc4e9a1fb06c..159dc85511f7 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsGet.json
@@ -10,9 +10,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsListByDatabase.json
index 77a94f3be0e3..5966eef922e3 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsListByDatabase.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsListByDatabase.json
@@ -11,9 +11,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
@@ -21,9 +21,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
"name": "KustoClusterRPTest4/KustoDatabase9",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json
index 3df4a048972a..4a7e3b1ca72a 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2017-09-07-privatepreview/examples/KustoEventHubConnectionsUpdate.json
@@ -17,9 +17,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCheckNameAvailability.json
index b84425227fe0..1a73906e3384 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCheckNameAvailability.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCheckNameAvailability.json
@@ -5,7 +5,7 @@
"location": "wus",
"clusterName": {
"name": "kuskusprod",
- "type": "Microsoft.Kusto/Clusters"
+ "type": "Microsoft.Kusto/clusters"
}
},
"responses": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json
index 20653d428693..0d2feed0ae5f 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersCreateOrUpdate.json
@@ -16,9 +16,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersGet.json
index 3f582ca5fa16..8aa7a942ac18 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersGet.json
@@ -8,9 +8,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersList.json
index e770d9c8c2c5..725fc4221a8c 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersList.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersList.json
@@ -8,9 +8,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
@@ -23,9 +23,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3",
"name": "KustoClusterRPTest3",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersListByResourceGroup.json
index 111e471756d4..6474e4515519 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersListByResourceGroup.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersListByResourceGroup.json
@@ -9,9 +9,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
@@ -24,9 +24,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3",
"name": "KustoClusterRPTest3",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json
index afe5fd15dcae..137644dbf281 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoClustersUpdate.json
@@ -11,9 +11,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"etag": "W/\"datetime'2017-12-06T12%3A05%3A57.2528942Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCheckNameAvailability.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCheckNameAvailability.json
index 3e72751ba294..877cdb1b3828 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCheckNameAvailability.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCheckNameAvailability.json
@@ -6,7 +6,7 @@
"clusterName": "kustoProd",
"databaseName": {
"name": "kuskus",
- "type": "Microsoft.Kusto/Clusters/Databases"
+ "type": "Microsoft.Kusto/clusters/databases"
}
},
"responses": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCreateOrUpdate.json
index c0647daf3a26..e808235ec4fb 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesCreateOrUpdate.json
@@ -15,9 +15,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesGet.json
index e0c4b92408bc..cc94b7ea6ea2 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesGet.json
@@ -9,9 +9,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesListByCluster.json
index 114f5497c717..18443ffc973b 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesListByCluster.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesListByCluster.json
@@ -10,9 +10,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
@@ -21,9 +21,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
"name": "KustoClusterRPTest4/KustoDatabase9",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesUpdate.json
index c0647daf3a26..e808235ec4fb 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoDatabasesUpdate.json
@@ -15,9 +15,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"etag": "W/\"datetime'2017-12-05T15%3A28%3A05.732611Z'\"",
"location": "westus",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsCreateOrUpdate.json
index d87b02e0255a..ae8c7c300f0e 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsCreateOrUpdate.json
@@ -17,9 +17,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsGet.json
index 638049ef0427..7dd7b07bb86f 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsGet.json
@@ -10,9 +10,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsListByDatabase.json
index a7fca93edc33..ee9fef19e03e 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsListByDatabase.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsListByDatabase.json
@@ -11,9 +11,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
@@ -21,9 +21,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
"name": "KustoClusterRPTest4/KustoDatabase9",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns2/eventhubs/eventhubTest2",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsUpdate.json
index d87b02e0255a..ae8c7c300f0e 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/preview/2018-09-07-preview/examples/KustoEventHubConnectionsUpdate.json
@@ -17,9 +17,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"eventHubResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.EventHub/namespaces/eventhubTestns1/eventhubs/eventhubTest1",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersCreateOrUpdate.json
index 34ef6880d19b..d9b794cde0e6 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersCreateOrUpdate.json
@@ -16,9 +16,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
@@ -32,9 +32,9 @@
},
"201": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersGet.json
index 3e3669843d83..09e4702b2c4a 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersGet.json
@@ -8,9 +8,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersList.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersList.json
index 1f91d2103cdc..833e7cf6c9a0 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersList.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersList.json
@@ -8,9 +8,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
@@ -22,9 +22,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3",
"name": "KustoClusterRPTest3",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersListByResourceGroup.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersListByResourceGroup.json
index d0bfb03fb5d1..2feb66591e81 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersListByResourceGroup.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersListByResourceGroup.json
@@ -9,9 +9,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
@@ -23,9 +23,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest3",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest3",
"name": "KustoClusterRPTest3",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersUpdate.json
index 8f167399a7b9..9c184587ffad 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoClustersUpdate.json
@@ -11,9 +11,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
@@ -27,9 +27,9 @@
},
"201": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4",
"name": "KustoClusterRPTest4",
- "type": "Microsoft.Kusto/Clusters",
+ "type": "Microsoft.Kusto/clusters",
"location": "westus",
"properties": {
"provisioningState": "Succeeded"
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsCreateOrUpdate.json
index af7fc2373b01..e611fe56efbd 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsCreateOrUpdate.json
@@ -18,9 +18,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
- "type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
+ "type": "Microsoft.Kusto/clusters/databases/DataConnections",
"location": "westus",
"kind": "EventHub",
"properties": {
@@ -31,9 +31,9 @@
},
"201": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
- "type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
+ "type": "Microsoft.Kusto/clusters/databases/DataConnections",
"location": "westus",
"kind": "EventHub",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsGet.json
index e6924c512d1d..2d4f0fc2ac4c 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsGet.json
@@ -10,9 +10,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
- "type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
+ "type": "Microsoft.Kusto/clusters/databases/DataConnections",
"location": "westus",
"kind": "EventHub",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsListByDatabase.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsListByDatabase.json
index 781dd363215f..291193134885 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsListByDatabase.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsListByDatabase.json
@@ -11,9 +11,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/KustoDataConnection8",
"name": "KustoClusterRPTest4/KustoDatabase8/KustoDataConnection8",
- "type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
+ "type": "Microsoft.Kusto/clusters/databases/DataConnections",
"location": "westus",
"kind": "EventHub",
"properties": {
@@ -22,9 +22,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9/DataConnections/KustoDataConnection9",
"name": "KustoClusterRPTest4/KustoDatabase9/KustoDataConnection9",
- "type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
+ "type": "Microsoft.Kusto/clusters/databases/DataConnections",
"location": "westus",
"kind": "EventHub",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsUpdate.json
index af7fc2373b01..e611fe56efbd 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDataConnectionsUpdate.json
@@ -18,9 +18,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
- "type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
+ "type": "Microsoft.Kusto/clusters/databases/DataConnections",
"location": "westus",
"kind": "EventHub",
"properties": {
@@ -31,9 +31,9 @@
},
"201": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8/DataConnections/DataConnections8",
"name": "KustoClusterRPTest4/KustoDatabase8/DataConnections8",
- "type": "Microsoft.Kusto/Clusters/Databases/DataConnections",
+ "type": "Microsoft.Kusto/clusters/databases/DataConnections",
"location": "westus",
"kind": "EventHub",
"properties": {
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesCreateOrUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesCreateOrUpdate.json
index cbb676c3d192..2997b7db0195 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesCreateOrUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesCreateOrUpdate.json
@@ -15,9 +15,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"softDeletePeriod": "P1D",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesGet.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesGet.json
index 110854267c84..cc267d1b8ebc 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesGet.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesGet.json
@@ -9,9 +9,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"softDeletePeriod": "P1D",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesListByCluster.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesListByCluster.json
index b586191048e0..ee0488105461 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesListByCluster.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesListByCluster.json
@@ -10,9 +10,9 @@
"body": {
"value": [
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"softDeletePeriod": "P1D",
@@ -20,9 +20,9 @@
}
},
{
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase9",
"name": "KustoClusterRPTest4/KustoDatabase9",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"softDeletePeriod": "P1D",
diff --git a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesUpdate.json b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesUpdate.json
index cbb676c3d192..2997b7db0195 100644
--- a/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesUpdate.json
+++ b/specification/azure-kusto/resource-manager/Microsoft.Kusto/stable/2019-01-21/examples/KustoDatabasesUpdate.json
@@ -15,9 +15,9 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
+ "id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/KustoClusterRPTest4/Databases/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
- "type": "Microsoft.Kusto/Clusters/Databases",
+ "type": "Microsoft.Kusto/clusters/databases",
"location": "westus",
"properties": {
"softDeletePeriod": "P1D",
diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/azureactivedirectory.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/azureactivedirectory.json
index b6eeccb48548..99503ff658de 100644
--- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/azureactivedirectory.json
+++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/azureactivedirectory.json
@@ -9,12 +9,20 @@
}
},
"host": "management.azure.com",
- "schemes": ["https"],
- "consumes": ["application/json"],
- "produces": ["application/json"],
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
"security": [
{
- "azure_auth": ["user_impersonation"]
+ "azure_auth": [
+ "user_impersonation"
+ ]
}
],
"securityDefinitions": {
@@ -31,10 +39,14 @@
"paths": {
"/providers/microsoft.aadiam/operations": {
"get": {
- "tags": ["Operations"],
+ "tags": [
+ "Operations"
+ ],
"operationId": "Operations_List",
"x-ms-examples": {
- "Gets the operations": { "$ref": "./examples/listOperations.json" }
+ "Gets the operations": {
+ "$ref": "./examples/listOperations.json"
+ }
},
"description": "Operation to return the list of available operations.",
"parameters": [
@@ -60,7 +72,9 @@
},
"/providers/microsoft.aadiam/diagnosticSettings": {
"get": {
- "tags": ["DiagnosticSettings"],
+ "tags": [
+ "DiagnosticSettings"
+ ],
"operationId": "DiagnosticSettings_List",
"description": "Gets the active diagnostic settings list for AadIam.",
"parameters": [
@@ -86,12 +100,14 @@
"Gets the diagnostic settings": {
"$ref": "./examples/listDiagnosticSettings.json"
}
- }
+ }
}
},
"/providers/microsoft.aadiam/diagnosticSettings/{name}": {
"get": {
- "tags": ["DiagnosticSettings"],
+ "tags": [
+ "DiagnosticSettings"
+ ],
"operationId": "DiagnosticSettings_Get",
"description": "Gets the active diagnostic setting for AadIam.",
"parameters": [
@@ -120,13 +136,17 @@
"Gets the diagnostic setting": {
"$ref": "./examples/getDiagnosticSetting.json"
}
- }
+ }
},
"put": {
- "tags": ["DiagnosticSettings"],
+ "tags": [
+ "DiagnosticSettings"
+ ],
"operationId": "DiagnosticSettings_CreateOrUpdate",
"x-ms-examples": {
- "BatchAccountDelete": { "$ref": "./examples/createOrUpdateDiagnosticSetting.json" }
+ "BatchAccountDelete": {
+ "$ref": "./examples/createOrUpdateDiagnosticSetting.json"
+ }
},
"description": "Creates or updates diagnostic settings for AadIam.",
"parameters": [
@@ -162,7 +182,9 @@
}
},
"delete": {
- "tags": ["DiagnosticSettings"],
+ "tags": [
+ "DiagnosticSettings"
+ ],
"operationId": "DiagnosticSettings_Delete",
"description": "Deletes existing diagnostic setting for AadIam.",
"parameters": [
@@ -191,12 +213,14 @@
"Deletes the diagnostic setting": {
"$ref": "./examples/deleteDiagnosticSetting.json"
}
- }
+ }
}
},
"/providers/microsoft.aadiam/diagnosticSettingsCategories": {
"get": {
- "tags": ["DiagnosticSettingsCategories"],
+ "tags": [
+ "DiagnosticSettingsCategories"
+ ],
"operationId": "DiagnosticSettingsCategory_List",
"description": "Lists the diagnostic settings categories for AadIam.",
"parameters": [
@@ -222,7 +246,7 @@
"Gets the diagnostic setting categories": {
"$ref": "./examples/listDiagnosticSettingsCategories.json"
}
- }
+ }
}
}
},
@@ -261,18 +285,24 @@
"description": "The number of days for the retention in days. A value of 0 will retain the events indefinitely."
}
},
- "required": [ "enabled", "days" ],
+ "required": [
+ "enabled",
+ "days"
+ ],
"description": "Specifies the retention policy for the log."
},
"LogSettings": {
"properties": {
"category": {
- "enum": ["AuditLogs", "SignInLogs"],
+ "enum": [
+ "AuditLogs",
+ "SignInLogs"
+ ],
"type": "string",
"x-ms-enum": {
"name": "category",
"modelAsString": true
- },
+ },
"description": "Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation."
},
"enabled": {
@@ -284,14 +314,16 @@
"description": "The retention policy for this log."
}
},
- "required": [ "enabled" ],
+ "required": [
+ "enabled"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
},
"DiagnosticSettings": {
"properties": {
"storageAccountId": {
"type": "string",
- "description": "The resource ID of the storage account to which you would like to send Diagnostic Logs."
+ "description": "The resource ID of the storage account to which you would like to send Diagnostic Logs."
},
"serviceBusRuleId": {
"type": "string",
@@ -448,7 +480,9 @@
"DiagnosticSettingsCategory": {
"properties": {
"categoryType": {
- "enum": ["Logs"],
+ "enum": [
+ "Logs"
+ ],
"type": "string",
"x-ms-enum": {
"name": "categoryType",
diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/createOrUpdateDiagnosticSetting.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/createOrUpdateDiagnosticSetting.json
index 2898eb0689ed..182d60ea4f15 100644
--- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/createOrUpdateDiagnosticSetting.json
+++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/createOrUpdateDiagnosticSetting.json
@@ -3,21 +3,21 @@
"name": "mysetting",
"api-version": "2017-04-01",
"parameters": {
- "id":"providers/microsoft.aadiam/diagnosticSettings/mysetting",
- "name":"mysetting",
- "type":"",
+ "id": "providers/microsoft.aadiam/diagnosticSettings/mysetting",
+ "name": "mysetting",
+ "type": "",
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
"eventHubName": "myeventhub",
"logs": [
{
- "category":"AuditLogs",
- "enabled":true,
+ "category": "AuditLogs",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
]
@@ -28,21 +28,21 @@
"200": {
"headers": {},
"body": {
- "id":"providers/microsoft.aadiam/diagnosticSettings/mysetting",
- "type":"",
- "name":"mysetting",
+ "id": "providers/microsoft.aadiam/diagnosticSettings/mysetting",
+ "type": "",
+ "name": "mysetting",
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
"eventHubName": "myeventhub",
"logs": [
{
- "category":"AuditLogs",
- "enabled":true,
+ "category": "AuditLogs",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
]
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json
index e7205e1b1145..c6032509e39d 100644
--- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json
+++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/deleteDiagnosticSetting.json
@@ -1,16 +1,16 @@
{
- "parameters" : {
+ "parameters": {
"name": "mysetting",
- "api-version" : "2017-04-01"
+ "api-version": "2017-04-01"
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
+ },
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/getDiagnosticSetting.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/getDiagnosticSetting.json
index 15a49a201c92..0b37f9d97377 100644
--- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/getDiagnosticSetting.json
+++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/getDiagnosticSetting.json
@@ -1,25 +1,26 @@
{
- "parameters" : {
+ "parameters": {
"name": "mysetting",
- "api-version" : "2017-04-01"
+ "api-version": "2017-04-01"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "id" : "providers/microsoft.aadiam/diagnosticSettings/mysetting",
- "type" : "",
- "name" : "mysetting",
- "properties" : {
- "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId" : "",
- "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "logs" : [{
- "category" : "SignInLogs",
- "enabled" : true,
- "retentionPolicy" : {
- "enabled" : false,
- "days" : 0
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "providers/microsoft.aadiam/diagnosticSettings/mysetting",
+ "type": "",
+ "name": "mysetting",
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "logs": [
+ {
+ "category": "SignInLogs",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
}
]
@@ -27,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettings.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettings.json
index dfee025fd5ef..b8c6b1605ea9 100644
--- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettings.json
+++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettings.json
@@ -1,31 +1,34 @@
{
- "parameters" : {
- "api-version" : "2017-04-01-preview"
+ "parameters": {
+ "api-version": "2017-04-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "value": [{
- "id" : "providers/Microsoft.Aadiam/diagnosticSettings/mysetting",
- "type" : "",
- "name" : "mysetting",
- "properties" : {
- "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId" : "",
- "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "logs" : [{
- "category" : "SignInLogs",
- "enabled" : true,
- "retentionPolicy" : {
- "enabled" : false,
- "days" : 0
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Aadiam/diagnosticSettings/mysetting",
+ "type": "",
+ "name": "mysetting",
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "logs": [
+ {
+ "category": "SignInLogs",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
+ }
}
- }
- ]
+ ]
+ }
}
- }]
+ ]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettingsCategories.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettingsCategories.json
index 17186744a44a..7a9f867c7b1f 100644
--- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettingsCategories.json
+++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listDiagnosticSettingsCategories.json
@@ -1,23 +1,23 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
- "api-version" : "2017-05-01-preview"
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
"value": [
{
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
- "type":"microsoft.insights/diagnosticSettingsCategories",
- "name":"WorkflowRuntime",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
+ "type": "microsoft.insights/diagnosticSettingsCategories",
+ "name": "WorkflowRuntime",
"properties": {
- "categoryType":"Logs"
+ "categoryType": "Logs"
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listOperations.json b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listOperations.json
index 5e3a183d8277..e60252911fe4 100644
--- a/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listOperations.json
+++ b/specification/azureactivedirectory/resource-manager/Microsoft.Aadiam/stable/2017-04-01/examples/listOperations.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azureactivedirectory/resource-manager/readme.go.md b/specification/azureactivedirectory/resource-manager/readme.go.md
index 31c7d4e105d5..481bfe010359 100644
--- a/specification/azureactivedirectory/resource-manager/readme.go.md
+++ b/specification/azureactivedirectory/resource-manager/readme.go.md
@@ -5,15 +5,22 @@ These settings apply only when `--go` is specified on the command line.
```yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: aad
clear-output-folder: true
```
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2017-04-01
+```
+
### Tag: package-2017-04-01 and go
These settings apply only when `--tag=package-2017-04-01 --go` is specified on the command line.
-Please also specify `--go-sdks-folder=`.
+Please also specify `--go-sdk-folder=`.
```yaml $(tag) == 'package-2017-04-01' && $(go)
-namespace: Microsoft.Aadiam
-output-folder: $(go-sdks-folder)/azureactivedirectory/Generated
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2017-04-01/$(namespace)
```
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json
index 83cbb972f1cd..29848118296c 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/AzureStack.json
@@ -1,276 +1,276 @@
{
- "swagger": "2.0",
- "info": {
- "version": "2017-06-01",
- "title": "Azure Stack Azure Bridge Client"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/providers/Microsoft.AzureStack/operations": {
- "get": {
- "x-ms-examples": {
- "Returns the list of supported REST operations.": {
- "$ref": "./examples/Operation/List.json"
- }
- },
- "description": "Returns the list of supported REST operations.",
- "tags": [
- "AzureStack"
- ],
- "operationId": "Operations_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/OperationList"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
+ "swagger": "2.0",
+ "info": {
+ "version": "2017-06-01",
+ "title": "Azure Stack Azure Bridge Client"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/providers/Microsoft.AzureStack/operations": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the list of supported REST operations.": {
+ "$ref": "./examples/Operation/List.json"
+ }
+ },
+ "description": "Returns the list of supported REST operations.",
+ "tags": [
+ "AzureStack"
+ ],
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
}
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "description": "Base resource object.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "description": "ID of the resource.",
+ "type": "string"
+ },
+ "name": {
+ "readOnly": true,
+ "description": "Name of the resource.",
+ "type": "string"
+ },
+ "type": {
+ "readOnly": true,
+ "description": "Type of Resource.",
+ "type": "string"
+ },
+ "etag": {
+ "description": "The entity tag used for optimistic concurrency when modifying the resource.",
+ "type": "string"
}
+ },
+ "x-ms-azure-resource": true
},
- "definitions": {
- "Resource": {
- "description": "Base resource object.",
- "type": "object",
- "properties": {
- "id": {
- "readOnly": true,
- "description": "ID of the resource.",
- "type": "string"
- },
- "name": {
- "readOnly": true,
- "description": "Name of the resource.",
- "type": "string"
- },
- "type": {
- "readOnly": true,
- "description": "Type of Resource.",
- "type": "string"
- },
- "etag": {
- "description": "The entity tag used for optimistic concurrency when modifying the resource.",
- "type": "string"
- }
- },
- "x-ms-azure-resource": true
+ "TrackedResource": {
+ "description": "Base resource object.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "description": "ID of the resource.",
+ "type": "string"
},
- "TrackedResource": {
- "description": "Base resource object.",
- "type": "object",
- "properties": {
- "id": {
- "readOnly": true,
- "description": "ID of the resource.",
- "type": "string"
- },
- "name": {
- "readOnly": true,
- "description": "Name of the resource.",
- "type": "string"
- },
- "type": {
- "readOnly": true,
- "description": "Type of Resource.",
- "type": "string"
- },
- "location": {
- "description": "Location of the resource.",
- "type": "string",
- "enum": [
- "global"
- ],
- "x-ms-enum": {
- "name": "Location",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "description": "Custom tags for the resource.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "etag": {
- "description": "The entity tag used for optimistic concurrency when modifying the resource.",
- "type": "string"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true
+ "name": {
+ "readOnly": true,
+ "description": "Name of the resource.",
+ "type": "string"
},
- "ProvisioningState": {
- "description": "The provisioning state of the resource.",
- "enum": [
- "Creating",
- "Failed",
- "Succeeded",
- "Canceled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ProvisioningState"
- }
+ "type": {
+ "readOnly": true,
+ "description": "Type of Resource.",
+ "type": "string"
},
- "Operation": {
- "description": "Describes the supported REST operation.",
- "properties": {
- "name": {
- "description": "The name of the operation being performed on this particular object.",
- "type": "string"
- },
- "display": {
- "description": "Contains the localized display information for this particular operation or action.",
- "$ref": "#/definitions/Display"
- },
- "origin" : {
- "description" : "The intended executor of the operation.",
- "type" : "string"
- }
- }
+ "location": {
+ "description": "Location of the resource.",
+ "type": "string",
+ "enum": [
+ "global"
+ ],
+ "x-ms-enum": {
+ "name": "Location",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
},
- "Display": {
- "description": "Contains the localized display information for this particular operation or action.",
- "properties": {
- "provider": {
- "description": "The localized, friendly version of the resource provider name.",
- "type": "string"
- },
- "resource": {
- "description": "The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.",
- "type": "string"
- },
- "operation": {
- "description": "The localized, friendly name for the operation. Use the name as it will displayed to the user.",
- "type": "string"
- },
- "description": {
- "description": "The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.",
- "type": "string"
- }
- }
+ "tags": {
+ "description": "Custom tags for the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
},
- "OperationList": {
- "description": "List of Operations",
- "properties": {
- "value": {
- "description": "Array of operations",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- }
- },
- "nextLink": {
- "description": "URI to the next page of operations.",
- "type": "string"
- }
- }
+ "etag": {
+ "description": "The entity tag used for optimistic concurrency when modifying the resource.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "ProvisioningState": {
+ "description": "The provisioning state of the resource.",
+ "enum": [
+ "Creating",
+ "Failed",
+ "Succeeded",
+ "Canceled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProvisioningState"
+ }
+ },
+ "Operation": {
+ "description": "Describes the supported REST operation.",
+ "properties": {
+ "name": {
+ "description": "The name of the operation being performed on this particular object.",
+ "type": "string"
+ },
+ "display": {
+ "description": "Contains the localized display information for this particular operation or action.",
+ "$ref": "#/definitions/Display"
},
- "ErrorDetails": {
- "description": "The details of the error.",
- "properties": {
- "code": {
- "description": "Error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the particular error.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ErrorResponse": {
- "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
- "type": "object",
- "properties": {
- "error": {
- "description": "The details of the error.",
- "$ref": "#/definitions/ErrorDetails"
- }
- }
- }
+ "origin": {
+ "description": "The intended executor of the operation.",
+ "type": "string"
+ }
+ }
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
- "required": true,
- "type": "string"
+ "Display": {
+ "description": "Contains the localized display information for this particular operation or action.",
+ "properties": {
+ "provider": {
+ "description": "The localized, friendly version of the resource provider name.",
+ "type": "string"
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "Client API Version.",
- "required": true,
- "type": "string",
- "default": "2017-06-01"
+ "resource": {
+ "description": "The localized, friendly version of the resource type related to this action or operation; the resource type should match the public documentation for the resource provider.",
+ "type": "string"
},
- "ResourceGroupNameParameter": {
- "description": "Name of the resource group.",
- "name": "resourceGroup",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
+ "operation": {
+ "description": "The localized, friendly name for the operation. Use the name as it will displayed to the user.",
+ "type": "string"
},
- "RegistrationNameParameter": {
- "description": "Name of the Azure Stack registration.",
- "name": "registrationName",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
+ "description": {
+ "description": "The localized, friendly description for the operation. The description will be displayed to the user. It should be thorough and concise for used in both tooltips and detailed views.",
+ "type": "string"
}
+ }
},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "OperationList": {
+ "description": "List of Operations",
+ "properties": {
+ "value": {
+ "description": "Array of operations",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URI to the next page of operations.",
+ "type": "string"
}
+ }
},
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "ErrorDetails": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "target": {
+ "description": "The target of the particular error.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The details of the error.",
+ "$ref": "#/definitions/ErrorDetails"
}
- ]
-}
\ No newline at end of file
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Subscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
+ "required": true,
+ "type": "string"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "Client API Version.",
+ "required": true,
+ "type": "string",
+ "default": "2017-06-01"
+ },
+ "ResourceGroupNameParameter": {
+ "description": "Name of the resource group.",
+ "name": "resourceGroup",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "RegistrationNameParameter": {
+ "description": "Name of the Azure Stack registration.",
+ "name": "registrationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/CustomerSubscription.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/CustomerSubscription.json
index 8cf39d4fe8d2..194fc6e4914e 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/CustomerSubscription.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/CustomerSubscription.json
@@ -1,269 +1,269 @@
{
- "swagger": "2.0",
- "info": {
- "version": "2017-06-01",
- "title": "AzureStack Azure Bridge Client"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions": {
- "get": {
- "x-ms-examples": {
- "Returns a list of products.": {
- "$ref": "examples/CustomerSubscription/List.json"
- }
- },
- "tags": [
- "CustomerSubscription"
- ],
- "description": "Returns a list of products.",
- "operationId": "CustomerSubscriptions_List",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CustomerSubscriptionList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "AzureStack.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
+ "swagger": "2.0",
+ "info": {
+ "version": "2017-06-01",
+ "title": "AzureStack Azure Bridge Client"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions": {
+ "get": {
+ "x-ms-examples": {
+ "Returns a list of products.": {
+ "$ref": "examples/CustomerSubscription/List.json"
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}": {
- "get": {
- "x-ms-examples": {
- "Returns the specified product.": {
- "$ref": "examples/CustomerSubscription/Get.json"
- }
- },
- "tags": [
- "CustomerSubscription"
- ],
- "description": "Returns the specified product.",
- "operationId": "CustomerSubscriptions_Get",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "#/parameters/CustomerSubscriptionNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CustomerSubscription"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "AzureStack.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Deletes a customer subscription under a registration.": {
- "$ref": "examples/CustomerSubscription/Delete.json"
- }
- },
- "tags": [
- "CustomerSubscription"
- ],
- "description": "Deletes a customer subscription under a registration.",
- "operationId": "CustomerSubscriptions_Delete",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "#/parameters/CustomerSubscriptionNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "NO CONTENT"
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Creates a new customer subscription under a registration.": {
- "$ref": "examples/CustomerSubscription/Put.json"
- }
- },
- "tags": [
- "CustomerSubscription"
- ],
- "description": "Creates a new customer subscription under a registration.",
- "operationId": "CustomerSubscriptions_Create",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "#/parameters/CustomerSubscriptionNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/CustomerSubscriptionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CustomerSubscription"
- }
- }
- }
+ "tags": [
+ "CustomerSubscription"
+ ],
+ "description": "Returns a list of products.",
+ "operationId": "CustomerSubscriptions_List",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CustomerSubscriptionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
}
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
+ }
},
- "definitions": {
- "CustomerSubscription": {
- "description": "Customer subscription.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Customer subscription properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/CustomerSubscriptionProperties"
- }
- },
- "allOf": [
- {
- "$ref": "AzureStack.json#/definitions/Resource"
- }
- ]
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/customerSubscriptions/{customerSubscriptionName}": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the specified product.": {
+ "$ref": "examples/CustomerSubscription/Get.json"
+ }
},
- "CustomerSubscriptionProperties": {
- "description": "Customer subscription properties.",
- "type": "object",
- "properties": {
- "tenantId": {
- "description": "Tenant Id.",
- "type": "string"
- }
+ "tags": [
+ "CustomerSubscription"
+ ],
+ "description": "Returns the specified product.",
+ "operationId": "CustomerSubscriptions_Get",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomerSubscriptionNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CustomerSubscription"
}
- },
- "CustomerSubscriptionList": {
- "description": "Pageable list of customer subscriptions.",
- "type": "object",
- "properties": {
- "nextLink": {
- "description": "URI to the next page.",
- "type": "string"
- },
- "value": {
- "description": "List of customer subscriptions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/CustomerSubscription"
- }
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
}
+ }
}
- },
- "parameters": {
- "CustomerSubscriptionNameParameter": {
- "description": "Name of the product.",
- "name": "customerSubscriptionName",
- "type": "string",
- "in": "path",
- "required": true,
- "x-ms-parameter-location": "method"
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Deletes a customer subscription under a registration.": {
+ "$ref": "examples/CustomerSubscription/Delete.json"
+ }
},
- "CustomerSubscriptionParameter": {
- "description": "Parameters use to create a customer subscription.",
- "name": "customerCreationParameters",
+ "tags": [
+ "CustomerSubscription"
+ ],
+ "description": "Deletes a customer subscription under a registration.",
+ "operationId": "CustomerSubscriptions_Delete",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomerSubscriptionNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NO CONTENT"
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Creates a new customer subscription under a registration.": {
+ "$ref": "examples/CustomerSubscription/Put.json"
+ }
+ },
+ "tags": [
+ "CustomerSubscription"
+ ],
+ "description": "Creates a new customer subscription under a registration.",
+ "operationId": "CustomerSubscriptions_Create",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomerSubscriptionNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/CustomerSubscriptionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/CustomerSubscription"
- },
- "in": "body",
- "required": true,
- "x-ms-parameter-location": "method"
+ "$ref": "#/definitions/CustomerSubscription"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CustomerSubscription": {
+ "description": "Customer subscription.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Customer subscription properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CustomerSubscriptionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "AzureStack.json#/definitions/Resource"
}
+ ]
},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "CustomerSubscriptionProperties": {
+ "description": "Customer subscription properties.",
+ "type": "object",
+ "properties": {
+ "tenantId": {
+ "description": "Tenant Id.",
+ "type": "string"
}
+ }
},
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "CustomerSubscriptionList": {
+ "description": "Pageable list of customer subscriptions.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "URI to the next page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of customer subscriptions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CustomerSubscription"
+ }
}
- ]
-}
\ No newline at end of file
+ }
+ }
+ },
+ "parameters": {
+ "CustomerSubscriptionNameParameter": {
+ "description": "Name of the product.",
+ "name": "customerSubscriptionName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "CustomerSubscriptionParameter": {
+ "description": "Parameters use to create a customer subscription.",
+ "name": "customerCreationParameters",
+ "schema": {
+ "$ref": "#/definitions/CustomerSubscription"
+ },
+ "in": "body",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json
index 68db9546699f..9b093117a3fd 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Product.json
@@ -1,510 +1,510 @@
{
- "swagger": "2.0",
- "info": {
- "version": "2017-06-01",
- "title": "AzureStack Azure Bridge Client"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products": {
- "get": {
- "x-ms-examples": {
- "Returns a list of products.": {
- "$ref": "examples/Product/List.json"
- }
- },
- "tags": [
- "Product"
- ],
- "description": "Returns a list of products.",
- "operationId": "Products_List",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ProductList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "AzureStack.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
+ "swagger": "2.0",
+ "info": {
+ "version": "2017-06-01",
+ "title": "AzureStack Azure Bridge Client"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products": {
+ "get": {
+ "x-ms-examples": {
+ "Returns a list of products.": {
+ "$ref": "examples/Product/List.json"
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}": {
- "get": {
- "x-ms-examples": {
- "Returns the specified product.": {
- "$ref": "examples/Product/Get.json"
- }
- },
- "tags": [
- "Product"
- ],
- "description": "Returns the specified product.",
- "operationId": "Products_Get",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "#/parameters/ProductNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Product"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "AzureStack.json#/definitions/ErrorResponse"
- }
- }
- }
+ "tags": [
+ "Product"
+ ],
+ "description": "Returns a list of products.",
+ "operationId": "Products_List",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProductList"
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/listDetails": {
- "post": {
- "x-ms-examples": {
- "Returns the extended properties of a product.": {
- "$ref": "examples/Product/Post.json"
- }
- },
- "tags": [
- "Product"
- ],
- "description": "Returns the extended properties of a product.",
- "operationId": "Products_ListDetails",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "#/parameters/ProductNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ExtendedProduct"
- }
- }
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
}
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
+ }
},
- "definitions": {
- "ComputeRole": {
- "description": "Compute role type (IaaS or PaaS).",
- "type": "string",
- "enum": [
- "None",
- "IaaS",
- "PaaS"
- ],
- "x-ms-enum": {
- "name": "ComputeRole",
- "modelAsString": true
- }
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the specified product.": {
+ "$ref": "examples/Product/Get.json"
+ }
},
- "OperatingSystem": {
- "description": "Operating system type (Windows or Linux).",
- "type": "string",
- "enum": [
- "None",
- "Windows",
- "Linux"
- ],
- "x-ms-enum": {
- "name": "OperatingSystem",
- "modelAsString": true
+ "tags": [
+ "Product"
+ ],
+ "description": "Returns the specified product.",
+ "operationId": "Products_Get",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ProductNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Product"
}
- },
- "Uri": {
- "description": "The URI.",
- "type": "object",
- "properties": {
- "uri": {
- "description": "The URI.",
- "type": "string",
- "readOnly": true
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/products/{productName}/listDetails": {
+ "post": {
+ "x-ms-examples": {
+ "Returns the extended properties of a product.": {
+ "$ref": "examples/Product/Post.json"
+ }
},
- "ExtendedProduct": {
- "description": "Extended description about the product required for installing it into Azure Stack.",
- "type": "object",
- "properties": {
- "galleryPackageBlobSasUri": {
- "description": "The URI to the .azpkg file that provides information required for showing product in the gallery.",
- "type": "string",
- "readOnly": true
- },
- "productKind": {
- "description": "Specifies the kind of the product (virtualMachine or virtualMachineExtension).",
- "type": "string",
- "readOnly": true
- },
- "properties": {
- "description": "Specifies additional properties describing the product.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ExtendedProductProperties",
- "readOnly": true
- }
+ "tags": [
+ "Product"
+ ],
+ "description": "Returns the extended properties of a product.",
+ "operationId": "Products_ListDetails",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ProductNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ExtendedProduct"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ComputeRole": {
+ "description": "Compute role type (IaaS or PaaS).",
+ "type": "string",
+ "enum": [
+ "None",
+ "IaaS",
+ "PaaS"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeRole",
+ "modelAsString": true
+ }
+ },
+ "OperatingSystem": {
+ "description": "Operating system type (Windows or Linux).",
+ "type": "string",
+ "enum": [
+ "None",
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystem",
+ "modelAsString": true
+ }
+ },
+ "Uri": {
+ "description": "The URI.",
+ "type": "object",
+ "properties": {
+ "uri": {
+ "description": "The URI.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ExtendedProduct": {
+ "description": "Extended description about the product required for installing it into Azure Stack.",
+ "type": "object",
+ "properties": {
+ "galleryPackageBlobSasUri": {
+ "description": "The URI to the .azpkg file that provides information required for showing product in the gallery.",
+ "type": "string",
+ "readOnly": true
},
- "ExtendedProductProperties": {
- "description": "Product information.",
- "type": "object",
- "properties": {},
- "allOf": [
- {
- "$ref": "#/definitions/VirtualMachineExtensionProductProperties"
- },
- {
- "$ref": "#/definitions/VirtualMachineProductProperties"
- }
- ]
- },
- "VirtualMachineExtensionProductProperties": {
- "description": "Product information.",
- "type": "object",
- "properties": {
- "computeRole": {
- "description": "Specifies kind of compute role included in the package.",
- "$ref": "#/definitions/ComputeRole",
- "readOnly": true
- },
- "isSystemExtension": {
- "description": "Specifies if product is a Virtual Machine Extension.",
- "type": "boolean",
- "readOnly": true
- },
- "sourceBlob": {
- "description": "Specifies a download location where content can be downloaded from.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/Uri",
- "readOnly": true
- },
- "supportMultipleExtensions": {
- "description": "Indicates if specified product supports multiple extensions.",
- "type": "boolean",
- "readOnly": true
- },
- "version": {
- "description": "Specifies product version.",
- "type": "string",
- "readOnly": true
- },
- "vmOsType": {
- "description": "Specifies operating system used by the product.",
- "$ref": "#/definitions/OperatingSystem",
- "readOnly": true
- },
- "vmScaleSetEnabled": {
- "description": "Indicates if virtual machine Scale Set is enabled in the specified product.",
- "type": "boolean",
- "readOnly": true
- }
- }
+ "productKind": {
+ "description": "Specifies the kind of the product (virtualMachine or virtualMachineExtension).",
+ "type": "string",
+ "readOnly": true
},
- "VirtualMachineProductProperties": {
- "description": "Product information.",
- "type": "object",
- "properties": {
- "version": {
- "description": "Specifies product version.",
- "type": "string",
- "readOnly": true
- },
- "osDiskImage": {
- "description": "OS disk image used by product.",
- "$ref": "#/definitions/OsDiskImage",
- "readOnly": true
- },
- "dataDiskImages": {
- "description": "List of attached data disks.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DataDiskImage"
- },
- "readOnly": true
- }
- }
+ "properties": {
+ "description": "Specifies additional properties describing the product.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExtendedProductProperties",
+ "readOnly": true
+ }
+ }
+ },
+ "ExtendedProductProperties": {
+ "description": "Product information.",
+ "type": "object",
+ "properties": {},
+ "allOf": [
+ {
+ "$ref": "#/definitions/VirtualMachineExtensionProductProperties"
},
- "OsDiskImage": {
- "description": "OS disk image.",
- "type": "object",
- "properties": {
- "operatingSystem": {
- "description": "OS operating system type.",
- "$ref": "#/definitions/OperatingSystem",
- "readOnly": true
- },
- "sourceBlobSasUri": {
- "description": "SAS key for source blob.",
- "type": "string",
- "readOnly": true
- }
- }
+ {
+ "$ref": "#/definitions/VirtualMachineProductProperties"
+ }
+ ]
+ },
+ "VirtualMachineExtensionProductProperties": {
+ "description": "Product information.",
+ "type": "object",
+ "properties": {
+ "computeRole": {
+ "description": "Specifies kind of compute role included in the package.",
+ "$ref": "#/definitions/ComputeRole",
+ "readOnly": true
},
- "DataDiskImage": {
- "description": "Data disk image.",
- "type": "object",
- "properties": {
- "lun": {
- "description": "The LUN.",
- "type": "integer",
- "format": "int32",
- "readOnly": true
- },
- "sourceBlobSasUri": {
- "description": "SAS key for source blob.",
- "type": "string",
- "readOnly": true
- }
- }
+ "isSystemExtension": {
+ "description": "Specifies if product is a Virtual Machine Extension.",
+ "type": "boolean",
+ "readOnly": true
},
- "Product": {
- "description": "Product information.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Properties of the product resource.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ProductNestedProperties"
- }
- },
- "allOf": [
- {
- "$ref": "AzureStack.json#/definitions/Resource"
- }
- ]
- },
- "ProductNestedProperties": {
- "description": "Properties portion of the product resource.",
- "type": "object",
- "properties": {
- "displayName": {
- "description": "The display name of the product.",
- "type": "string"
- },
- "description": {
- "description": "The description of the product.",
- "type": "string"
- },
- "publisherDisplayName": {
- "description": "The user-friendly name of the product publisher.",
- "type": "string"
- },
- "publisherIdentifier": {
- "description": "Publisher identifier.",
- "type": "string"
- },
- "offer": {
- "description": "The offer representing the product.",
- "type": "string"
- },
- "offerVersion": {
- "description": "The version of the product offer.",
- "type": "string"
- },
- "sku": {
- "description": "The product SKU.",
- "type": "string"
- },
- "billingPartNumber": {
- "description": "The part number used for billing purposes.",
- "type": "string"
- },
- "vmExtensionType": {
- "description": "The type of the Virtual Machine Extension.",
- "type": "string"
- },
- "galleryItemIdentity": {
- "description": "The identifier of the gallery item corresponding to the product.",
- "type": "string"
- },
- "iconUris": {
- "description": "Additional links available for this product.",
- "$ref": "#/definitions/IconUris"
- },
- "links": {
- "description": "Additional links available for this product.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ProductLink"
- }
- },
- "legalTerms": {
- "description": "The legal terms.",
- "type": "string"
- },
- "privacyPolicy": {
- "description": "The privacy policy.",
- "type": "string"
- },
- "payloadLength": {
- "description": "The length of product content.",
- "type": "integer",
- "format" : "int64"
- },
- "productKind": {
- "description": "The kind of the product (virtualMachine or virtualMachineExtension)",
- "type": "string"
- },
- "productProperties": {
- "description": "Additional properties for the product.",
- "$ref": "#/definitions/ProductProperties"
- }
- }
+ "sourceBlob": {
+ "description": "Specifies a download location where content can be downloaded from.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/Uri",
+ "readOnly": true
},
- "IconUris": {
- "description": "Links to product icons.",
- "type": "object",
- "properties": {
- "large": {
- "description": "URI to large icon.",
- "type": "string"
- },
- "wide": {
- "description": "URI to wide icon.",
- "type": "string"
- },
- "medium": {
- "description": "URI to medium icon.",
- "type": "string"
- },
- "small": {
- "description": "URI to small icon.",
- "type": "string"
- },
- "hero": {
- "description": "URI to hero icon.",
- "type": "string"
- }
- }
+ "supportMultipleExtensions": {
+ "description": "Indicates if specified product supports multiple extensions.",
+ "type": "boolean",
+ "readOnly": true
},
- "ProductProperties": {
- "description": "Additional properties of the product",
- "type": "object",
- "properties": {
- "version": {
- "description": "The version.",
- "type": "string"
- }
- }
+ "version": {
+ "description": "Specifies product version.",
+ "type": "string",
+ "readOnly": true
},
- "ProductLink": {
- "description": "Link with additional information about a product.",
- "type": "object",
- "properties": {
- "displayName": {
- "description": "The description of the link.",
- "type": "string"
- },
- "uri": {
- "description": "The URI corresponding to the link.",
- "type": "string"
- }
- }
+ "vmOsType": {
+ "description": "Specifies operating system used by the product.",
+ "$ref": "#/definitions/OperatingSystem",
+ "readOnly": true
},
- "ProductList": {
- "description": "Pageable list of products.",
- "type": "object",
- "properties": {
- "nextLink": {
- "description": "URI to the next page.",
- "type": "string"
- },
- "value": {
- "description": "List of products.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Product"
- }
- }
- }
+ "vmScaleSetEnabled": {
+ "description": "Indicates if virtual machine Scale Set is enabled in the specified product.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "VirtualMachineProductProperties": {
+ "description": "Product information.",
+ "type": "object",
+ "properties": {
+ "version": {
+ "description": "Specifies product version.",
+ "type": "string",
+ "readOnly": true
+ },
+ "osDiskImage": {
+ "description": "OS disk image used by product.",
+ "$ref": "#/definitions/OsDiskImage",
+ "readOnly": true
+ },
+ "dataDiskImages": {
+ "description": "List of attached data disks.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataDiskImage"
+ },
+ "readOnly": true
}
+ }
},
- "parameters": {
- "ProductNameParameter": {
- "description": "Name of the product.",
- "name": "productName",
- "type": "string",
- "in": "path",
- "required": true,
- "x-ms-parameter-location": "method"
+ "OsDiskImage": {
+ "description": "OS disk image.",
+ "type": "object",
+ "properties": {
+ "operatingSystem": {
+ "description": "OS operating system type.",
+ "$ref": "#/definitions/OperatingSystem",
+ "readOnly": true
+ },
+ "sourceBlobSasUri": {
+ "description": "SAS key for source blob.",
+ "type": "string",
+ "readOnly": true
}
+ }
},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "DataDiskImage": {
+ "description": "Data disk image.",
+ "type": "object",
+ "properties": {
+ "lun": {
+ "description": "The LUN.",
+ "type": "integer",
+ "format": "int32",
+ "readOnly": true
+ },
+ "sourceBlobSasUri": {
+ "description": "SAS key for source blob.",
+ "type": "string",
+ "readOnly": true
}
+ }
},
- "security": [
+ "Product": {
+ "description": "Product information.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Properties of the product resource.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ProductNestedProperties"
+ }
+ },
+ "allOf": [
{
- "azure_auth": [
- "user_impersonation"
- ]
+ "$ref": "AzureStack.json#/definitions/Resource"
+ }
+ ]
+ },
+ "ProductNestedProperties": {
+ "description": "Properties portion of the product resource.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "The display name of the product.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of the product.",
+ "type": "string"
+ },
+ "publisherDisplayName": {
+ "description": "The user-friendly name of the product publisher.",
+ "type": "string"
+ },
+ "publisherIdentifier": {
+ "description": "Publisher identifier.",
+ "type": "string"
+ },
+ "offer": {
+ "description": "The offer representing the product.",
+ "type": "string"
+ },
+ "offerVersion": {
+ "description": "The version of the product offer.",
+ "type": "string"
+ },
+ "sku": {
+ "description": "The product SKU.",
+ "type": "string"
+ },
+ "billingPartNumber": {
+ "description": "The part number used for billing purposes.",
+ "type": "string"
+ },
+ "vmExtensionType": {
+ "description": "The type of the Virtual Machine Extension.",
+ "type": "string"
+ },
+ "galleryItemIdentity": {
+ "description": "The identifier of the gallery item corresponding to the product.",
+ "type": "string"
+ },
+ "iconUris": {
+ "description": "Additional links available for this product.",
+ "$ref": "#/definitions/IconUris"
+ },
+ "links": {
+ "description": "Additional links available for this product.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProductLink"
+ }
+ },
+ "legalTerms": {
+ "description": "The legal terms.",
+ "type": "string"
+ },
+ "privacyPolicy": {
+ "description": "The privacy policy.",
+ "type": "string"
+ },
+ "payloadLength": {
+ "description": "The length of product content.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "productKind": {
+ "description": "The kind of the product (virtualMachine or virtualMachineExtension)",
+ "type": "string"
+ },
+ "productProperties": {
+ "description": "Additional properties for the product.",
+ "$ref": "#/definitions/ProductProperties"
+ }
+ }
+ },
+ "IconUris": {
+ "description": "Links to product icons.",
+ "type": "object",
+ "properties": {
+ "large": {
+ "description": "URI to large icon.",
+ "type": "string"
+ },
+ "wide": {
+ "description": "URI to wide icon.",
+ "type": "string"
+ },
+ "medium": {
+ "description": "URI to medium icon.",
+ "type": "string"
+ },
+ "small": {
+ "description": "URI to small icon.",
+ "type": "string"
+ },
+ "hero": {
+ "description": "URI to hero icon.",
+ "type": "string"
+ }
+ }
+ },
+ "ProductProperties": {
+ "description": "Additional properties of the product",
+ "type": "object",
+ "properties": {
+ "version": {
+ "description": "The version.",
+ "type": "string"
+ }
+ }
+ },
+ "ProductLink": {
+ "description": "Link with additional information about a product.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "The description of the link.",
+ "type": "string"
+ },
+ "uri": {
+ "description": "The URI corresponding to the link.",
+ "type": "string"
+ }
+ }
+ },
+ "ProductList": {
+ "description": "Pageable list of products.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "URI to the next page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of products.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Product"
+ }
}
- ]
-}
\ No newline at end of file
+ }
+ }
+ },
+ "parameters": {
+ "ProductNameParameter": {
+ "description": "Name of the product.",
+ "name": "productName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json
index 9bc002b73f30..62f2bd69c0b0 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/Registration.json
@@ -1,398 +1,397 @@
{
- "swagger": "2.0",
- "info": {
- "version": "2017-06-01",
- "title": "Azure Stack Azure Bridge Client"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations": {
- "get": {
- "x-ms-examples": {
- "Returns a list of all registrations.": {
- "$ref": "examples/Registration/List.json"
- }
- },
- "tags": [
- "Registrations"
- ],
- "description": "Returns a list of all registrations.",
- "operationId": "Registrations_List",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RegistrationList"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "AzureStack.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
+ "swagger": "2.0",
+ "info": {
+ "version": "2017-06-01",
+ "title": "Azure Stack Azure Bridge Client"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations": {
+ "get": {
+ "x-ms-examples": {
+ "Returns a list of all registrations.": {
+ "$ref": "examples/Registration/List.json"
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}": {
- "get": {
- "x-ms-examples": {
- "Returns the properties of an Azure Stack registration.": {
- "$ref": "examples/Registration/Get.json"
- }
- },
- "tags": [
- "Registrations"
- ],
- "description": "Returns the properties of an Azure Stack registration.",
- "operationId": "Registrations_Get",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Registration"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "AzureStack.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "x-ms-examples": {
- "Delete the requested Azure Stack registration.": {
- "$ref": "./examples/Registration/Delete.json"
- }
- },
- "tags": [
- "Registrations"
- ],
- "description": "Delete the requested Azure Stack registration.",
- "operationId": "Registrations_Delete",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "NO CONTENT"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "AzureStack.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "x-ms-examples": {
- "Create or update an Azure Stack registration.": {
- "$ref": "examples/Registration/Put.json"
- }
- },
- "tags": [
- "Registrations"
- ],
- "description": "Create or update an Azure Stack registration.",
- "operationId": "Registrations_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/NewRegistrationParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Registration"
- }
- },
- "201": {
- "description": "CREATED",
- "schema": {
- "$ref": "#/definitions/Registration"
- }
- }
- }
- },
- "patch": {
- "x-ms-examples": {
- "Patch an Azure Stack registration.": {
- "$ref": "examples/Registration/Patch.json"
- }
- },
- "tags": [
- "Registrations"
- ],
- "description": "Patch an Azure Stack registration.",
- "operationId": "Registrations_Update",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/NewRegistrationParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Registration"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "AzureStack.json#/definitions/ErrorResponse"
- }
- }
- }
+ "tags": [
+ "Registrations"
+ ],
+ "description": "Returns a list of all registrations.",
+ "operationId": "Registrations_List",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RegistrationList"
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey": {
- "post": {
- "x-ms-examples": {
- "Returns Azure Stack Activation Key.": {
- "$ref": "./examples/Registration/Post.json"
- }
- },
- "tags": [
- "Registrations"
- ],
- "description": "Returns Azure Stack Activation Key.",
- "operationId": "Registrations_GetActivationKey",
- "parameters": [
- {
- "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
- },
- {
- "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ActivationKeyResult"
- }
- }
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
}
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
+ }
},
- "definitions": {
- "Registration": {
- "description": "Registration information.",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Registration resource.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/RegistrationProperties"
- }
- },
- "allOf": [
- {
- "$ref": "AzureStack.json#/definitions/TrackedResource"
- }
- ]
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}": {
+ "get": {
+ "x-ms-examples": {
+ "Returns the properties of an Azure Stack registration.": {
+ "$ref": "examples/Registration/Get.json"
+ }
},
- "RegistrationProperties": {
- "description": "Properties portion of the registration resource.",
- "type": "object",
- "properties": {
- "objectId": {
- "description": "The object identifier associated with the Azure Stack connecting to Azure.",
- "type": "string"
- },
- "cloudId": {
- "description": "The identifier of the registered Azure Stack.",
- "type": "string"
- },
- "billingModel": {
- "description": "Specifies the billing mode for the Azure Stack registration.",
- "type": "string"
- }
+ "tags": [
+ "Registrations"
+ ],
+ "description": "Returns the properties of an Azure Stack registration.",
+ "operationId": "Registrations_Get",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Registration"
}
- },
- "RegistrationList": {
- "description": "Pageable list of registrations.",
- "type": "object",
- "properties": {
- "nextLink": {
- "description": "URI to the next page.",
- "type": "string"
- },
- "value": {
- "description": "List of Registrations",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Registration"
- }
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
}
+ }
+ }
+ },
+ "delete": {
+ "x-ms-examples": {
+ "Delete the requested Azure Stack registration.": {
+ "$ref": "./examples/Registration/Delete.json"
+ }
},
- "ActivationKeyResult": {
- "description": "The resource containing the Azure Stack activation key.",
- "type": "object",
- "properties": {
- "activationKey": {
- "description": "Azure Stack activation key.",
- "type": "string"
- }
+ "tags": [
+ "Registrations"
+ ],
+ "description": "Delete the requested Azure Stack registration.",
+ "operationId": "Registrations_Delete",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NO CONTENT"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
}
+ }
+ }
+ },
+ "put": {
+ "x-ms-examples": {
+ "Create or update an Azure Stack registration.": {
+ "$ref": "examples/Registration/Put.json"
+ }
},
- "RegistrationParameter": {
- "description": "Registration resource",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Properties of the Azure Stack registration resource",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/RegistrationParameterProperties"
-
- },
- "location": {
- "description": "Location of the resource.",
- "type": "string",
- "enum": [
- "global"
- ],
- "x-ms-enum": {
- "name": "Location",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- }
+ "tags": [
+ "Registrations"
+ ],
+ "description": "Create or update an Azure Stack registration.",
+ "operationId": "Registrations_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/NewRegistrationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Registration"
+ }
+ },
+ "201": {
+ "description": "CREATED",
+ "schema": {
+ "$ref": "#/definitions/Registration"
}
+ }
+ }
+ },
+ "patch": {
+ "x-ms-examples": {
+ "Patch an Azure Stack registration.": {
+ "$ref": "examples/Registration/Patch.json"
+ }
},
- "RegistrationParameterProperties": {
- "description": "Properties of the Azure Stack registration resource",
- "type": "object",
- "properties": {
- "registrationToken": {
- "description": "The token identifying registered Azure Stack",
- "type": "string"
- }
- },
- "required": [
- "registrationToken"
- ]
+ "tags": [
+ "Registrations"
+ ],
+ "description": "Patch an Azure Stack registration.",
+ "operationId": "Registrations_Update",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/NewRegistrationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Registration"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "AzureStack.json#/definitions/ErrorResponse"
+ }
+ }
}
+ }
},
- "parameters": {
- "NewRegistrationParameter": {
- "description": "Registration token",
- "name": "token",
- "in": "body",
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.AzureStack/registrations/{registrationName}/getactivationkey": {
+ "post": {
+ "x-ms-examples": {
+ "Returns Azure Stack Activation Key.": {
+ "$ref": "./examples/Registration/Post.json"
+ }
+ },
+ "tags": [
+ "Registrations"
+ ],
+ "description": "Returns Azure Stack Activation Key.",
+ "operationId": "Registrations_GetActivationKey",
+ "parameters": [
+ {
+ "$ref": "AzureStack.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/RegistrationNameParameter"
+ },
+ {
+ "$ref": "AzureStack.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/RegistrationParameter"
- },
- "required": true,
- "x-ms-parameter-location": "method"
+ "$ref": "#/definitions/ActivationKeyResult"
+ }
+ }
}
+ }
+ }
+ },
+ "definitions": {
+ "Registration": {
+ "description": "Registration information.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Registration resource.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RegistrationProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "AzureStack.json#/definitions/TrackedResource"
+ }
+ ]
},
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "RegistrationProperties": {
+ "description": "Properties portion of the registration resource.",
+ "type": "object",
+ "properties": {
+ "objectId": {
+ "description": "The object identifier associated with the Azure Stack connecting to Azure.",
+ "type": "string"
+ },
+ "cloudId": {
+ "description": "The identifier of the registered Azure Stack.",
+ "type": "string"
+ },
+ "billingModel": {
+ "description": "Specifies the billing mode for the Azure Stack registration.",
+ "type": "string"
}
+ }
},
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "RegistrationList": {
+ "description": "Pageable list of registrations.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "URI to the next page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "List of Registrations",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Registration"
+ }
+ }
+ }
+ },
+ "ActivationKeyResult": {
+ "description": "The resource containing the Azure Stack activation key.",
+ "type": "object",
+ "properties": {
+ "activationKey": {
+ "description": "Azure Stack activation key.",
+ "type": "string"
+ }
+ }
+ },
+ "RegistrationParameter": {
+ "description": "Registration resource",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Properties of the Azure Stack registration resource",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RegistrationParameterProperties"
+ },
+ "location": {
+ "description": "Location of the resource.",
+ "type": "string",
+ "enum": [
+ "global"
+ ],
+ "x-ms-enum": {
+ "name": "Location",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ }
+ }
+ },
+ "RegistrationParameterProperties": {
+ "description": "Properties of the Azure Stack registration resource",
+ "type": "object",
+ "properties": {
+ "registrationToken": {
+ "description": "The token identifying registered Azure Stack",
+ "type": "string"
}
- ]
-}
\ No newline at end of file
+ },
+ "required": [
+ "registrationToken"
+ ]
+ }
+ },
+ "parameters": {
+ "NewRegistrationParameter": {
+ "description": "Registration token",
+ "name": "token",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/RegistrationParameter"
+ },
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Authorization uses an Azure Active Directory OAuth2 flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Delete.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Delete.json
index 79908cb9e4f3..4fdb9036a7d9 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Delete.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Delete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Get.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Get.json
index f50f4fae4229..8c6636689204 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Get.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Get.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/customerSubscriptions/E09A4E93-29A7-4EBA-A6D4-76202383F07F",
- "name": "testregistration/E09A4E93-29A7-4EBA-A6D4-76202383F07F",
- "type": "Microsoft.AzureStack/registrations/customerSubscriptions",
- "properties": {
- "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2"
- }
- }
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/customerSubscriptions/E09A4E93-29A7-4EBA-A6D4-76202383F07F",
+ "name": "testregistration/E09A4E93-29A7-4EBA-A6D4-76202383F07F",
+ "type": "Microsoft.AzureStack/registrations/customerSubscriptions",
+ "properties": {
+ "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/List.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/List.json
index 752696db7a15..91022fca06cb 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/List.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/List.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/customerSubscriptions/E09A4E93-29A7-4EBA-A6D4-76202383F07F",
- "name": "testregistration/E09A4E93-29A7-4EBA-A6D4-76202383F07F",
- "type": "Microsoft.AzureStack/registrations/customerSubscriptions",
- "properties": {
- "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2"
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/customerSubscriptions/E09A4E93-29A7-4EBA-A6D4-76202383F07F",
+ "name": "testregistration/E09A4E93-29A7-4EBA-A6D4-76202383F07F",
+ "type": "Microsoft.AzureStack/registrations/customerSubscriptions",
+ "properties": {
+ "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2"
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Put.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Put.json
index 055faa646f75..b9ec9e6c4dfc 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Put.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/CustomerSubscription/Put.json
@@ -1,26 +1,26 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F",
- "api-version": "2017-06-01",
- "customerCreationParameters": {
- "properties": {
- "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "",
- "name": "",
- "type": "",
- "properties": {
- "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2"
- }
- }
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "customerSubscriptionName": "E09A4E93-29A7-4EBA-A6D4-76202383F07F",
+ "api-version": "2017-06-01",
+ "customerCreationParameters": {
+ "properties": {
+ "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "",
+ "name": "",
+ "type": "",
+ "properties": {
+ "tenantId": "dbab3982-796f-4d03-9908-044c08aef8a2"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Operation/List.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Operation/List.json
index 48e2fb12edcd..11a9af187566 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Operation/List.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Operation/List.json
@@ -1,122 +1,122 @@
{
- "parameters": {
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "Microsoft.AzureStack/registrations/read",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Registration",
- "operation": "Get Azure Stack Registration",
- "description": "Gets the properties of an Azure Stack registration"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/registrations/write",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Registration",
- "operation": "Create Azure Stack Registration",
- "description": "Creates or updates an Azure Stack registration"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/registrations/delete",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Registration",
- "operation": "Delete Azure Stack Registration",
- "description": "Deletes an Azure Stack registration"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/registrations/getActivationKey/action",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Registration",
- "operation": "Get Azure Stack Activation Key",
- "description": "Gets the latest Azure Stack activation key"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/register/action",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "operation": "Register Subscription for Azure Stack",
- "description": "Registers Subscription with Microsoft.AzureStack resource provider"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/registrations/products/read",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Marketplace Product",
- "operation": "Get Azure Stack Marketplace Product",
- "description": "Gets the properties of an Azure Stack Marketplace product"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/registrations/products/listDetails/action",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Marketplace Product",
- "operation": "Get Azure Stack Marketplace Product Details",
- "description": "Retrieves extended details for an Azure Stack Marketplace product"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/registrations/customerSubscriptions/read",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Customer Subscription",
- "operation": "Get Azure Stack Customer Subscription",
- "description": "Gets the properties of an Azure Stack Customer Subscription"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/registrations/customerSubscriptions/write",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Customer Subscription",
- "operation": "Create Azure Stack Customer Subscription",
- "description": "Creates or updates an Azure Stack Customer Subscription"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/registrations/customerSubscriptions/delete",
- "display": {
- "provider": "Azure Stack Resource Provider",
- "resource": "Azure Stack Customer Subscription",
- "operation": "Delete Azure Stack Customer Subscription",
- "description": "Deletes an Azure Stack Customer Subscription"
- },
- "origin": "user,system"
- },
- {
- "name": "Microsoft.AzureStack/Operations/read",
- "display": {
- "provider": "Name of the Resource Provider.",
- "resource": "Resource Type Display Name.",
- "operation": "Read Resource Provider Operations",
- "description": "The localized friendly description for the operation, as it should be shown to the user."
- },
- "origin": "user,system"
- }
- ]
- }
- }
+ "parameters": {
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.AzureStack/registrations/read",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Registration",
+ "operation": "Get Azure Stack Registration",
+ "description": "Gets the properties of an Azure Stack registration"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/registrations/write",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Registration",
+ "operation": "Create Azure Stack Registration",
+ "description": "Creates or updates an Azure Stack registration"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/registrations/delete",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Registration",
+ "operation": "Delete Azure Stack Registration",
+ "description": "Deletes an Azure Stack registration"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/registrations/getActivationKey/action",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Registration",
+ "operation": "Get Azure Stack Activation Key",
+ "description": "Gets the latest Azure Stack activation key"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/register/action",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "operation": "Register Subscription for Azure Stack",
+ "description": "Registers Subscription with Microsoft.AzureStack resource provider"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/registrations/products/read",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Marketplace Product",
+ "operation": "Get Azure Stack Marketplace Product",
+ "description": "Gets the properties of an Azure Stack Marketplace product"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/registrations/products/listDetails/action",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Marketplace Product",
+ "operation": "Get Azure Stack Marketplace Product Details",
+ "description": "Retrieves extended details for an Azure Stack Marketplace product"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/registrations/customerSubscriptions/read",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Customer Subscription",
+ "operation": "Get Azure Stack Customer Subscription",
+ "description": "Gets the properties of an Azure Stack Customer Subscription"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/registrations/customerSubscriptions/write",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Customer Subscription",
+ "operation": "Create Azure Stack Customer Subscription",
+ "description": "Creates or updates an Azure Stack Customer Subscription"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/registrations/customerSubscriptions/delete",
+ "display": {
+ "provider": "Azure Stack Resource Provider",
+ "resource": "Azure Stack Customer Subscription",
+ "operation": "Delete Azure Stack Customer Subscription",
+ "description": "Deletes an Azure Stack Customer Subscription"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.AzureStack/Operations/read",
+ "display": {
+ "provider": "Name of the Resource Provider.",
+ "resource": "Resource Type Display Name.",
+ "operation": "Read Resource Provider Operations",
+ "description": "The localized friendly description for the operation, as it should be shown to the user."
+ },
+ "origin": "user,system"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Get.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Get.json
index b09912624c25..a9f1407d8ee3 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Get.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Get.json
@@ -1,39 +1,39 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
- "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
- "type": "Microsoft.AzureStack/registrations/products",
- "properties": {
- "displayName": "VM Access For Linux Extension",
- "publisherDisplayName": "Microsoft Corp.",
- "publisherIdentifier": "Microsoft.OSTCExtensions",
- "offer": "",
- "offerVersion": "",
- "sku": "",
- "vmExtensionType": "VMAccessForLinux",
- "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7",
- "iconUris": {
- "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png",
- "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png",
- "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png",
- "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png"
- },
- "payloadLength": 46959,
- "productKind": "virtualMachineExtension",
- "productProperties": {
- "version": "1.4.7"
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "VM Access For Linux Extension",
+ "publisherDisplayName": "Microsoft Corp.",
+ "publisherIdentifier": "Microsoft.OSTCExtensions",
+ "offer": "",
+ "offerVersion": "",
+ "sku": "",
+ "vmExtensionType": "VMAccessForLinux",
+ "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7",
+ "iconUris": {
+ "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png"
+ },
+ "payloadLength": 46959,
+ "productKind": "virtualMachineExtension",
+ "productProperties": {
+ "version": "1.4.7"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/List.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/List.json
index 6d325ea897a3..a1c045ae8421 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/List.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/List.json
@@ -1,146 +1,146 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
- "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
- "type": "Microsoft.AzureStack/registrations/products",
- "properties": {
- "displayName": "VM Access For Linux Extension",
- "publisherDisplayName": "Microsoft Corp.",
- "publisherIdentifier": "Microsoft.OSTCExtensions",
- "offer": "",
- "offerVersion": "",
- "sku": "",
- "vmExtensionType": "VMAccessForLinux",
- "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7",
- "iconUris": {
- "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png",
- "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png",
- "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png",
- "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png"
- },
- "payloadLength": 46959,
- "productKind": "virtualMachineExtension",
- "productProperties": {
- "version": "1.4.7"
- }
- }
- },
- {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepoint",
- "name": "testregistration/dummysharepoint",
- "type": "Microsoft.AzureStack/registrations/products",
- "properties": {
- "displayName": "Display name for dummy SharePoint",
- "publisherDisplayName": "Publisher display name for dummy SharePoint",
- "publisherIdentifier": "Katal",
- "offer": "Dummy offer",
- "offerVersion": "FakeProduct: offer version",
- "sku": "Dummy sku",
- "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
- "iconUris": {
- "hero": "https://extensions.azureedge.net/dummysharepoint/icons/Hero.png",
- "large": "https://extensions.azureedge.net/dummysharepoint/icons/Large.png",
- "wide": "https://extensions.azureedge.net/dummysharepoint/icons/Wide.png",
- "medium": "https://extensions.azureedge.net/dummysharepoint/icons/Medium.png",
- "small": "https://extensions.azureedge.net/dummysharepoint/icons/Small.png"
- },
- "payloadLength": 4682158,
- "productKind": "virtualMachine",
- "productProperties": {
- "version": "1.0.1"
- }
- }
- },
- {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepointTest526",
- "name": "testregistration/dummysharepointTest526",
- "type": "Microsoft.AzureStack/registrations/products",
- "properties": {
- "displayName": "Display name for dummy SharePoint",
- "publisherDisplayName": "Publisher display name for dummy SharePoint",
- "publisherIdentifier": "Katal",
- "offer": "Dummy offer",
- "offerVersion": "FakeProduct: offer version",
- "sku": "Dummy sku",
- "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
- "iconUris": {
- "hero": "https://extensions.azureedge.net/dummysharepointTest526/icons/Hero.png",
- "large": "https://extensions.azureedge.net/dummysharepointTest526/icons/Large.png",
- "wide": "https://extensions.azureedge.net/dummysharepointTest526/icons/Wide.png",
- "medium": "https://extensions.azureedge.net/dummysharepointTest526/icons/Medium.png",
- "small": "https://extensions.azureedge.net/dummysharepointTest526/icons/Small.png"
- },
- "payloadLength": 4682158,
- "productKind": "virtualMachine",
- "productProperties": {
- "version": "2.0.2"
- }
- }
- },
- {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d",
- "name": "testregistration/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d",
- "type": "Microsoft.AzureStack/registrations/products",
- "properties": {
- "displayName": "Display name for dummy SharePoint",
- "publisherDisplayName": "Publisher display name for dummy SharePoint",
- "publisherIdentifier": "Katal",
- "offer": "Dummy offer",
- "offerVersion": "FakeProduct: offer version",
- "sku": "Dummy sku",
- "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
- "iconUris": {
- "hero": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Hero.png",
- "large": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Large.png",
- "wide": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Wide.png",
- "medium": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Medium.png",
- "small": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Small.png"
- },
- "payloadLength": 4682158,
- "productKind": "virtualMachine",
- "productProperties": {
- "version": "1.0.1"
- }
- }
- },
- {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/wordpress4-4",
- "name": "testregistration/wordpress4-4",
- "type": "Microsoft.AzureStack/registrations/products",
- "properties": {
- "displayName": "WordPress",
- "publisherDisplayName": "WordPress",
- "publisherIdentifier": "bitnami",
- "offer": "wordpress",
- "offerVersion": "1.0.8",
- "sku": "4-4",
- "galleryItemIdentity": "bitnami.wordpress4-4.1.0.8",
- "iconUris": {
- "hero": "https://extensions.azureedge.net/wordpress4-4/icons/Hero.png",
- "large": "https://extensions.azureedge.net/wordpress4-4/icons/Large.png",
- "wide": "https://extensions.azureedge.net/wordpress4-4/icons/Wide.png",
- "medium": "https://extensions.azureedge.net/wordpress4-4/icons/Medium.png",
- "small": "https://extensions.azureedge.net/wordpress4-4/icons/Small.png"
- },
- "payloadLength": 32212604365,
- "productKind": "virtualMachine",
- "productProperties": {
- "version": "4.5.31"
- }
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "name": "testregistration/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "VM Access For Linux Extension",
+ "publisherDisplayName": "Microsoft Corp.",
+ "publisherIdentifier": "Microsoft.OSTCExtensions",
+ "offer": "",
+ "offerVersion": "",
+ "sku": "",
+ "vmExtensionType": "VMAccessForLinux",
+ "galleryItemIdentity": "Microsoft.VMAccessForLinux.1.4.7",
+ "iconUris": {
+ "large": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/icons/Small.png"
+ },
+ "payloadLength": 46959,
+ "productKind": "virtualMachineExtension",
+ "productProperties": {
+ "version": "1.4.7"
+ }
}
- }
+ },
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepoint",
+ "name": "testregistration/dummysharepoint",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "Display name for dummy SharePoint",
+ "publisherDisplayName": "Publisher display name for dummy SharePoint",
+ "publisherIdentifier": "Katal",
+ "offer": "Dummy offer",
+ "offerVersion": "FakeProduct: offer version",
+ "sku": "Dummy sku",
+ "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
+ "iconUris": {
+ "hero": "https://extensions.azureedge.net/dummysharepoint/icons/Hero.png",
+ "large": "https://extensions.azureedge.net/dummysharepoint/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/dummysharepoint/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/dummysharepoint/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/dummysharepoint/icons/Small.png"
+ },
+ "payloadLength": 4682158,
+ "productKind": "virtualMachine",
+ "productProperties": {
+ "version": "1.0.1"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/dummysharepointTest526",
+ "name": "testregistration/dummysharepointTest526",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "Display name for dummy SharePoint",
+ "publisherDisplayName": "Publisher display name for dummy SharePoint",
+ "publisherIdentifier": "Katal",
+ "offer": "Dummy offer",
+ "offerVersion": "FakeProduct: offer version",
+ "sku": "Dummy sku",
+ "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
+ "iconUris": {
+ "hero": "https://extensions.azureedge.net/dummysharepointTest526/icons/Hero.png",
+ "large": "https://extensions.azureedge.net/dummysharepointTest526/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/dummysharepointTest526/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/dummysharepointTest526/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/dummysharepointTest526/icons/Small.png"
+ },
+ "payloadLength": 4682158,
+ "productKind": "virtualMachine",
+ "productProperties": {
+ "version": "2.0.2"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d",
+ "name": "testregistration/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "Display name for dummy SharePoint",
+ "publisherDisplayName": "Publisher display name for dummy SharePoint",
+ "publisherIdentifier": "Katal",
+ "offer": "Dummy offer",
+ "offerVersion": "FakeProduct: offer version",
+ "sku": "Dummy sku",
+ "galleryItemIdentity": "Microsoft.SharePointServer2013Trial-ARM.1.0.3",
+ "iconUris": {
+ "hero": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Hero.png",
+ "large": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/test.product.976fe55e-6921-47bb-b8ba-718bba70c72d/icons/Small.png"
+ },
+ "payloadLength": 4682158,
+ "productKind": "virtualMachine",
+ "productProperties": {
+ "version": "1.0.1"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration/products/wordpress4-4",
+ "name": "testregistration/wordpress4-4",
+ "type": "Microsoft.AzureStack/registrations/products",
+ "properties": {
+ "displayName": "WordPress",
+ "publisherDisplayName": "WordPress",
+ "publisherIdentifier": "bitnami",
+ "offer": "wordpress",
+ "offerVersion": "1.0.8",
+ "sku": "4-4",
+ "galleryItemIdentity": "bitnami.wordpress4-4.1.0.8",
+ "iconUris": {
+ "hero": "https://extensions.azureedge.net/wordpress4-4/icons/Hero.png",
+ "large": "https://extensions.azureedge.net/wordpress4-4/icons/Large.png",
+ "wide": "https://extensions.azureedge.net/wordpress4-4/icons/Wide.png",
+ "medium": "https://extensions.azureedge.net/wordpress4-4/icons/Medium.png",
+ "small": "https://extensions.azureedge.net/wordpress4-4/icons/Small.png"
+ },
+ "payloadLength": 32212604365,
+ "productKind": "virtualMachine",
+ "productProperties": {
+ "version": "4.5.31"
+ }
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Post.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Post.json
index 7f60582dbaf8..efd223b6ac7c 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Post.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Product/Post.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "galleryPackageBlobSasUri": "https://azstrptestwcu001.blob.core.windows.net/packages/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/gallery/package.azpkg?sv=2015-04-05&sr=b&sig=mnzKeDrSMWoDilUrfrETb7n%2BG0Shme6f3AYzl3uzkYA%3D&se=2018-02-13T10%3A46%3A24Z&sp=r",
- "productKind": "virtualMachineExtension",
- "properties": {
- "version": "1.4.7",
- "vmOsType": "Linux",
- "sourceBlob": {
- "uri": "https://azstrptestwcu001.blob.core.windows.net/packages/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/extension/vmext.zip?sv=2015-04-05&sr=b&sig=XtLzuO2rlqxyZOzfoTEDZW4DU9OxBZVCOw%2FVgY2%2FiUo%3D&se=2018-02-13T10%3A46%3A24Z&sp=r"
- },
- "computeRole": "IaaS",
- "vmScaleSetEnabled": false,
- "supportMultipleExtensions": false,
- "isSystemExtension": false
- }
- }
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "productName": "Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "galleryPackageBlobSasUri": "https://azstrptestwcu001.blob.core.windows.net/packages/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/gallery/package.azpkg?sv=2015-04-05&sr=b&sig=mnzKeDrSMWoDilUrfrETb7n%2BG0Shme6f3AYzl3uzkYA%3D&se=2018-02-13T10%3A46%3A24Z&sp=r",
+ "productKind": "virtualMachineExtension",
+ "properties": {
+ "version": "1.4.7",
+ "vmOsType": "Linux",
+ "sourceBlob": {
+ "uri": "https://azstrptestwcu001.blob.core.windows.net/packages/Microsoft.OSTCExtensions.VMAccessForLinux.1.4.7.1/extension/vmext.zip?sv=2015-04-05&sr=b&sig=XtLzuO2rlqxyZOzfoTEDZW4DU9OxBZVCOw%2FVgY2%2FiUo%3D&se=2018-02-13T10%3A46%3A24Z&sp=r"
+ },
+ "computeRole": "IaaS",
+ "vmScaleSetEnabled": false,
+ "supportMultipleExtensions": false,
+ "isSystemExtension": false
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Delete.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Delete.json
index 17b9803450dd..1afaafd4fb72 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Delete.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Delete.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Get.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Get.json
index b87c2131b017..1ee0db4940f4 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Get.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Get.json
@@ -1,23 +1,23 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
- "name": "azurestack",
- "type": "Microsoft.AzureStack/registrations",
- "location": "global",
- "etag": "0d00527e-0000-0000-0000-5a81ebdf0000",
- "properties": {
- "objectId": "9e9704ab-561a-4498-ac60-64b2314456ee",
- "billingModel": "Development"
- }
- }
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
+ "name": "azurestack",
+ "type": "Microsoft.AzureStack/registrations",
+ "location": "global",
+ "etag": "0d00527e-0000-0000-0000-5a81ebdf0000",
+ "properties": {
+ "objectId": "9e9704ab-561a-4498-ac60-64b2314456ee",
+ "billingModel": "Development"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/List.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/List.json
index cdf12f3724f4..663f74341e68 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/List.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/List.json
@@ -1,26 +1,26 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
- "name": "testregistration",
- "type": "Microsoft.AzureStack/registrations",
- "location": "global",
- "etag": "0d00527e-0000-0000-0000-5a81ebdf0000",
- "properties": {
- "objectId": "9e9704ab-561a-4498-ac60-64b2314456ee",
- "billingModel": "Development"
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
+ "name": "testregistration",
+ "type": "Microsoft.AzureStack/registrations",
+ "location": "global",
+ "etag": "0d00527e-0000-0000-0000-5a81ebdf0000",
+ "properties": {
+ "objectId": "9e9704ab-561a-4498-ac60-64b2314456ee",
+ "billingModel": "Development"
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Patch.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Patch.json
index 9a33f833a4d1..1025ed848676 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Patch.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Patch.json
@@ -1,31 +1,33 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "api-version": "2017-06-01",
- "token": {
- "properties": {
- "registrationToken": "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9"
- },
- "location": "global"
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
- "name": "testregistration",
- "type": "Microsoft.AzureStack/registrations",
- "location": "global",
- "tags": { "key1" : "value1" },
- "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"",
- "properties": {
- "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747",
- "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a",
- "billingModel": "Development"
- }
- }
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "api-version": "2017-06-01",
+ "token": {
+ "properties": {
+ "registrationToken": "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9"
+ },
+ "location": "global"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
+ "name": "testregistration",
+ "type": "Microsoft.AzureStack/registrations",
+ "location": "global",
+ "tags": {
+ "key1": "value1"
+ },
+ "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"",
+ "properties": {
+ "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747",
+ "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a",
+ "billingModel": "Development"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Post.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Post.json
index be48955bf8b9..7c3ad851f9b6 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Post.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Post.json
@@ -1,15 +1,15 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "api-version": "2017-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "activationKey": "EYJRawQioiIzyzkYoDA2zJRJotc0Odg1oDHLM2zIYJfJmTzkYmQ2yYISiCjHbgCIoIjsuZi1niJ9.EyjZDWjzy3JPchrpB25JzcI6iJKWmdfmMZZLltqXzguTngVKYi05oTEZLTc4MGZhnWQWnMiZnIIsiNJLC291CMNLR3JVdXBOyw1LijoiDgVzDciSinjLZ2lZdHJHDGLvbK5hBwuIoijheNN0zxN0czU2mTyilCJjzXJ0UglUbmLuz1JvB3RtDWjqZWn0CyI6WYJDtj1cywx0Aw1vCMugq3liZXJucNvZDCBSB290LCbpVT1dEWJlCLrYdXn0LCbPpuJhBHRPBw9yzSwGqz1JrsJdlcJJZXJ0UglUBMlUZ0ludGvYBwvKawf0zvroDw1iChJPbnRziJpbiJQxN0uYmjUWmZDgQKZBqtrgOTU3NjFeNUfFnzi5RTfBRue3rTNBndiIlCi1neq5rdIWmJM5MdGwqzMYmzE2RuQ5RKY5oDbbnDg5ODHgNeFERjjEiIwiOEEzodc1nuqWotK2ODizRKU4RKezMtE2QtI3N0nfnDQ2rUfdnEu5osisiKFeodk4Qum3M0RgMZMZRUi2mEfDMUy1rKm2QZRcmjiXoUrEQjc5qJCILCI5n0vgrJMWmjg2NZC4oTrcREq0RjLbQzUzrjC4ouJfrTvErJrBrdg2IIWIOTq4rTe2ntI1odYyNdbEndUZMJG3Qui2OuNBrUi4RjJgNEyWmJExnYjdLCJ1c2FnzuVuZhbVaW50IjoIAhr0Chm6Ly9HEnn0DxnndgvzDHdJDtaWMs50cMFMzmLjbwFUywdlCI5UZxQilcjtYxjRZXRwbgFJzUvUzhBVAw50IJoiahR0chm6Ly9tyw5hZ2vTZw50LMf6dxJllMNVBsIsiNVzywdLUMvzb3VyY2VVcmKioIJODHRWczoVl3VzYWDllM1pY3jVC29MdGF6dXJLC3rhy2sUy29tiIwIbwfya2v0cgxhy2vsZxnvdxjJzvvYaSI6imh0dHbzOI8vBWfya2V0CgXhy2uubWLjCm9zb2z0YXp1CmVZdgFjAY5JB20IlcJleHBpCMvzIjoioTk5oS0xMi0zmFQyMzo1OTo1OS45OtK5OTk5wiiSiMNsB3vKswQIoIi2otQ2NDg5ns0ZYTfHLtQ1mgeTotGyNC00yjc2mdhKoTIWM2YIlcJvYMplY3RjzcI6IjvIM2iWNMe4lTljnmmTNdG4OC05ZWiZlWU4y2Rhy2U3NdC5NSisimJPBGxPBmDnb2rlBcI6IKrLdmvsB3btZW50iiWIAGFyzHDHcmvjbMZvijPbEYJUYW1LijoISEMxDTe1YTAYmTIilcj1dwLKiJOINWM5mwu3njyTmjU5Os00oTiwLwi0oDmTNgzhoTiwM2rJYtcxIIWIbnVtq29YZxMIOJISImJpb3MioLsiM2RKMMEwmDDHmtk0nDMwNDhiZmRMyJK4MzC5NjdlY2YiXswibmljIJPBIMvlnjrlmMmXzMRjyzQ5Y2u4n2UXYZzlMZrIzmrimzBhiiwImdc2oWexn2vjzdg2ngM1YwjlnzVJmjLKZjM4mzdjzwMIXSWIy3b1iJpbIjy4Ntm5mgJJzGE0mDRiZgq5ytHhOtK5MGvLZgNkzjM0iiwiMzi3nzGzzWy3n2I4NgqzyJLhmWqYOwe0NzvKOGvLyzuixsWizglzayI6WYI5y2VmNwe3MZU5nDQ0nTc2ymu3yzdmYwnmzJmXmmflmiiSIMvmowyZmMEXZwfhodQ1ntq5ndM1zTUwmDqZMGJhmwnIIL0sIm1LBW9YesI6wyIwMMQwnznHYZC1NGE0ZmuxYTG5mwqzZDhMoWUWMgq2MSISijC3MGU4ZTQ0ODk0YZQwM2RiOTBMZWE2nWYWOwqxyjZkiL19XswidXNhz2vSZXbvCnrpBMDFbMFibGVKijPmyWxzzSwIBWfYa2V0CgXhy2VTEW5KAWNhdgLVBKvuywjszwqIOnryDwUsiMLZC3vlCii6INnvBwvvbMUILcJ2ZXJzaw9uIJOims4WIn0.NkqXrYRthQij4vCeR06SRCIkl44HIRzH8SyOH7za8cm_ObTWk4ZPls_SPYDqQXsOC-SdWUFf1-zbYLbXHSNWpIM_Z6NF2WgMceW78ynPf96sxX9o2R8zcUFf16O0IFqb4SJAlD_JZAsQrdQuC4JkA1AjLFjE4NkTVdxAumK61Ie31C91Nlkqzqyv6cjzoFaj9ybrBu_lTR9-7GR8RxPfpwgNdScRo6VbDQcne8y45PEujA0x-vugmoXjCA7ONM1Z5A2iidzzLEXpHjGHZ5qLMkaQkaN0DimgXw19GlWTFUjDY4JhfEptLdIRlOEpJGn4pmyIYktvHO2W2u5SLcIWha"
- }
- }
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "api-version": "2017-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "activationKey": "EYJRawQioiIzyzkYoDA2zJRJotc0Odg1oDHLM2zIYJfJmTzkYmQ2yYISiCjHbgCIoIjsuZi1niJ9.EyjZDWjzy3JPchrpB25JzcI6iJKWmdfmMZZLltqXzguTngVKYi05oTEZLTc4MGZhnWQWnMiZnIIsiNJLC291CMNLR3JVdXBOyw1LijoiDgVzDciSinjLZ2lZdHJHDGLvbK5hBwuIoijheNN0zxN0czU2mTyilCJjzXJ0UglUbmLuz1JvB3RtDWjqZWn0CyI6WYJDtj1cywx0Aw1vCMugq3liZXJucNvZDCBSB290LCbpVT1dEWJlCLrYdXn0LCbPpuJhBHRPBw9yzSwGqz1JrsJdlcJJZXJ0UglUBMlUZ0ludGvYBwvKawf0zvroDw1iChJPbnRziJpbiJQxN0uYmjUWmZDgQKZBqtrgOTU3NjFeNUfFnzi5RTfBRue3rTNBndiIlCi1neq5rdIWmJM5MdGwqzMYmzE2RuQ5RKY5oDbbnDg5ODHgNeFERjjEiIwiOEEzodc1nuqWotK2ODizRKU4RKezMtE2QtI3N0nfnDQ2rUfdnEu5osisiKFeodk4Qum3M0RgMZMZRUi2mEfDMUy1rKm2QZRcmjiXoUrEQjc5qJCILCI5n0vgrJMWmjg2NZC4oTrcREq0RjLbQzUzrjC4ouJfrTvErJrBrdg2IIWIOTq4rTe2ntI1odYyNdbEndUZMJG3Qui2OuNBrUi4RjJgNEyWmJExnYjdLCJ1c2FnzuVuZhbVaW50IjoIAhr0Chm6Ly9HEnn0DxnndgvzDHdJDtaWMs50cMFMzmLjbwFUywdlCI5UZxQilcjtYxjRZXRwbgFJzUvUzhBVAw50IJoiahR0chm6Ly9tyw5hZ2vTZw50LMf6dxJllMNVBsIsiNVzywdLUMvzb3VyY2VVcmKioIJODHRWczoVl3VzYWDllM1pY3jVC29MdGF6dXJLC3rhy2sUy29tiIwIbwfya2v0cgxhy2vsZxnvdxjJzvvYaSI6imh0dHbzOI8vBWfya2V0CgXhy2uubWLjCm9zb2z0YXp1CmVZdgFjAY5JB20IlcJleHBpCMvzIjoioTk5oS0xMi0zmFQyMzo1OTo1OS45OtK5OTk5wiiSiMNsB3vKswQIoIi2otQ2NDg5ns0ZYTfHLtQ1mgeTotGyNC00yjc2mdhKoTIWM2YIlcJvYMplY3RjzcI6IjvIM2iWNMe4lTljnmmTNdG4OC05ZWiZlWU4y2Rhy2U3NdC5NSisimJPBGxPBmDnb2rlBcI6IKrLdmvsB3btZW50iiWIAGFyzHDHcmvjbMZvijPbEYJUYW1LijoISEMxDTe1YTAYmTIilcj1dwLKiJOINWM5mwu3njyTmjU5Os00oTiwLwi0oDmTNgzhoTiwM2rJYtcxIIWIbnVtq29YZxMIOJISImJpb3MioLsiM2RKMMEwmDDHmtk0nDMwNDhiZmRMyJK4MzC5NjdlY2YiXswibmljIJPBIMvlnjrlmMmXzMRjyzQ5Y2u4n2UXYZzlMZrIzmrimzBhiiwImdc2oWexn2vjzdg2ngM1YwjlnzVJmjLKZjM4mzdjzwMIXSWIy3b1iJpbIjy4Ntm5mgJJzGE0mDRiZgq5ytHhOtK5MGvLZgNkzjM0iiwiMzi3nzGzzWy3n2I4NgqzyJLhmWqYOwe0NzvKOGvLyzuixsWizglzayI6WYI5y2VmNwe3MZU5nDQ0nTc2ymu3yzdmYwnmzJmXmmflmiiSIMvmowyZmMEXZwfhodQ1ntq5ndM1zTUwmDqZMGJhmwnIIL0sIm1LBW9YesI6wyIwMMQwnznHYZC1NGE0ZmuxYTG5mwqzZDhMoWUWMgq2MSISijC3MGU4ZTQ0ODk0YZQwM2RiOTBMZWE2nWYWOwqxyjZkiL19XswidXNhz2vSZXbvCnrpBMDFbMFibGVKijPmyWxzzSwIBWfYa2V0CgXhy2VTEW5KAWNhdgLVBKvuywjszwqIOnryDwUsiMLZC3vlCii6INnvBwvvbMUILcJ2ZXJzaw9uIJOims4WIn0.NkqXrYRthQij4vCeR06SRCIkl44HIRzH8SyOH7za8cm_ObTWk4ZPls_SPYDqQXsOC-SdWUFf1-zbYLbXHSNWpIM_Z6NF2WgMceW78ynPf96sxX9o2R8zcUFf16O0IFqb4SJAlD_JZAsQrdQuC4JkA1AjLFjE4NkTVdxAumK61Ie31C91Nlkqzqyv6cjzoFaj9ybrBu_lTR9-7GR8RxPfpwgNdScRo6VbDQcne8y45PEujA0x-vugmoXjCA7ONM1Z5A2iidzzLEXpHjGHZ5qLMkaQkaN0DimgXw19GlWTFUjDY4JhfEptLdIRlOEpJGn4pmyIYktvHO2W2u5SLcIWha"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Put.json b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Put.json
index 7cbb4fb631bd..8e6b649bf0f4 100644
--- a/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Put.json
+++ b/specification/azurestack/resource-manager/Microsoft.AzureStack/stable/2017-06-01/examples/Registration/Put.json
@@ -1,44 +1,44 @@
{
- "parameters": {
- "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
- "resourceGroup": "azurestack",
- "registrationName": "testregistration",
- "api-version": "2017-06-01",
- "token": {
- "properties": {
- "registrationToken": "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9"
- },
- "location": "global"
+ "parameters": {
+ "subscriptionId": "dd8597b4-8739-4467-8b10-f8679f62bfbf",
+ "resourceGroup": "azurestack",
+ "registrationName": "testregistration",
+ "api-version": "2017-06-01",
+ "token": {
+ "properties": {
+ "registrationToken": "EyjIAWXSAw5nTw9KZWWiOiJeZxZlbg9wBwvUdCiSIM9iaMVjdeLkijoinwIzyJa2Ytgtowm2yy00OdG4lTlLyJmtztHjZGfJZTC0NZK1iIWiY2XvdWRJzCi6iJy5nDy0oDk1LTNHmWeTnDUwyS05oDI0LTrINzYwoGq5mjAzziIsim1HCmtldHBsYwnLu3LuZGljYXrpB25FBmfIbgVkIJp0CNvLLCJOYXJkd2FYzuLUZM8iOlt7IM51bunvcMVZiJoYlCjcaw9ZiJPBIjNkzDJHmda3yte5ndqZMdq4YmZkZmi5oDM3OTY3ZwNMIL0SIM5PyYI6WyJLZTy0ztJJMwZKy2m0OWNLODDLMwm2zTm0ymzKyjmWySisiJA3njlHmtdlY2q4NjRjnwFIZtC1YZi5ZGyZodM3Y2vjIl0siMnwDsi6wyi2oDUZoTbiY2RhNDa0ymrKoWe4YtK5otblzWrJzGyzNCISIjmYnzC4M2vmnZdIoDRKM2i5ytfkmJlhnDc1zdhLzWm1il0sim5HBwuiOijIqzF1MTvhmDIXmIIsimrpc2SiolsioWNlZjVhnZM1otQ0nDu3NmjlN2M3zmfjzmyZMTJhZtiiLcjLZjLmmZJhmWVhytG0NTu0OTqZNWu1Mda0MZbIYtfjyijdLCj1DWlKijoinwM5Mwu3NjytMju5Os00oTIwlWi0OdmTnGzHotiWm2RjyTCxIIwiBWvTb3J5ijPbijAYZDA3M2fjNzu0YTRMZTfhodkxzDnkogY5ZtAWzdyXIiwINZcWzThLnDQ4otrJndAzZGI5MGzlYtY1ZJA5ZdfiNMQIXX1DlcJpC3n1zxiiOijZb21lB25LIIWIdmVyC2LVbiI6IJeuMcJ9"
+ },
+ "location": "global"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
+ "name": "testregistration",
+ "type": "Microsoft.AzureStack/registrations",
+ "location": "global",
+ "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"",
+ "properties": {
+ "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747",
+ "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a",
+ "billingModel": "Development"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
- "name": "testregistration",
- "type": "Microsoft.AzureStack/registrations",
- "location": "global",
- "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"",
- "properties": {
- "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747",
- "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a",
- "billingModel": "Development"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
- "name": "testregistration",
- "type": "Microsoft.AzureStack/registrations",
- "location": "global",
- "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"",
- "properties": {
- "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747",
- "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a",
- "billingModel": "Development"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/dd8597b4-8739-4467-8b10-f8679f62bfbf/resourceGroups/azurestack/providers/Microsoft.AzureStack/registrations/testregistration",
+ "name": "testregistration",
+ "type": "Microsoft.AzureStack/registrations",
+ "location": "global",
+ "etag": "\"0e00ab2b-0000-0000-0000-5a82517f0000\"",
+ "properties": {
+ "cloudId": "5bf881b2-6be7-42a1-9f47-d6fcb6737747",
+ "objectId": "2dbdd5f4-daf3-442a-be35-b71c3debee5a",
+ "billingModel": "Development"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2015-12-01.2.2/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2015-12-01.2.2/BatchService.json
index 009f63beeb0a..500f854fe1b9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2015-12-01.2.2/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2015-12-01.2.2/BatchService.json
@@ -1147,7 +1147,7 @@
"default": 30,
"description": "Sets the maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.",
"x-ms-parameter-grouping": {
- "postfix": "Options"
+ "postfix": "Options"
}
},
{
@@ -8554,7 +8554,7 @@
"description": "Gets the OData id of the resource to which the request applied.",
"type": "string"
}
- },
+ },
"description": ""
},
"default": {
@@ -9183,7 +9183,15 @@
"description": "Gets or sets the cross data center network egress in GiB from the pool during this interval."
}
},
- "required": ["poolId","startTime","endTime","vmSize","totalCoreHours","dataIngressGiB","dataEgressGiB"],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"description": "Usage metrics for a pool across an aggregation interval."
},
"PoolListPoolUsageMetricsResult": {
@@ -9220,7 +9228,11 @@
"description": "Gets or sets the aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": ["startTime","lastUpdateTime","dedicatedCoreTime"],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"description": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -9291,7 +9303,21 @@
"description": "Gets or sets the total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": ["startTime","lastUpdateTime","avgCPUPercentage","avgMemoryGiB","peakMemoryGiB","avgDiskGiB","peakDiskGiB","diskReadIOps","diskWriteIOps","diskReadGiB","diskWriteGiB","networkReadGiB","networkWriteGiB"],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"description": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -9319,7 +9345,11 @@
"description": "Gets or sets statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": ["url","startTime","lastUpdateTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"description": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -9394,7 +9424,22 @@
"description": "Gets or sets the total wait time of all the tasks in the job. The wait time for a task is defined as the elapsed time between the creation of the task creation and the start of task execution. This value is reported only in the account lifetime statistics; it is not included in individual job statistics."
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries","waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"description": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -9452,7 +9497,10 @@
"deleting",
"deletefailed"
],
- "x-ms-enum": {"name": "CertificateState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -9467,7 +9515,10 @@
"deleting",
"deletefailed"
],
- "x-ms-enum": { "name": "CertificateState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -9496,7 +9547,9 @@
"description": "Gets or sets the application package version. If not specified, the default is used."
}
},
- "required": ["applicationId"],
+ "required": [
+ "applicationId"
+ ],
"description": "A reference to an application package to be installed on compute nodes in a pool."
},
"ApplicationSummary": {
@@ -9516,7 +9569,11 @@
}
}
},
- "required": ["id", "displayName", "versions"],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"description": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -9541,14 +9598,21 @@
"cer",
"unmapped"
],
- "x-ms-enum": { "name": "CertificateFormat", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateFormat",
+ "modelAsString": false
+ }
},
"password": {
"type": "string",
"description": "Gets or sets the password to access the certificate's private key. This property is not populated by the Get Certificate operation."
}
},
- "required": ["thumbprint", "thumbprintAlgorithm", "data"],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"description": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -9589,7 +9653,10 @@
"description": "Gets or sets the content type of the file."
}
},
- "required": ["lastModified","contentLength"],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"description": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -9856,10 +9923,15 @@
"pack",
"unmapped"
],
- "x-ms-enum": { "name": "ComputeNodeFillType", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeFillType",
+ "modelAsString": false
+ }
}
},
- "required": ["nodeFillType"],
+ "required": [
+ "nodeFillType"
+ ],
"description": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -9916,7 +9988,10 @@
"localmachine",
"unmapped"
],
- "x-ms-enum": { "name": "CertificateStoreLocation", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateStoreLocation",
+ "modelAsString": false
+ }
},
"storeName": {
"type": "string",
@@ -9927,7 +10002,10 @@
"description": "Gets or sets which user accounts on the compute node should have access to the private data of the certificate. This may be any subset of the values 'starttask', 'task' and 'rdp', separated by commas. The default is all accounts, corresponding to the string 'starttask,task,rdp'."
}
},
- "required": ["thumbprint", "thumbprintAlgorithm"],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"description": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -10039,7 +10117,10 @@
"job",
"unmapped"
],
- "x-ms-enum": { "name": "PoolLifetimeOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "PoolLifetimeOption",
+ "modelAsString": false
+ }
},
"keepAlive": {
"type": "boolean",
@@ -10050,7 +10131,9 @@
"description": "Gets or sets the pool specification for the auto pool."
}
},
- "required": ["poolLifetimeOption"],
+ "required": [
+ "poolLifetimeOption"
+ ],
"description": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool, run all the tasks for the job on it, and will delete the pool once the job has completed."
},
"PoolInformation": {
@@ -10222,7 +10305,22 @@
"description": "Gets or sets the total wait time of all the tasks in jobs created under the schedule."
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries", "waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"description": "The lifetime resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -10263,7 +10361,10 @@
"terminating",
"deleting"
],
- "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobScheduleState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -10280,7 +10381,10 @@
"terminating",
"deleting"
],
- "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobScheduleState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -10339,7 +10443,11 @@
"description": "Gets or sets a list of name-value pairs associated with the schedule as metadata."
}
},
- "required": ["id", "schedule", "jobSpecification"],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"description": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -10368,7 +10476,10 @@
"servererror",
"unmapped"
],
- "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingErrorCategory",
+ "modelAsString": false
+ }
},
"code": {
"type": "string",
@@ -10386,7 +10497,9 @@
"description": "Gets or sets a list of additional error details related to the scheduling error."
}
},
- "required": ["category"],
+ "required": [
+ "category"
+ ],
"description": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -10414,7 +10527,9 @@
"description": "Gets or sets a string describing the reason the job ended."
}
},
- "required": ["startTime"],
+ "required": [
+ "startTime"
+ ],
"description": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -10461,7 +10576,10 @@
"completed",
"deleting"
],
- "x-ms-enum": { "name": "JobState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -10480,7 +10598,10 @@
"completed",
"deleting"
],
- "x-ms-enum": { "name": "JobState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -10591,7 +10712,10 @@
"description": "Gets or sets the flag that determines if this job will use tasks with dependencies."
}
},
- "required": ["id", "poolInfo"],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"description": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -10620,7 +10744,10 @@
"servererror",
"unmapped"
],
- "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingErrorCategory",
+ "modelAsString": false
+ }
},
"code": {
"type": "string",
@@ -10638,7 +10765,9 @@
"description": "Gets or sets the list of additional error details related to the scheduling error."
}
},
- "required": ["category"],
+ "required": [
+ "category"
+ ],
"description": "Information about an error when scheduling a task."
},
"JobPreparationTaskExecutionInformation": {
@@ -10660,7 +10789,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "JobPreparationTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobPreparationTaskState",
+ "modelAsString": false
+ }
},
"taskRootDirectory": {
"type": "string",
@@ -10690,7 +10822,11 @@
"description": "Gets or sets the most recent time at which a retry of the Job Preparation task started running. This property is set only if the task was retried (i.e. retryCount is nonzero)."
}
},
- "required": ["startTime","retryCount","state"],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"description": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -10712,7 +10848,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "JobReleaseTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobReleaseTaskState",
+ "modelAsString": false
+ }
},
"taskRootDirectory": {
"type": "string",
@@ -10732,7 +10871,10 @@
"description": "Gets or sets any error starting the Job Release task."
}
},
- "required": ["startTime","state"],
+ "required": [
+ "startTime",
+ "state"
+ ],
"description": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -10812,7 +10954,9 @@
"description": "Gets or sets details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": ["timestamp"],
+ "required": [
+ "timestamp"
+ ],
"description": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -10871,7 +11015,10 @@
"deleting",
"upgrading"
],
- "x-ms-enum": { "name": "PoolState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "PoolState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -10886,7 +11033,10 @@
"resizing",
"stopping"
],
- "x-ms-enum": { "name": "AllocationState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "AllocationState",
+ "modelAsString": false
+ }
},
"allocationStateTransitionTime": {
"type": "string",
@@ -11074,7 +11224,11 @@
"description": "Gets or sets a list of name-value pairs associated with the pool as metadata."
}
},
- "required": ["id", "vmSize", "osFamily"],
+ "required": [
+ "id",
+ "vmSize",
+ "osFamily"
+ ],
"description": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -11160,7 +11314,10 @@
"description": "Gets or sets the most recent time at which the task has been requeued by the Batch service as the result of a user request."
}
},
- "required": ["requeueCount","retryCount"],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"description": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -11211,7 +11368,9 @@
"description": "Gets or sets a list of files that Batch will download on all subtasks."
}
},
- "required": ["numberOfInstances"],
+ "required": [
+ "numberOfInstances"
+ ],
"description": "Information about the settings required for multi-instance task."
},
"TaskStatistics": {
@@ -11271,7 +11430,19 @@
"description": "Gets or sets the elapsed time between the creation of the task and the start of task execution."
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"description": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -11306,7 +11477,10 @@
"description": "Gets or sets the last task id in the range."
}
},
- "required": ["start", "end"]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -11345,7 +11519,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -11361,7 +11538,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -11470,7 +11650,10 @@
"description": "Gets or sets any dependencies this task has."
}
},
- "required": ["id", "commandLine"],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"description": "An Azure Batch task to add."
},
"SubtaskInformation": {
@@ -11512,7 +11695,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -11528,7 +11714,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -11594,14 +11783,19 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"executionInfo": {
"$ref": "#/definitions/TaskExecutionInformation",
"description": "Gets or sets information about the execution of the task."
}
},
- "required": ["taskState"],
+ "required": [
+ "taskState"
+ ],
"description": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -11613,7 +11807,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "StartTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "StartTaskState",
+ "modelAsString": false
+ }
},
"startTime": {
"type": "string",
@@ -11645,7 +11842,11 @@
"description": "Gets or sets the most recent time at which a retry of the task started running."
}
},
- "required": ["state","startTime","retryCount"],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"description": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -11695,7 +11896,10 @@
"leavingpool",
"offline"
],
- "x-ms-enum": { "name": "ComputeNodeState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeState",
+ "modelAsString": false
+ }
},
"schedulingState": {
"type": "string",
@@ -11704,7 +11908,10 @@
"enabled",
"disabled"
],
- "x-ms-enum": { "name": "SchedulingState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -11806,7 +12013,10 @@
"description": "Gets or sets the password of the account."
}
},
- "required": ["name", "password"],
+ "required": [
+ "name",
+ "password"
+ ],
"description": "An user account on a compute node."
},
"JobSchedulePatchParameter": {
@@ -11847,7 +12057,10 @@
"description": "Sets a list of name-value pairs associated with the job schedule as metadata. If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": ["schedule", "jobSpecification"],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"description": "Parameters for a CloudJobScheduleOperations.Update request."
},
"JobDisableParameter": {
@@ -11860,10 +12073,15 @@
"terminate",
"wait"
],
- "x-ms-enum": { "name": "DisableJobOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "DisableJobOption",
+ "modelAsString": false
+ }
}
},
- "required": ["disableTasks"],
+ "required": [
+ "disableTasks"
+ ],
"description": "Parameters for a CloudJobOperations.Disable request."
},
"JobTerminateParameter": {
@@ -11923,7 +12141,9 @@
"description": "Sets a list of name-value pairs associated with the job as metadata. If omitted, the existing job metadata is left unchanged."
}
},
- "required": ["poolInfo"],
+ "required": [
+ "poolInfo"
+ ],
"description": "Parameters for a CloudJobOperations.Update request."
},
"PoolEnableAutoScaleParameter": {
@@ -11947,7 +12167,9 @@
"description": "Sets a formula for the desired number of compute nodes in the pool."
}
},
- "required": ["autoScaleFormula"],
+ "required": [
+ "autoScaleFormula"
+ ],
"description": "Parameters for a CloudJobOperations.EvaluateAutoScale request."
},
"PoolResizeParameter": {
@@ -11971,10 +12193,15 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeDeallocationOption",
+ "modelAsString": false
+ }
}
},
- "required": ["targetDedicated"],
+ "required": [
+ "targetDedicated"
+ ],
"description": "Parameters for a CloudPoolOperations.Resize request."
},
"PoolUpdatePropertiesParameter": {
@@ -12005,7 +12232,11 @@
"description": "Sets a list of name-value pairs associated with the pool as metadata. If you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": ["certificateReferences", "metadata", "applicationPackageReferences"],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"description": "Parameters for a CloudPoolOperations.UpdateProperties request."
},
"PoolUpgradeOSParameter": {
@@ -12015,7 +12246,9 @@
"description": "Sets the Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": ["targetOSVersion"],
+ "required": [
+ "targetOSVersion"
+ ],
"description": "Parameters for a CloudPoolOperations.UpgradeOS request."
},
"PoolPatchParameter": {
@@ -12069,7 +12302,9 @@
"description": "Sets the time at which the account should expire. If omitted, the default is 1 day from the current time."
}
},
- "required": ["password"],
+ "required": [
+ "password"
+ ],
"description": "Parameters for a ComputeNodeOperations.UpdateUser request."
},
"NodeRebootParameter": {
@@ -12083,7 +12318,10 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeRebootOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeRebootOption",
+ "modelAsString": false
+ }
}
},
"description": "Parameters for a ComputeNodeOperations.Reboot request."
@@ -12099,7 +12337,10 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeReimageOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeReimageOption",
+ "modelAsString": false
+ }
}
},
"description": "Parameters for a ComputeNodeOperations.Reimage request."
@@ -12114,7 +12355,10 @@
"terminate",
"taskcompletion"
],
- "x-ms-enum": { "name": "DisableComputeNodeSchedulingOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "DisableComputeNodeSchedulingOption",
+ "modelAsString": false
+ }
}
},
"description": "Parameters for a ComputeNodeOperations.DisableScheduling request."
@@ -12142,10 +12386,15 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeDeallocationOption",
+ "modelAsString": false
+ }
}
},
- "required": ["nodeList"],
+ "required": [
+ "nodeList"
+ ],
"description": "Parameters for a ComputeNodeOperations.Remove request."
},
"ErrorMessage": {
@@ -12204,4 +12453,4 @@
"description": "Client API Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2016-02-01.3.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2016-02-01.3.0/BatchService.json
index 85a34cb906bf..af2457930937 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2016-02-01.3.0/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2016-02-01.3.0/BatchService.json
@@ -1264,7 +1264,7 @@
"default": 30,
"description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.",
"x-ms-parameter-grouping": {
- "postfix": "Options"
+ "postfix": "Options"
}
},
{
@@ -8063,7 +8063,7 @@
"post": {
"tags": [
"Tasks"
- ],
+ ],
"operationId": "Task_Terminate",
"description": "Terminates the specified task.",
"x-ms-request-id": "request-id",
@@ -8766,7 +8766,7 @@
"description": "The OData id of the resource to which the request applied.",
"type": "string"
}
- },
+ },
"description": ""
},
"default": {
@@ -9501,7 +9501,15 @@
"description": "The cross data center network egress in GiB from the pool during this interval."
}
},
- "required": ["poolId","startTime","endTime","vmSize","totalCoreHours","dataIngressGiB","dataEgressGiB"],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"description": "Usage metrics for a pool across an aggregation interval."
},
"PoolListPoolUsageMetricsResult": {
@@ -9541,7 +9549,10 @@
"windows",
"unmapped"
],
- "x-ms-enum": {"name": "OSType", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": false
+ }
}
},
"description": "A node agent SKU supported by the Batch service. The Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems."
@@ -9580,7 +9591,11 @@
"description": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": ["startTime","lastUpdateTime","dedicatedCoreTime"],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"description": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -9651,7 +9666,21 @@
"description": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": ["startTime","lastUpdateTime","avgCPUPercentage","avgMemoryGiB","peakMemoryGiB","avgDiskGiB","peakDiskGiB","diskReadIOps","diskWriteIOps","diskReadGiB","diskWriteGiB","networkReadGiB","networkWriteGiB"],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"description": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -9679,7 +9708,11 @@
"description": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": ["url","startTime","lastUpdateTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"description": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -9754,7 +9787,22 @@
"description": "The total wait time of all tasks in the job. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries","waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"description": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -9812,7 +9860,10 @@
"deleting",
"deletefailed"
],
- "x-ms-enum": {"name": "CertificateState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -9827,7 +9878,10 @@
"deleting",
"deletefailed"
],
- "x-ms-enum": { "name": "CertificateState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -9856,7 +9910,9 @@
"description": "The version of the application to install. If omitted, the default version is installed."
}
},
- "required": ["applicationId"],
+ "required": [
+ "applicationId"
+ ],
"description": "A reference to an application package to be installed on compute nodes in a pool."
},
"ApplicationSummary": {
@@ -9876,7 +9932,11 @@
}
}
},
- "required": ["id", "displayName", "versions"],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"description": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -9901,14 +9961,21 @@
"cer",
"unmapped"
],
- "x-ms-enum": { "name": "CertificateFormat", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateFormat",
+ "modelAsString": false
+ }
},
"password": {
"type": "string",
"description": "The password to access the certificate's private key."
}
},
- "required": ["thumbprint", "thumbprintAlgorithm", "data"],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"description": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -9953,7 +10020,10 @@
"description": "The file mode attribute in octal format. This property will be returned only from a Linux compute node."
}
},
- "required": ["lastModified","contentLength"],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"description": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -10224,10 +10294,15 @@
"pack",
"unmapped"
],
- "x-ms-enum": { "name": "ComputeNodeFillType", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeFillType",
+ "modelAsString": false
+ }
}
},
- "required": ["nodeFillType"],
+ "required": [
+ "nodeFillType"
+ ],
"description": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -10284,7 +10359,10 @@
"localmachine",
"unmapped"
],
- "x-ms-enum": { "name": "CertificateStoreLocation", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateStoreLocation",
+ "modelAsString": false
+ }
},
"storeName": {
"type": "string",
@@ -10300,12 +10378,18 @@
"remoteuser",
"unmapped"
],
- "x-ms-enum": { "name": "CertificateVisibility", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateVisibility",
+ "modelAsString": false
+ }
},
"description": "Which user accounts on the compute node should have access to the private data of the certificate. This may be any subset of the values 'starttask', 'task' and 'remoteuser', separated by commas. The default is all accounts, corresponding to the string 'starttask,task,remoteuser'."
}
},
- "required": ["thumbprint", "thumbprintAlgorithm"],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"description": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -10417,7 +10501,10 @@
"job",
"unmapped"
],
- "x-ms-enum": { "name": "PoolLifetimeOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "PoolLifetimeOption",
+ "modelAsString": false
+ }
},
"keepAlive": {
"type": "boolean",
@@ -10428,7 +10515,9 @@
"description": "The pool specification for the auto pool."
}
},
- "required": ["poolLifetimeOption"],
+ "required": [
+ "poolLifetimeOption"
+ ],
"description": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool, run all the tasks for the job on it, and will delete the pool once the job has completed."
},
"PoolInformation": {
@@ -10600,7 +10689,22 @@
"description": "The total wait time of all tasks in all jobs created under the schedule. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries", "waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"description": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -10641,7 +10745,10 @@
"terminating",
"deleting"
],
- "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobScheduleState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -10658,7 +10765,10 @@
"terminating",
"deleting"
],
- "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobScheduleState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -10717,7 +10827,11 @@
"description": "A list of name-value pairs associated with the schedule as metadata."
}
},
- "required": ["id", "schedule", "jobSpecification"],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"description": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -10746,7 +10860,10 @@
"servererror",
"unmapped"
],
- "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingErrorCategory",
+ "modelAsString": false
+ }
},
"code": {
"type": "string",
@@ -10764,7 +10881,9 @@
"description": "A list of additional error details related to the scheduling error."
}
},
- "required": ["category"],
+ "required": [
+ "category"
+ ],
"description": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -10792,7 +10911,9 @@
"description": "A string describing the reason the job ended."
}
},
- "required": ["startTime"],
+ "required": [
+ "startTime"
+ ],
"description": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -10839,7 +10960,10 @@
"completed",
"deleting"
],
- "x-ms-enum": { "name": "JobState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -10858,7 +10982,10 @@
"completed",
"deleting"
],
- "x-ms-enum": { "name": "JobState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -10969,7 +11096,10 @@
"description": "The flag that determines if this job will use tasks with dependencies."
}
},
- "required": ["id", "poolInfo"],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"description": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -10998,7 +11128,10 @@
"servererror",
"unmapped"
],
- "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingErrorCategory",
+ "modelAsString": false
+ }
},
"code": {
"type": "string",
@@ -11016,7 +11149,9 @@
"description": "The list of additional error details related to the scheduling error."
}
},
- "required": ["category"],
+ "required": [
+ "category"
+ ],
"description": "Information about an error when scheduling a task."
},
"JobPreparationTaskExecutionInformation": {
@@ -11038,7 +11173,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "JobPreparationTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobPreparationTaskState",
+ "modelAsString": false
+ }
},
"taskRootDirectory": {
"type": "string",
@@ -11068,7 +11206,11 @@
"description": "The most recent time at which a retry of the Job Preparation task started running. This property is set only if the task was retried (i.e. retryCount is nonzero)."
}
},
- "required": ["startTime","retryCount","state"],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"description": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -11090,7 +11232,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "JobReleaseTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobReleaseTaskState",
+ "modelAsString": false
+ }
},
"taskRootDirectory": {
"type": "string",
@@ -11110,7 +11255,10 @@
"description": "The scheduling error encountered by the Batch service when starting the task."
}
},
- "required": ["startTime","state"],
+ "required": [
+ "startTime",
+ "state"
+ ],
"description": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -11190,7 +11338,9 @@
"description": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": ["timestamp"],
+ "required": [
+ "timestamp"
+ ],
"description": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -11228,7 +11378,9 @@
"description": "The Azure Guest OS Version currently installed on the virtual machines in the pool. This may differ from TargetOSVersion if the pool state is Upgrading."
}
},
- "required": ["osFamily"],
+ "required": [
+ "osFamily"
+ ],
"description": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -11250,7 +11402,11 @@
"description": "The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'."
}
},
- "required": ["publisher", "offer", "sku"],
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
"description": "A reference to an Azure Virtual Machines Marketplace image."
},
"WindowsConfiguration": {
@@ -11277,7 +11433,10 @@
"description": "Windows operating system settings on the virtual machine. This property must not be specified if the ImageReference property specifies a Linux OS image."
}
},
- "required": ["imageReference", "nodeAgentSKUId"],
+ "required": [
+ "imageReference",
+ "nodeAgentSKUId"
+ ],
"description": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"CloudPool": {
@@ -11316,7 +11475,10 @@
"deleting",
"upgrading"
],
- "x-ms-enum": { "name": "PoolState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "PoolState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -11331,7 +11493,10 @@
"resizing",
"stopping"
],
- "x-ms-enum": { "name": "AllocationState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "AllocationState",
+ "modelAsString": false
+ }
},
"allocationStateTransitionTime": {
"type": "string",
@@ -11515,7 +11680,10 @@
"description": "A list of name-value pairs associated with the pool as metadata."
}
},
- "required": ["id", "vmSize"],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"description": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -11601,7 +11769,10 @@
"description": "The most recent time at which the task has been requeued by the Batch service as the result of a user request."
}
},
- "required": ["requeueCount","retryCount"],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"description": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -11652,7 +11823,9 @@
"description": "A list of files that the Batch service will download before running the coordination command line. The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary."
}
},
- "required": ["numberOfInstances"],
+ "required": [
+ "numberOfInstances"
+ ],
"description": "Settings which specify how to run a multi-instance task. Multi-instance tasks are commonly used to support MPI tasks."
},
"TaskStatistics": {
@@ -11712,7 +11885,19 @@
"description": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"description": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -11748,7 +11933,10 @@
}
},
"description": "A range of task ids that a task can depend on. All tasks with ids in the range must complete successfully before the dependent task can be scheduled.",
- "required": ["start", "end"]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -11787,7 +11975,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -11803,7 +11994,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -11912,7 +12106,10 @@
"description": "Any other tasks that this task depends on."
}
},
- "required": ["id", "commandLine"],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"description": "An Azure Batch task to add."
},
"TaskAddCollectionParameter": {
@@ -11925,7 +12122,9 @@
"description": "The collection of tasks to add."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -11939,7 +12138,9 @@
"servererror",
"unmapped"
],
- "x-ms-enum": { "name": "TaskAddStatus" }
+ "x-ms-enum": {
+ "name": "TaskAddStatus"
+ }
},
"taskId": {
"type": "string",
@@ -11963,7 +12164,10 @@
"description": "The error encountered while attempting to add the task."
}
},
- "required": ["status","taskId"],
+ "required": [
+ "status",
+ "taskId"
+ ],
"description": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -12017,7 +12221,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -12033,7 +12240,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -12099,14 +12309,19 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"executionInfo": {
"$ref": "#/definitions/TaskExecutionInformation",
"description": "Information about the execution of the task."
}
},
- "required": ["taskState"],
+ "required": [
+ "taskState"
+ ],
"description": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -12118,7 +12333,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "StartTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "StartTaskState",
+ "modelAsString": false
+ }
},
"startTime": {
"type": "string",
@@ -12150,7 +12368,11 @@
"description": "The most recent time at which a retry of the task started running."
}
},
- "required": ["state","startTime","retryCount"],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"description": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -12200,7 +12422,10 @@
"leavingpool",
"offline"
],
- "x-ms-enum": { "name": "ComputeNodeState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeState",
+ "modelAsString": false
+ }
},
"schedulingState": {
"type": "string",
@@ -12209,7 +12434,10 @@
"enabled",
"disabled"
],
- "x-ms-enum": { "name": "SchedulingState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -12325,7 +12553,9 @@
"description": "The SSH public key that can be used for remote login to the compute node."
}
},
- "required": ["name"],
+ "required": [
+ "name"
+ ],
"description": "An user account on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -12340,7 +12570,10 @@
"description": "The port used for remote login to the compute node."
}
},
- "required": ["remoteLoginIPAddress","remoteLoginPort"],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"description": "Response to a ComputeNodeOperation.GetRemoteLoginSettings request."
},
"JobSchedulePatchParameter": {
@@ -12381,7 +12614,10 @@
"description": "A list of name-value pairs associated with the job schedule as metadata. If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": ["schedule", "jobSpecification"],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"description": "Parameters for a CloudJobScheduleOperations.Update request."
},
"JobDisableParameter": {
@@ -12394,10 +12630,15 @@
"terminate",
"wait"
],
- "x-ms-enum": { "name": "DisableJobOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "DisableJobOption",
+ "modelAsString": false
+ }
}
},
- "required": ["disableTasks"],
+ "required": [
+ "disableTasks"
+ ],
"description": "Parameters for a CloudJobOperations.Disable request."
},
"JobTerminateParameter": {
@@ -12457,7 +12698,9 @@
"description": "A list of name-value pairs associated with the job as metadata. If omitted, the existing job metadata is left unchanged."
}
},
- "required": ["poolInfo"],
+ "required": [
+ "poolInfo"
+ ],
"description": "Parameters for a CloudJobOperations.Update request."
},
"PoolEnableAutoScaleParameter": {
@@ -12481,7 +12724,9 @@
"description": "A formula for the desired number of compute nodes in the pool."
}
},
- "required": ["autoScaleFormula"],
+ "required": [
+ "autoScaleFormula"
+ ],
"description": "Parameters for a CloudJobOperations.EvaluateAutoScale request."
},
"PoolResizeParameter": {
@@ -12505,10 +12750,15 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeDeallocationOption",
+ "modelAsString": false
+ }
}
},
- "required": ["targetDedicated"],
+ "required": [
+ "targetDedicated"
+ ],
"description": "Parameters for a CloudPoolOperations.Resize request."
},
"PoolUpdatePropertiesParameter": {
@@ -12539,7 +12789,11 @@
"description": "A list of name-value pairs associated with the pool as metadata. If you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": ["certificateReferences", "metadata", "applicationPackageReferences"],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"description": "Parameters for a CloudPoolOperations.UpdateProperties request."
},
"PoolUpgradeOSParameter": {
@@ -12549,7 +12803,9 @@
"description": "The Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": ["targetOSVersion"],
+ "required": [
+ "targetOSVersion"
+ ],
"description": "Parameters for a CloudPoolOperations.UpgradeOS request."
},
"PoolPatchParameter": {
@@ -12620,7 +12876,10 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeRebootOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeRebootOption",
+ "modelAsString": false
+ }
}
},
"description": "Parameters for a ComputeNodeOperations.Reboot request."
@@ -12636,7 +12895,10 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeReimageOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeReimageOption",
+ "modelAsString": false
+ }
}
},
"description": "Parameters for a ComputeNodeOperations.Reimage request."
@@ -12651,7 +12913,10 @@
"terminate",
"taskcompletion"
],
- "x-ms-enum": { "name": "DisableComputeNodeSchedulingOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "DisableComputeNodeSchedulingOption",
+ "modelAsString": false
+ }
}
},
"description": "Parameters for a ComputeNodeOperations.DisableScheduling request."
@@ -12679,10 +12944,15 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeDeallocationOption",
+ "modelAsString": false
+ }
}
},
- "required": ["nodeList"],
+ "required": [
+ "nodeList"
+ ],
"description": "Parameters for a ComputeNodeOperations.Remove request."
},
"ErrorMessage": {
@@ -12741,4 +13011,4 @@
"description": "Client API Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2016-07-01.3.1/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2016-07-01.3.1/BatchService.json
index d87ed82be381..7803cde748d0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2016-07-01.3.1/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2016-07-01.3.1/BatchService.json
@@ -1293,7 +1293,7 @@
"default": 30,
"description": "The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.",
"x-ms-parameter-grouping": {
- "postfix": "Options"
+ "postfix": "Options"
}
},
{
@@ -8235,7 +8235,7 @@
"post": {
"tags": [
"Tasks"
- ],
+ ],
"operationId": "Task_Terminate",
"summary": "Terminates the specified task.",
"description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -9100,7 +9100,7 @@
"description": "The OData ID of the resource to which the request applied.",
"type": "string"
}
- },
+ },
"description": "The request to the Batch service was successful."
},
"default": {
@@ -9848,7 +9848,15 @@
"title": "The cross data center network egress from the pool during this interval, in GiB."
}
},
- "required": ["poolId","startTime","endTime","vmSize","totalCoreHours","dataIngressGiB","dataEgressGiB"],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"title": "Usage metrics for a pool across an aggregation interval."
},
"PoolListPoolUsageMetricsResult": {
@@ -9889,7 +9897,10 @@
"windows",
"unmapped"
],
- "x-ms-enum": {"name": "OSType", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": false
+ }
}
},
"title": "A node agent SKU supported by the Batch service.",
@@ -9929,7 +9940,11 @@
"title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": ["startTime","lastUpdateTime","dedicatedCoreTime"],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -10000,7 +10015,21 @@
"title": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": ["startTime","lastUpdateTime","avgCPUPercentage","avgMemoryGiB","peakMemoryGiB","avgDiskGiB","peakDiskGiB","diskReadIOps","diskWriteIOps","diskReadGiB","diskWriteGiB","networkReadGiB","networkWriteGiB"],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -10028,7 +10057,11 @@
"title": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": ["url","startTime","lastUpdateTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -10106,7 +10139,22 @@
"description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries","waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -10165,7 +10213,10 @@
"deleting",
"deletefailed"
],
- "x-ms-enum": {"name": "CertificateState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -10181,7 +10232,10 @@
"deleting",
"deletefailed"
],
- "x-ms-enum": { "name": "CertificateState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -10213,7 +10267,9 @@
"description": "If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409."
}
},
- "required": ["applicationId"],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an application package to be deployed to compute nodes."
},
"ApplicationSummary": {
@@ -10234,7 +10290,11 @@
}
}
},
- "required": ["id", "displayName", "versions"],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -10259,7 +10319,10 @@
"cer",
"unmapped"
],
- "x-ms-enum": { "name": "CertificateFormat", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateFormat",
+ "modelAsString": false
+ }
},
"password": {
"type": "string",
@@ -10267,7 +10330,11 @@
"description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer."
}
},
- "required": ["thumbprint", "thumbprintAlgorithm", "data"],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -10314,7 +10381,10 @@
"description": "The file mode is returned only for files on Linux compute nodes."
}
},
- "required": ["lastModified","contentLength"],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -10417,7 +10487,10 @@
"description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file."
}
},
- "required": ["blobSource", "filePath"],
+ "required": [
+ "blobSource",
+ "filePath"
+ ],
"title": "A file to be downloaded from Azure blob storage to a compute node."
},
"EnvironmentSetting": {
@@ -10431,10 +10504,12 @@
"title": "The value of the environment variable."
}
},
- "required": ["name"],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
- "ExitConditions": {
+ "ExitConditions": {
"properties": {
"exitCodes": {
"type": "array",
@@ -10475,7 +10550,10 @@
}
},
"title": "How the Batch service should respond if a task exits with a particular exit code.",
- "required": ["code","exitOptions"]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -10495,8 +10573,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": ["start", "end","exitOptions"]
-
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -10509,8 +10590,11 @@
"disable",
"terminate"
],
- "x-ms-enum": { "name": "JobAction", "modelAsString": false }
- }
+ "x-ms-enum": {
+ "name": "JobAction",
+ "modelAsString": false
+ }
+ }
},
"title": "How the Batch service should respond to a particular exit condition."
},
@@ -10596,7 +10680,10 @@
"description": "Application packages are downloaded and deployed to a shared directory, not the task directory. Therefore, if a referenced package is already on the compute node, and is up to date, then it is not re-downloaded; the existing copy on the compute node is used. If a referenced application package cannot be installed, for example because the package has been deleted or because download failed, the task fails with a scheduling error. This property is currently not supported on jobs running on pools created using the virtualMachineConfiguration (IaaS) property. If a task specifying applicationPackageReferences runs on such a pool, it fails with a scheduling error with code TaskSchedulingConstraintFailed."
}
},
- "required": ["id", "commandLine"],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager task."
},
"JobPreparationTask": {
@@ -10645,7 +10732,9 @@
"description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": ["commandLine"],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation task to run before any tasks of the job on any given compute node."
},
"JobReleaseTask": {
@@ -10692,7 +10781,9 @@
"description": "The default value is false."
}
},
- "required": ["commandLine"],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release task to run on job completion on any compute node where the job has run."
},
"TaskSchedulingPolicy": {
@@ -10705,10 +10796,15 @@
"pack",
"unmapped"
],
- "x-ms-enum": { "name": "ComputeNodeFillType", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeFillType",
+ "modelAsString": false
+ }
}
},
- "required": ["nodeFillType"],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -10748,7 +10844,9 @@
"description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false."
}
},
- "required": ["commandLine"],
+ "required": [
+ "commandLine"
+ ],
"title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged."
},
"CertificateReference": {
@@ -10770,7 +10868,10 @@
"localmachine",
"unmapped"
],
- "x-ms-enum": { "name": "CertificateStoreLocation", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateStoreLocation",
+ "modelAsString": false
+ }
},
"storeName": {
"type": "string",
@@ -10787,13 +10888,19 @@
"remoteuser",
"unmapped"
],
- "x-ms-enum": { "name": "CertificateVisibility", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "CertificateVisibility",
+ "modelAsString": false
+ }
},
"title": "Which user accounts on the compute node should have access to the private data of the certificate.",
"description": "The default is all accounts."
}
},
- "required": ["thumbprint", "thumbprintAlgorithm"],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -10807,7 +10914,10 @@
"title": "The value of the metadata item."
}
},
- "required": ["name", "value"],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -10909,7 +11019,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": ["vmSize"],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new pool."
},
"AutoPoolSpecification": {
@@ -10928,7 +11040,10 @@
"job",
"unmapped"
],
- "x-ms-enum": { "name": "PoolLifetimeOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "PoolLifetimeOption",
+ "modelAsString": false
+ }
},
"keepAlive": {
"type": "boolean",
@@ -10940,7 +11055,9 @@
"title": "The pool specification for the auto pool."
}
},
- "required": ["poolLifetimeOption"],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted."
},
"PoolInformation": {
@@ -10983,7 +11100,10 @@
"noAction",
"terminateJob"
],
- "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OnAllTasksComplete",
+ "modelAsString": false
+ }
},
"onTaskFailure": {
"type": "string",
@@ -10993,7 +11113,10 @@
"noAction",
"performExitOptionsJobAction"
],
- "x-ms-enum": { "name": "OnTaskFailure", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OnTaskFailure",
+ "modelAsString": false
+ }
},
"constraints": {
"$ref": "#/definitions/JobConstraints",
@@ -11035,7 +11158,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": ["poolInfo"],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the jobs to be created on a schedule."
},
"RecentJob": {
@@ -11147,7 +11272,22 @@
"description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","numSucceededTasks","numFailedTasks","numTaskRetries", "waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -11191,7 +11331,10 @@
"terminating",
"deleting"
],
- "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobScheduleState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -11209,7 +11352,10 @@
"terminating",
"deleting"
],
- "x-ms-enum": { "name": "JobScheduleState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobScheduleState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -11273,7 +11419,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": ["id", "schedule", "jobSpecification"],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -11302,7 +11452,10 @@
"servererror",
"unmapped"
],
- "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingErrorCategory",
+ "modelAsString": false
+ }
},
"code": {
"type": "string",
@@ -11320,7 +11473,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": ["category"],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -11353,7 +11508,9 @@
"description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete – the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry – the job reached its maxWallClockTime constraint. TerminateJobSchedule – the job ran as part of a schedule, and the schedule terminated. AllTasksComplete – the job's onAllTasksComplete attribute is set to terminateJob, and all tasks in the job are complete. TaskFailed – the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminateJob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation."
}
},
- "required": ["startTime"],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -11403,7 +11560,10 @@
"completed",
"deleting"
],
- "x-ms-enum": { "name": "JobState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -11423,7 +11583,10 @@
"completed",
"deleting"
],
- "x-ms-enum": { "name": "JobState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -11474,7 +11637,10 @@
"noAction",
"terminateJob"
],
- "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OnAllTasksComplete",
+ "modelAsString": false
+ }
},
"onTaskFailure": {
"type": "string",
@@ -11484,7 +11650,10 @@
"noAction",
"performExitOptionsJobAction"
],
- "x-ms-enum": { "name": "OnTaskFailure", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OnTaskFailure",
+ "modelAsString": false
+ }
},
"metadata": {
"type": "array",
@@ -11561,7 +11730,10 @@
"noAction",
"terminateJob"
],
- "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OnAllTasksComplete",
+ "modelAsString": false
+ }
},
"onTaskFailure": {
"type": "string",
@@ -11571,7 +11743,10 @@
"noAction",
"performExitOptionsJobAction"
],
- "x-ms-enum": { "name": "OnTaskFailure", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OnTaskFailure",
+ "modelAsString": false
+ }
},
"metadata": {
"type": "array",
@@ -11586,7 +11761,10 @@
"title": "The flag that determines if this job will use tasks with dependencies."
}
},
- "required": ["id", "poolInfo"],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -11615,7 +11793,10 @@
"servererror",
"unmapped"
],
- "x-ms-enum": { "name": "SchedulingErrorCategory", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingErrorCategory",
+ "modelAsString": false
+ }
},
"code": {
"type": "string",
@@ -11633,7 +11814,9 @@
"title": "The list of additional error details related to the scheduling error."
}
},
- "required": ["category"],
+ "required": [
+ "category"
+ ],
"title": "Information about an error when scheduling a task."
},
"JobPreparationTaskExecutionInformation": {
@@ -11658,7 +11841,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "JobPreparationTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobPreparationTaskState",
+ "modelAsString": false
+ }
},
"taskRootDirectory": {
"type": "string",
@@ -11690,7 +11876,11 @@
"description": "This property is set only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not."
}
},
- "required": ["startTime","retryCount","state"],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -11714,7 +11904,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "JobReleaseTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "JobReleaseTaskState",
+ "modelAsString": false
+ }
},
"taskRootDirectory": {
"type": "string",
@@ -11735,7 +11928,10 @@
"title": "The error encountered by the Batch service when starting the task."
}
},
- "required": ["startTime","state"],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -11817,7 +12013,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": ["timestamp"],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -11858,7 +12056,9 @@
"description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion."
}
},
- "required": ["osFamily"],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -11884,7 +12084,11 @@
"description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'."
}
},
- "required": ["publisher", "offer", "sku"],
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
"title": "A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation."
},
"WindowsConfiguration": {
@@ -11914,7 +12118,10 @@
"description": "This property must not be specified if the imageReference property specifies a Linux OS image."
}
},
- "required": ["imageReference", "nodeAgentSKUId"],
+ "required": [
+ "imageReference",
+ "nodeAgentSKUId"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"NetworkConfiguration": {
@@ -11972,7 +12179,10 @@
"deleting",
"upgrading"
],
- "x-ms-enum": { "name": "PoolState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "PoolState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -11988,7 +12198,10 @@
"resizing",
"stopping"
],
- "x-ms-enum": { "name": "AllocationState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "AllocationState",
+ "modelAsString": false
+ }
},
"allocationStateTransitionTime": {
"type": "string",
@@ -12179,7 +12392,7 @@
"$ref": "#/definitions/CertificateReference"
},
"title": "The list of certificates to be installed on each compute node in the pool.",
- "description": "For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home//certs) where certificates are placed."
+ "description": "For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of remoteuser, a certs directory is created in the user's home directory (e.g., /home//certs) where certificates are placed."
},
"applicationPackageReferences": {
"type": "array",
@@ -12208,7 +12421,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": ["id", "vmSize"],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -12251,7 +12467,9 @@
"description": "You can pass the affinityId of a compute node or task to indicate that this task needs to be placed close to the node or task."
}
},
- "required": ["affinityId"],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task."
},
"TaskExecutionInformation": {
@@ -12304,7 +12522,10 @@
"description": "This property is set only if the requeueCount is nonzero."
}
},
- "required": ["requeueCount","retryCount"],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -12357,7 +12578,9 @@
"description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary."
}
},
- "required": ["numberOfInstances"],
+ "required": [
+ "numberOfInstances"
+ ],
"title": "Settings which specify how to run a multi-instance task.",
"description": "Multi-instance tasks are commonly used to support MPI tasks."
},
@@ -12419,7 +12642,19 @@
"title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": ["url","startTime","lastUpdateTime","userCPUTime","kernelCPUTime","wallClockTime","readIOps","writeIOps","readIOGiB","writeIOGiB","waitTime"],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -12456,7 +12691,10 @@
},
"title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.",
- "required": ["start", "end"]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -12502,7 +12740,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -12519,7 +12760,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -12657,7 +12901,10 @@
"title": "A list of application packages that the Batch service will deploy to the compute node before running the command line."
}
},
- "required": ["id", "commandLine"],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch task to add."
},
"TaskAddCollectionParameter": {
@@ -12671,7 +12918,9 @@
"title": "The collection of tasks to add."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -12685,7 +12934,9 @@
"servererror",
"unmapped"
],
- "x-ms-enum": { "name": "TaskAddStatus" }
+ "x-ms-enum": {
+ "name": "TaskAddStatus"
+ }
},
"taskId": {
"type": "string",
@@ -12709,7 +12960,10 @@
"title": "The error encountered while attempting to add the task."
}
},
- "required": ["status","taskId"],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -12765,7 +13019,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -12782,7 +13039,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"previousStateTransitionTime": {
"type": "string",
@@ -12849,14 +13109,19 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "TaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "TaskState",
+ "modelAsString": false
+ }
},
"executionInfo": {
"$ref": "#/definitions/TaskExecutionInformation",
"title": "Information about the execution of the task."
}
},
- "required": ["taskState"],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -12869,7 +13134,10 @@
"running",
"completed"
],
- "x-ms-enum": { "name": "StartTaskState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "StartTaskState",
+ "modelAsString": false
+ }
},
"startTime": {
"type": "string",
@@ -12906,7 +13174,11 @@
"description": "This element is present only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not."
}
},
- "required": ["state","startTime","retryCount"],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -12957,7 +13229,10 @@
"leavingpool",
"offline"
],
- "x-ms-enum": { "name": "ComputeNodeState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeState",
+ "modelAsString": false
+ }
},
"schedulingState": {
"type": "string",
@@ -12967,7 +13242,10 @@
"enabled",
"disabled"
],
- "x-ms-enum": { "name": "SchedulingState", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "SchedulingState",
+ "modelAsString": false
+ }
},
"stateTransitionTime": {
"type": "string",
@@ -13091,7 +13369,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": ["name"],
+ "required": [
+ "name"
+ ],
"title": "An user account on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -13106,7 +13386,10 @@
"title": "The port used for remote login to the compute node."
}
},
- "required": ["remoteLoginIPAddress","remoteLoginPort"],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a compute node."
},
"JobSchedulePatchParameter": {
@@ -13153,7 +13436,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": ["schedule", "jobSpecification"],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a job schedule."
},
"JobDisableParameter": {
@@ -13167,10 +13453,15 @@
"terminate",
"wait"
],
- "x-ms-enum": { "name": "DisableJobOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "DisableJobOption",
+ "modelAsString": false
+ }
}
},
- "required": ["disableTasks"],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a job."
},
"JobTerminateParameter": {
@@ -13198,7 +13489,10 @@
"noAction",
"terminateJob"
],
- "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OnAllTasksComplete",
+ "modelAsString": false
+ }
},
"constraints": {
"$ref": "#/definitions/JobConstraints",
@@ -13255,10 +13549,15 @@
"noAction",
"terminateJob"
],
- "x-ms-enum": { "name": "OnAllTasksComplete", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "OnAllTasksComplete",
+ "modelAsString": false
+ }
}
},
- "required": ["poolInfo"],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a job."
},
"PoolEnableAutoScaleParameter": {
@@ -13285,7 +13584,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": ["autoScaleFormula"],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a pool."
},
"PoolResizeParameter": {
@@ -13311,10 +13612,15 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeDeallocationOption",
+ "modelAsString": false
+ }
}
},
- "required": ["targetDedicated"],
+ "required": [
+ "targetDedicated"
+ ],
"title": "Options for changing the size of a pool."
},
"PoolUpdatePropertiesParameter": {
@@ -13349,7 +13655,11 @@
"description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": ["certificateReferences", "metadata", "applicationPackageReferences"],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a pool."
},
"PoolUpgradeOSParameter": {
@@ -13359,7 +13669,9 @@
"title": "The Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": ["targetOSVersion"],
+ "required": [
+ "targetOSVersion"
+ ],
"title": "Options for upgrading the operating system of compute nodes in a pool."
},
"PoolPatchParameter": {
@@ -13439,7 +13751,10 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeRebootOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeRebootOption",
+ "modelAsString": false
+ }
}
},
"title": "Options for rebooting a compute node."
@@ -13456,7 +13771,10 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeReimageOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeReimageOption",
+ "modelAsString": false
+ }
}
},
"title": "Options for reimaging a compute node."
@@ -13472,7 +13790,10 @@
"terminate",
"taskcompletion"
],
- "x-ms-enum": { "name": "DisableComputeNodeSchedulingOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "DisableComputeNodeSchedulingOption",
+ "modelAsString": false
+ }
}
},
"title": "Options for disabling scheduling on a compute node."
@@ -13503,10 +13824,15 @@
"taskcompletion",
"retaineddata"
],
- "x-ms-enum": { "name": "ComputeNodeDeallocationOption", "modelAsString": false }
+ "x-ms-enum": {
+ "name": "ComputeNodeDeallocationOption",
+ "modelAsString": false
+ }
}
},
- "required": ["nodeList"],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing compute nodes from a pool."
},
"ErrorMessage": {
@@ -13565,4 +13891,4 @@
"description": "Client API Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/BatchService.json
index af327c849ccd..809b32de34f2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/BatchService.json
@@ -247,7 +247,9 @@
},
"operationId": "Pool_ListUsageMetrics",
"x-ms-examples": {
- "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" }
+ "Pool list usage metrics": {
+ "$ref": "./examples/PoolListUsageMetrics.json"
+ }
},
"summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.",
"description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals.",
@@ -399,7 +401,9 @@
},
"operationId": "Account_ListNodeAgentSkus",
"x-ms-examples": {
- "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" }
+ "Account list node agent skus": {
+ "$ref": "./examples/AccountListNodeAgentSkus.json"
+ }
},
"summary": "Lists all node agent SKUs supported by the Azure Batch service.",
"x-ms-request-id": "request-id",
@@ -523,7 +527,9 @@
],
"operationId": "Pool_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" }
+ "Pool get lifetime statistics": {
+ "$ref": "./examples/PoolGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the pools in the specified account.",
"description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.",
@@ -623,7 +629,9 @@
],
"operationId": "Job_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" }
+ "Job get lifetime statistics": {
+ "$ref": "./examples/JobGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the jobs in the specified account.",
"description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.",
@@ -723,7 +731,9 @@
],
"operationId": "Certificate_Add",
"x-ms-examples": {
- "Certificate add": { "$ref": "./examples/CertificateAdd.json" }
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
},
"summary": "Adds a certificate to the specified account.",
"x-ms-request-id": "request-id",
@@ -833,7 +843,9 @@
},
"operationId": "Certificate_List",
"x-ms-examples": {
- "Certificate list": { "$ref": "./examples/CertificateList.json" }
+ "Certificate list": {
+ "$ref": "./examples/CertificateList.json"
+ }
},
"summary": "Lists all of the certificates that have been added to the specified account.",
"x-ms-request-id": "request-id",
@@ -967,7 +979,9 @@
],
"operationId": "Certificate_CancelDeletion",
"x-ms-examples": {
- "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" }
+ "Certificate cancel delete": {
+ "$ref": "./examples/CertificateCancelDelete.json"
+ }
},
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
@@ -1082,7 +1096,9 @@
],
"operationId": "Certificate_Delete",
"x-ms-examples": {
- "Certificate delete": { "$ref": "./examples/CertificateDelete.json" }
+ "Certificate delete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"summary": "Deletes a certificate from the specified account.",
"description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.",
@@ -1191,7 +1207,9 @@
],
"operationId": "Certificate_Get",
"x-ms-examples": {
- "Certificate get": { "$ref": "./examples/CertificateGet.json" }
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
},
"description": "Gets information about the specified certificate.",
"x-ms-request-id": "request-id",
@@ -1314,7 +1332,9 @@
],
"operationId": "File_DeleteFromTask",
"x-ms-examples": {
- "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" }
+ "File delete from task": {
+ "$ref": "./examples/FileDeleteFromTask.json"
+ }
},
"summary": "Deletes the specified task file from the compute node where the task ran.",
"x-ms-request-id": "request-id",
@@ -1598,7 +1618,9 @@
],
"operationId": "File_GetPropertiesFromTask",
"x-ms-examples": {
- "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" }
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
},
"description": "Gets the properties of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1763,7 +1785,9 @@
],
"operationId": "File_DeleteFromComputeNode",
"x-ms-examples": {
- "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" }
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
},
"summary": "Deletes the specified task file from the compute node.",
"x-ms-request-id": "request-id",
@@ -2047,7 +2071,9 @@
],
"operationId": "File_GetPropertiesFromComputeNode",
"x-ms-examples": {
- "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" }
+ "File get properties from node": {
+ "$ref": "./examples/FileGetPropertiesFromNode.json"
+ }
},
"description": "Gets the properties of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2215,7 +2241,9 @@
},
"operationId": "File_ListFromTask",
"x-ms-examples": {
- "File list from task": { "$ref": "./examples/FileListFromTask.json" }
+ "File list from task": {
+ "$ref": "./examples/FileListFromTask.json"
+ }
},
"summary": "Lists the files in a task's directory on its compute node.",
"x-ms-request-id": "request-id",
@@ -2363,7 +2391,9 @@
},
"operationId": "File_ListFromComputeNode",
"x-ms-examples": {
- "File list from node": { "$ref": "./examples/FileListFromNode.json" }
+ "File list from node": {
+ "$ref": "./examples/FileListFromNode.json"
+ }
},
"summary": "Lists all of the files in task directories on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -2651,7 +2681,9 @@
],
"operationId": "JobSchedule_Delete",
"x-ms-examples": {
- "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" }
+ "JobSchedule delete": {
+ "$ref": "./examples/JobScheduleDelete.json"
+ }
},
"summary": "Deletes a job schedule from the specified account.",
"description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.",
@@ -2784,7 +2816,9 @@
],
"operationId": "JobSchedule_Get",
"x-ms-examples": {
- "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" }
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
},
"description": "Gets information about the specified job schedule.",
"x-ms-request-id": "request-id",
@@ -2950,7 +2984,9 @@
],
"operationId": "JobSchedule_Patch",
"x-ms-examples": {
- "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" }
+ "JobSchedule patch": {
+ "$ref": "./examples/JobSchedulePatch.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3107,7 +3143,9 @@
],
"operationId": "JobSchedule_Update",
"x-ms-examples": {
- "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" }
+ "JobSchedule update": {
+ "$ref": "./examples/JobScheduleUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3266,7 +3304,9 @@
],
"operationId": "JobSchedule_Disable",
"x-ms-examples": {
- "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" }
+ "JobSchedule disable": {
+ "$ref": "./examples/JobScheduleDisable.json"
+ }
},
"summary": "Disables a job schedule.",
"description": "No new jobs will be created until the job schedule is enabled again.",
@@ -3416,7 +3456,9 @@
],
"operationId": "JobSchedule_Enable",
"x-ms-examples": {
- "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" }
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
},
"summary": "Enables a job schedule.",
"x-ms-request-id": "request-id",
@@ -3565,7 +3607,9 @@
],
"operationId": "JobSchedule_Terminate",
"x-ms-examples": {
- "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" }
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
},
"summary": "Terminates a job schedule.",
"x-ms-request-id": "request-id",
@@ -3714,8 +3758,12 @@
],
"operationId": "JobSchedule_Add",
"x-ms-examples": {
- "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" },
- "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" }
+ "Add a basic JobSchedule": {
+ "$ref": "./examples/JobScheduleAdd_Basic.json"
+ },
+ "Add a complex JobScheduleAdd": {
+ "$ref": "./examples/JobScheduleAdd_Complex.json"
+ }
},
"summary": "Adds a job schedule to the specified account.",
"x-ms-request-id": "request-id",
@@ -3825,7 +3873,9 @@
},
"operationId": "JobSchedule_List",
"x-ms-examples": {
- "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" }
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
},
"summary": "Lists all of the job schedules in the specified account.",
"x-ms-request-id": "request-id",
@@ -4099,7 +4149,9 @@
],
"operationId": "Job_Get",
"x-ms-examples": {
- "Job get": { "$ref": "./examples/JobGet.json" }
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
},
"summary": "Gets information about the specified job.",
"x-ms-request-id": "request-id",
@@ -4265,7 +4317,9 @@
],
"operationId": "Job_Patch",
"x-ms-examples": {
- "Job patch": { "$ref": "./examples/JobPatch.json" }
+ "Job patch": {
+ "$ref": "./examples/JobPatch.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.",
@@ -4422,7 +4476,9 @@
],
"operationId": "Job_Update",
"x-ms-examples": {
- "Job update": { "$ref": "./examples/JobUpdate.json" }
+ "Job update": {
+ "$ref": "./examples/JobUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.",
@@ -4581,7 +4637,9 @@
],
"operationId": "Job_Disable",
"x-ms-examples": {
- "Job disable": { "$ref": "./examples/JobDisable.json" }
+ "Job disable": {
+ "$ref": "./examples/JobDisable.json"
+ }
},
"summary": "Disables the specified job, preventing new tasks from running.",
"description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.",
@@ -4740,7 +4798,9 @@
],
"operationId": "Job_Enable",
"x-ms-examples": {
- "Job enable": { "$ref": "./examples/JobEnable.json" }
+ "Job enable": {
+ "$ref": "./examples/JobEnable.json"
+ }
},
"summary": "Enables the specified job, allowing new tasks to run.",
"description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.",
@@ -4890,7 +4950,9 @@
],
"operationId": "Job_Terminate",
"x-ms-examples": {
- "Job terminate": { "$ref": "./examples/JobTerminate.json" }
+ "Job terminate": {
+ "$ref": "./examples/JobTerminate.json"
+ }
},
"summary": "Terminates the specified job, marking it as completed.",
"description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.",
@@ -5049,8 +5111,12 @@
],
"operationId": "Job_Add",
"x-ms-examples": {
- "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" },
- "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" }
+ "Add a basic job": {
+ "$ref": "./examples/JobAdd_Basic.json"
+ },
+ "Add a complex job": {
+ "$ref": "./examples/JobAdd_Complex.json"
+ }
},
"summary": "Adds a job to the specified account.",
"description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5161,7 +5227,9 @@
},
"operationId": "Job_List",
"x-ms-examples": {
- "Job list": { "$ref": "./examples/JobList.json" }
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
},
"summary": "Lists all of the jobs in the specified account.",
"x-ms-request-id": "request-id",
@@ -5459,7 +5527,9 @@
},
"operationId": "Job_ListPreparationAndReleaseTaskStatus",
"x-ms-examples": {
- "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" }
+ "Job list preparation and release task status": {
+ "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json"
+ }
},
"summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.",
"description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. ",
@@ -5601,8 +5671,12 @@
],
"operationId": "Pool_Add",
"x-ms-examples": {
- "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" },
- "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" }
+ "Add a CloudServiceConfiguration pool": {
+ "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json"
+ }
},
"summary": "Adds a pool to the specified account.",
"description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5713,7 +5787,9 @@
},
"operationId": "Pool_List",
"x-ms-examples": {
- "Pool list": { "$ref": "./examples/PoolList_Basic.json" }
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
},
"summary": "Lists all of the pools in the specified account.",
"x-ms-request-id": "request-id",
@@ -5857,7 +5933,9 @@
],
"operationId": "Pool_Delete",
"x-ms-examples": {
- "Pool delete": { "$ref": "./examples/PoolDelete.json" }
+ "Pool delete": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"summary": "Deletes a pool from the specified account.",
"description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.",
@@ -6133,7 +6211,9 @@
],
"operationId": "Pool_Get",
"x-ms-examples": {
- "Pool get": { "$ref": "./examples/PoolGet_Basic.json" }
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
},
"description": "Gets information about the specified pool.",
"x-ms-request-id": "request-id",
@@ -6559,7 +6639,9 @@
],
"operationId": "Pool_EnableAutoScale",
"x-ms-examples": {
- "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" }
+ "Pool enable autoscale": {
+ "$ref": "./examples/PoolEnableAutoscale.json"
+ }
},
"summary": "Enables automatic scaling for a pool.",
"description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.",
@@ -6718,7 +6800,9 @@
],
"operationId": "Pool_EvaluateAutoScale",
"x-ms-examples": {
- "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" }
+ "Pool evaluate autoscale": {
+ "$ref": "./examples/PoolEvaluateAutoscale.json"
+ }
},
"summary": "Gets the result of evaluating an automatic scaling formula on the pool.",
"description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool.",
@@ -6838,7 +6922,9 @@
],
"operationId": "Pool_Resize",
"x-ms-examples": {
- "Pool resize": { "$ref": "./examples/PoolResize.json" }
+ "Pool resize": {
+ "$ref": "./examples/PoolResize.json"
+ }
},
"summary": "Changes the number of compute nodes that are assigned to a pool.",
"description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.",
@@ -6997,7 +7083,9 @@
],
"operationId": "Pool_StopResize",
"x-ms-examples": {
- "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" }
+ "Pool stop resize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
@@ -7147,7 +7235,9 @@
],
"operationId": "Pool_UpdateProperties",
"x-ms-examples": {
- "Pool update": { "$ref": "./examples/PoolUpdate.json" }
+ "Pool update": {
+ "$ref": "./examples/PoolUpdate.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.",
@@ -7420,7 +7510,9 @@
],
"operationId": "Pool_RemoveNodes",
"x-ms-examples": {
- "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" }
+ "Pool remove nodes": {
+ "$ref": "./examples/PoolRemoveNodes.json"
+ }
},
"summary": "Removes compute nodes from the specified pool.",
"description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.",
@@ -7579,8 +7671,12 @@
],
"operationId": "Task_Add",
"x-ms-examples": {
- "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" },
- "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" }
+ "Add a basic task": {
+ "$ref": "./examples/TaskAdd_Basic.json"
+ },
+ "Add a task with exit conditions": {
+ "$ref": "./examples/TaskAdd_ExitConditions.json"
+ }
},
"summary": "Adds a task to the specified job.",
"x-ms-request-id": "request-id",
@@ -7697,7 +7793,9 @@
},
"operationId": "Task_List",
"x-ms-examples": {
- "Task list": { "$ref": "./examples/TaskList.json" }
+ "Task list": {
+ "$ref": "./examples/TaskList.json"
+ }
},
"summary": "Lists all of the tasks that are associated with the specified job.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -7849,8 +7947,12 @@
],
"operationId": "Task_AddCollection",
"x-ms-examples": {
- "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" },
- "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" }
+ "Add a basic collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Basic.json"
+ },
+ "Add a complex collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Complex.json"
+ }
},
"summary": "Adds a collection of tasks to the specified job.",
"description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task ids during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly.",
@@ -7955,7 +8057,9 @@
],
"operationId": "Task_Delete",
"x-ms-examples": {
- "Task delete": { "$ref": "./examples/TaskDelete.json" }
+ "Task delete": {
+ "$ref": "./examples/TaskDelete.json"
+ }
},
"summary": "Deletes a task from the specified job.",
"description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.",
@@ -8095,7 +8199,9 @@
],
"operationId": "Task_Get",
"x-ms-examples": {
- "Task get": { "$ref": "./examples/TaskGet.json" }
+ "Task get": {
+ "$ref": "./examples/TaskGet.json"
+ }
},
"summary": "Gets information about the specified task.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8273,7 +8379,9 @@
],
"operationId": "Task_Update",
"x-ms-examples": {
- "Task update": { "$ref": "./examples/TaskUpdate.json" }
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
},
"description": "Updates the properties of the specified task.",
"x-ms-request-id": "request-id",
@@ -8438,7 +8546,9 @@
],
"operationId": "Task_ListSubtasks",
"x-ms-examples": {
- "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" }
+ "Task list subtasks": {
+ "$ref": "./examples/TaskListSubtasks.json"
+ }
},
"summary": "Lists all of the subtasks that are associated with the specified multi-instance task.",
"description": "If the task is not a multi-instance task then this returns an empty collection.",
@@ -8562,7 +8672,9 @@
],
"operationId": "Task_Terminate",
"x-ms-examples": {
- "Task terminate": { "$ref": "./examples/TaskTerminate.json" }
+ "Task terminate": {
+ "$ref": "./examples/TaskTerminate.json"
+ }
},
"summary": "Terminates the specified task.",
"description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -8719,7 +8831,9 @@
],
"operationId": "Task_Reactivate",
"x-ms-examples": {
- "Task reactivate": { "$ref": "./examples/TaskReactivate.json" }
+ "Task reactivate": {
+ "$ref": "./examples/TaskReactivate.json"
+ }
},
"summary": "Reactivates the specified task.",
"description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or scheduling error is no longer available after reactivation. This will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, this will fail if the job has completed (or is terminating or deleting).",
@@ -8876,7 +8990,9 @@
],
"operationId": "ComputeNode_AddUser",
"x-ms-examples": {
- "Node add user": { "$ref": "./examples/NodeAddUser.json" }
+ "Node add user": {
+ "$ref": "./examples/NodeAddUser.json"
+ }
},
"summary": "Adds a user account to the specified compute node.",
"description": "You can add a user account to a node only when it is in the idle or running state.",
@@ -9000,7 +9116,9 @@
],
"operationId": "ComputeNode_DeleteUser",
"x-ms-examples": {
- "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" }
+ "Node delete user": {
+ "$ref": "./examples/NodeDeleteUser.json"
+ }
},
"summary": "Deletes a user account from the specified compute node.",
"description": "You can delete a user account to a node only when it is in the idle or running state.",
@@ -9105,7 +9223,9 @@
],
"operationId": "ComputeNode_UpdateUser",
"x-ms-examples": {
- "Node update user": { "$ref": "./examples/NodeUpdateUser.json" }
+ "Node update user": {
+ "$ref": "./examples/NodeUpdateUser.json"
+ }
},
"summary": "Updates the password or expiration time of a user account on the specified compute node.",
"description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.",
@@ -9236,7 +9356,9 @@
],
"operationId": "ComputeNode_Get",
"x-ms-examples": {
- "Node get": { "$ref": "./examples/NodeGet_Basic.json" }
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
},
"summary": "Gets information about the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9359,7 +9481,9 @@
],
"operationId": "ComputeNode_Reboot",
"x-ms-examples": {
- "Node reboot": { "$ref": "./examples/NodeReboot.json" }
+ "Node reboot": {
+ "$ref": "./examples/NodeReboot.json"
+ }
},
"summary": "Restarts the specified compute node.",
"description": "You can restart a node only if it is in an idle or running state.",
@@ -9483,7 +9607,9 @@
],
"operationId": "ComputeNode_Reimage",
"x-ms-examples": {
- "Node reimage": { "$ref": "./examples/NodeReimage.json" }
+ "Node reimage": {
+ "$ref": "./examples/NodeReimage.json"
+ }
},
"summary": "Reinstalls the operating system on the specified compute node.",
"description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.",
@@ -9607,7 +9733,9 @@
],
"operationId": "ComputeNode_DisableScheduling",
"x-ms-examples": {
- "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" }
+ "Node disable scheduling": {
+ "$ref": "./examples/NodeDisableScheduling.json"
+ }
},
"summary": "Disables task scheduling on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9730,7 +9858,9 @@
],
"operationId": "ComputeNode_EnableScheduling",
"x-ms-examples": {
- "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" }
+ "Node enable scheduling": {
+ "$ref": "./examples/NodeEnableScheduling.json"
+ }
},
"summary": "Enables task scheduling on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9844,7 +9974,9 @@
],
"operationId": "ComputeNode_GetRemoteLoginSettings",
"x-ms-examples": {
- "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" }
+ "Node get remote login settings": {
+ "$ref": "./examples/NodeGetRemoteLoginSettings.json"
+ }
},
"summary": "Gets the settings required for remote login to a compute node.",
"description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property.",
@@ -10072,7 +10204,9 @@
},
"operationId": "ComputeNode_List",
"x-ms-examples": {
- "Node list": { "$ref": "./examples/NodeList.json" }
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
},
"summary": "Lists the compute nodes in the specified pool.",
"x-ms-request-id": "request-id",
@@ -10245,7 +10379,15 @@
"title": "The cross data center network egress from the pool during this interval, in GiB."
}
},
- "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"title": "Usage metrics for a pool across an aggregation interval."
},
"PoolListUsageMetricsResult": {
@@ -10349,7 +10491,11 @@
"title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -10420,7 +10566,21 @@
"title": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -10448,7 +10608,11 @@
"title": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": [ "url", "startTime", "lastUpdateTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -10526,7 +10690,22 @@
"description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -10621,7 +10800,9 @@
"description": "If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409."
}
},
- "required": [ "applicationId" ],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an application package to be deployed to compute nodes."
},
"ApplicationSummary": {
@@ -10642,7 +10823,11 @@
}
}
},
- "required": [ "id", "displayName", "versions" ],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -10678,7 +10863,11 @@
"description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm", "data" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -10725,7 +10914,10 @@
"description": "The file mode is returned only for files on Linux compute nodes."
}
},
- "required": [ "lastModified", "contentLength" ],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -10828,7 +11020,10 @@
"description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file."
}
},
- "required": [ "blobSource", "filePath" ],
+ "required": [
+ "blobSource",
+ "filePath"
+ ],
"title": "A file to be downloaded from Azure blob storage to a compute node."
},
"EnvironmentSetting": {
@@ -10842,7 +11037,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"ExitConditions": {
@@ -10886,7 +11083,10 @@
}
},
"title": "How the Batch service should respond if a task exits with a particular exit code.",
- "required": [ "code", "exitOptions" ]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -10906,7 +11106,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": [ "start", "end", "exitOptions" ]
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -11001,7 +11205,10 @@
"description": "The SSH private key establishes password-less SSH between nodes in a Linux pool when the pool's enableInterNodeCommunication property is true. This property will be ignored in a Windows pool."
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user on an Azure Batch node."
},
"TaskConstraints": {
@@ -11092,7 +11299,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager task."
},
"JobPreparationTask": {
@@ -11142,7 +11352,9 @@
"description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation task to run before any tasks of the job on any given compute node."
},
"JobReleaseTask": {
@@ -11189,7 +11401,9 @@
"description": "If omitted, the task runs as a non-administrative user unique to the task."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release task to run on job completion on any compute node where the job has run."
},
"TaskSchedulingPolicy": {
@@ -11208,7 +11422,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -11249,7 +11465,9 @@
"description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged."
},
"CertificateReference": {
@@ -11300,7 +11518,10 @@
"description": "The default is all accounts."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -11314,7 +11535,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -11423,7 +11647,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "vmSize" ],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new pool."
},
"AutoPoolSpecification": {
@@ -11457,7 +11683,9 @@
"title": "The pool specification for the auto pool."
}
},
- "required": [ "poolLifetimeOption" ],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted."
},
"PoolInformation": {
@@ -11542,7 +11770,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the jobs to be created on a schedule."
},
"RecentJob": {
@@ -11654,7 +11884,22 @@
"description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -11764,7 +12009,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "schedule", "jobSpecification" ],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -11805,7 +12054,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -11838,7 +12089,9 @@
"description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminateJob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminateJob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation."
}
},
- "required": [ "startTime" ],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -12031,7 +12284,10 @@
"title": "The flag that determines if this job will use tasks with dependencies."
}
},
- "required": [ "id", "poolInfo" ],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -12072,7 +12328,9 @@
"title": "The list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "Information about an error when scheduling a task."
},
"JobPreparationTaskExecutionInformation": {
@@ -12132,7 +12390,11 @@
"description": "This property is set only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not."
}
},
- "required": [ "startTime", "retryCount", "state" ],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -12180,7 +12442,10 @@
"title": "The error encountered by the Batch service when starting the task."
}
},
- "required": [ "startTime", "state" ],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -12262,7 +12527,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "timestamp" ],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -12303,7 +12570,9 @@
"description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -12329,7 +12598,11 @@
"description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'."
}
},
- "required": [ "publisher", "offer", "sku" ],
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
"title": "A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation."
},
"OSDisk": {
@@ -12357,7 +12630,9 @@
}
}
},
- "required": [ "imageUris" ],
+ "required": [
+ "imageUris"
+ ],
"title": "A reference to an OS disk image."
},
"WindowsConfiguration": {
@@ -12393,7 +12668,9 @@
"description": "This property must not be specified if the imageReference or osDisk property specifies a Linux OS image."
}
},
- "required": [ "nodeAgentSKUId" ],
+ "required": [
+ "nodeAgentSKUId"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"NetworkConfiguration": {
@@ -12707,7 +12984,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "vmSize" ],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -12750,7 +13030,9 @@
"description": "You can pass the affinityId of a compute node or task to indicate that this task needs to be placed close to the node or task."
}
},
- "required": [ "affinityId" ],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task."
},
"TaskExecutionInformation": {
@@ -12803,7 +13085,10 @@
"description": "This property is set only if the requeueCount is nonzero."
}
},
- "required": [ "requeueCount", "retryCount" ],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -12856,7 +13141,9 @@
"description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary."
}
},
- "required": [ "numberOfInstances" ],
+ "required": [
+ "numberOfInstances"
+ ],
"title": "Settings which specify how to run a multi-instance task.",
"description": "Multi-instance tasks are commonly used to support MPI tasks."
},
@@ -12918,7 +13205,19 @@
"title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -12955,7 +13254,10 @@
},
"title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.",
- "required": [ "start", "end" ]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -13153,7 +13455,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch task to add."
},
"TaskAddCollectionParameter": {
@@ -13167,7 +13472,9 @@
"title": "The collection of tasks to add."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -13181,7 +13488,9 @@
"serverError",
"unmapped"
],
- "x-ms-enum": { "name": "TaskAddStatus" }
+ "x-ms-enum": {
+ "name": "TaskAddStatus"
+ }
},
"taskId": {
"type": "string",
@@ -13205,7 +13514,10 @@
"title": "The error encountered while attempting to add the task."
}
},
- "required": [ "status", "taskId" ],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -13331,7 +13643,9 @@
"title": "Information about the execution of the task."
}
},
- "required": [ "taskState" ],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -13384,7 +13698,11 @@
"description": "This element is present only if the task was retried (i.e. retryCount is nonzero). If present, this is typically the same as startTime, but may be different if the task has been restarted for reasons other than retry; for example, if the compute node was rebooted during a retry, then the startTime is updated but the lastRetryTime is not."
}
},
- "required": [ "state", "startTime", "retryCount" ],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -13575,7 +13893,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "A user account on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -13590,7 +13910,10 @@
"title": "The port used for remote login to the compute node."
}
},
- "required": [ "remoteLoginIPAddress", "remoteLoginPort" ],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a compute node."
},
"JobSchedulePatchParameter": {
@@ -13637,7 +13960,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": [ "schedule", "jobSpecification" ],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a job schedule."
},
"JobDisableParameter": {
@@ -13657,7 +13983,9 @@
}
}
},
- "required": [ "disableTasks" ],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a job."
},
"JobTerminateParameter": {
@@ -13735,7 +14063,9 @@
"$ref": "#/definitions/OnAllTasksComplete"
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a job."
},
"PoolEnableAutoScaleParameter": {
@@ -13762,7 +14092,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": [ "autoScaleFormula" ],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a pool."
},
"PoolResizeParameter": {
@@ -13784,7 +14116,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "targetDedicated" ],
+ "required": [
+ "targetDedicated"
+ ],
"title": "Options for changing the size of a pool."
},
"PoolUpdatePropertiesParameter": {
@@ -13819,7 +14153,11 @@
"description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a pool."
},
"PoolUpgradeOSParameter": {
@@ -13829,7 +14167,9 @@
"title": "The Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": [ "targetOSVersion" ],
+ "required": [
+ "targetOSVersion"
+ ],
"title": "Options for upgrading the operating system of compute nodes in a pool."
},
"PoolPatchParameter": {
@@ -13978,7 +14318,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "nodeList" ],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing compute nodes from a pool."
},
"ErrorMessage": {
@@ -14176,4 +14518,3 @@
}
}
}
-
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json
index f12b72b9e370..042031a1127e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json
@@ -60,4 +60,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateAdd.json
index a98b75c12ff5..b731e046c9b7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateAdd.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateAdd.json
@@ -4,11 +4,11 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"certificate": {
- "thumbprintAlgorithm":"sha1",
- "thumbprint":"0123456789abcdef0123456789abcdef01234567",
- "data":"#####...",
- "certificateFormat":"pfx",
- "password":"certpassword"
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "data": "#####...",
+ "certificateFormat": "pfx",
+ "password": "certpassword"
}
},
"responses": {
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateCancelDelete.json
index 26c5f96c87bf..82509a1f35ff 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateCancelDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateCancelDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateDelete.json
index a46d4e70e9a2..eb0343a86bca 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateGet.json
index 9b9d12765743..19ea59bd4651 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateList.json
index bd6542ba5782..41cfaff8b603 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/CertificateList.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromNode.json
index aa2ec6062bd5..5b0e350c153c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromNode.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromTask.json
index 7d14815da786..16708cb6b080 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileDeleteFromTask.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json
index 8e72bb4399a6..1597a89e6de8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json
index 8942e96948a8..6e8aa5ebae66 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromNode.json
index 1496110130ea..12f0121b18f5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromNode.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromTask.json
index 94fd190468af..96ef570fa654 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/FileListFromTask.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Basic.json
index 8b47aff3c30f..0ba59d2a0f7f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Basic.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Complex.json
index 68040f9b5529..b30d94c4e79a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobAdd_Complex.json
@@ -35,7 +35,7 @@
"retentionTime": "PT1H"
},
"killJobOnCompletion": false,
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -75,7 +75,7 @@
"value": "myvalue"
}
],
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -117,4 +117,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobDisable.json
index d72a06c54d37..0172e5d1cda0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobDisable.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobEnable.json
index c39f4a225edd..467c5b0074d2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGet.json
index 0bae4ebd131d..e41523ad29b1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGet.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json
index 931d167134ad..3eecc86a1d63 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimejobstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimejobstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"userCPUTime": "PT0S",
@@ -24,4 +24,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobList.json
index d46127d23d13..6f9ec3a867e8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobList.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json
index a73a1ed98003..69f291f29610 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobPatch.json
index 74eb40fdb399..633b03e3b45e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobPatch.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobPatchParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json
index 287a8aa9b03c..f20faf293f53 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json
@@ -6,7 +6,7 @@
"cloudJobSchedule": {
"id": "jobScheduleId",
"schedule": {
- "recurrenceInterval":"PT5M"
+ "recurrenceInterval": "PT5M"
},
"jobSpecification": {
"poolInfo": {
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json
index b831d5cd634a..7254a08778b1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json
@@ -125,4 +125,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDelete.json
index 4286e8936fd9..70503e2dca8a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDisable.json
index bd838eed45cc..ab1feb6aba32 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleDisable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleEnable.json
index bd838eed45cc..ab1feb6aba32 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleGet.json
index 4eb145e6c1b5..b9ba874c54b9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleList.json
index 73b0a141db00..b47ff0accdb6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleList.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobSchedulePatch.json
index 71c677593b57..d7daaf19e003 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobSchedulePatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobSchedulePatch.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleTerminate.json
index 4286e8936fd9..70503e2dca8a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleTerminate.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleUpdate.json
index 6a26f335736f..b80e1cab27a7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobScheduleUpdate.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobTerminate.json
index 858bdcbb7518..157911e56b18 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobTerminate.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobUpdate.json
index 0984430be61d..b7b2b4c0b137 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/JobUpdate.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobUpdateParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeAddUser.json
index 2b99a1feae5d..20a552c3cc97 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeAddUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeAddUser.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDeleteUser.json
index 8b2594aa20df..2c63260fecee 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDeleteUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDeleteUser.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDisableScheduling.json
index ba6f824d4010..f2742df1646b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDisableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeDisableScheduling.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeEnableScheduling.json
index 6b80e4ce452d..aac71e40143d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeEnableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeEnableScheduling.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json
index 75ef488d233f..1eb45beab923 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGet_Basic.json
index fd8f31449915..f8ed81fd4681 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeGet_Basic.json
@@ -24,7 +24,7 @@
"runningTasksCount": 0,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeList.json
index eef743916ec2..34a9090297cb 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeList.json
@@ -25,7 +25,7 @@
"runningTasksCount": 0,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -58,7 +58,7 @@
"runningTasksCount": 0,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -91,7 +91,7 @@
"runningTasksCount": 0,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -112,4 +112,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReboot.json
index b6f7a4c8247f..48f35fc4219f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReboot.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReboot.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReimage.json
index ecf2fbd08dcb..1be0d177c9ed 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReimage.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeReimage.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeUpdateUser.json
index b8133e62e607..299837ef534c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeUpdateUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/NodeUpdateUser.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json
index d63b5503d867..7cb72a72373a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json
@@ -9,18 +9,20 @@
"cloudServiceConfiguration": {
"osFamily": "4"
},
- "resizeTimeout":"PT15M",
- "targetDedicated":5,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicated": 5,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -30,4 +32,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json
index 37d68f070561..71dcf4ad34a4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -14,18 +14,20 @@
},
"nodeAgentSKUId": "batch.node.ubuntu 16.04"
},
- "resizeTimeout":"PT15M",
- "targetDedicated":5,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicated": 5,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -35,4 +37,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolDelete.json
index 291ec9d4c156..8bebb0e32786 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEnableAutoscale.json
index ad4f5ab36c4a..3874f8fce8e2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEnableAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEnableAutoscale.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json
index f349a11851d4..aa523e32d335 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json
index 66a6f825a84e..8280444a7bf9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"usageStats": {
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGet_Basic.json
index de9588a32e5a..355f38b506af 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolGet_Basic.json
@@ -25,7 +25,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "/bin/bash -c 'echo start task'",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolListUsageMetrics.json
index edb909a0ed4d..d3601e6f89e3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolListUsageMetrics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolListUsageMetrics.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolList_Basic.json
index 3a0c9d4d46ed..c8e8b2a29519 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolList_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolList_Basic.json
@@ -26,7 +26,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolRemoveNodes.json
index 39e38639f343..4e63e864e6cd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolRemoveNodes.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolRemoveNodes.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolResize.json
index d950ce2f5a92..eafb8c809157 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolResize.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolStopResize.json
index 291ec9d4c156..8bebb0e32786 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolStopResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolStopResize.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolUpdate.json
index 0cd0554faba0..a171cde43df9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/PoolUpdate.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Basic.json
index 831eee286aa7..dc9557b7597a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Basic.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Complex.json
index b9e50d5209b1..0da43c0d194c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAddCollection_Complex.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_Basic.json
index 31020aaa3660..7258c9dc1891 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_Basic.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json
index 06a461d670a3..2527fdce6a87 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json
@@ -18,7 +18,7 @@
}
]
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -31,4 +31,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskDelete.json
index dcc6788d32af..3cd0fe6a8510 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskGet.json
index 48b4cb0389ad..d8c82f4ca69c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskGet.json
@@ -17,7 +17,7 @@
"state": "active",
"stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
"commandLine": "cmd /c hostname",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskList.json
index 1dd23be937e2..057b4dce1513 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskList.json
@@ -18,7 +18,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
"commandLine": "cmd /c echo task1",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -43,7 +43,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
"commandLine": "cmd /c echo task2",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskListSubtasks.json
index ead6fef7c89c..2a3e6fae74a6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskListSubtasks.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskListSubtasks.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskReactivate.json
index 37cd57df63b5..20e993bd5b6a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskReactivate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskReactivate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskTerminate.json
index 37cd57df63b5..20e993bd5b6a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskTerminate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskUpdate.json
index 1698e7578413..846bbab3760d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-01-01.4.0/examples/TaskUpdate.json
@@ -7,9 +7,9 @@
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"taskUpdateParameter": {
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":3,
- "retentionTime":"PT1H"
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
}
}
},
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/BatchService.json
index 9afeb9d464e9..0d79120f866c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/BatchService.json
@@ -247,7 +247,9 @@
},
"operationId": "Pool_ListUsageMetrics",
"x-ms-examples": {
- "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" }
+ "Pool list usage metrics": {
+ "$ref": "./examples/PoolListUsageMetrics.json"
+ }
},
"summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.",
"description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals.",
@@ -399,7 +401,9 @@
},
"operationId": "Account_ListNodeAgentSkus",
"x-ms-examples": {
- "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" }
+ "Account list node agent skus": {
+ "$ref": "./examples/AccountListNodeAgentSkus.json"
+ }
},
"summary": "Lists all node agent SKUs supported by the Azure Batch service.",
"x-ms-request-id": "request-id",
@@ -523,7 +527,9 @@
],
"operationId": "Pool_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" }
+ "Pool get lifetime statistics": {
+ "$ref": "./examples/PoolGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the pools in the specified account.",
"description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.",
@@ -623,7 +629,9 @@
],
"operationId": "Job_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" }
+ "Job get lifetime statistics": {
+ "$ref": "./examples/JobGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the jobs in the specified account.",
"description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.",
@@ -723,7 +731,9 @@
],
"operationId": "Certificate_Add",
"x-ms-examples": {
- "Certificate add": { "$ref": "./examples/CertificateAdd.json" }
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
},
"summary": "Adds a certificate to the specified account.",
"x-ms-request-id": "request-id",
@@ -833,7 +843,9 @@
},
"operationId": "Certificate_List",
"x-ms-examples": {
- "Certificate list": { "$ref": "./examples/CertificateList.json" }
+ "Certificate list": {
+ "$ref": "./examples/CertificateList.json"
+ }
},
"summary": "Lists all of the certificates that have been added to the specified account.",
"x-ms-request-id": "request-id",
@@ -967,7 +979,9 @@
],
"operationId": "Certificate_CancelDeletion",
"x-ms-examples": {
- "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" }
+ "Certificate cancel delete": {
+ "$ref": "./examples/CertificateCancelDelete.json"
+ }
},
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
@@ -1082,7 +1096,9 @@
],
"operationId": "Certificate_Delete",
"x-ms-examples": {
- "Certificate delete": { "$ref": "./examples/CertificateDelete.json" }
+ "Certificate delete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"summary": "Deletes a certificate from the specified account.",
"description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.",
@@ -1191,7 +1207,9 @@
],
"operationId": "Certificate_Get",
"x-ms-examples": {
- "Certificate get": { "$ref": "./examples/CertificateGet.json" }
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
},
"description": "Gets information about the specified certificate.",
"x-ms-request-id": "request-id",
@@ -1314,7 +1332,9 @@
],
"operationId": "File_DeleteFromTask",
"x-ms-examples": {
- "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" }
+ "File delete from task": {
+ "$ref": "./examples/FileDeleteFromTask.json"
+ }
},
"summary": "Deletes the specified task file from the compute node where the task ran.",
"x-ms-request-id": "request-id",
@@ -1598,7 +1618,9 @@
],
"operationId": "File_GetPropertiesFromTask",
"x-ms-examples": {
- "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" }
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
},
"description": "Gets the properties of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1763,7 +1785,9 @@
],
"operationId": "File_DeleteFromComputeNode",
"x-ms-examples": {
- "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" }
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
},
"summary": "Deletes the specified file from the compute node.",
"x-ms-request-id": "request-id",
@@ -2047,7 +2071,9 @@
],
"operationId": "File_GetPropertiesFromComputeNode",
"x-ms-examples": {
- "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" }
+ "File get properties from node": {
+ "$ref": "./examples/FileGetPropertiesFromNode.json"
+ }
},
"description": "Gets the properties of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2215,7 +2241,9 @@
},
"operationId": "File_ListFromTask",
"x-ms-examples": {
- "File list from task": { "$ref": "./examples/FileListFromTask.json" }
+ "File list from task": {
+ "$ref": "./examples/FileListFromTask.json"
+ }
},
"summary": "Lists the files in a task's directory on its compute node.",
"x-ms-request-id": "request-id",
@@ -2363,7 +2391,9 @@
},
"operationId": "File_ListFromComputeNode",
"x-ms-examples": {
- "File list from node": { "$ref": "./examples/FileListFromNode.json" }
+ "File list from node": {
+ "$ref": "./examples/FileListFromNode.json"
+ }
},
"summary": "Lists all of the files in task directories on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -2651,7 +2681,9 @@
],
"operationId": "JobSchedule_Delete",
"x-ms-examples": {
- "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" }
+ "JobSchedule delete": {
+ "$ref": "./examples/JobScheduleDelete.json"
+ }
},
"summary": "Deletes a job schedule from the specified account.",
"description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.",
@@ -2784,7 +2816,9 @@
],
"operationId": "JobSchedule_Get",
"x-ms-examples": {
- "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" }
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
},
"description": "Gets information about the specified job schedule.",
"x-ms-request-id": "request-id",
@@ -2950,7 +2984,9 @@
],
"operationId": "JobSchedule_Patch",
"x-ms-examples": {
- "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" }
+ "JobSchedule patch": {
+ "$ref": "./examples/JobSchedulePatch.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3107,7 +3143,9 @@
],
"operationId": "JobSchedule_Update",
"x-ms-examples": {
- "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" }
+ "JobSchedule update": {
+ "$ref": "./examples/JobScheduleUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3266,7 +3304,9 @@
],
"operationId": "JobSchedule_Disable",
"x-ms-examples": {
- "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" }
+ "JobSchedule disable": {
+ "$ref": "./examples/JobScheduleDisable.json"
+ }
},
"summary": "Disables a job schedule.",
"description": "No new jobs will be created until the job schedule is enabled again.",
@@ -3416,7 +3456,9 @@
],
"operationId": "JobSchedule_Enable",
"x-ms-examples": {
- "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" }
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
},
"summary": "Enables a job schedule.",
"x-ms-request-id": "request-id",
@@ -3565,7 +3607,9 @@
],
"operationId": "JobSchedule_Terminate",
"x-ms-examples": {
- "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" }
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
},
"summary": "Terminates a job schedule.",
"x-ms-request-id": "request-id",
@@ -3714,8 +3758,12 @@
],
"operationId": "JobSchedule_Add",
"x-ms-examples": {
- "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" },
- "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" }
+ "Add a basic JobSchedule": {
+ "$ref": "./examples/JobScheduleAdd_Basic.json"
+ },
+ "Add a complex JobScheduleAdd": {
+ "$ref": "./examples/JobScheduleAdd_Complex.json"
+ }
},
"summary": "Adds a job schedule to the specified account.",
"x-ms-request-id": "request-id",
@@ -3825,7 +3873,9 @@
},
"operationId": "JobSchedule_List",
"x-ms-examples": {
- "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" }
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
},
"summary": "Lists all of the job schedules in the specified account.",
"x-ms-request-id": "request-id",
@@ -4099,7 +4149,9 @@
],
"operationId": "Job_Get",
"x-ms-examples": {
- "Job get": { "$ref": "./examples/JobGet.json" }
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
},
"summary": "Gets information about the specified job.",
"x-ms-request-id": "request-id",
@@ -4265,7 +4317,9 @@
],
"operationId": "Job_Patch",
"x-ms-examples": {
- "Job patch": { "$ref": "./examples/JobPatch.json" }
+ "Job patch": {
+ "$ref": "./examples/JobPatch.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.",
@@ -4422,7 +4476,9 @@
],
"operationId": "Job_Update",
"x-ms-examples": {
- "Job update": { "$ref": "./examples/JobUpdate.json" }
+ "Job update": {
+ "$ref": "./examples/JobUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.",
@@ -4581,7 +4637,9 @@
],
"operationId": "Job_Disable",
"x-ms-examples": {
- "Job disable": { "$ref": "./examples/JobDisable.json" }
+ "Job disable": {
+ "$ref": "./examples/JobDisable.json"
+ }
},
"summary": "Disables the specified job, preventing new tasks from running.",
"description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.",
@@ -4740,7 +4798,9 @@
],
"operationId": "Job_Enable",
"x-ms-examples": {
- "Job enable": { "$ref": "./examples/JobEnable.json" }
+ "Job enable": {
+ "$ref": "./examples/JobEnable.json"
+ }
},
"summary": "Enables the specified job, allowing new tasks to run.",
"description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.",
@@ -4890,7 +4950,9 @@
],
"operationId": "Job_Terminate",
"x-ms-examples": {
- "Job terminate": { "$ref": "./examples/JobTerminate.json" }
+ "Job terminate": {
+ "$ref": "./examples/JobTerminate.json"
+ }
},
"summary": "Terminates the specified job, marking it as completed.",
"description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.",
@@ -5049,8 +5111,12 @@
],
"operationId": "Job_Add",
"x-ms-examples": {
- "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" },
- "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" }
+ "Add a basic job": {
+ "$ref": "./examples/JobAdd_Basic.json"
+ },
+ "Add a complex job": {
+ "$ref": "./examples/JobAdd_Complex.json"
+ }
},
"summary": "Adds a job to the specified account.",
"description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5161,7 +5227,9 @@
},
"operationId": "Job_List",
"x-ms-examples": {
- "Job list": { "$ref": "./examples/JobList.json" }
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
},
"summary": "Lists all of the jobs in the specified account.",
"x-ms-request-id": "request-id",
@@ -5459,7 +5527,9 @@
},
"operationId": "Job_ListPreparationAndReleaseTaskStatus",
"x-ms-examples": {
- "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" }
+ "Job list preparation and release task status": {
+ "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json"
+ }
},
"summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.",
"description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. ",
@@ -5601,8 +5671,12 @@
],
"operationId": "Pool_Add",
"x-ms-examples": {
- "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" },
- "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" }
+ "Add a CloudServiceConfiguration pool": {
+ "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json"
+ }
},
"summary": "Adds a pool to the specified account.",
"description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5713,7 +5787,9 @@
},
"operationId": "Pool_List",
"x-ms-examples": {
- "Pool list": { "$ref": "./examples/PoolList_Basic.json" }
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
},
"summary": "Lists all of the pools in the specified account.",
"x-ms-request-id": "request-id",
@@ -5857,7 +5933,9 @@
],
"operationId": "Pool_Delete",
"x-ms-examples": {
- "Pool delete": { "$ref": "./examples/PoolDelete.json" }
+ "Pool delete": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"summary": "Deletes a pool from the specified account.",
"description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.",
@@ -6133,7 +6211,9 @@
],
"operationId": "Pool_Get",
"x-ms-examples": {
- "Pool get": { "$ref": "./examples/PoolGet_Basic.json" }
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
},
"description": "Gets information about the specified pool.",
"x-ms-request-id": "request-id",
@@ -6559,7 +6639,9 @@
],
"operationId": "Pool_EnableAutoScale",
"x-ms-examples": {
- "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" }
+ "Pool enable autoscale": {
+ "$ref": "./examples/PoolEnableAutoscale.json"
+ }
},
"summary": "Enables automatic scaling for a pool.",
"description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.",
@@ -6718,7 +6800,9 @@
],
"operationId": "Pool_EvaluateAutoScale",
"x-ms-examples": {
- "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" }
+ "Pool evaluate autoscale": {
+ "$ref": "./examples/PoolEvaluateAutoscale.json"
+ }
},
"summary": "Gets the result of evaluating an automatic scaling formula on the pool.",
"description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool.",
@@ -6838,7 +6922,9 @@
],
"operationId": "Pool_Resize",
"x-ms-examples": {
- "Pool resize": { "$ref": "./examples/PoolResize.json" }
+ "Pool resize": {
+ "$ref": "./examples/PoolResize.json"
+ }
},
"summary": "Changes the number of compute nodes that are assigned to a pool.",
"description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.",
@@ -6997,7 +7083,9 @@
],
"operationId": "Pool_StopResize",
"x-ms-examples": {
- "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" }
+ "Pool stop resize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
@@ -7147,7 +7235,9 @@
],
"operationId": "Pool_UpdateProperties",
"x-ms-examples": {
- "Pool update": { "$ref": "./examples/PoolUpdate.json" }
+ "Pool update": {
+ "$ref": "./examples/PoolUpdate.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.",
@@ -7420,7 +7510,9 @@
],
"operationId": "Pool_RemoveNodes",
"x-ms-examples": {
- "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" }
+ "Pool remove nodes": {
+ "$ref": "./examples/PoolRemoveNodes.json"
+ }
},
"summary": "Removes compute nodes from the specified pool.",
"description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.",
@@ -7579,8 +7671,12 @@
],
"operationId": "Task_Add",
"x-ms-examples": {
- "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" },
- "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" }
+ "Add a basic task": {
+ "$ref": "./examples/TaskAdd_Basic.json"
+ },
+ "Add a task with exit conditions": {
+ "$ref": "./examples/TaskAdd_ExitConditions.json"
+ }
},
"summary": "Adds a task to the specified job.",
"x-ms-request-id": "request-id",
@@ -7697,7 +7793,9 @@
},
"operationId": "Task_List",
"x-ms-examples": {
- "Task list": { "$ref": "./examples/TaskList.json" }
+ "Task list": {
+ "$ref": "./examples/TaskList.json"
+ }
},
"summary": "Lists all of the tasks that are associated with the specified job.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -7849,8 +7947,12 @@
],
"operationId": "Task_AddCollection",
"x-ms-examples": {
- "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" },
- "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" }
+ "Add a basic collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Basic.json"
+ },
+ "Add a complex collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Complex.json"
+ }
},
"summary": "Adds a collection of tasks to the specified job.",
"description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task ids during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly.",
@@ -7955,7 +8057,9 @@
],
"operationId": "Task_Delete",
"x-ms-examples": {
- "Task delete": { "$ref": "./examples/TaskDelete.json" }
+ "Task delete": {
+ "$ref": "./examples/TaskDelete.json"
+ }
},
"summary": "Deletes a task from the specified job.",
"description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.",
@@ -8095,7 +8199,9 @@
],
"operationId": "Task_Get",
"x-ms-examples": {
- "Task get": { "$ref": "./examples/TaskGet.json" }
+ "Task get": {
+ "$ref": "./examples/TaskGet.json"
+ }
},
"summary": "Gets information about the specified task.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8273,7 +8379,9 @@
],
"operationId": "Task_Update",
"x-ms-examples": {
- "Task update": { "$ref": "./examples/TaskUpdate.json" }
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
},
"description": "Updates the properties of the specified task.",
"x-ms-request-id": "request-id",
@@ -8438,7 +8546,9 @@
],
"operationId": "Task_ListSubtasks",
"x-ms-examples": {
- "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" }
+ "Task list subtasks": {
+ "$ref": "./examples/TaskListSubtasks.json"
+ }
},
"summary": "Lists all of the subtasks that are associated with the specified multi-instance task.",
"description": "If the task is not a multi-instance task then this returns an empty collection.",
@@ -8562,7 +8672,9 @@
],
"operationId": "Task_Terminate",
"x-ms-examples": {
- "Task terminate": { "$ref": "./examples/TaskTerminate.json" }
+ "Task terminate": {
+ "$ref": "./examples/TaskTerminate.json"
+ }
},
"summary": "Terminates the specified task.",
"description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -8719,7 +8831,9 @@
],
"operationId": "Task_Reactivate",
"x-ms-examples": {
- "Task reactivate": { "$ref": "./examples/TaskReactivate.json" }
+ "Task reactivate": {
+ "$ref": "./examples/TaskReactivate.json"
+ }
},
"summary": "Reactivates the specified task.",
"description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or scheduling error is no longer available after reactivation. This will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, this will fail if the job has completed (or is terminating or deleting).",
@@ -8876,7 +8990,9 @@
],
"operationId": "ComputeNode_AddUser",
"x-ms-examples": {
- "Node add user": { "$ref": "./examples/NodeAddUser.json" }
+ "Node add user": {
+ "$ref": "./examples/NodeAddUser.json"
+ }
},
"summary": "Adds a user account to the specified compute node.",
"description": "You can add a user account to a node only when it is in the idle or running state.",
@@ -9000,7 +9116,9 @@
],
"operationId": "ComputeNode_DeleteUser",
"x-ms-examples": {
- "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" }
+ "Node delete user": {
+ "$ref": "./examples/NodeDeleteUser.json"
+ }
},
"summary": "Deletes a user account from the specified compute node.",
"description": "You can delete a user account to a node only when it is in the idle or running state.",
@@ -9105,7 +9223,9 @@
],
"operationId": "ComputeNode_UpdateUser",
"x-ms-examples": {
- "Node update user": { "$ref": "./examples/NodeUpdateUser.json" }
+ "Node update user": {
+ "$ref": "./examples/NodeUpdateUser.json"
+ }
},
"summary": "Updates the password or expiration time of a user account on the specified compute node.",
"description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.",
@@ -9236,7 +9356,9 @@
],
"operationId": "ComputeNode_Get",
"x-ms-examples": {
- "Node get": { "$ref": "./examples/NodeGet_Basic.json" }
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
},
"summary": "Gets information about the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9359,7 +9481,9 @@
],
"operationId": "ComputeNode_Reboot",
"x-ms-examples": {
- "Node reboot": { "$ref": "./examples/NodeReboot.json" }
+ "Node reboot": {
+ "$ref": "./examples/NodeReboot.json"
+ }
},
"summary": "Restarts the specified compute node.",
"description": "You can restart a node only if it is in an idle or running state.",
@@ -9483,7 +9607,9 @@
],
"operationId": "ComputeNode_Reimage",
"x-ms-examples": {
- "Node reimage": { "$ref": "./examples/NodeReimage.json" }
+ "Node reimage": {
+ "$ref": "./examples/NodeReimage.json"
+ }
},
"summary": "Reinstalls the operating system on the specified compute node.",
"description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.",
@@ -9607,7 +9733,9 @@
],
"operationId": "ComputeNode_DisableScheduling",
"x-ms-examples": {
- "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" }
+ "Node disable scheduling": {
+ "$ref": "./examples/NodeDisableScheduling.json"
+ }
},
"summary": "Disables task scheduling on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9730,7 +9858,9 @@
],
"operationId": "ComputeNode_EnableScheduling",
"x-ms-examples": {
- "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" }
+ "Node enable scheduling": {
+ "$ref": "./examples/NodeEnableScheduling.json"
+ }
},
"summary": "Enables task scheduling on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9844,7 +9974,9 @@
],
"operationId": "ComputeNode_GetRemoteLoginSettings",
"x-ms-examples": {
- "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" }
+ "Node get remote login settings": {
+ "$ref": "./examples/NodeGetRemoteLoginSettings.json"
+ }
},
"summary": "Gets the settings required for remote login to a compute node.",
"description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property.",
@@ -10072,7 +10204,9 @@
},
"operationId": "ComputeNode_List",
"x-ms-examples": {
- "Node list": { "$ref": "./examples/NodeList.json" }
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
},
"summary": "Lists the compute nodes in the specified pool.",
"x-ms-request-id": "request-id",
@@ -10245,7 +10379,15 @@
"title": "The cross data center network egress from the pool during this interval, in GiB."
}
},
- "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"title": "Usage metrics for a pool across an aggregation interval."
},
"PoolListUsageMetricsResult": {
@@ -10349,7 +10491,11 @@
"title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -10420,7 +10566,21 @@
"title": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -10448,7 +10608,11 @@
"title": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": [ "url", "startTime", "lastUpdateTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -10526,7 +10690,22 @@
"description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -10621,7 +10800,9 @@
"description": "If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409."
}
},
- "required": [ "applicationId" ],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an application package to be deployed to compute nodes."
},
"ApplicationSummary": {
@@ -10642,7 +10823,11 @@
}
}
},
- "required": [ "id", "displayName", "versions" ],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -10677,7 +10862,11 @@
"description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm", "data" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -10724,7 +10913,10 @@
"description": "The file mode is returned only for files on Linux compute nodes."
}
},
- "required": [ "lastModified", "contentLength" ],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -10827,7 +11019,10 @@
"description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file."
}
},
- "required": [ "blobSource", "filePath" ],
+ "required": [
+ "blobSource",
+ "filePath"
+ ],
"title": "A file to be downloaded from Azure blob storage to a compute node."
},
"EnvironmentSetting": {
@@ -10841,7 +11036,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"ExitConditions": {
@@ -10890,7 +11087,10 @@
}
},
"title": "How the Batch service should respond if a task exits with a particular exit code.",
- "required": [ "code", "exitOptions" ]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -10910,7 +11110,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": [ "start", "end", "exitOptions" ]
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -11027,7 +11231,10 @@
"$ref": "#/definitions/LinuxUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user used to execute tasks on an Azure Batch node."
},
"TaskConstraints": {
@@ -11078,7 +11285,7 @@
"title": "A list of files that the Batch service will download to the compute node before running the command line.",
"description": "Files listed under this element are located in the task's working directory."
},
- "outputFiles": {
+ "outputFiles": {
"type": "array",
"items": {
"$ref": "#/definitions/OutputFile"
@@ -11130,7 +11337,10 @@
"description": "The default value is false."
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager task."
},
"JobPreparationTask": {
@@ -11180,7 +11390,9 @@
"description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation task to run before any tasks of the job on any given compute node."
},
"JobReleaseTask": {
@@ -11227,7 +11439,9 @@
"description": "If omitted, the task runs as a non-administrative user unique to the task."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release task to run on job completion on any compute node where the job has run."
},
"TaskSchedulingPolicy": {
@@ -11245,7 +11459,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -11286,7 +11502,9 @@
"description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and scheduling error detail. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged."
},
"CertificateReference": {
@@ -11336,7 +11554,10 @@
"description": "The default is all accounts."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -11350,7 +11571,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -11453,7 +11677,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -11473,7 +11697,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "vmSize" ],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new pool."
},
"AutoPoolSpecification": {
@@ -11506,7 +11732,9 @@
"title": "The pool specification for the auto pool."
}
},
- "required": [ "poolLifetimeOption" ],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted."
},
"PoolInformation": {
@@ -11591,7 +11819,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the jobs to be created on a schedule."
},
"RecentJob": {
@@ -11703,7 +11933,22 @@
"description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -11813,7 +12058,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "schedule", "jobSpecification" ],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -11854,7 +12103,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -11887,7 +12138,9 @@
"description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminateJob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminateJob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation."
}
},
- "required": [ "startTime" ],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -12080,7 +12333,10 @@
"title": "The flag that determines if this job will use tasks with dependencies."
}
},
- "required": [ "id", "poolInfo" ],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -12121,7 +12377,9 @@
"title": "A list of additional details related to the error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "Information about a task failure."
},
"JobPreparationTaskExecutionInformation": {
@@ -12187,7 +12445,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "retryCount", "state" ],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -12241,7 +12503,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "state" ],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -12323,7 +12588,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "timestamp" ],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -12364,7 +12631,9 @@
"description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -12390,7 +12659,11 @@
"description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'."
}
},
- "required": [ "publisher", "offer", "sku" ],
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
"title": "A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation."
},
"OSDisk": {
@@ -12418,7 +12691,9 @@
}
}
},
- "required": [ "imageUris" ],
+ "required": [
+ "imageUris"
+ ],
"title": "A reference to an OS disk image."
},
"WindowsConfiguration": {
@@ -12454,7 +12729,9 @@
"description": "This property must not be specified if the imageReference or osDisk property specifies a Linux OS image."
}
},
- "required": [ "nodeAgentSKUId" ],
+ "required": [
+ "nodeAgentSKUId"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"NetworkConfiguration": {
@@ -12644,7 +12921,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -12773,7 +13050,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -12803,7 +13080,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "vmSize" ],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -12846,7 +13126,9 @@
"description": "You can pass the affinityId of a compute node or task to indicate that this task needs to be placed close to the node or task."
}
},
- "required": [ "affinityId" ],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task."
},
"TaskExecutionInformation": {
@@ -12904,7 +13186,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "requeueCount", "retryCount" ],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -12957,7 +13242,9 @@
"description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary."
}
},
- "required": [ "numberOfInstances" ],
+ "required": [
+ "numberOfInstances"
+ ],
"title": "Settings which specify how to run a multi-instance task.",
"description": "Multi-instance tasks are commonly used to support MPI tasks."
},
@@ -13019,7 +13306,19 @@
"title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -13056,7 +13355,10 @@
},
"title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.",
- "required": [ "start", "end" ]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -13270,7 +13572,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch task to add."
},
"TaskAddCollectionParameter": {
@@ -13284,7 +13589,9 @@
"title": "The collection of tasks to add."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -13297,7 +13604,9 @@
"clientError",
"serverError"
],
- "x-ms-enum": { "name": "TaskAddStatus" }
+ "x-ms-enum": {
+ "name": "TaskAddStatus"
+ }
},
"taskId": {
"type": "string",
@@ -13321,7 +13630,10 @@
"title": "The error encountered while attempting to add the task."
}
},
- "required": [ "status", "taskId" ],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -13453,7 +13765,9 @@
"title": "Information about the execution of the task."
}
},
- "required": [ "taskState" ],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -13512,7 +13826,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "state", "startTime", "retryCount" ],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -13708,7 +14026,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "A user account for RDP or SSH access on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -13723,7 +14043,10 @@
"title": "The port used for remote login to the compute node."
}
},
- "required": [ "remoteLoginIPAddress", "remoteLoginPort" ],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a compute node."
},
"JobSchedulePatchParameter": {
@@ -13770,7 +14093,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": [ "schedule", "jobSpecification" ],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a job schedule."
},
"JobDisableParameter": {
@@ -13790,7 +14116,9 @@
}
}
},
- "required": [ "disableTasks" ],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a job."
},
"JobTerminateParameter": {
@@ -13868,7 +14196,9 @@
"$ref": "#/definitions/OnAllTasksComplete"
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a job."
},
"PoolEnableAutoScaleParameter": {
@@ -13895,7 +14225,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": [ "autoScaleFormula" ],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a pool."
},
"PoolResizeParameter": {
@@ -13956,7 +14288,11 @@
"description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a pool."
},
"PoolUpgradeOSParameter": {
@@ -13966,7 +14302,9 @@
"title": "The Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": [ "targetOSVersion" ],
+ "required": [
+ "targetOSVersion"
+ ],
"title": "Options for upgrading the operating system of compute nodes in a pool."
},
"PoolPatchParameter": {
@@ -14115,7 +14453,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "nodeList" ],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing compute nodes from a pool."
},
"OutputFile": {
@@ -14134,7 +14474,11 @@
"$ref": "#/definitions/OutputFileUploadOptions"
}
},
- "required": [ "filePattern", "destination", "uploadOptions" ],
+ "required": [
+ "filePattern",
+ "destination",
+ "uploadOptions"
+ ],
"title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process."
},
"OutputFileDestination": {
@@ -14159,7 +14503,9 @@
"description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container."
}
},
- "required": [ "containerUrl" ],
+ "required": [
+ "containerUrl"
+ ],
"title": "Specifies a file upload destination within an Azure blob storage container."
},
"OutputFileUploadOptions": {
@@ -14170,7 +14516,9 @@
"$ref": "#/definitions/OutputFileUploadCondition"
}
},
- "required": [ "uploadCondition" ],
+ "required": [
+ "uploadCondition"
+ ],
"title": "Details about an output file upload operation, including under what conditions to perform the upload."
},
"ErrorMessage": {
@@ -14394,4 +14742,3 @@
}
}
}
-
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json
index f12b72b9e370..042031a1127e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json
@@ -60,4 +60,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateAdd.json
index a98b75c12ff5..b731e046c9b7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateAdd.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateAdd.json
@@ -4,11 +4,11 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"certificate": {
- "thumbprintAlgorithm":"sha1",
- "thumbprint":"0123456789abcdef0123456789abcdef01234567",
- "data":"#####...",
- "certificateFormat":"pfx",
- "password":"certpassword"
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "data": "#####...",
+ "certificateFormat": "pfx",
+ "password": "certpassword"
}
},
"responses": {
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateCancelDelete.json
index 26c5f96c87bf..82509a1f35ff 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateCancelDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateCancelDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateDelete.json
index a46d4e70e9a2..eb0343a86bca 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateGet.json
index 9b9d12765743..19ea59bd4651 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateList.json
index bd6542ba5782..41cfaff8b603 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/CertificateList.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromNode.json
index aa2ec6062bd5..5b0e350c153c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromNode.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromTask.json
index 7d14815da786..16708cb6b080 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileDeleteFromTask.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json
index 8e72bb4399a6..1597a89e6de8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json
index 8942e96948a8..6e8aa5ebae66 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromNode.json
index 1496110130ea..12f0121b18f5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromNode.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromTask.json
index 94fd190468af..96ef570fa654 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/FileListFromTask.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Basic.json
index 8b47aff3c30f..0ba59d2a0f7f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Basic.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Complex.json
index 68040f9b5529..b30d94c4e79a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobAdd_Complex.json
@@ -35,7 +35,7 @@
"retentionTime": "PT1H"
},
"killJobOnCompletion": false,
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -75,7 +75,7 @@
"value": "myvalue"
}
],
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -117,4 +117,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobDisable.json
index d72a06c54d37..0172e5d1cda0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobDisable.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobEnable.json
index c39f4a225edd..467c5b0074d2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGet.json
index 0bae4ebd131d..e41523ad29b1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGet.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json
index 931d167134ad..3eecc86a1d63 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimejobstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimejobstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"userCPUTime": "PT0S",
@@ -24,4 +24,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobList.json
index d46127d23d13..6f9ec3a867e8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobList.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json
index a73a1ed98003..69f291f29610 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobPatch.json
index 74eb40fdb399..633b03e3b45e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobPatch.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobPatchParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json
index 287a8aa9b03c..f20faf293f53 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json
@@ -6,7 +6,7 @@
"cloudJobSchedule": {
"id": "jobScheduleId",
"schedule": {
- "recurrenceInterval":"PT5M"
+ "recurrenceInterval": "PT5M"
},
"jobSpecification": {
"poolInfo": {
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json
index b831d5cd634a..7254a08778b1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json
@@ -125,4 +125,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDelete.json
index 4286e8936fd9..70503e2dca8a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDisable.json
index bd838eed45cc..ab1feb6aba32 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleDisable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleEnable.json
index bd838eed45cc..ab1feb6aba32 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleGet.json
index 4eb145e6c1b5..b9ba874c54b9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleList.json
index 73b0a141db00..b47ff0accdb6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleList.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobSchedulePatch.json
index 71c677593b57..d7daaf19e003 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobSchedulePatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobSchedulePatch.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleTerminate.json
index 4286e8936fd9..70503e2dca8a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleTerminate.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleUpdate.json
index 6a26f335736f..b80e1cab27a7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobScheduleUpdate.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobTerminate.json
index 858bdcbb7518..157911e56b18 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobTerminate.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobUpdate.json
index 0984430be61d..b7b2b4c0b137 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/JobUpdate.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobUpdateParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeAddUser.json
index 2b99a1feae5d..20a552c3cc97 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeAddUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeAddUser.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDeleteUser.json
index 8b2594aa20df..2c63260fecee 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDeleteUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDeleteUser.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDisableScheduling.json
index ba6f824d4010..f2742df1646b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDisableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeDisableScheduling.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeEnableScheduling.json
index 6b80e4ce452d..aac71e40143d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeEnableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeEnableScheduling.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json
index 75ef488d233f..1eb45beab923 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGet_Basic.json
index fd8f31449915..f8ed81fd4681 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeGet_Basic.json
@@ -24,7 +24,7 @@
"runningTasksCount": 0,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeList.json
index eef743916ec2..34a9090297cb 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeList.json
@@ -25,7 +25,7 @@
"runningTasksCount": 0,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -58,7 +58,7 @@
"runningTasksCount": 0,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -91,7 +91,7 @@
"runningTasksCount": 0,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -112,4 +112,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReboot.json
index b6f7a4c8247f..48f35fc4219f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReboot.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReboot.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReimage.json
index ecf2fbd08dcb..1be0d177c9ed 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReimage.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeReimage.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeUpdateUser.json
index b8133e62e607..299837ef534c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeUpdateUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/NodeUpdateUser.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json
index d63b5503d867..7cb72a72373a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json
@@ -9,18 +9,20 @@
"cloudServiceConfiguration": {
"osFamily": "4"
},
- "resizeTimeout":"PT15M",
- "targetDedicated":5,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicated": 5,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -30,4 +32,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json
index 37d68f070561..71dcf4ad34a4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -14,18 +14,20 @@
},
"nodeAgentSKUId": "batch.node.ubuntu 16.04"
},
- "resizeTimeout":"PT15M",
- "targetDedicated":5,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicated": 5,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -35,4 +37,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolDelete.json
index 291ec9d4c156..8bebb0e32786 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEnableAutoscale.json
index ad4f5ab36c4a..3874f8fce8e2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEnableAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEnableAutoscale.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json
index f349a11851d4..aa523e32d335 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json
index 66a6f825a84e..8280444a7bf9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"usageStats": {
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGet_Basic.json
index de9588a32e5a..355f38b506af 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolGet_Basic.json
@@ -25,7 +25,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "/bin/bash -c 'echo start task'",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolListUsageMetrics.json
index edb909a0ed4d..d3601e6f89e3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolListUsageMetrics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolListUsageMetrics.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolList_Basic.json
index 3a0c9d4d46ed..c8e8b2a29519 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolList_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolList_Basic.json
@@ -26,7 +26,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolRemoveNodes.json
index 39e38639f343..4e63e864e6cd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolRemoveNodes.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolRemoveNodes.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolResize.json
index d950ce2f5a92..eafb8c809157 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolResize.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolStopResize.json
index 291ec9d4c156..8bebb0e32786 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolStopResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolStopResize.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolUpdate.json
index 0cd0554faba0..a171cde43df9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/PoolUpdate.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Basic.json
index 831eee286aa7..dc9557b7597a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Basic.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Complex.json
index b9e50d5209b1..0da43c0d194c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAddCollection_Complex.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_Basic.json
index 31020aaa3660..7258c9dc1891 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_Basic.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json
index 06a461d670a3..2527fdce6a87 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json
@@ -18,7 +18,7 @@
}
]
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -31,4 +31,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskDelete.json
index dcc6788d32af..3cd0fe6a8510 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskGet.json
index 48b4cb0389ad..d8c82f4ca69c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskGet.json
@@ -17,7 +17,7 @@
"state": "active",
"stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
"commandLine": "cmd /c hostname",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskList.json
index 1dd23be937e2..057b4dce1513 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskList.json
@@ -18,7 +18,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
"commandLine": "cmd /c echo task1",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -43,7 +43,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
"commandLine": "cmd /c echo task2",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskListSubtasks.json
index ead6fef7c89c..2a3e6fae74a6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskListSubtasks.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskListSubtasks.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskReactivate.json
index 37cd57df63b5..20e993bd5b6a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskReactivate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskReactivate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskTerminate.json
index 37cd57df63b5..20e993bd5b6a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskTerminate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskUpdate.json
index 1698e7578413..846bbab3760d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-05-01.5.0/examples/TaskUpdate.json
@@ -7,9 +7,9 @@
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"taskUpdateParameter": {
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":3,
- "retentionTime":"PT1H"
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
}
}
},
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/BatchService.json
index 823c8d6bcec3..1e6093ac0f7e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/BatchService.json
@@ -248,7 +248,9 @@
},
"operationId": "Pool_ListUsageMetrics",
"x-ms-examples": {
- "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" }
+ "Pool list usage metrics": {
+ "$ref": "./examples/PoolListUsageMetrics.json"
+ }
},
"summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.",
"description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.",
@@ -400,7 +402,9 @@
},
"operationId": "Account_ListNodeAgentSkus",
"x-ms-examples": {
- "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" }
+ "Account list node agent skus": {
+ "$ref": "./examples/AccountListNodeAgentSkus.json"
+ }
},
"summary": "Lists all node agent SKUs supported by the Azure Batch service.",
"x-ms-request-id": "request-id",
@@ -524,7 +528,9 @@
],
"operationId": "Pool_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" }
+ "Pool get lifetime statistics": {
+ "$ref": "./examples/PoolGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the pools in the specified account.",
"description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.",
@@ -624,7 +630,9 @@
],
"operationId": "Job_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" }
+ "Job get lifetime statistics": {
+ "$ref": "./examples/JobGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the jobs in the specified account.",
"description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.",
@@ -724,7 +732,9 @@
],
"operationId": "Certificate_Add",
"x-ms-examples": {
- "Certificate add": { "$ref": "./examples/CertificateAdd.json" }
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
},
"summary": "Adds a certificate to the specified account.",
"x-ms-request-id": "request-id",
@@ -834,7 +844,9 @@
},
"operationId": "Certificate_List",
"x-ms-examples": {
- "Certificate list": { "$ref": "./examples/CertificateList.json" }
+ "Certificate list": {
+ "$ref": "./examples/CertificateList.json"
+ }
},
"summary": "Lists all of the certificates that have been added to the specified account.",
"x-ms-request-id": "request-id",
@@ -968,7 +980,9 @@
],
"operationId": "Certificate_CancelDeletion",
"x-ms-examples": {
- "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" }
+ "Certificate cancel delete": {
+ "$ref": "./examples/CertificateCancelDelete.json"
+ }
},
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
@@ -1083,7 +1097,9 @@
],
"operationId": "Certificate_Delete",
"x-ms-examples": {
- "Certificate delete": { "$ref": "./examples/CertificateDelete.json" }
+ "Certificate delete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"summary": "Deletes a certificate from the specified account.",
"description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.",
@@ -1192,7 +1208,9 @@
],
"operationId": "Certificate_Get",
"x-ms-examples": {
- "Certificate get": { "$ref": "./examples/CertificateGet.json" }
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
},
"description": "Gets information about the specified certificate.",
"x-ms-request-id": "request-id",
@@ -1315,7 +1333,9 @@
],
"operationId": "File_DeleteFromTask",
"x-ms-examples": {
- "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" }
+ "File delete from task": {
+ "$ref": "./examples/FileDeleteFromTask.json"
+ }
},
"summary": "Deletes the specified task file from the compute node where the task ran.",
"x-ms-request-id": "request-id",
@@ -1599,7 +1619,9 @@
],
"operationId": "File_GetPropertiesFromTask",
"x-ms-examples": {
- "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" }
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
},
"description": "Gets the properties of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1764,7 +1786,9 @@
],
"operationId": "File_DeleteFromComputeNode",
"x-ms-examples": {
- "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" }
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
},
"summary": "Deletes the specified file from the compute node.",
"x-ms-request-id": "request-id",
@@ -2048,7 +2072,9 @@
],
"operationId": "File_GetPropertiesFromComputeNode",
"x-ms-examples": {
- "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" }
+ "File get properties from node": {
+ "$ref": "./examples/FileGetPropertiesFromNode.json"
+ }
},
"description": "Gets the properties of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2216,7 +2242,9 @@
},
"operationId": "File_ListFromTask",
"x-ms-examples": {
- "File list from task": { "$ref": "./examples/FileListFromTask.json" }
+ "File list from task": {
+ "$ref": "./examples/FileListFromTask.json"
+ }
},
"summary": "Lists the files in a task's directory on its compute node.",
"x-ms-request-id": "request-id",
@@ -2364,7 +2392,9 @@
},
"operationId": "File_ListFromComputeNode",
"x-ms-examples": {
- "File list from node": { "$ref": "./examples/FileListFromNode.json" }
+ "File list from node": {
+ "$ref": "./examples/FileListFromNode.json"
+ }
},
"summary": "Lists all of the files in task directories on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -2652,7 +2682,9 @@
],
"operationId": "JobSchedule_Delete",
"x-ms-examples": {
- "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" }
+ "JobSchedule delete": {
+ "$ref": "./examples/JobScheduleDelete.json"
+ }
},
"summary": "Deletes a job schedule from the specified account.",
"description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.",
@@ -2785,7 +2817,9 @@
],
"operationId": "JobSchedule_Get",
"x-ms-examples": {
- "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" }
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
},
"description": "Gets information about the specified job schedule.",
"x-ms-request-id": "request-id",
@@ -2951,7 +2985,9 @@
],
"operationId": "JobSchedule_Patch",
"x-ms-examples": {
- "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" }
+ "JobSchedule patch": {
+ "$ref": "./examples/JobSchedulePatch.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3108,7 +3144,9 @@
],
"operationId": "JobSchedule_Update",
"x-ms-examples": {
- "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" }
+ "JobSchedule update": {
+ "$ref": "./examples/JobScheduleUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3267,7 +3305,9 @@
],
"operationId": "JobSchedule_Disable",
"x-ms-examples": {
- "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" }
+ "JobSchedule disable": {
+ "$ref": "./examples/JobScheduleDisable.json"
+ }
},
"summary": "Disables a job schedule.",
"description": "No new jobs will be created until the job schedule is enabled again.",
@@ -3417,7 +3457,9 @@
],
"operationId": "JobSchedule_Enable",
"x-ms-examples": {
- "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" }
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
},
"summary": "Enables a job schedule.",
"x-ms-request-id": "request-id",
@@ -3566,7 +3608,9 @@
],
"operationId": "JobSchedule_Terminate",
"x-ms-examples": {
- "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" }
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
},
"summary": "Terminates a job schedule.",
"x-ms-request-id": "request-id",
@@ -3715,8 +3759,12 @@
],
"operationId": "JobSchedule_Add",
"x-ms-examples": {
- "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" },
- "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" }
+ "Add a basic JobSchedule": {
+ "$ref": "./examples/JobScheduleAdd_Basic.json"
+ },
+ "Add a complex JobScheduleAdd": {
+ "$ref": "./examples/JobScheduleAdd_Complex.json"
+ }
},
"summary": "Adds a job schedule to the specified account.",
"x-ms-request-id": "request-id",
@@ -3826,7 +3874,9 @@
},
"operationId": "JobSchedule_List",
"x-ms-examples": {
- "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" }
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
},
"summary": "Lists all of the job schedules in the specified account.",
"x-ms-request-id": "request-id",
@@ -4100,7 +4150,9 @@
],
"operationId": "Job_Get",
"x-ms-examples": {
- "Job get": { "$ref": "./examples/JobGet.json" }
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
},
"summary": "Gets information about the specified job.",
"x-ms-request-id": "request-id",
@@ -4266,7 +4318,9 @@
],
"operationId": "Job_Patch",
"x-ms-examples": {
- "Job patch": { "$ref": "./examples/JobPatch.json" }
+ "Job patch": {
+ "$ref": "./examples/JobPatch.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.",
@@ -4423,7 +4477,9 @@
],
"operationId": "Job_Update",
"x-ms-examples": {
- "Job update": { "$ref": "./examples/JobUpdate.json" }
+ "Job update": {
+ "$ref": "./examples/JobUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.",
@@ -4582,7 +4638,9 @@
],
"operationId": "Job_Disable",
"x-ms-examples": {
- "Job disable": { "$ref": "./examples/JobDisable.json" }
+ "Job disable": {
+ "$ref": "./examples/JobDisable.json"
+ }
},
"summary": "Disables the specified job, preventing new tasks from running.",
"description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.",
@@ -4741,7 +4799,9 @@
],
"operationId": "Job_Enable",
"x-ms-examples": {
- "Job enable": { "$ref": "./examples/JobEnable.json" }
+ "Job enable": {
+ "$ref": "./examples/JobEnable.json"
+ }
},
"summary": "Enables the specified job, allowing new tasks to run.",
"description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.",
@@ -4891,7 +4951,9 @@
],
"operationId": "Job_Terminate",
"x-ms-examples": {
- "Job terminate": { "$ref": "./examples/JobTerminate.json" }
+ "Job terminate": {
+ "$ref": "./examples/JobTerminate.json"
+ }
},
"summary": "Terminates the specified job, marking it as completed.",
"description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.",
@@ -5050,8 +5112,12 @@
],
"operationId": "Job_Add",
"x-ms-examples": {
- "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" },
- "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" }
+ "Add a basic job": {
+ "$ref": "./examples/JobAdd_Basic.json"
+ },
+ "Add a complex job": {
+ "$ref": "./examples/JobAdd_Complex.json"
+ }
},
"summary": "Adds a job to the specified account.",
"description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5162,7 +5228,9 @@
},
"operationId": "Job_List",
"x-ms-examples": {
- "Job list": { "$ref": "./examples/JobList.json" }
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
},
"summary": "Lists all of the jobs in the specified account.",
"x-ms-request-id": "request-id",
@@ -5460,7 +5528,9 @@
},
"operationId": "Job_ListPreparationAndReleaseTaskStatus",
"x-ms-examples": {
- "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" }
+ "Job list preparation and release task status": {
+ "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json"
+ }
},
"summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.",
"description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.",
@@ -5602,7 +5672,9 @@
],
"operationId": "Job_GetTaskCounts",
"x-ms-examples": {
- "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" }
+ "Job get task counts": {
+ "$ref": "./examples/JobGetTaskCounts.json"
+ }
},
"summary": "Gets the task counts for the specified job.",
"description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running. If the validationStatus is unvalidated, then the Batch service has not been able to check state counts against the task states as reported in the List Tasks API. The validationStatus may be unvalidated if the job contains more than 200,000 tasks.",
@@ -5700,8 +5772,12 @@
],
"operationId": "Pool_Add",
"x-ms-examples": {
- "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" },
- "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" }
+ "Add a CloudServiceConfiguration pool": {
+ "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json"
+ }
},
"summary": "Adds a pool to the specified account.",
"description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5812,7 +5888,9 @@
},
"operationId": "Pool_List",
"x-ms-examples": {
- "Pool list": { "$ref": "./examples/PoolList_Basic.json" }
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
},
"summary": "Lists all of the pools in the specified account.",
"x-ms-request-id": "request-id",
@@ -5956,7 +6034,9 @@
],
"operationId": "Pool_Delete",
"x-ms-examples": {
- "Pool delete": { "$ref": "./examples/PoolDelete.json" }
+ "Pool delete": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"summary": "Deletes a pool from the specified account.",
"description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.",
@@ -6232,7 +6312,9 @@
],
"operationId": "Pool_Get",
"x-ms-examples": {
- "Pool get": { "$ref": "./examples/PoolGet_Basic.json" }
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
},
"description": "Gets information about the specified pool.",
"x-ms-request-id": "request-id",
@@ -6658,7 +6740,9 @@
],
"operationId": "Pool_EnableAutoScale",
"x-ms-examples": {
- "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" }
+ "Pool enable autoscale": {
+ "$ref": "./examples/PoolEnableAutoscale.json"
+ }
},
"summary": "Enables automatic scaling for a pool.",
"description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.",
@@ -6817,7 +6901,9 @@
],
"operationId": "Pool_EvaluateAutoScale",
"x-ms-examples": {
- "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" }
+ "Pool evaluate autoscale": {
+ "$ref": "./examples/PoolEvaluateAutoscale.json"
+ }
},
"summary": "Gets the result of evaluating an automatic scaling formula on the pool.",
"description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.",
@@ -6937,7 +7023,9 @@
],
"operationId": "Pool_Resize",
"x-ms-examples": {
- "Pool resize": { "$ref": "./examples/PoolResize.json" }
+ "Pool resize": {
+ "$ref": "./examples/PoolResize.json"
+ }
},
"summary": "Changes the number of compute nodes that are assigned to a pool.",
"description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.",
@@ -7096,7 +7184,9 @@
],
"operationId": "Pool_StopResize",
"x-ms-examples": {
- "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" }
+ "Pool stop resize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
@@ -7246,7 +7336,9 @@
],
"operationId": "Pool_UpdateProperties",
"x-ms-examples": {
- "Pool update": { "$ref": "./examples/PoolUpdate.json" }
+ "Pool update": {
+ "$ref": "./examples/PoolUpdate.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.",
@@ -7519,7 +7611,9 @@
],
"operationId": "Pool_RemoveNodes",
"x-ms-examples": {
- "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" }
+ "Pool remove nodes": {
+ "$ref": "./examples/PoolRemoveNodes.json"
+ }
},
"summary": "Removes compute nodes from the specified pool.",
"description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.",
@@ -7678,8 +7772,12 @@
],
"operationId": "Task_Add",
"x-ms-examples": {
- "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" },
- "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" }
+ "Add a basic task": {
+ "$ref": "./examples/TaskAdd_Basic.json"
+ },
+ "Add a task with exit conditions": {
+ "$ref": "./examples/TaskAdd_ExitConditions.json"
+ }
},
"summary": "Adds a task to the specified job.",
"x-ms-request-id": "request-id",
@@ -7796,7 +7894,9 @@
},
"operationId": "Task_List",
"x-ms-examples": {
- "Task list": { "$ref": "./examples/TaskList.json" }
+ "Task list": {
+ "$ref": "./examples/TaskList.json"
+ }
},
"summary": "Lists all of the tasks that are associated with the specified job.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -7948,8 +8048,12 @@
],
"operationId": "Task_AddCollection",
"x-ms-examples": {
- "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" },
- "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" }
+ "Add a basic collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Basic.json"
+ },
+ "Add a complex collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Complex.json"
+ }
},
"summary": "Adds a collection of tasks to the specified job.",
"description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt.",
@@ -8054,7 +8158,9 @@
],
"operationId": "Task_Delete",
"x-ms-examples": {
- "Task delete": { "$ref": "./examples/TaskDelete.json" }
+ "Task delete": {
+ "$ref": "./examples/TaskDelete.json"
+ }
},
"summary": "Deletes a task from the specified job.",
"description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.",
@@ -8194,7 +8300,9 @@
],
"operationId": "Task_Get",
"x-ms-examples": {
- "Task get": { "$ref": "./examples/TaskGet.json" }
+ "Task get": {
+ "$ref": "./examples/TaskGet.json"
+ }
},
"summary": "Gets information about the specified task.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8372,7 +8480,9 @@
],
"operationId": "Task_Update",
"x-ms-examples": {
- "Task update": { "$ref": "./examples/TaskUpdate.json" }
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
},
"description": "Updates the properties of the specified task.",
"x-ms-request-id": "request-id",
@@ -8537,7 +8647,9 @@
],
"operationId": "Task_ListSubtasks",
"x-ms-examples": {
- "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" }
+ "Task list subtasks": {
+ "$ref": "./examples/TaskListSubtasks.json"
+ }
},
"summary": "Lists all of the subtasks that are associated with the specified multi-instance task.",
"description": "If the task is not a multi-instance task then this returns an empty collection.",
@@ -8661,7 +8773,9 @@
],
"operationId": "Task_Terminate",
"x-ms-examples": {
- "Task terminate": { "$ref": "./examples/TaskTerminate.json" }
+ "Task terminate": {
+ "$ref": "./examples/TaskTerminate.json"
+ }
},
"summary": "Terminates the specified task.",
"description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -8818,7 +8932,9 @@
],
"operationId": "Task_Reactivate",
"x-ms-examples": {
- "Task reactivate": { "$ref": "./examples/TaskReactivate.json" }
+ "Task reactivate": {
+ "$ref": "./examples/TaskReactivate.json"
+ }
},
"summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.",
"description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).",
@@ -8975,7 +9091,9 @@
],
"operationId": "ComputeNode_AddUser",
"x-ms-examples": {
- "Node add user": { "$ref": "./examples/NodeAddUser.json" }
+ "Node add user": {
+ "$ref": "./examples/NodeAddUser.json"
+ }
},
"summary": "Adds a user account to the specified compute node.",
"description": "You can add a user account to a node only when it is in the idle or running state.",
@@ -9099,7 +9217,9 @@
],
"operationId": "ComputeNode_DeleteUser",
"x-ms-examples": {
- "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" }
+ "Node delete user": {
+ "$ref": "./examples/NodeDeleteUser.json"
+ }
},
"summary": "Deletes a user account from the specified compute node.",
"description": "You can delete a user account to a node only when it is in the idle or running state.",
@@ -9204,7 +9324,9 @@
],
"operationId": "ComputeNode_UpdateUser",
"x-ms-examples": {
- "Node update user": { "$ref": "./examples/NodeUpdateUser.json" }
+ "Node update user": {
+ "$ref": "./examples/NodeUpdateUser.json"
+ }
},
"summary": "Updates the password and expiration time of a user account on the specified compute node.",
"description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.",
@@ -9335,7 +9457,9 @@
],
"operationId": "ComputeNode_Get",
"x-ms-examples": {
- "Node get": { "$ref": "./examples/NodeGet_Basic.json" }
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
},
"summary": "Gets information about the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9458,7 +9582,9 @@
],
"operationId": "ComputeNode_Reboot",
"x-ms-examples": {
- "Node reboot": { "$ref": "./examples/NodeReboot.json" }
+ "Node reboot": {
+ "$ref": "./examples/NodeReboot.json"
+ }
},
"summary": "Restarts the specified compute node.",
"description": "You can restart a node only if it is in an idle or running state.",
@@ -9582,7 +9708,9 @@
],
"operationId": "ComputeNode_Reimage",
"x-ms-examples": {
- "Node reimage": { "$ref": "./examples/NodeReimage.json" }
+ "Node reimage": {
+ "$ref": "./examples/NodeReimage.json"
+ }
},
"summary": "Reinstalls the operating system on the specified compute node.",
"description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.",
@@ -9706,7 +9834,9 @@
],
"operationId": "ComputeNode_DisableScheduling",
"x-ms-examples": {
- "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" }
+ "Node disable scheduling": {
+ "$ref": "./examples/NodeDisableScheduling.json"
+ }
},
"summary": "Disables task scheduling on the specified compute node.",
"description": "You can disable task scheduling on a node only if its current scheduling state is enabled.",
@@ -9830,7 +9960,9 @@
],
"operationId": "ComputeNode_EnableScheduling",
"x-ms-examples": {
- "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" }
+ "Node enable scheduling": {
+ "$ref": "./examples/NodeEnableScheduling.json"
+ }
},
"summary": "Enables task scheduling on the specified compute node.",
"description": "You can enable task scheduling on a node only if its current scheduling state is disabled",
@@ -9945,7 +10077,9 @@
],
"operationId": "ComputeNode_GetRemoteLoginSettings",
"x-ms-examples": {
- "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" }
+ "Node get remote login settings": {
+ "$ref": "./examples/NodeGetRemoteLoginSettings.json"
+ }
},
"summary": "Gets the settings required for remote login to a compute node.",
"description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.",
@@ -10173,7 +10307,9 @@
},
"operationId": "ComputeNode_List",
"x-ms-examples": {
- "Node list": { "$ref": "./examples/NodeList.json" }
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
},
"summary": "Lists the compute nodes in the specified pool.",
"x-ms-request-id": "request-id",
@@ -10346,7 +10482,15 @@
"title": "The cross data center network egress from the pool during this interval, in GiB."
}
},
- "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"title": "Usage metrics for a pool across an aggregation interval."
},
"PoolListUsageMetricsResult": {
@@ -10450,7 +10594,11 @@
"title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -10521,7 +10669,21 @@
"title": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -10549,7 +10711,11 @@
"title": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": [ "url", "startTime", "lastUpdateTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -10628,7 +10794,22 @@
"description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -10723,7 +10904,9 @@
"description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error."
}
},
- "required": [ "applicationId" ],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an application package to be deployed to compute nodes."
},
"ApplicationSummary": {
@@ -10744,7 +10927,11 @@
}
}
},
- "required": [ "id", "displayName", "versions" ],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -10779,7 +10966,11 @@
"description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm", "data" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -10826,7 +11017,10 @@
"description": "The file mode is returned only for files on Linux compute nodes."
}
},
- "required": [ "lastModified", "contentLength" ],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -10929,7 +11123,10 @@
"description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file."
}
},
- "required": [ "blobSource", "filePath" ],
+ "required": [
+ "blobSource",
+ "filePath"
+ ],
"title": "A file to be downloaded from Azure blob storage to a compute node."
},
"EnvironmentSetting": {
@@ -10943,7 +11140,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"ExitConditions": {
@@ -10992,7 +11191,10 @@
}
},
"title": "How the Batch service should respond if a task exits with a particular exit code.",
- "required": [ "code", "exitOptions" ]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -11012,7 +11214,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": [ "start", "end", "exitOptions" ]
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -11129,7 +11335,10 @@
"$ref": "#/definitions/LinuxUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user used to execute tasks on an Azure Batch node."
},
"TaskConstraints": {
@@ -11180,7 +11389,7 @@
"title": "A list of files that the Batch service will download to the compute node before running the command line.",
"description": "Files listed under this element are located in the task's working directory."
},
- "outputFiles": {
+ "outputFiles": {
"type": "array",
"items": {
"$ref": "#/definitions/OutputFile"
@@ -11233,7 +11442,10 @@
"description": "The default value is false."
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager task.",
"description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job."
},
@@ -11284,7 +11496,9 @@
"description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation task to run before any tasks of the job on any given compute node.",
"description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job."
},
@@ -11332,7 +11546,9 @@
"description": "If omitted, the task runs as a non-administrative user unique to the task."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release task to run on job completion on any compute node where the job has run.",
"description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool."
},
@@ -11351,7 +11567,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -11393,7 +11611,9 @@
"description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged."
},
"CertificateReference": {
@@ -11443,7 +11663,10 @@
"description": "Values are:\n\n starttask - The user account under which the start task is run.\n task - The accounts under which job tasks are run.\n remoteuser - The accounts under which users remotely access the node.\n\n You can specify more than one visibility in this collection. The default is all accounts."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -11457,7 +11680,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -11559,7 +11785,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -11579,7 +11805,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "vmSize" ],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new pool."
},
"AutoPoolSpecification": {
@@ -11612,7 +11840,9 @@
"title": "The pool specification for the auto pool."
}
},
- "required": [ "poolLifetimeOption" ],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted."
},
"PoolInformation": {
@@ -11697,7 +11927,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the jobs to be created on a schedule."
},
"RecentJob": {
@@ -11809,7 +12041,22 @@
"description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -11918,7 +12165,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "schedule", "jobSpecification" ],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -11959,7 +12210,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -11992,7 +12245,9 @@
"description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminateJob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminateJob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation."
}
},
- "required": [ "startTime" ],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -12187,7 +12442,10 @@
"title": "Whether tasks in the job can define dependencies on each other. The default is false."
}
},
- "required": [ "id", "poolInfo" ],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -12228,7 +12486,9 @@
"title": "A list of additional details related to the error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "Information about a task failure."
},
"JobPreparationTaskExecutionInformation": {
@@ -12295,7 +12555,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "retryCount", "state" ],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -12350,7 +12614,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "state" ],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -12436,7 +12703,14 @@
}
}
},
- "required": ["active", "running", "completed", "succeeded", "failed", "validationStatus"],
+ "required": [
+ "active",
+ "running",
+ "completed",
+ "succeeded",
+ "failed",
+ "validationStatus"
+ ],
"title": "The task counts for a job."
},
"AutoScaleRunError": {
@@ -12476,7 +12750,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "timestamp" ],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -12517,7 +12793,9 @@
"description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -12543,7 +12821,11 @@
"description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'."
}
},
- "required": [ "publisher", "offer", "sku" ],
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
"title": "A reference to an Azure Virtual Machines Marketplace image. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation."
},
"OSDisk": {
@@ -12571,7 +12853,9 @@
}
}
},
- "required": [ "imageUris" ],
+ "required": [
+ "imageUris"
+ ],
"title": "A reference to an OS disk image."
},
"WindowsConfiguration": {
@@ -12607,7 +12891,9 @@
"description": "This property must not be specified if the imageReference or osDisk property specifies a Linux OS image."
}
},
- "required": [ "nodeAgentSKUId" ],
+ "required": [
+ "nodeAgentSKUId"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"NetworkConfiguration": {
@@ -12622,9 +12908,9 @@
}
},
"endpointConfiguration": {
- "$ref": "#/definitions/PoolEndpointConfiguration",
- "title": "The configuration for endpoints on compute nodes in the Batch pool.",
- "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
+ "$ref": "#/definitions/PoolEndpointConfiguration",
+ "title": "The configuration for endpoints on compute nodes in the Batch pool.",
+ "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
}
},
"description": "The network configuration for a pool."
@@ -12802,7 +13088,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -12930,7 +13216,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -12960,7 +13246,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "vmSize" ],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -13003,7 +13292,9 @@
"description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere."
}
},
- "required": [ "affinityId" ],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task."
},
"TaskExecutionInformation": {
@@ -13061,7 +13352,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "requeueCount", "retryCount" ],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -13114,7 +13408,9 @@
"description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory)."
}
},
- "required": [ "numberOfInstances" ],
+ "required": [
+ "numberOfInstances"
+ ],
"title": "Settings which specify how to run a multi-instance task.",
"description": "Multi-instance tasks are commonly used to support MPI tasks."
},
@@ -13176,7 +13472,19 @@
"title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -13214,7 +13522,10 @@
},
"title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.",
- "required": [ "start", "end" ]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -13430,7 +13741,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch task to add."
},
"TaskAddCollectionParameter": {
@@ -13445,7 +13759,9 @@
"description": "The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -13459,7 +13775,9 @@
"clientError",
"serverError"
],
- "x-ms-enum": { "name": "TaskAddStatus" }
+ "x-ms-enum": {
+ "name": "TaskAddStatus"
+ }
},
"taskId": {
"type": "string",
@@ -13484,7 +13802,10 @@
"title": "The error encountered while attempting to add the task."
}
},
- "required": [ "status", "taskId" ],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -13616,7 +13937,9 @@
"title": "Information about the execution of the task."
}
},
- "required": [ "taskState" ],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -13675,7 +13998,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "state", "startTime", "retryCount" ],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -13845,7 +14172,9 @@
"description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNATPools" ],
+ "required": [
+ "inboundNATPools"
+ ],
"title": "The endpoint configuration for a pool."
},
"InboundNATPool": {
@@ -13894,7 +14223,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally."
},
"NetworkSecurityGroupRule": {
@@ -13923,7 +14258,11 @@
"description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ComputeNodeEndpointConfiguration": {
@@ -13936,7 +14275,9 @@
"title": "The list of inbound endpoints that are accessible on the compute node."
}
},
- "required": [ "inboundEndpoints" ],
+ "required": [
+ "inboundEndpoints"
+ ],
"title": "The endpoint configuration for the compute node."
},
"InboundEndpoint": {
@@ -13976,7 +14317,14 @@
"title": "The backend port number of the endpoint."
}
},
- "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ],
+ "required": [
+ "name",
+ "protocol",
+ "publicIPAddress",
+ "publicFQDN",
+ "frontendPort",
+ "backendPort"
+ ],
"title": "An inbound endpoint on a compute node."
},
"ComputeNodeListResult": {
@@ -14023,7 +14371,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "A user account for RDP or SSH access on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -14038,7 +14388,10 @@
"title": "The port used for remote login to the compute node."
}
},
- "required": [ "remoteLoginIPAddress", "remoteLoginPort" ],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a compute node."
},
"JobSchedulePatchParameter": {
@@ -14085,7 +14438,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": [ "schedule", "jobSpecification" ],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a job schedule."
},
"JobDisableParameter": {
@@ -14105,7 +14461,9 @@
}
}
},
- "required": [ "disableTasks" ],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a job."
},
"JobTerminateParameter": {
@@ -14183,7 +14541,9 @@
"$ref": "#/definitions/OnAllTasksComplete"
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a job."
},
"PoolEnableAutoScaleParameter": {
@@ -14210,7 +14570,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": [ "autoScaleFormula" ],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a pool."
},
"PoolResizeParameter": {
@@ -14271,7 +14633,11 @@
"description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a pool."
},
"PoolUpgradeOSParameter": {
@@ -14281,7 +14647,9 @@
"title": "The Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": [ "targetOSVersion" ],
+ "required": [
+ "targetOSVersion"
+ ],
"title": "Options for upgrading the operating system of compute nodes in a pool."
},
"PoolPatchParameter": {
@@ -14430,7 +14798,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "nodeList" ],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing compute nodes from a pool."
},
"OutputFile": {
@@ -14449,7 +14819,11 @@
"$ref": "#/definitions/OutputFileUploadOptions"
}
},
- "required": [ "filePattern", "destination", "uploadOptions" ],
+ "required": [
+ "filePattern",
+ "destination",
+ "uploadOptions"
+ ],
"title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process."
},
"OutputFileDestination": {
@@ -14474,7 +14848,9 @@
"description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container."
}
},
- "required": [ "containerUrl" ],
+ "required": [
+ "containerUrl"
+ ],
"title": "Specifies a file upload destination within an Azure blob storage container."
},
"OutputFileUploadOptions": {
@@ -14485,7 +14861,9 @@
"$ref": "#/definitions/OutputFileUploadCondition"
}
},
- "required": [ "uploadCondition" ],
+ "required": [
+ "uploadCondition"
+ ],
"title": "Details about an output file upload operation, including under what conditions to perform the upload."
},
"ErrorMessage": {
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json
index 17cbbe0bacf9..83a5f89a721c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json
@@ -60,4 +60,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateAdd.json
index 683a76407c7d..7d5aa07ff917 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateAdd.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateAdd.json
@@ -4,11 +4,11 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"certificate": {
- "thumbprintAlgorithm":"sha1",
- "thumbprint":"0123456789abcdef0123456789abcdef01234567",
- "data":"#####...",
- "certificateFormat":"pfx",
- "password":"certpassword"
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "data": "#####...",
+ "certificateFormat": "pfx",
+ "password": "certpassword"
}
},
"responses": {
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateCancelDelete.json
index 9ed7d05abcda..be743fb2cf22 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateCancelDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateCancelDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateDelete.json
index 756f1bb432be..46ca139fa8b7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateGet.json
index 2e33874c0e89..ffc5f1c90785 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateList.json
index 71e3773922c6..18fe3101524f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/CertificateList.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromNode.json
index 1a710342cb40..89c6345c39d6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromNode.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromTask.json
index fe4baac39883..cef625002e8e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileDeleteFromTask.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json
index 43f34562136e..16d0112682bd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json
index 994a5123fa7b..c2dadf3db636 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromNode.json
index 34c99a065c8a..9a9a9d0b1bb6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromNode.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromTask.json
index b17abfd7614d..77a8a0857d58 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/FileListFromTask.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Basic.json
index 1a809900a053..1fdbc95cf020 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Basic.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Complex.json
index 50a0193bb865..d072d2b9168a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobAdd_Complex.json
@@ -35,7 +35,7 @@
"retentionTime": "PT1H"
},
"killJobOnCompletion": false,
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -76,7 +76,7 @@
"value": "myvalue"
}
],
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -118,4 +118,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobDisable.json
index 12fcdd69de68..4442d8d08625 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobDisable.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobEnable.json
index ed8f0408bda1..a4e3dd9a5dcb 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGet.json
index 1c095c75885f..40cdbab8ba8f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGet.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json
index 9cd74795291a..ecbe995d249f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimejobstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimejobstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"userCPUTime": "PT0S",
@@ -24,4 +24,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetTaskCounts.json
index cb3797c8ba04..1586afad376e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetTaskCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobGetTaskCounts.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobList.json
index 48664ea49eb5..f5710efe8324 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobList.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json
index eec1fc016da8..f9a778b3c294 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobPatch.json
index 56db71cac040..fec76a09deeb 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobPatch.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobPatchParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json
index 678dfbcc423b..03362dd0b4f1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json
@@ -6,7 +6,7 @@
"cloudJobSchedule": {
"id": "jobScheduleId",
"schedule": {
- "recurrenceInterval":"PT5M"
+ "recurrenceInterval": "PT5M"
},
"jobSpecification": {
"poolInfo": {
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json
index e206235ee1ef..c8b1bc97f9a4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json
@@ -126,4 +126,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDelete.json
index 7f7d21df96f8..52fab8751454 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDisable.json
index 414bb95cfa5a..c8f79ac1b45e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleDisable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleEnable.json
index 414bb95cfa5a..c8f79ac1b45e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleGet.json
index fa98aac1edea..b26c8b434de8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleList.json
index 8d5d6ff09998..3c9f51e06b9f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleList.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobSchedulePatch.json
index fe6bc4b89ebc..8e232a37faa4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobSchedulePatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobSchedulePatch.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleTerminate.json
index 7f7d21df96f8..52fab8751454 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleTerminate.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleUpdate.json
index 82f077c04065..b65f811c3a5c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobScheduleUpdate.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobTerminate.json
index 74ea5cd90acb..ad6ece79affb 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobTerminate.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobUpdate.json
index 7cb21a300aa6..1f3fa0a7db28 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/JobUpdate.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobUpdateParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeAddUser.json
index 8860918eef6d..7186d56e1ae6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeAddUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeAddUser.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDeleteUser.json
index 822d3ebbc078..a2a007258f5f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDeleteUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDeleteUser.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDisableScheduling.json
index 346ba2d1ab96..13645eb72987 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDisableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeDisableScheduling.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeEnableScheduling.json
index cef34a36e8a5..773256183f72 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeEnableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeEnableScheduling.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json
index 9079188f8040..f254ed73d1fa 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGet_Basic.json
index 6b1b3314ccbc..a9582d3adbbc 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeGet_Basic.json
@@ -25,7 +25,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeList.json
index 95de94bfcbcf..d93ac50ccb63 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeList.json
@@ -26,7 +26,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -60,7 +60,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -94,7 +94,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -115,4 +115,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReboot.json
index 0374915155aa..c3938018ad64 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReboot.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReboot.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReimage.json
index f18aa559eb07..e027289cef94 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReimage.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeReimage.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeUpdateUser.json
index b07740b17ceb..5bfe0ff417d0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeUpdateUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/NodeUpdateUser.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json
index ee46f121442b..bcfb5c9e745f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json
@@ -9,19 +9,21 @@
"cloudServiceConfiguration": {
"osFamily": "4"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -31,4 +33,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json
index bd64ee9eccbb..1829efc16f19 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -14,19 +14,21 @@
},
"nodeAgentSKUId": "batch.node.ubuntu 16.04"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -36,4 +38,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolDelete.json
index 5b7ec5a827c8..1c9b94412d6b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEnableAutoscale.json
index 17bc7458394a..434dee72fc0c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEnableAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEnableAutoscale.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json
index 15cc3e56758d..624d04967a10 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json
index c492fdb39795..baa327e21d54 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"usageStats": {
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGet_Basic.json
index c8f16fe7a07e..87d536c17c28 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolGet_Basic.json
@@ -27,7 +27,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "/bin/bash -c 'echo start task'",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -52,4 +52,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolListUsageMetrics.json
index 5bdae4038083..085ad02dc2cc 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolListUsageMetrics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolListUsageMetrics.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolList_Basic.json
index dd699e25d75d..d11374eb98d0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolList_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolList_Basic.json
@@ -28,7 +28,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolRemoveNodes.json
index ce9f843dd546..f66c6a837211 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolRemoveNodes.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolRemoveNodes.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolResize.json
index ebb2d9d3f829..55fb61af5b2b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolResize.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolStopResize.json
index 5b7ec5a827c8..1c9b94412d6b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolStopResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolStopResize.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolUpdate.json
index 0906621460eb..3e1c70926221 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/PoolUpdate.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Basic.json
index 7817ab7b563a..8dcd93f60666 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Basic.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Complex.json
index ea5767ef69cd..e7467d89566f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAddCollection_Complex.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_Basic.json
index 59b02dbb93ef..572ad5ae03ba 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_Basic.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json
index 66c970f7e8fb..0f0321696936 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json
@@ -18,7 +18,7 @@
}
]
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -31,4 +31,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskDelete.json
index 24a217b1d6a4..58d9059022e9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskGet.json
index 22d9bcc6d58c..ee1f008bb3e4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskGet.json
@@ -17,7 +17,7 @@
"state": "active",
"stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
"commandLine": "cmd /c hostname",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskList.json
index 4f7a357c4b21..5ed3e977582c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskList.json
@@ -18,7 +18,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
"commandLine": "cmd /c echo task1",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -43,7 +43,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
"commandLine": "cmd /c echo task2",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonAdmin"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskListSubtasks.json
index 042770246117..8290081fbc48 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskListSubtasks.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskListSubtasks.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskReactivate.json
index e9c2e1cc4466..b8f90a6e62e8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskReactivate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskReactivate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskTerminate.json
index e9c2e1cc4466..b8f90a6e62e8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskTerminate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskUpdate.json
index 7c2ead1a2d27..ca2196dd7ce7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-06-01.5.1/examples/TaskUpdate.json
@@ -7,9 +7,9 @@
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"taskUpdateParameter": {
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":3,
- "retentionTime":"PT1H"
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
}
}
},
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/BatchService.json
index f8e8f0bdbaf6..71519910b415 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/BatchService.json
@@ -248,7 +248,9 @@
},
"operationId": "Pool_ListUsageMetrics",
"x-ms-examples": {
- "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" }
+ "Pool list usage metrics": {
+ "$ref": "./examples/PoolListUsageMetrics.json"
+ }
},
"summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.",
"description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.",
@@ -400,7 +402,9 @@
},
"operationId": "Account_ListNodeAgentSkus",
"x-ms-examples": {
- "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" }
+ "Account list node agent skus": {
+ "$ref": "./examples/AccountListNodeAgentSkus.json"
+ }
},
"summary": "Lists all node agent SKUs supported by the Azure Batch service.",
"x-ms-request-id": "request-id",
@@ -524,7 +528,9 @@
],
"operationId": "Pool_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" }
+ "Pool get lifetime statistics": {
+ "$ref": "./examples/PoolGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the pools in the specified account.",
"description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.",
@@ -624,7 +630,9 @@
],
"operationId": "Job_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" }
+ "Job get lifetime statistics": {
+ "$ref": "./examples/JobGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the jobs in the specified account.",
"description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.",
@@ -724,7 +732,9 @@
],
"operationId": "Certificate_Add",
"x-ms-examples": {
- "Certificate add": { "$ref": "./examples/CertificateAdd.json" }
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
},
"summary": "Adds a certificate to the specified account.",
"x-ms-request-id": "request-id",
@@ -834,7 +844,9 @@
},
"operationId": "Certificate_List",
"x-ms-examples": {
- "Certificate list": { "$ref": "./examples/CertificateList.json" }
+ "Certificate list": {
+ "$ref": "./examples/CertificateList.json"
+ }
},
"summary": "Lists all of the certificates that have been added to the specified account.",
"x-ms-request-id": "request-id",
@@ -968,7 +980,9 @@
],
"operationId": "Certificate_CancelDeletion",
"x-ms-examples": {
- "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" }
+ "Certificate cancel delete": {
+ "$ref": "./examples/CertificateCancelDelete.json"
+ }
},
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
@@ -1083,7 +1097,9 @@
],
"operationId": "Certificate_Delete",
"x-ms-examples": {
- "Certificate delete": { "$ref": "./examples/CertificateDelete.json" }
+ "Certificate delete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"summary": "Deletes a certificate from the specified account.",
"description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.",
@@ -1192,7 +1208,9 @@
],
"operationId": "Certificate_Get",
"x-ms-examples": {
- "Certificate get": { "$ref": "./examples/CertificateGet.json" }
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
},
"description": "Gets information about the specified certificate.",
"x-ms-request-id": "request-id",
@@ -1315,7 +1333,9 @@
],
"operationId": "File_DeleteFromTask",
"x-ms-examples": {
- "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" }
+ "File delete from task": {
+ "$ref": "./examples/FileDeleteFromTask.json"
+ }
},
"summary": "Deletes the specified task file from the compute node where the task ran.",
"x-ms-request-id": "request-id",
@@ -1599,7 +1619,9 @@
],
"operationId": "File_GetPropertiesFromTask",
"x-ms-examples": {
- "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" }
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
},
"description": "Gets the properties of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1764,7 +1786,9 @@
],
"operationId": "File_DeleteFromComputeNode",
"x-ms-examples": {
- "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" }
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
},
"summary": "Deletes the specified file from the compute node.",
"x-ms-request-id": "request-id",
@@ -2048,7 +2072,9 @@
],
"operationId": "File_GetPropertiesFromComputeNode",
"x-ms-examples": {
- "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" }
+ "File get properties from node": {
+ "$ref": "./examples/FileGetPropertiesFromNode.json"
+ }
},
"description": "Gets the properties of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2216,7 +2242,9 @@
},
"operationId": "File_ListFromTask",
"x-ms-examples": {
- "File list from task": { "$ref": "./examples/FileListFromTask.json" }
+ "File list from task": {
+ "$ref": "./examples/FileListFromTask.json"
+ }
},
"summary": "Lists the files in a task's directory on its compute node.",
"x-ms-request-id": "request-id",
@@ -2364,7 +2392,9 @@
},
"operationId": "File_ListFromComputeNode",
"x-ms-examples": {
- "File list from node": { "$ref": "./examples/FileListFromNode.json" }
+ "File list from node": {
+ "$ref": "./examples/FileListFromNode.json"
+ }
},
"summary": "Lists all of the files in task directories on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -2652,7 +2682,9 @@
],
"operationId": "JobSchedule_Delete",
"x-ms-examples": {
- "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" }
+ "JobSchedule delete": {
+ "$ref": "./examples/JobScheduleDelete.json"
+ }
},
"summary": "Deletes a job schedule from the specified account.",
"description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.",
@@ -2785,7 +2817,9 @@
],
"operationId": "JobSchedule_Get",
"x-ms-examples": {
- "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" }
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
},
"description": "Gets information about the specified job schedule.",
"x-ms-request-id": "request-id",
@@ -2951,7 +2985,9 @@
],
"operationId": "JobSchedule_Patch",
"x-ms-examples": {
- "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" }
+ "JobSchedule patch": {
+ "$ref": "./examples/JobSchedulePatch.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3108,7 +3144,9 @@
],
"operationId": "JobSchedule_Update",
"x-ms-examples": {
- "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" }
+ "JobSchedule update": {
+ "$ref": "./examples/JobScheduleUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3267,7 +3305,9 @@
],
"operationId": "JobSchedule_Disable",
"x-ms-examples": {
- "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" }
+ "JobSchedule disable": {
+ "$ref": "./examples/JobScheduleDisable.json"
+ }
},
"summary": "Disables a job schedule.",
"description": "No new jobs will be created until the job schedule is enabled again.",
@@ -3417,7 +3457,9 @@
],
"operationId": "JobSchedule_Enable",
"x-ms-examples": {
- "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" }
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
},
"summary": "Enables a job schedule.",
"x-ms-request-id": "request-id",
@@ -3566,7 +3608,9 @@
],
"operationId": "JobSchedule_Terminate",
"x-ms-examples": {
- "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" }
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
},
"summary": "Terminates a job schedule.",
"x-ms-request-id": "request-id",
@@ -3715,8 +3759,12 @@
],
"operationId": "JobSchedule_Add",
"x-ms-examples": {
- "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" },
- "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" }
+ "Add a basic JobSchedule": {
+ "$ref": "./examples/JobScheduleAdd_Basic.json"
+ },
+ "Add a complex JobScheduleAdd": {
+ "$ref": "./examples/JobScheduleAdd_Complex.json"
+ }
},
"summary": "Adds a job schedule to the specified account.",
"x-ms-request-id": "request-id",
@@ -3826,7 +3874,9 @@
},
"operationId": "JobSchedule_List",
"x-ms-examples": {
- "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" }
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
},
"summary": "Lists all of the job schedules in the specified account.",
"x-ms-request-id": "request-id",
@@ -4100,7 +4150,9 @@
],
"operationId": "Job_Get",
"x-ms-examples": {
- "Job get": { "$ref": "./examples/JobGet.json" }
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
},
"summary": "Gets information about the specified job.",
"x-ms-request-id": "request-id",
@@ -4266,7 +4318,9 @@
],
"operationId": "Job_Patch",
"x-ms-examples": {
- "Job patch": { "$ref": "./examples/JobPatch.json" }
+ "Job patch": {
+ "$ref": "./examples/JobPatch.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.",
@@ -4423,7 +4477,9 @@
],
"operationId": "Job_Update",
"x-ms-examples": {
- "Job update": { "$ref": "./examples/JobUpdate.json" }
+ "Job update": {
+ "$ref": "./examples/JobUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.",
@@ -4582,7 +4638,9 @@
],
"operationId": "Job_Disable",
"x-ms-examples": {
- "Job disable": { "$ref": "./examples/JobDisable.json" }
+ "Job disable": {
+ "$ref": "./examples/JobDisable.json"
+ }
},
"summary": "Disables the specified job, preventing new tasks from running.",
"description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.",
@@ -4741,7 +4799,9 @@
],
"operationId": "Job_Enable",
"x-ms-examples": {
- "Job enable": { "$ref": "./examples/JobEnable.json" }
+ "Job enable": {
+ "$ref": "./examples/JobEnable.json"
+ }
},
"summary": "Enables the specified job, allowing new tasks to run.",
"description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.",
@@ -4891,7 +4951,9 @@
],
"operationId": "Job_Terminate",
"x-ms-examples": {
- "Job terminate": { "$ref": "./examples/JobTerminate.json" }
+ "Job terminate": {
+ "$ref": "./examples/JobTerminate.json"
+ }
},
"summary": "Terminates the specified job, marking it as completed.",
"description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.",
@@ -5050,8 +5112,12 @@
],
"operationId": "Job_Add",
"x-ms-examples": {
- "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" },
- "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" }
+ "Add a basic job": {
+ "$ref": "./examples/JobAdd_Basic.json"
+ },
+ "Add a complex job": {
+ "$ref": "./examples/JobAdd_Complex.json"
+ }
},
"summary": "Adds a job to the specified account.",
"description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5162,7 +5228,9 @@
},
"operationId": "Job_List",
"x-ms-examples": {
- "Job list": { "$ref": "./examples/JobList.json" }
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
},
"summary": "Lists all of the jobs in the specified account.",
"x-ms-request-id": "request-id",
@@ -5460,7 +5528,9 @@
},
"operationId": "Job_ListPreparationAndReleaseTaskStatus",
"x-ms-examples": {
- "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" }
+ "Job list preparation and release task status": {
+ "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json"
+ }
},
"summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.",
"description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.",
@@ -5602,7 +5672,9 @@
],
"operationId": "Job_GetTaskCounts",
"x-ms-examples": {
- "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" }
+ "Job get task counts": {
+ "$ref": "./examples/JobGetTaskCounts.json"
+ }
},
"summary": "Gets the task counts for the specified job.",
"description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running. If the validationStatus is unvalidated, then the Batch service has not been able to check state counts against the task states as reported in the List Tasks API. The validationStatus may be unvalidated if the job contains more than 200,000 tasks.",
@@ -5700,9 +5772,15 @@
],
"operationId": "Pool_Add",
"x-ms-examples": {
- "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" },
- "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" },
- "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" }
+ "Add a CloudServiceConfiguration pool": {
+ "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool with containers": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json"
+ }
},
"summary": "Adds a pool to the specified account.",
"description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5813,7 +5891,9 @@
},
"operationId": "Pool_List",
"x-ms-examples": {
- "Pool list": { "$ref": "./examples/PoolList_Basic.json" }
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
},
"summary": "Lists all of the pools in the specified account.",
"x-ms-request-id": "request-id",
@@ -5957,7 +6037,9 @@
],
"operationId": "Pool_Delete",
"x-ms-examples": {
- "Pool delete": { "$ref": "./examples/PoolDelete.json" }
+ "Pool delete": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"summary": "Deletes a pool from the specified account.",
"description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.",
@@ -6233,7 +6315,9 @@
],
"operationId": "Pool_Get",
"x-ms-examples": {
- "Pool get": { "$ref": "./examples/PoolGet_Basic.json" }
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
},
"description": "Gets information about the specified pool.",
"x-ms-request-id": "request-id",
@@ -6659,7 +6743,9 @@
],
"operationId": "Pool_EnableAutoScale",
"x-ms-examples": {
- "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" }
+ "Pool enable autoscale": {
+ "$ref": "./examples/PoolEnableAutoscale.json"
+ }
},
"summary": "Enables automatic scaling for a pool.",
"description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.",
@@ -6818,7 +6904,9 @@
],
"operationId": "Pool_EvaluateAutoScale",
"x-ms-examples": {
- "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" }
+ "Pool evaluate autoscale": {
+ "$ref": "./examples/PoolEvaluateAutoscale.json"
+ }
},
"summary": "Gets the result of evaluating an automatic scaling formula on the pool.",
"description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.",
@@ -6938,7 +7026,9 @@
],
"operationId": "Pool_Resize",
"x-ms-examples": {
- "Pool resize": { "$ref": "./examples/PoolResize.json" }
+ "Pool resize": {
+ "$ref": "./examples/PoolResize.json"
+ }
},
"summary": "Changes the number of compute nodes that are assigned to a pool.",
"description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.",
@@ -7097,7 +7187,9 @@
],
"operationId": "Pool_StopResize",
"x-ms-examples": {
- "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" }
+ "Pool stop resize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
@@ -7247,7 +7339,9 @@
],
"operationId": "Pool_UpdateProperties",
"x-ms-examples": {
- "Pool update": { "$ref": "./examples/PoolUpdate.json" }
+ "Pool update": {
+ "$ref": "./examples/PoolUpdate.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.",
@@ -7520,7 +7614,9 @@
],
"operationId": "Pool_RemoveNodes",
"x-ms-examples": {
- "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" }
+ "Pool remove nodes": {
+ "$ref": "./examples/PoolRemoveNodes.json"
+ }
},
"summary": "Removes compute nodes from the specified pool.",
"description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.",
@@ -7679,9 +7775,15 @@
],
"operationId": "Task_Add",
"x-ms-examples": {
- "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" },
- "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" },
- "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" }
+ "Add a basic task": {
+ "$ref": "./examples/TaskAdd_Basic.json"
+ },
+ "Add a task with exit conditions": {
+ "$ref": "./examples/TaskAdd_ExitConditions.json"
+ },
+ "Add a task with container settings": {
+ "$ref": "./examples/TaskAdd_ContainerSettings.json"
+ }
},
"summary": "Adds a task to the specified job.",
"description": "The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -7799,7 +7901,9 @@
},
"operationId": "Task_List",
"x-ms-examples": {
- "Task list": { "$ref": "./examples/TaskList.json" }
+ "Task list": {
+ "$ref": "./examples/TaskList.json"
+ }
},
"summary": "Lists all of the tasks that are associated with the specified job.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -7951,8 +8055,12 @@
],
"operationId": "Task_AddCollection",
"x-ms-examples": {
- "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" },
- "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" }
+ "Add a basic collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Basic.json"
+ },
+ "Add a complex collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Complex.json"
+ }
},
"summary": "Adds a collection of tasks to the specified job.",
"description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -8057,7 +8165,9 @@
],
"operationId": "Task_Delete",
"x-ms-examples": {
- "Task delete": { "$ref": "./examples/TaskDelete.json" }
+ "Task delete": {
+ "$ref": "./examples/TaskDelete.json"
+ }
},
"summary": "Deletes a task from the specified job.",
"description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.",
@@ -8197,7 +8307,9 @@
],
"operationId": "Task_Get",
"x-ms-examples": {
- "Task get": { "$ref": "./examples/TaskGet.json" }
+ "Task get": {
+ "$ref": "./examples/TaskGet.json"
+ }
},
"summary": "Gets information about the specified task.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8375,7 +8487,9 @@
],
"operationId": "Task_Update",
"x-ms-examples": {
- "Task update": { "$ref": "./examples/TaskUpdate.json" }
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
},
"description": "Updates the properties of the specified task.",
"x-ms-request-id": "request-id",
@@ -8540,7 +8654,9 @@
],
"operationId": "Task_ListSubtasks",
"x-ms-examples": {
- "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" }
+ "Task list subtasks": {
+ "$ref": "./examples/TaskListSubtasks.json"
+ }
},
"summary": "Lists all of the subtasks that are associated with the specified multi-instance task.",
"description": "If the task is not a multi-instance task then this returns an empty collection.",
@@ -8664,7 +8780,9 @@
],
"operationId": "Task_Terminate",
"x-ms-examples": {
- "Task terminate": { "$ref": "./examples/TaskTerminate.json" }
+ "Task terminate": {
+ "$ref": "./examples/TaskTerminate.json"
+ }
},
"summary": "Terminates the specified task.",
"description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -8821,7 +8939,9 @@
],
"operationId": "Task_Reactivate",
"x-ms-examples": {
- "Task reactivate": { "$ref": "./examples/TaskReactivate.json" }
+ "Task reactivate": {
+ "$ref": "./examples/TaskReactivate.json"
+ }
},
"summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.",
"description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).",
@@ -8978,7 +9098,9 @@
],
"operationId": "ComputeNode_AddUser",
"x-ms-examples": {
- "Node add user": { "$ref": "./examples/NodeAddUser.json" }
+ "Node add user": {
+ "$ref": "./examples/NodeAddUser.json"
+ }
},
"summary": "Adds a user account to the specified compute node.",
"description": "You can add a user account to a node only when it is in the idle or running state.",
@@ -9102,7 +9224,9 @@
],
"operationId": "ComputeNode_DeleteUser",
"x-ms-examples": {
- "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" }
+ "Node delete user": {
+ "$ref": "./examples/NodeDeleteUser.json"
+ }
},
"summary": "Deletes a user account from the specified compute node.",
"description": "You can delete a user account to a node only when it is in the idle or running state.",
@@ -9207,7 +9331,9 @@
],
"operationId": "ComputeNode_UpdateUser",
"x-ms-examples": {
- "Node update user": { "$ref": "./examples/NodeUpdateUser.json" }
+ "Node update user": {
+ "$ref": "./examples/NodeUpdateUser.json"
+ }
},
"summary": "Updates the password and expiration time of a user account on the specified compute node.",
"description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.",
@@ -9338,7 +9464,9 @@
],
"operationId": "ComputeNode_Get",
"x-ms-examples": {
- "Node get": { "$ref": "./examples/NodeGet_Basic.json" }
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
},
"summary": "Gets information about the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9461,7 +9589,9 @@
],
"operationId": "ComputeNode_Reboot",
"x-ms-examples": {
- "Node reboot": { "$ref": "./examples/NodeReboot.json" }
+ "Node reboot": {
+ "$ref": "./examples/NodeReboot.json"
+ }
},
"summary": "Restarts the specified compute node.",
"description": "You can restart a node only if it is in an idle or running state.",
@@ -9585,7 +9715,9 @@
],
"operationId": "ComputeNode_Reimage",
"x-ms-examples": {
- "Node reimage": { "$ref": "./examples/NodeReimage.json" }
+ "Node reimage": {
+ "$ref": "./examples/NodeReimage.json"
+ }
},
"summary": "Reinstalls the operating system on the specified compute node.",
"description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.",
@@ -9709,7 +9841,9 @@
],
"operationId": "ComputeNode_DisableScheduling",
"x-ms-examples": {
- "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" }
+ "Node disable scheduling": {
+ "$ref": "./examples/NodeDisableScheduling.json"
+ }
},
"summary": "Disables task scheduling on the specified compute node.",
"description": "You can disable task scheduling on a node only if its current scheduling state is enabled.",
@@ -9833,7 +9967,9 @@
],
"operationId": "ComputeNode_EnableScheduling",
"x-ms-examples": {
- "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" }
+ "Node enable scheduling": {
+ "$ref": "./examples/NodeEnableScheduling.json"
+ }
},
"summary": "Enables task scheduling on the specified compute node.",
"description": "You can enable task scheduling on a node only if its current scheduling state is disabled",
@@ -9948,7 +10084,9 @@
],
"operationId": "ComputeNode_GetRemoteLoginSettings",
"x-ms-examples": {
- "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" }
+ "Node get remote login settings": {
+ "$ref": "./examples/NodeGetRemoteLoginSettings.json"
+ }
},
"summary": "Gets the settings required for remote login to a compute node.",
"description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.",
@@ -10176,7 +10314,9 @@
},
"operationId": "ComputeNode_List",
"x-ms-examples": {
- "Node list": { "$ref": "./examples/NodeList.json" }
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
},
"summary": "Lists the compute nodes in the specified pool.",
"x-ms-request-id": "request-id",
@@ -10349,7 +10489,15 @@
"title": "The cross data center network egress from the pool during this interval, in GiB."
}
},
- "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"title": "Usage metrics for a pool across an aggregation interval."
},
"PoolListUsageMetricsResult": {
@@ -10469,7 +10617,11 @@
"title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -10540,7 +10692,21 @@
"title": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -10568,7 +10734,11 @@
"title": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": [ "url", "startTime", "lastUpdateTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -10647,7 +10817,22 @@
"description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -10742,7 +10927,9 @@
"description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error."
}
},
- "required": [ "applicationId" ],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an application package to be deployed to compute nodes."
},
"ApplicationSummary": {
@@ -10763,7 +10950,11 @@
}
}
},
- "required": [ "id", "displayName", "versions" ],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -10808,7 +10999,11 @@
"description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm", "data" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -10855,7 +11050,10 @@
"description": "The file mode is returned only for files on Linux compute nodes."
}
},
- "required": [ "lastModified", "contentLength" ],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -10959,7 +11157,9 @@
"description": "This setting can be omitted if was already provided at pool creation."
}
},
- "required": [ "imageName" ],
+ "required": [
+ "imageName"
+ ],
"title": "The container settings for a task."
},
"ResourceFile": {
@@ -10979,7 +11179,10 @@
"description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file."
}
},
- "required": [ "blobSource", "filePath" ],
+ "required": [
+ "blobSource",
+ "filePath"
+ ],
"title": "A file to be downloaded from Azure blob storage to a compute node."
},
"EnvironmentSetting": {
@@ -10993,7 +11196,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"ExitConditions": {
@@ -11042,7 +11247,10 @@
}
},
"title": "How the Batch service should respond if a task exits with a particular exit code.",
- "required": [ "code", "exitOptions" ]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -11062,7 +11270,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": [ "start", "end", "exitOptions" ]
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -11213,7 +11425,10 @@
"$ref": "#/definitions/LinuxUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user used to execute tasks on an Azure Batch node."
},
"TaskConstraints": {
@@ -11269,7 +11484,7 @@
"title": "A list of files that the Batch service will download to the compute node before running the command line.",
"description": "Files listed under this element are located in the task's working directory."
},
- "outputFiles": {
+ "outputFiles": {
"type": "array",
"items": {
"$ref": "#/definitions/OutputFile"
@@ -11322,7 +11537,10 @@
"description": "The default value is false."
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager task.",
"description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job."
},
@@ -11378,7 +11596,9 @@
"description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation task to run before any tasks of the job on any given compute node.",
"description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job."
},
@@ -11431,7 +11651,9 @@
"description": "If omitted, the task runs as a non-administrative user unique to the task."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release task to run on job completion on any compute node where the job has run.",
"description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool."
},
@@ -11460,7 +11682,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -11507,7 +11731,9 @@
"description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged."
},
"CertificateReference": {
@@ -11585,7 +11811,10 @@
"description": "You can specify more than one visibility in this collection. The default is all accounts."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -11599,7 +11828,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -11701,7 +11933,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -11721,7 +11953,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "vmSize" ],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new pool."
},
"AutoPoolSpecification": {
@@ -11764,7 +11998,9 @@
"title": "The pool specification for the auto pool."
}
},
- "required": [ "poolLifetimeOption" ],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted."
},
"PoolInformation": {
@@ -11849,7 +12085,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the jobs to be created on a schedule."
},
"RecentJob": {
@@ -11961,7 +12199,22 @@
"description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -12070,7 +12323,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "schedule", "jobSpecification" ],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -12111,7 +12368,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -12144,7 +12403,9 @@
"description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation."
}
},
- "required": [ "startTime" ],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -12339,7 +12600,10 @@
"title": "Whether tasks in the job can define dependencies on each other. The default is false."
}
},
- "required": [ "id", "poolInfo" ],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -12399,7 +12663,9 @@
"title": "A list of additional details related to the error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "Information about a task failure."
},
"JobPreparationTaskExecutionInformation": {
@@ -12480,7 +12746,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "retryCount", "state" ],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -12549,7 +12819,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "state" ],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -12644,7 +12917,14 @@
}
}
},
- "required": ["active", "running", "completed", "succeeded", "failed", "validationStatus"],
+ "required": [
+ "active",
+ "running",
+ "completed",
+ "succeeded",
+ "failed",
+ "validationStatus"
+ ],
"title": "The task counts for a job."
},
"AutoScaleRunError": {
@@ -12684,7 +12964,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "timestamp" ],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -12726,7 +13008,9 @@
"description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -12854,7 +13138,7 @@
"value": "readonly",
"description": "The caching mode for the disk is read only.",
"name": "readOnly"
- },
+ },
{
"value": "readwrite",
"description": "The caching mode for the disk is read and write.",
@@ -12902,7 +13186,10 @@
"description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it."
}
},
- "required": [ "nodeAgentSKUId", "imageReference" ],
+ "required": [
+ "nodeAgentSKUId",
+ "imageReference"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"ContainerRegistry": {
@@ -12922,7 +13209,10 @@
"title": "The password to log into the registry server."
}
},
- "required": [ "username", "password" ],
+ "required": [
+ "username",
+ "password"
+ ],
"title": "A private container registry."
},
"ContainerConfiguration": {
@@ -12961,7 +13251,9 @@
"description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here."
}
},
- "required": [ "type" ],
+ "required": [
+ "type"
+ ],
"title": "The configuration for container-enabled pools."
},
"NetworkConfiguration": {
@@ -12976,9 +13268,9 @@
}
},
"endpointConfiguration": {
- "$ref": "#/definitions/PoolEndpointConfiguration",
- "title": "The configuration for endpoints on compute nodes in the Batch pool.",
- "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
+ "$ref": "#/definitions/PoolEndpointConfiguration",
+ "title": "The configuration for endpoints on compute nodes in the Batch pool.",
+ "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
}
},
"description": "The network configuration for a pool."
@@ -13182,7 +13474,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -13310,7 +13602,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -13340,7 +13632,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "vmSize" ],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -13383,7 +13678,9 @@
"description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere."
}
},
- "required": [ "affinityId" ],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task."
},
"TaskExecutionInformation": {
@@ -13446,7 +13743,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "requeueCount", "retryCount" ],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -13500,7 +13800,9 @@
"description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory)."
}
},
- "required": [ "coordinationCommandLine" ],
+ "required": [
+ "coordinationCommandLine"
+ ],
"title": "Settings which specify how to run a multi-instance task.",
"description": "Multi-instance tasks are commonly used to support MPI tasks."
},
@@ -13562,7 +13864,19 @@
"title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -13600,7 +13914,10 @@
},
"title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.",
- "required": [ "start", "end" ]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -13826,7 +14143,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch task to add."
},
"TaskAddCollectionParameter": {
@@ -13841,7 +14161,9 @@
"description": "The total serialized size of this collection must be less than 4MB. If it is greater than 4MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -13898,7 +14220,10 @@
"title": "The error encountered while attempting to add the task."
}
},
- "required": [ "status", "taskId" ],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -14035,7 +14360,9 @@
"title": "Information about the execution of the task."
}
},
- "required": [ "taskState" ],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -14108,7 +14435,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "state", "startTime", "retryCount" ],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -14344,7 +14675,9 @@
"description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNATPools" ],
+ "required": [
+ "inboundNATPools"
+ ],
"title": "The endpoint configuration for a pool."
},
"InboundNATPool": {
@@ -14385,7 +14718,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally."
},
"NetworkSecurityGroupRule": {
@@ -14424,7 +14763,11 @@
"description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ComputeNodeEndpointConfiguration": {
@@ -14437,7 +14780,9 @@
"title": "The list of inbound endpoints that are accessible on the compute node."
}
},
- "required": [ "inboundEndpoints" ],
+ "required": [
+ "inboundEndpoints"
+ ],
"title": "The endpoint configuration for the compute node."
},
"InboundEndpoint": {
@@ -14469,7 +14814,14 @@
"title": "The backend port number of the endpoint."
}
},
- "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ],
+ "required": [
+ "name",
+ "protocol",
+ "publicIPAddress",
+ "publicFQDN",
+ "frontendPort",
+ "backendPort"
+ ],
"title": "An inbound endpoint on a compute node."
},
"ComputeNodeListResult": {
@@ -14516,7 +14868,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "A user account for RDP or SSH access on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -14531,7 +14885,10 @@
"title": "The port used for remote login to the compute node."
}
},
- "required": [ "remoteLoginIPAddress", "remoteLoginPort" ],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a compute node."
},
"JobSchedulePatchParameter": {
@@ -14578,7 +14935,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": [ "schedule", "jobSpecification" ],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a job schedule."
},
"JobDisableParameter": {
@@ -14611,7 +14971,9 @@
}
}
},
- "required": [ "disableTasks" ],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a job."
},
"JobTerminateParameter": {
@@ -14689,7 +15051,9 @@
"$ref": "#/definitions/OnAllTasksComplete"
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a job."
},
"PoolEnableAutoScaleParameter": {
@@ -14716,7 +15080,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": [ "autoScaleFormula" ],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a pool."
},
"PoolResizeParameter": {
@@ -14777,7 +15143,11 @@
"description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a pool."
},
"PoolUpgradeOSParameter": {
@@ -14787,7 +15157,9 @@
"title": "The Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": [ "targetOSVersion" ],
+ "required": [
+ "targetOSVersion"
+ ],
"title": "Options for upgrading the operating system of compute nodes in a pool."
},
"PoolPatchParameter": {
@@ -14991,7 +15363,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "nodeList" ],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing compute nodes from a pool."
},
"OutputFile": {
@@ -15010,7 +15384,11 @@
"$ref": "#/definitions/OutputFileUploadOptions"
}
},
- "required": [ "filePattern", "destination", "uploadOptions" ],
+ "required": [
+ "filePattern",
+ "destination",
+ "uploadOptions"
+ ],
"title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process."
},
"OutputFileDestination": {
@@ -15035,7 +15413,9 @@
"description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container."
}
},
- "required": [ "containerUrl" ],
+ "required": [
+ "containerUrl"
+ ],
"title": "Specifies a file upload destination within an Azure blob storage container."
},
"OutputFileUploadOptions": {
@@ -15046,7 +15426,9 @@
"$ref": "#/definitions/OutputFileUploadCondition"
}
},
- "required": [ "uploadCondition" ],
+ "required": [
+ "uploadCondition"
+ ],
"title": "Details about an output file upload operation, including under what conditions to perform the upload."
},
"ErrorMessage": {
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/AccountListNodeAgentSkus.json
index fc98266f54ab..f58e98ad3264 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/AccountListNodeAgentSkus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/AccountListNodeAgentSkus.json
@@ -60,4 +60,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateAdd.json
index 885811994024..1a4dec4dd23c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateAdd.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateAdd.json
@@ -4,11 +4,11 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"certificate": {
- "thumbprintAlgorithm":"sha1",
- "thumbprint":"0123456789abcdef0123456789abcdef01234567",
- "data":"#####...",
- "certificateFormat":"pfx",
- "password":"certpassword"
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "data": "#####...",
+ "certificateFormat": "pfx",
+ "password": "certpassword"
}
},
"responses": {
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateCancelDelete.json
index a6412602279a..6a84c6111fb1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateCancelDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateCancelDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateDelete.json
index f93cfbe8ccb5..6969ede615fe 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateGet.json
index 67568b3c318d..383a6c7a8207 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateList.json
index fbd427639159..90af0de38710 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/CertificateList.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromNode.json
index fdcf42097bce..289252e910cb 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromNode.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromTask.json
index 5b4d1332fb79..731a21bcc541 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileDeleteFromTask.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromNode.json
index 14e2ca1699a7..6c9dd6f614c5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromNode.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromTask.json
index 5a680c7de05d..92fcc3a03861 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileGetPropertiesFromTask.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromNode.json
index 02c28a2d0fda..440fdccea40e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromNode.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromTask.json
index 0de368bafc18..fa4d76b1a1d8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/FileListFromTask.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Basic.json
index 6f3c35e0db13..d03e72458a60 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Basic.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Complex.json
index 770bdd8c2ece..d97380ae2546 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobAdd_Complex.json
@@ -35,7 +35,7 @@
"retentionTime": "PT1H"
},
"killJobOnCompletion": false,
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -76,7 +76,7 @@
"value": "myvalue"
}
],
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -118,4 +118,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobDisable.json
index 323a7c34e6b4..38d54dfba494 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobDisable.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobEnable.json
index dc3e024a0827..2e07e3125432 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGet.json
index 9a1504f6c9f0..7f6e434aeeeb 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGet.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetLifetimeStatistics.json
index 451e5e9df7ef..ec049896f0ef 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimejobstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimejobstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"userCPUTime": "PT0S",
@@ -24,4 +24,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetTaskCounts.json
index 25e1d21e0701..2e8964e9cad5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetTaskCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobGetTaskCounts.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobList.json
index 3d418a5dbb5b..66275d80c457 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobList.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobListPreparationAndReleaseTaskStatus.json
index a70771fa0f2a..d070063c1bb9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobListPreparationAndReleaseTaskStatus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobPatch.json
index bcdafc07c998..871ed8260af7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobPatch.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobPatchParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Basic.json
index 6b402fd2a0f3..30d141fa4f29 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Basic.json
@@ -6,7 +6,7 @@
"cloudJobSchedule": {
"id": "jobScheduleId",
"schedule": {
- "recurrenceInterval":"PT5M"
+ "recurrenceInterval": "PT5M"
},
"jobSpecification": {
"poolInfo": {
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Complex.json
index 5963c206ac88..4be3690231f1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleAdd_Complex.json
@@ -126,4 +126,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDelete.json
index 1c86cf8d62a0..62a5353f5dd8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDisable.json
index 137407f9b0cb..5ccbdb9aac80 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleDisable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleEnable.json
index 137407f9b0cb..5ccbdb9aac80 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleGet.json
index 990d879d4d20..2413da3c4df3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleList.json
index 807886be4ef1..28661b557cbe 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleList.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobSchedulePatch.json
index c79c662e5a68..71f4ccb4ba3d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobSchedulePatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobSchedulePatch.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleTerminate.json
index 1c86cf8d62a0..62a5353f5dd8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleTerminate.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleUpdate.json
index 95951b03ad93..3e77fd33b63c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobScheduleUpdate.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobTerminate.json
index b5042be41ec5..f1e2951f1b06 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobTerminate.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobUpdate.json
index 06215fd01e60..8d1d2332086f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/JobUpdate.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobUpdateParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeAddUser.json
index f0c58a6475b7..84bc6531b6ff 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeAddUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeAddUser.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDeleteUser.json
index b70f2d5713ad..4d176dd914c2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDeleteUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDeleteUser.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDisableScheduling.json
index 6f669310747b..7285f80f6a93 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDisableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeDisableScheduling.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeEnableScheduling.json
index 6927f35cea43..4ade4e0fdc61 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeEnableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeEnableScheduling.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGetRemoteLoginSettings.json
index f41651a1ff0a..39e83c24354d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGetRemoteLoginSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGetRemoteLoginSettings.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGet_Basic.json
index 9f77641967f7..832e19312f1a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeGet_Basic.json
@@ -25,7 +25,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeList.json
index a6d8d4cd4013..7d22af75ef4b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeList.json
@@ -26,7 +26,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -60,7 +60,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -94,7 +94,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -115,4 +115,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReboot.json
index 35d18931f4bc..19ac6abebd30 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReboot.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReboot.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReimage.json
index 20a17fb06c88..bb013be1bd02 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReimage.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeReimage.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeUpdateUser.json
index fd44545cf1d0..1c620a92f683 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeUpdateUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/NodeUpdateUser.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_CloudServiceConfiguration.json
index d01059b31523..94e7d00b82a1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_CloudServiceConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_CloudServiceConfiguration.json
@@ -9,19 +9,21 @@
"cloudServiceConfiguration": {
"osFamily": "4"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -31,4 +33,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfiguration.json
index 81fc4105413f..191abb547d18 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -14,19 +14,21 @@
},
"nodeAgentSKUId": "batch.node.ubuntu 16.04"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -36,4 +38,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
index a7ef487caf75..dce9b6a73ed7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
@@ -20,14 +20,14 @@
]
}
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false
+ "enableAutoScale": false
}
},
"responses": {
@@ -37,4 +37,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolDelete.json
index 35765a598ea6..384cebc53ee2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEnableAutoscale.json
index 0b1fe11102be..37a025056c4a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEnableAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEnableAutoscale.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEvaluateAutoscale.json
index 88b4ff682142..960e2c4aa447 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEvaluateAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolEvaluateAutoscale.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGetLifetimeStatistics.json
index 83421b3cfd32..6d985c0e68c1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"usageStats": {
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGet_Basic.json
index 8a97f2c53081..e8240100ae5b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolGet_Basic.json
@@ -27,7 +27,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "/bin/bash -c 'echo start task'",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -52,4 +52,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolListUsageMetrics.json
index 7587908fd13f..f15351e1f78d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolListUsageMetrics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolListUsageMetrics.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolList_Basic.json
index abf1070bba6f..6045e184aa9a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolList_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolList_Basic.json
@@ -28,7 +28,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolRemoveNodes.json
index e1cd368a7f32..1dcd87d4af30 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolRemoveNodes.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolRemoveNodes.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolResize.json
index 9c72e8006879..e62c24b1e042 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolResize.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolStopResize.json
index 35765a598ea6..384cebc53ee2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolStopResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolStopResize.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolUpdate.json
index a1db09d15604..d55b735972a7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/PoolUpdate.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Basic.json
index 3326616fbb4e..48b7ddf6c587 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Basic.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Complex.json
index 9df418c50ac1..4e8f229eec2c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAddCollection_Complex.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_Basic.json
index 70a373fa577c..09a00a4f0579 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_Basic.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ContainerSettings.json
index a0c773ea8e26..5575a5456509 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ContainerSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ContainerSettings.json
@@ -11,7 +11,7 @@
"imageName": "ubuntu",
"containerRunOptions": "--rm"
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -24,4 +24,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ExitConditions.json
index e8f13b7be097..5774510152ac 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ExitConditions.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskAdd_ExitConditions.json
@@ -18,7 +18,7 @@
}
]
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -31,4 +31,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskDelete.json
index 069af11edb9c..cb359edcdd37 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskGet.json
index 02fecd7ae8a4..3527f1d26642 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskGet.json
@@ -17,7 +17,7 @@
"state": "active",
"stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
"commandLine": "cmd /c hostname",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskList.json
index 7aadb36bd7b8..080d7b5d77de 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskList.json
@@ -18,7 +18,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
"commandLine": "cmd /c echo task1",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -43,7 +43,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
"commandLine": "cmd /c echo task2",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskListSubtasks.json
index 6a49b717698f..dff38dd76473 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskListSubtasks.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskListSubtasks.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskReactivate.json
index e0e33f761e46..3368081bc902 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskReactivate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskReactivate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskTerminate.json
index e0e33f761e46..3368081bc902 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskTerminate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskUpdate.json
index 87263b5fcfad..a3922dd42bd9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2017-09-01.6.0/examples/TaskUpdate.json
@@ -7,9 +7,9 @@
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"taskUpdateParameter": {
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":3,
- "retentionTime":"PT1H"
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
}
}
},
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/BatchService.json
index 0cced72aa042..1d0091986067 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/BatchService.json
@@ -29,7 +29,9 @@
},
"operationId": "Application_List",
"x-ms-examples": {
- "List applications": { "$ref": "./examples/ApplicationList.json" }
+ "List applications": {
+ "$ref": "./examples/ApplicationList.json"
+ }
},
"summary": "Lists all of the applications available in the specified account.",
"description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.",
@@ -144,7 +146,9 @@
],
"operationId": "Application_Get",
"x-ms-examples": {
- "Get applications": { "$ref": "./examples/ApplicationGet.json" }
+ "Get applications": {
+ "$ref": "./examples/ApplicationGet.json"
+ }
},
"summary": "Gets information about the specified application.",
"description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.",
@@ -254,7 +258,9 @@
},
"operationId": "Pool_ListUsageMetrics",
"x-ms-examples": {
- "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" }
+ "Pool list usage metrics": {
+ "$ref": "./examples/PoolListUsageMetrics.json"
+ }
},
"summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.",
"description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.",
@@ -406,7 +412,9 @@
},
"operationId": "Account_ListNodeAgentSkus",
"x-ms-examples": {
- "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" }
+ "Account list node agent skus": {
+ "$ref": "./examples/AccountListNodeAgentSkus.json"
+ }
},
"summary": "Lists all node agent SKUs supported by the Azure Batch service.",
"x-ms-request-id": "request-id",
@@ -534,7 +542,9 @@
"operationId": "Account_ListPoolNodeCounts",
"description": "Gets the number of nodes in each state, grouped by pool.",
"x-ms-examples": {
- "NodeCountsPayload": { "$ref": "./examples/AccountListPoolNodeCounts.json" }
+ "NodeCountsPayload": {
+ "$ref": "./examples/AccountListPoolNodeCounts.json"
+ }
},
"parameters": [
{
@@ -647,7 +657,9 @@
],
"operationId": "Pool_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" }
+ "Pool get lifetime statistics": {
+ "$ref": "./examples/PoolGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the pools in the specified account.",
"description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.",
@@ -747,7 +759,9 @@
],
"operationId": "Job_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" }
+ "Job get lifetime statistics": {
+ "$ref": "./examples/JobGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the jobs in the specified account.",
"description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.",
@@ -847,7 +861,9 @@
],
"operationId": "Certificate_Add",
"x-ms-examples": {
- "Certificate add": { "$ref": "./examples/CertificateAdd.json" }
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
},
"summary": "Adds a certificate to the specified account.",
"x-ms-request-id": "request-id",
@@ -957,7 +973,9 @@
},
"operationId": "Certificate_List",
"x-ms-examples": {
- "Certificate list": { "$ref": "./examples/CertificateList.json" }
+ "Certificate list": {
+ "$ref": "./examples/CertificateList.json"
+ }
},
"summary": "Lists all of the certificates that have been added to the specified account.",
"x-ms-request-id": "request-id",
@@ -1091,7 +1109,9 @@
],
"operationId": "Certificate_CancelDeletion",
"x-ms-examples": {
- "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" }
+ "Certificate cancel delete": {
+ "$ref": "./examples/CertificateCancelDelete.json"
+ }
},
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
@@ -1206,7 +1226,9 @@
],
"operationId": "Certificate_Delete",
"x-ms-examples": {
- "Certificate delete": { "$ref": "./examples/CertificateDelete.json" }
+ "Certificate delete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"summary": "Deletes a certificate from the specified account.",
"description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.",
@@ -1315,7 +1337,9 @@
],
"operationId": "Certificate_Get",
"x-ms-examples": {
- "Certificate get": { "$ref": "./examples/CertificateGet.json" }
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
},
"description": "Gets information about the specified certificate.",
"x-ms-request-id": "request-id",
@@ -1438,7 +1462,9 @@
],
"operationId": "File_DeleteFromTask",
"x-ms-examples": {
- "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" }
+ "File delete from task": {
+ "$ref": "./examples/FileDeleteFromTask.json"
+ }
},
"summary": "Deletes the specified task file from the compute node where the task ran.",
"x-ms-request-id": "request-id",
@@ -1549,7 +1575,9 @@
],
"operationId": "File_GetFromTask",
"x-ms-examples": {
- "Get File From Task": { "$ref": "./examples/FileGetFromTask.json" }
+ "Get File From Task": {
+ "$ref": "./examples/FileGetFromTask.json"
+ }
},
"description": "Returns the content of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1729,7 +1757,9 @@
],
"operationId": "File_GetPropertiesFromTask",
"x-ms-examples": {
- "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" }
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
},
"description": "Gets the properties of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1894,7 +1924,9 @@
],
"operationId": "File_DeleteFromComputeNode",
"x-ms-examples": {
- "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" }
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
},
"summary": "Deletes the specified file from the compute node.",
"x-ms-request-id": "request-id",
@@ -2005,7 +2037,9 @@
],
"operationId": "File_GetFromComputeNode",
"x-ms-examples": {
- "Get File From Compute Node": { "$ref": "./examples/FileGetFromNode.json" }
+ "Get File From Compute Node": {
+ "$ref": "./examples/FileGetFromNode.json"
+ }
},
"description": "Returns the content of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2185,7 +2219,9 @@
],
"operationId": "File_GetPropertiesFromComputeNode",
"x-ms-examples": {
- "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" }
+ "File get properties from node": {
+ "$ref": "./examples/FileGetPropertiesFromNode.json"
+ }
},
"description": "Gets the properties of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2353,7 +2389,9 @@
},
"operationId": "File_ListFromTask",
"x-ms-examples": {
- "File list from task": { "$ref": "./examples/FileListFromTask.json" }
+ "File list from task": {
+ "$ref": "./examples/FileListFromTask.json"
+ }
},
"summary": "Lists the files in a task's directory on its compute node.",
"x-ms-request-id": "request-id",
@@ -2501,7 +2539,9 @@
},
"operationId": "File_ListFromComputeNode",
"x-ms-examples": {
- "File list from node": { "$ref": "./examples/FileListFromNode.json" }
+ "File list from node": {
+ "$ref": "./examples/FileListFromNode.json"
+ }
},
"summary": "Lists all of the files in task directories on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -2646,7 +2686,9 @@
],
"operationId": "JobSchedule_Exists",
"x-ms-examples": {
- "Check Job Schedule Exists": { "$ref": "./examples/JobScheduleExists.json" }
+ "Check Job Schedule Exists": {
+ "$ref": "./examples/JobScheduleExists.json"
+ }
},
"summary": "Checks the specified job schedule exists.",
"x-ms-request-id": "request-id",
@@ -2792,7 +2834,9 @@
],
"operationId": "JobSchedule_Delete",
"x-ms-examples": {
- "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" }
+ "JobSchedule delete": {
+ "$ref": "./examples/JobScheduleDelete.json"
+ }
},
"summary": "Deletes a job schedule from the specified account.",
"description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.",
@@ -2925,7 +2969,9 @@
],
"operationId": "JobSchedule_Get",
"x-ms-examples": {
- "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" }
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
},
"description": "Gets information about the specified job schedule.",
"x-ms-request-id": "request-id",
@@ -3091,7 +3137,9 @@
],
"operationId": "JobSchedule_Patch",
"x-ms-examples": {
- "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" }
+ "JobSchedule patch": {
+ "$ref": "./examples/JobSchedulePatch.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3248,7 +3296,9 @@
],
"operationId": "JobSchedule_Update",
"x-ms-examples": {
- "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" }
+ "JobSchedule update": {
+ "$ref": "./examples/JobScheduleUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3407,7 +3457,9 @@
],
"operationId": "JobSchedule_Disable",
"x-ms-examples": {
- "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" }
+ "JobSchedule disable": {
+ "$ref": "./examples/JobScheduleDisable.json"
+ }
},
"summary": "Disables a job schedule.",
"description": "No new jobs will be created until the job schedule is enabled again.",
@@ -3557,7 +3609,9 @@
],
"operationId": "JobSchedule_Enable",
"x-ms-examples": {
- "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" }
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
},
"summary": "Enables a job schedule.",
"x-ms-request-id": "request-id",
@@ -3706,7 +3760,9 @@
],
"operationId": "JobSchedule_Terminate",
"x-ms-examples": {
- "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" }
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
},
"summary": "Terminates a job schedule.",
"x-ms-request-id": "request-id",
@@ -3855,8 +3911,12 @@
],
"operationId": "JobSchedule_Add",
"x-ms-examples": {
- "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" },
- "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" }
+ "Add a basic JobSchedule": {
+ "$ref": "./examples/JobScheduleAdd_Basic.json"
+ },
+ "Add a complex JobScheduleAdd": {
+ "$ref": "./examples/JobScheduleAdd_Complex.json"
+ }
},
"summary": "Adds a job schedule to the specified account.",
"x-ms-request-id": "request-id",
@@ -3966,7 +4026,9 @@
},
"operationId": "JobSchedule_List",
"x-ms-examples": {
- "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" }
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
},
"summary": "Lists all of the job schedules in the specified account.",
"x-ms-request-id": "request-id",
@@ -4110,7 +4172,9 @@
],
"operationId": "Job_Delete",
"x-ms-examples": {
- "Delete Job": { "$ref": "./examples/JobDelete.json" }
+ "Delete Job": {
+ "$ref": "./examples/JobDelete.json"
+ }
},
"summary": "Deletes a job.",
"description": "Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the job to the deleting state. All update operations on a job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the job is being deleted.",
@@ -4243,7 +4307,9 @@
],
"operationId": "Job_Get",
"x-ms-examples": {
- "Job get": { "$ref": "./examples/JobGet.json" }
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
},
"summary": "Gets information about the specified job.",
"x-ms-request-id": "request-id",
@@ -4409,7 +4475,9 @@
],
"operationId": "Job_Patch",
"x-ms-examples": {
- "Job patch": { "$ref": "./examples/JobPatch.json" }
+ "Job patch": {
+ "$ref": "./examples/JobPatch.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.",
@@ -4566,7 +4634,9 @@
],
"operationId": "Job_Update",
"x-ms-examples": {
- "Job update": { "$ref": "./examples/JobUpdate.json" }
+ "Job update": {
+ "$ref": "./examples/JobUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.",
@@ -4725,7 +4795,9 @@
],
"operationId": "Job_Disable",
"x-ms-examples": {
- "Job disable": { "$ref": "./examples/JobDisable.json" }
+ "Job disable": {
+ "$ref": "./examples/JobDisable.json"
+ }
},
"summary": "Disables the specified job, preventing new tasks from running.",
"description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.",
@@ -4884,7 +4956,9 @@
],
"operationId": "Job_Enable",
"x-ms-examples": {
- "Job enable": { "$ref": "./examples/JobEnable.json" }
+ "Job enable": {
+ "$ref": "./examples/JobEnable.json"
+ }
},
"summary": "Enables the specified job, allowing new tasks to run.",
"description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.",
@@ -5034,7 +5108,9 @@
],
"operationId": "Job_Terminate",
"x-ms-examples": {
- "Job terminate": { "$ref": "./examples/JobTerminate.json" }
+ "Job terminate": {
+ "$ref": "./examples/JobTerminate.json"
+ }
},
"summary": "Terminates the specified job, marking it as completed.",
"description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any running tasks associated with the job and runs any required job release tasks. Then the job moves into the completed state. If there are any tasks in the job in the active state, they will remain in the active state. Once a job is terminated, new tasks cannot be added and any remaining active tasks will not be scheduled.",
@@ -5193,8 +5269,12 @@
],
"operationId": "Job_Add",
"x-ms-examples": {
- "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" },
- "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" }
+ "Add a basic job": {
+ "$ref": "./examples/JobAdd_Basic.json"
+ },
+ "Add a complex job": {
+ "$ref": "./examples/JobAdd_Complex.json"
+ }
},
"summary": "Adds a job to the specified account.",
"description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5305,7 +5385,9 @@
},
"operationId": "Job_List",
"x-ms-examples": {
- "Job list": { "$ref": "./examples/JobList.json" }
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
},
"summary": "Lists all of the jobs in the specified account.",
"x-ms-request-id": "request-id",
@@ -5451,7 +5533,9 @@
"nextLinkName": "odata.nextLink"
},
"x-ms-examples": {
- "List Job Under Job Schedule": { "$ref": "./examples/JobListFromJobSchedule.json" }
+ "List Job Under Job Schedule": {
+ "$ref": "./examples/JobListFromJobSchedule.json"
+ }
},
"operationId": "Job_ListFromJobSchedule",
"summary": "Lists the jobs that have been created under the specified job schedule.",
@@ -5606,7 +5690,9 @@
},
"operationId": "Job_ListPreparationAndReleaseTaskStatus",
"x-ms-examples": {
- "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" }
+ "Job list preparation and release task status": {
+ "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json"
+ }
},
"summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.",
"description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.",
@@ -5748,7 +5834,9 @@
],
"operationId": "Job_GetTaskCounts",
"x-ms-examples": {
- "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" }
+ "Job get task counts": {
+ "$ref": "./examples/JobGetTaskCounts.json"
+ }
},
"summary": "Gets the task counts for the specified job.",
"description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running. If the validationStatus is unvalidated, then the Batch service has not been able to check state counts against the task states as reported in the List Tasks API. The validationStatus may be unvalidated if the job contains more than 200,000 tasks.",
@@ -5846,9 +5934,15 @@
],
"operationId": "Pool_Add",
"x-ms-examples": {
- "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" },
- "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" },
- "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" }
+ "Add a CloudServiceConfiguration pool": {
+ "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool with containers": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json"
+ }
},
"summary": "Adds a pool to the specified account.",
"description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5959,7 +6053,9 @@
},
"operationId": "Pool_List",
"x-ms-examples": {
- "Pool list": { "$ref": "./examples/PoolList_Basic.json" }
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
},
"summary": "Lists all of the pools in the specified account.",
"x-ms-request-id": "request-id",
@@ -6103,7 +6199,9 @@
],
"operationId": "Pool_Delete",
"x-ms-examples": {
- "Pool delete": { "$ref": "./examples/PoolDelete.json" }
+ "Pool delete": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"summary": "Deletes a pool from the specified account.",
"description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.",
@@ -6236,7 +6334,9 @@
],
"operationId": "Pool_Exists",
"x-ms-examples": {
- "Check Pool Exists": { "$ref": "./examples/PoolExists.json" }
+ "Check Pool Exists": {
+ "$ref": "./examples/PoolExists.json"
+ }
},
"description": "Gets basic properties of a pool.",
"x-ms-request-id": "request-id",
@@ -6382,7 +6482,9 @@
],
"operationId": "Pool_Get",
"x-ms-examples": {
- "Pool get": { "$ref": "./examples/PoolGet_Basic.json" }
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
},
"description": "Gets information about the specified pool.",
"x-ms-request-id": "request-id",
@@ -6548,7 +6650,9 @@
],
"operationId": "Pool_Patch",
"x-ms-examples": {
- "Patch the Pool": { "$ref": "./examples/PoolPatch.json" }
+ "Patch the Pool": {
+ "$ref": "./examples/PoolPatch.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.",
@@ -6707,7 +6811,9 @@
],
"operationId": "Pool_DisableAutoScale",
"x-ms-examples": {
- "Disable pool autoscale": { "$ref": "./examples/PoolDisableAutoScale.json" }
+ "Disable pool autoscale": {
+ "$ref": "./examples/PoolDisableAutoScale.json"
+ }
},
"summary": "Disables automatic scaling for a pool.",
"x-ms-request-id": "request-id",
@@ -6814,7 +6920,9 @@
],
"operationId": "Pool_EnableAutoScale",
"x-ms-examples": {
- "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" }
+ "Pool enable autoscale": {
+ "$ref": "./examples/PoolEnableAutoscale.json"
+ }
},
"summary": "Enables automatic scaling for a pool.",
"description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.",
@@ -6973,7 +7081,9 @@
],
"operationId": "Pool_EvaluateAutoScale",
"x-ms-examples": {
- "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" }
+ "Pool evaluate autoscale": {
+ "$ref": "./examples/PoolEvaluateAutoscale.json"
+ }
},
"summary": "Gets the result of evaluating an automatic scaling formula on the pool.",
"description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.",
@@ -7093,7 +7203,9 @@
],
"operationId": "Pool_Resize",
"x-ms-examples": {
- "Pool resize": { "$ref": "./examples/PoolResize.json" }
+ "Pool resize": {
+ "$ref": "./examples/PoolResize.json"
+ }
},
"summary": "Changes the number of compute nodes that are assigned to a pool.",
"description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.",
@@ -7252,7 +7364,9 @@
],
"operationId": "Pool_StopResize",
"x-ms-examples": {
- "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" }
+ "Pool stop resize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
@@ -7402,7 +7516,9 @@
],
"operationId": "Pool_UpdateProperties",
"x-ms-examples": {
- "Pool update": { "$ref": "./examples/PoolUpdate.json" }
+ "Pool update": {
+ "$ref": "./examples/PoolUpdate.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.",
@@ -7519,7 +7635,9 @@
],
"operationId": "Pool_UpgradeOS",
"x-ms-examples": {
- "Upgrade OS of the pool": { "$ref": "./examples/PoolUpgradeOS.json" }
+ "Upgrade OS of the pool": {
+ "$ref": "./examples/PoolUpgradeOS.json"
+ }
},
"summary": "Upgrades the operating system of the specified pool.",
"description": "During an upgrade, the Batch service upgrades each compute node in the pool. When a compute node is chosen for upgrade, any tasks running on that node are removed from the node and returned to the queue to be rerun later (or on a different compute node). The node will be unavailable until the upgrade is complete. This operation results in temporarily reduced pool capacity as nodes are taken out of service to be upgraded. Although the Batch service tries to avoid upgrading all compute nodes at the same time, it does not guarantee to do this (particularly on small pools); therefore, the pool may be temporarily unavailable to run tasks. When this operation runs, the pool state changes to upgrading. When all compute nodes have finished upgrading, the pool state returns to active. While the upgrade is in progress, the pool's currentOSVersion reflects the OS version that nodes are upgrading from, and targetOSVersion reflects the OS version that nodes are upgrading to. Once the upgrade is complete, currentOSVersion is updated to reflect the OS version now running on all nodes. This operation can only be invoked on pools created with the cloudServiceConfiguration property.",
@@ -7678,7 +7796,9 @@
],
"operationId": "Pool_RemoveNodes",
"x-ms-examples": {
- "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" }
+ "Pool remove nodes": {
+ "$ref": "./examples/PoolRemoveNodes.json"
+ }
},
"summary": "Removes compute nodes from the specified pool.",
"description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.",
@@ -7837,9 +7957,15 @@
],
"operationId": "Task_Add",
"x-ms-examples": {
- "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" },
- "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" },
- "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" }
+ "Add a basic task": {
+ "$ref": "./examples/TaskAdd_Basic.json"
+ },
+ "Add a task with exit conditions": {
+ "$ref": "./examples/TaskAdd_ExitConditions.json"
+ },
+ "Add a task with container settings": {
+ "$ref": "./examples/TaskAdd_ContainerSettings.json"
+ }
},
"summary": "Adds a task to the specified job.",
"description": "The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -7957,7 +8083,9 @@
},
"operationId": "Task_List",
"x-ms-examples": {
- "Task list": { "$ref": "./examples/TaskList.json" }
+ "Task list": {
+ "$ref": "./examples/TaskList.json"
+ }
},
"summary": "Lists all of the tasks that are associated with the specified job.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8109,8 +8237,12 @@
],
"operationId": "Task_AddCollection",
"x-ms-examples": {
- "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" },
- "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" }
+ "Add a basic collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Basic.json"
+ },
+ "Add a complex collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Complex.json"
+ }
},
"summary": "Adds a collection of tasks to the specified job.",
"description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -8215,7 +8347,9 @@
],
"operationId": "Task_Delete",
"x-ms-examples": {
- "Task delete": { "$ref": "./examples/TaskDelete.json" }
+ "Task delete": {
+ "$ref": "./examples/TaskDelete.json"
+ }
},
"summary": "Deletes a task from the specified job.",
"description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.",
@@ -8355,7 +8489,9 @@
],
"operationId": "Task_Get",
"x-ms-examples": {
- "Task get": { "$ref": "./examples/TaskGet.json" }
+ "Task get": {
+ "$ref": "./examples/TaskGet.json"
+ }
},
"summary": "Gets information about the specified task.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8533,7 +8669,9 @@
],
"operationId": "Task_Update",
"x-ms-examples": {
- "Task update": { "$ref": "./examples/TaskUpdate.json" }
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
},
"description": "Updates the properties of the specified task.",
"x-ms-request-id": "request-id",
@@ -8698,7 +8836,9 @@
],
"operationId": "Task_ListSubtasks",
"x-ms-examples": {
- "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" }
+ "Task list subtasks": {
+ "$ref": "./examples/TaskListSubtasks.json"
+ }
},
"summary": "Lists all of the subtasks that are associated with the specified multi-instance task.",
"description": "If the task is not a multi-instance task then this returns an empty collection.",
@@ -8822,7 +8962,9 @@
],
"operationId": "Task_Terminate",
"x-ms-examples": {
- "Task terminate": { "$ref": "./examples/TaskTerminate.json" }
+ "Task terminate": {
+ "$ref": "./examples/TaskTerminate.json"
+ }
},
"summary": "Terminates the specified task.",
"description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -8979,7 +9121,9 @@
],
"operationId": "Task_Reactivate",
"x-ms-examples": {
- "Task reactivate": { "$ref": "./examples/TaskReactivate.json" }
+ "Task reactivate": {
+ "$ref": "./examples/TaskReactivate.json"
+ }
},
"summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.",
"description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).",
@@ -9136,7 +9280,9 @@
],
"operationId": "ComputeNode_AddUser",
"x-ms-examples": {
- "Node add user": { "$ref": "./examples/NodeAddUser.json" }
+ "Node add user": {
+ "$ref": "./examples/NodeAddUser.json"
+ }
},
"summary": "Adds a user account to the specified compute node.",
"description": "You can add a user account to a node only when it is in the idle or running state.",
@@ -9260,7 +9406,9 @@
],
"operationId": "ComputeNode_DeleteUser",
"x-ms-examples": {
- "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" }
+ "Node delete user": {
+ "$ref": "./examples/NodeDeleteUser.json"
+ }
},
"summary": "Deletes a user account from the specified compute node.",
"description": "You can delete a user account to a node only when it is in the idle or running state.",
@@ -9365,7 +9513,9 @@
],
"operationId": "ComputeNode_UpdateUser",
"x-ms-examples": {
- "Node update user": { "$ref": "./examples/NodeUpdateUser.json" }
+ "Node update user": {
+ "$ref": "./examples/NodeUpdateUser.json"
+ }
},
"summary": "Updates the password and expiration time of a user account on the specified compute node.",
"description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.",
@@ -9496,7 +9646,9 @@
],
"operationId": "ComputeNode_Get",
"x-ms-examples": {
- "Node get": { "$ref": "./examples/NodeGet_Basic.json" }
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
},
"summary": "Gets information about the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9619,7 +9771,9 @@
],
"operationId": "ComputeNode_Reboot",
"x-ms-examples": {
- "Node reboot": { "$ref": "./examples/NodeReboot.json" }
+ "Node reboot": {
+ "$ref": "./examples/NodeReboot.json"
+ }
},
"summary": "Restarts the specified compute node.",
"description": "You can restart a node only if it is in an idle or running state.",
@@ -9743,7 +9897,9 @@
],
"operationId": "ComputeNode_Reimage",
"x-ms-examples": {
- "Node reimage": { "$ref": "./examples/NodeReimage.json" }
+ "Node reimage": {
+ "$ref": "./examples/NodeReimage.json"
+ }
},
"summary": "Reinstalls the operating system on the specified compute node.",
"description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.",
@@ -9867,7 +10023,9 @@
],
"operationId": "ComputeNode_DisableScheduling",
"x-ms-examples": {
- "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" }
+ "Node disable scheduling": {
+ "$ref": "./examples/NodeDisableScheduling.json"
+ }
},
"summary": "Disables task scheduling on the specified compute node.",
"description": "You can disable task scheduling on a node only if its current scheduling state is enabled.",
@@ -9991,7 +10149,9 @@
],
"operationId": "ComputeNode_EnableScheduling",
"x-ms-examples": {
- "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" }
+ "Node enable scheduling": {
+ "$ref": "./examples/NodeEnableScheduling.json"
+ }
},
"summary": "Enables task scheduling on the specified compute node.",
"description": "You can enable task scheduling on a node only if its current scheduling state is disabled",
@@ -10106,7 +10266,9 @@
],
"operationId": "ComputeNode_GetRemoteLoginSettings",
"x-ms-examples": {
- "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" }
+ "Node get remote login settings": {
+ "$ref": "./examples/NodeGetRemoteLoginSettings.json"
+ }
},
"summary": "Gets the settings required for remote login to a compute node.",
"description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.",
@@ -10220,7 +10382,9 @@
],
"operationId": "ComputeNode_GetRemoteDesktop",
"x-ms-examples": {
- "Get RDP file of the compute node": { "$ref": "./examples/NodeGetRemoteDesktop.json" }
+ "Get RDP file of the compute node": {
+ "$ref": "./examples/NodeGetRemoteDesktop.json"
+ }
},
"summary": "Gets the Remote Desktop Protocol file for the specified compute node.",
"description": "Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.",
@@ -10340,7 +10504,9 @@
"summary": "Upload Azure Batch service log files from the specified compute node to Azure Blob Storage.",
"description": "This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.",
"x-ms-examples": {
- "Upload BatchService Logs": { "$ref": "./examples/NodeUploadBatchServiceLogs.json" }
+ "Upload BatchService Logs": {
+ "$ref": "./examples/NodeUploadBatchServiceLogs.json"
+ }
},
"x-ms-request-id": "request-id",
"parameters": [
@@ -10434,7 +10600,7 @@
"description": "The request to the Batch service was successful.",
"schema": {
"$ref": "#/definitions/UploadBatchServiceLogsResult"
- }
+ }
},
"default": {
"description": "The error from the Batch service.",
@@ -10455,7 +10621,9 @@
},
"operationId": "ComputeNode_List",
"x-ms-examples": {
- "Node list": { "$ref": "./examples/NodeList.json" }
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
},
"summary": "Lists the compute nodes in the specified pool.",
"x-ms-request-id": "request-id",
@@ -10628,7 +10796,15 @@
"title": "The cross data center network egress from the pool during this interval, in GiB."
}
},
- "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"title": "Usage metrics for a pool across an aggregation interval."
},
"PoolListUsageMetricsResult": {
@@ -10748,7 +10924,11 @@
"title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -10819,7 +10999,21 @@
"title": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -10847,7 +11041,11 @@
"title": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": [ "url", "startTime", "lastUpdateTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -10926,7 +11124,22 @@
"description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -11021,7 +11234,9 @@
"description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error."
}
},
- "required": [ "applicationId" ],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an application package to be deployed to compute nodes."
},
"ApplicationSummary": {
@@ -11042,7 +11257,11 @@
}
}
},
- "required": [ "id", "displayName", "versions" ],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -11087,7 +11306,11 @@
"description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm", "data" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -11134,7 +11357,10 @@
"description": "The file mode is returned only for files on Linux compute nodes."
}
},
- "required": [ "lastModified", "contentLength" ],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -11238,7 +11464,9 @@
"description": "This setting can be omitted if was already provided at pool creation."
}
},
- "required": [ "imageName" ],
+ "required": [
+ "imageName"
+ ],
"title": "The container settings for a task."
},
"ResourceFile": {
@@ -11258,7 +11486,10 @@
"description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file."
}
},
- "required": [ "blobSource", "filePath" ],
+ "required": [
+ "blobSource",
+ "filePath"
+ ],
"title": "A file to be downloaded from Azure blob storage to a compute node."
},
"EnvironmentSetting": {
@@ -11272,7 +11503,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"ExitConditions": {
@@ -11321,7 +11554,10 @@
}
},
"title": "How the Batch service should respond if a task exits with a particular exit code.",
- "required": [ "code", "exitOptions" ]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -11341,7 +11577,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": [ "start", "end", "exitOptions" ]
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -11492,7 +11732,10 @@
"$ref": "#/definitions/LinuxUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user used to execute tasks on an Azure Batch node."
},
"TaskConstraints": {
@@ -11548,7 +11791,7 @@
"title": "A list of files that the Batch service will download to the compute node before running the command line.",
"description": "Files listed under this element are located in the task's working directory. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers."
},
- "outputFiles": {
+ "outputFiles": {
"type": "array",
"items": {
"$ref": "#/definitions/OutputFile"
@@ -11601,7 +11844,10 @@
"description": "The default value is true."
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager task.",
"description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -11657,7 +11903,9 @@
"description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation task to run before any tasks of the job on any given compute node.",
"description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -11710,7 +11958,9 @@
"description": "If omitted, the task runs as a non-administrative user unique to the task."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release task to run on job completion on any compute node where the job has run.",
"description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool."
},
@@ -11739,7 +11989,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -11786,7 +12038,9 @@
"description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.",
"description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -11865,7 +12119,10 @@
"description": "You can specify more than one visibility in this collection. The default is all accounts."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -11879,7 +12136,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -11981,7 +12241,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -12001,7 +12261,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "vmSize" ],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new pool."
},
"AutoPoolSpecification": {
@@ -12044,7 +12306,9 @@
"title": "The pool specification for the auto pool."
}
},
- "required": [ "poolLifetimeOption" ],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted."
},
"PoolInformation": {
@@ -12129,7 +12393,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the jobs to be created on a schedule."
},
"RecentJob": {
@@ -12241,7 +12507,22 @@
"description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -12350,7 +12631,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "schedule", "jobSpecification" ],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -12391,7 +12676,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -12424,7 +12711,9 @@
"description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation."
}
},
- "required": [ "startTime" ],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -12619,7 +12908,10 @@
"title": "Whether tasks in the job can define dependencies on each other. The default is false."
}
},
- "required": [ "id", "poolInfo" ],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -12679,7 +12971,9 @@
"title": "A list of additional details related to the error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "Information about a task failure."
},
"JobPreparationTaskExecutionInformation": {
@@ -12760,7 +13054,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "retryCount", "state" ],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -12829,7 +13127,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "state" ],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -12924,7 +13225,14 @@
}
}
},
- "required": ["active", "running", "completed", "succeeded", "failed", "validationStatus"],
+ "required": [
+ "active",
+ "running",
+ "completed",
+ "succeeded",
+ "failed",
+ "validationStatus"
+ ],
"title": "The task counts for a job."
},
"AutoScaleRunError": {
@@ -12964,7 +13272,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "timestamp" ],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -13006,7 +13316,9 @@
"description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -13134,7 +13446,7 @@
"value": "readonly",
"description": "The caching mode for the disk is read only.",
"name": "readOnly"
- },
+ },
{
"value": "readwrite",
"description": "The caching mode for the disk is read and write.",
@@ -13182,7 +13494,10 @@
"description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it."
}
},
- "required": [ "nodeAgentSKUId", "imageReference" ],
+ "required": [
+ "nodeAgentSKUId",
+ "imageReference"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"ContainerRegistry": {
@@ -13202,7 +13517,10 @@
"title": "The password to log into the registry server."
}
},
- "required": [ "username", "password" ],
+ "required": [
+ "username",
+ "password"
+ ],
"title": "A private container registry."
},
"ContainerConfiguration": {
@@ -13241,7 +13559,9 @@
"description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here."
}
},
- "required": [ "type" ],
+ "required": [
+ "type"
+ ],
"title": "The configuration for container-enabled pools."
},
"NetworkConfiguration": {
@@ -13256,9 +13576,9 @@
}
},
"endpointConfiguration": {
- "$ref": "#/definitions/PoolEndpointConfiguration",
- "title": "The configuration for endpoints on compute nodes in the Batch pool.",
- "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
+ "$ref": "#/definitions/PoolEndpointConfiguration",
+ "title": "The configuration for endpoints on compute nodes in the Batch pool.",
+ "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
}
},
"description": "The network configuration for a pool."
@@ -13462,7 +13782,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -13590,7 +13910,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -13620,7 +13940,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "vmSize" ],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -13663,7 +13986,9 @@
"description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere."
}
},
- "required": [ "affinityId" ],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task."
},
"TaskExecutionInformation": {
@@ -13726,7 +14051,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "requeueCount", "retryCount" ],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -13780,7 +14108,9 @@
"description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers."
}
},
- "required": [ "coordinationCommandLine" ],
+ "required": [
+ "coordinationCommandLine"
+ ],
"title": "Settings which specify how to run a multi-instance task.",
"description": "Multi-instance tasks are commonly used to support MPI tasks."
},
@@ -13842,7 +14172,19 @@
"title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -13880,7 +14222,10 @@
},
"title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.",
- "required": [ "start", "end" ]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -14107,7 +14452,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch task to add.",
"description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -14123,7 +14471,9 @@
"description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -14180,7 +14530,10 @@
"title": "The error encountered while attempting to add the task."
}
},
- "required": [ "status", "taskId" ],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -14317,7 +14670,9 @@
"title": "Information about the execution of the task."
}
},
- "required": [ "taskState" ],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -14390,7 +14745,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "state", "startTime", "retryCount" ],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -14626,7 +14985,9 @@
"description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNATPools" ],
+ "required": [
+ "inboundNATPools"
+ ],
"title": "The endpoint configuration for a pool."
},
"InboundNATPool": {
@@ -14667,7 +15028,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally."
},
"NetworkSecurityGroupRule": {
@@ -14706,7 +15073,11 @@
"description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ComputeNodeEndpointConfiguration": {
@@ -14719,7 +15090,9 @@
"title": "The list of inbound endpoints that are accessible on the compute node."
}
},
- "required": [ "inboundEndpoints" ],
+ "required": [
+ "inboundEndpoints"
+ ],
"title": "The endpoint configuration for the compute node."
},
"InboundEndpoint": {
@@ -14751,7 +15124,14 @@
"title": "The backend port number of the endpoint."
}
},
- "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ],
+ "required": [
+ "name",
+ "protocol",
+ "publicIPAddress",
+ "publicFQDN",
+ "frontendPort",
+ "backendPort"
+ ],
"title": "An inbound endpoint on a compute node."
},
"ComputeNodeListResult": {
@@ -14798,7 +15178,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "A user account for RDP or SSH access on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -14813,7 +15195,10 @@
"title": "The port used for remote login to the compute node."
}
},
- "required": [ "remoteLoginIPAddress", "remoteLoginPort" ],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a compute node."
},
"JobSchedulePatchParameter": {
@@ -14860,7 +15245,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": [ "schedule", "jobSpecification" ],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a job schedule."
},
"JobDisableParameter": {
@@ -14893,7 +15281,9 @@
}
}
},
- "required": [ "disableTasks" ],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a job."
},
"JobTerminateParameter": {
@@ -14971,7 +15361,9 @@
"$ref": "#/definitions/OnAllTasksComplete"
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a job."
},
"PoolEnableAutoScaleParameter": {
@@ -14998,7 +15390,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": [ "autoScaleFormula" ],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a pool."
},
"PoolResizeParameter": {
@@ -15059,7 +15453,11 @@
"description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a pool."
},
"PoolUpgradeOSParameter": {
@@ -15069,7 +15467,9 @@
"title": "The Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": [ "targetOSVersion" ],
+ "required": [
+ "targetOSVersion"
+ ],
"title": "Options for upgrading the operating system of compute nodes in a pool."
},
"PoolPatchParameter": {
@@ -15273,7 +15673,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "nodeList" ],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing compute nodes from a pool."
},
"OutputFile": {
@@ -15292,7 +15694,11 @@
"$ref": "#/definitions/OutputFileUploadOptions"
}
},
- "required": [ "filePattern", "destination", "uploadOptions" ],
+ "required": [
+ "filePattern",
+ "destination",
+ "uploadOptions"
+ ],
"title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process."
},
"OutputFileDestination": {
@@ -15317,7 +15723,9 @@
"description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container."
}
},
- "required": [ "containerUrl" ],
+ "required": [
+ "containerUrl"
+ ],
"title": "Specifies a file upload destination within an Azure blob storage container."
},
"OutputFileUploadOptions": {
@@ -15328,7 +15736,9 @@
"$ref": "#/definitions/OutputFileUploadCondition"
}
},
- "required": [ "uploadCondition" ],
+ "required": [
+ "uploadCondition"
+ ],
"title": "Details about an output file upload operation, including under what conditions to perform the upload."
},
"ErrorMessage": {
@@ -15777,7 +16187,10 @@
"description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime."
}
},
- "required": [ "containerUrl", "startTime" ],
+ "required": [
+ "containerUrl",
+ "startTime"
+ ],
"title": "The Azure Batch service log files upload configuration for a compute node."
},
"UploadBatchServiceLogsResult": {
@@ -15793,7 +16206,10 @@
"title": "The number of log files which will be uploaded."
}
},
- "required": ["virtualDirectoryName", "numberOfFilesUploaded"],
+ "required": [
+ "virtualDirectoryName",
+ "numberOfFilesUploaded"
+ ],
"title": "The result of uploading Batch service log files from a specific compute node."
},
"PoolNodeCountsListResult": {
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListNodeAgentSkus.json
index bb933a1972f3..2fcf949f1eb6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListNodeAgentSkus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListNodeAgentSkus.json
@@ -60,4 +60,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListPoolNodeCounts.json
index 1e7c4371b0bb..04e1578d9764 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListPoolNodeCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/AccountListPoolNodeCounts.json
@@ -117,4 +117,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationGet.json
index 53b87cb78b15..40ebabf8864e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationGet.json
@@ -8,12 +8,12 @@
"responses": {
"200": {
"body": {
- "id": "my_application_id",
- "versions": [
- "v1.0"
- ],
- "displayName": "my_display_name"
+ "id": "my_application_id",
+ "versions": [
+ "v1.0"
+ ],
+ "displayName": "my_display_name"
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationList.json
index c61f845a3b9f..7fb0996dc826 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/ApplicationList.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateAdd.json
index b92489ec936b..9254b3d4f7b4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateAdd.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateAdd.json
@@ -4,11 +4,11 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"certificate": {
- "thumbprintAlgorithm":"sha1",
- "thumbprint":"0123456789abcdef0123456789abcdef01234567",
- "data":"#####...",
- "certificateFormat":"pfx",
- "password":"certpassword"
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "data": "#####...",
+ "certificateFormat": "pfx",
+ "password": "certpassword"
}
},
"responses": {
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateCancelDelete.json
index d7cc675afcd8..2822389d404d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateCancelDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateCancelDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateDelete.json
index 8ab72b7ff199..27ce8b78c776 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateGet.json
index c5ded986307b..83c16ba407e2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateList.json
index 9c4dee480d85..04f15e9b0043 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/CertificateList.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromNode.json
index 1dbad9f1795b..224b686c73e0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromNode.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromTask.json
index a4e8cbfb8633..44678152c1b7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileDeleteFromTask.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromNode.json
index ce3d8e6e081b..ca79c4895762 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromNode.json
@@ -17,4 +17,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromTask.json
index e5e82c8492a1..9c0216219425 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetFromTask.json
@@ -17,4 +17,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromNode.json
index 55982f2b88c6..e0838d3409fd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromNode.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromTask.json
index 84dcb6d15457..c224b77c626f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileGetPropertiesFromTask.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromNode.json
index 5791cfda91c1..c81db379979b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromNode.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromTask.json
index 8d884f98a2bd..e2ef96a96684 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/FileListFromTask.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Basic.json
index f149e8fffb9b..fa70f682ed07 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Basic.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Complex.json
index fee6435cc74f..88a3b1866ecf 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobAdd_Complex.json
@@ -35,7 +35,7 @@
"retentionTime": "PT1H"
},
"killJobOnCompletion": false,
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -76,7 +76,7 @@
"value": "myvalue"
}
],
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -118,4 +118,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDelete.json
index 8e02f7686faf..d41359103cb0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDisable.json
index 8eaafc21a608..b40d44141a56 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobDisable.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobEnable.json
index 8e02f7686faf..d41359103cb0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGet.json
index d5086fb34ac7..3c3189ba25bc 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGet.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetLifetimeStatistics.json
index ff53de0067a1..2f8a4635f86d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimejobstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimejobstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"userCPUTime": "PT0S",
@@ -24,4 +24,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetTaskCounts.json
index 66d8447220f6..8dbad588e431 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetTaskCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobGetTaskCounts.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobList.json
index 953d3f7d0e12..3ef7de336112 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobList.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListFromJobSchedule.json
index eaefff3b865a..c2b82cbf0503 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListFromJobSchedule.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListFromJobSchedule.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListPreparationAndReleaseTaskStatus.json
index 17ecc61bb281..d7c084af7b46 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListPreparationAndReleaseTaskStatus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobPatch.json
index e658a182c2c4..3f05b4a73efe 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobPatch.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobPatchParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Basic.json
index 95a44125645a..a434899a079f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Basic.json
@@ -6,7 +6,7 @@
"cloudJobSchedule": {
"id": "jobScheduleId",
"schedule": {
- "recurrenceInterval":"PT5M"
+ "recurrenceInterval": "PT5M"
},
"jobSpecification": {
"poolInfo": {
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Complex.json
index 041985629310..38d355b11114 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleAdd_Complex.json
@@ -126,4 +126,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDelete.json
index 7408cdd90f59..632902a588a4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDisable.json
index ec33b1914469..54e98e15f5c4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleDisable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleEnable.json
index ec33b1914469..54e98e15f5c4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleExists.json
index eb9e6a454a02..776c4019a9e8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleExists.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleExists.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleGet.json
index 2dade9fbc322..9665f482d4ea 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleList.json
index 201bc6c3c3e2..7ad1ba24e2f1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleList.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobSchedulePatch.json
index 4840b235ca73..be3b49d26586 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobSchedulePatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobSchedulePatch.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleTerminate.json
index 7408cdd90f59..632902a588a4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleTerminate.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleUpdate.json
index 80d8ca0cd182..669e82de464e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobScheduleUpdate.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobTerminate.json
index 9879d272935f..f1f705abe3a9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobTerminate.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobUpdate.json
index bb8efbb0c186..a35013bdd654 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/JobUpdate.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobUpdateParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeAddUser.json
index 271564220174..5d7b93a9e100 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeAddUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeAddUser.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDeleteUser.json
index 6e0a2dbe1226..5220e24c768d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDeleteUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDeleteUser.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDisableScheduling.json
index 3926338b83af..6a703090b0d7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDisableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeDisableScheduling.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeEnableScheduling.json
index f9d1607169ab..7232c5181886 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeEnableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeEnableScheduling.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteDesktop.json
index 84f7954819fa..47c6208378db 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteDesktop.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteDesktop.json
@@ -11,4 +11,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteLoginSettings.json
index 068c699c3de4..ad3bcb1da15c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteLoginSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGetRemoteLoginSettings.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGet_Basic.json
index d30f2f86979d..227b230fa725 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeGet_Basic.json
@@ -25,7 +25,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeList.json
index e9f776af3117..4d8b0694a52c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeList.json
@@ -26,7 +26,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -60,7 +60,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -94,7 +94,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -115,4 +115,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReboot.json
index 094a82107962..cfd55bafa547 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReboot.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReboot.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReimage.json
index b5a3a4f8b97b..218bceb5df5d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReimage.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeReimage.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUpdateUser.json
index 028c6a3b779d..2bdfad30a7c0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUpdateUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUpdateUser.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUploadBatchServiceLogs.json
index c0600c31ce46..34a370cd606b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUploadBatchServiceLogs.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/NodeUploadBatchServiceLogs.json
@@ -13,9 +13,9 @@
"responses": {
"200": {
"body": {
- "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
- "numberOfFilesUploaded": 8
+ "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
+ "numberOfFilesUploaded": 8
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_CloudServiceConfiguration.json
index bc016dc5d9dc..37323f269ae1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_CloudServiceConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_CloudServiceConfiguration.json
@@ -9,19 +9,21 @@
"cloudServiceConfiguration": {
"osFamily": "4"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -31,4 +33,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfiguration.json
index 1402b959ae80..68f607bc9d21 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -14,19 +14,21 @@
},
"nodeAgentSKUId": "batch.node.ubuntu 16.04"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -36,4 +38,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
index 23274234f5e9..5e793c1490f3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
@@ -20,14 +20,14 @@
]
}
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false
+ "enableAutoScale": false
}
},
"responses": {
@@ -37,4 +37,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDelete.json
index 7500702af431..7e06f7b26330 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDisableAutoScale.json
index 7b653552b417..9dcfcd944951 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDisableAutoScale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolDisableAutoScale.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEnableAutoscale.json
index e58e34bed2cc..309825ab5b48 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEnableAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEnableAutoscale.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEvaluateAutoscale.json
index 38d6173b6b84..e3697e4e1fd7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEvaluateAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolEvaluateAutoscale.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolExists.json
index 947ef17c2d15..edebe5272275 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolExists.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolExists.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGetLifetimeStatistics.json
index b1542db842af..8783baf85c40 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"usageStats": {
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGet_Basic.json
index accd6a7ece74..80775705a2db 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolGet_Basic.json
@@ -27,7 +27,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "/bin/bash -c 'echo start task'",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -52,4 +52,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolListUsageMetrics.json
index 1123eb981554..75cab527b021 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolListUsageMetrics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolListUsageMetrics.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolList_Basic.json
index cdbace7ce36f..445745598f3b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolList_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolList_Basic.json
@@ -28,7 +28,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolPatch.json
index 16223b75f16f..3130b6c78d48 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolPatch.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolRemoveNodes.json
index 23eb37df5aec..df9b92894ffa 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolRemoveNodes.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolRemoveNodes.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolResize.json
index 8b9fb30fb734..fe061bb747da 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolResize.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolStopResize.json
index 7500702af431..7e06f7b26330 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolStopResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolStopResize.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpdate.json
index b0af85dcf205..7af75ad466e3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpdate.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpgradeOS.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpgradeOS.json
index f2a417c79add..b9be2405b5d8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpgradeOS.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/PoolUpgradeOS.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Basic.json
index acc8f87da7f4..02f6798ec25e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Basic.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Complex.json
index 9fb6476f0f64..d46dbcc2f94d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAddCollection_Complex.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_Basic.json
index 9571a6e655ca..85db85e9347c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_Basic.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ContainerSettings.json
index d428c906e5e9..4c4350ccf6c9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ContainerSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ContainerSettings.json
@@ -11,7 +11,7 @@
"imageName": "ubuntu",
"containerRunOptions": "--rm"
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -24,4 +24,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ExitConditions.json
index 1e97fb568908..f4df23bcdeb9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ExitConditions.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskAdd_ExitConditions.json
@@ -18,7 +18,7 @@
}
]
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -31,4 +31,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskDelete.json
index 3b8458331555..7b9b3c181585 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskGet.json
index 346f009e7ed0..936a4cb32e73 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskGet.json
@@ -17,7 +17,7 @@
"state": "active",
"stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
"commandLine": "cmd /c hostname",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskList.json
index 23356a9d6c11..4d710ecadfbc 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskList.json
@@ -18,7 +18,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
"commandLine": "cmd /c echo task1",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -43,7 +43,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
"commandLine": "cmd /c echo task2",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskListSubtasks.json
index 2c060543cc74..c6b1df47c93d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskListSubtasks.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskListSubtasks.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskReactivate.json
index b17934cd0ed8..63ef1f9b6388 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskReactivate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskReactivate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskTerminate.json
index b17934cd0ed8..63ef1f9b6388 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskTerminate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskUpdate.json
index 0d7568ffdcea..fa258bcf8b52 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-03-01.6.1/examples/TaskUpdate.json
@@ -7,9 +7,9 @@
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"taskUpdateParameter": {
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":3,
- "retentionTime":"PT1H"
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
}
}
},
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/BatchService.json
index d642e24b6a04..c1fab650cae8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/BatchService.json
@@ -29,7 +29,9 @@
},
"operationId": "Application_List",
"x-ms-examples": {
- "List applications": { "$ref": "./examples/ApplicationList.json" }
+ "List applications": {
+ "$ref": "./examples/ApplicationList.json"
+ }
},
"summary": "Lists all of the applications available in the specified account.",
"description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.",
@@ -144,7 +146,9 @@
],
"operationId": "Application_Get",
"x-ms-examples": {
- "Get applications": { "$ref": "./examples/ApplicationGet.json" }
+ "Get applications": {
+ "$ref": "./examples/ApplicationGet.json"
+ }
},
"summary": "Gets information about the specified application.",
"description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.",
@@ -254,7 +258,9 @@
},
"operationId": "Pool_ListUsageMetrics",
"x-ms-examples": {
- "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" }
+ "Pool list usage metrics": {
+ "$ref": "./examples/PoolListUsageMetrics.json"
+ }
},
"summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.",
"description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.",
@@ -406,7 +412,9 @@
},
"operationId": "Account_ListNodeAgentSkus",
"x-ms-examples": {
- "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" }
+ "Account list node agent skus": {
+ "$ref": "./examples/AccountListNodeAgentSkus.json"
+ }
},
"summary": "Lists all node agent SKUs supported by the Azure Batch service.",
"x-ms-request-id": "request-id",
@@ -534,7 +542,9 @@
"operationId": "Account_ListPoolNodeCounts",
"description": "Gets the number of nodes in each state, grouped by pool.",
"x-ms-examples": {
- "NodeCountsPayload": { "$ref": "./examples/AccountListPoolNodeCounts.json" }
+ "NodeCountsPayload": {
+ "$ref": "./examples/AccountListPoolNodeCounts.json"
+ }
},
"parameters": [
{
@@ -647,7 +657,9 @@
],
"operationId": "Pool_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" }
+ "Pool get lifetime statistics": {
+ "$ref": "./examples/PoolGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the pools in the specified account.",
"description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.",
@@ -747,7 +759,9 @@
],
"operationId": "Job_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" }
+ "Job get lifetime statistics": {
+ "$ref": "./examples/JobGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the jobs in the specified account.",
"description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.",
@@ -847,7 +861,9 @@
],
"operationId": "Certificate_Add",
"x-ms-examples": {
- "Certificate add": { "$ref": "./examples/CertificateAdd.json" }
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
},
"summary": "Adds a certificate to the specified account.",
"x-ms-request-id": "request-id",
@@ -957,7 +973,9 @@
},
"operationId": "Certificate_List",
"x-ms-examples": {
- "Certificate list": { "$ref": "./examples/CertificateList.json" }
+ "Certificate list": {
+ "$ref": "./examples/CertificateList.json"
+ }
},
"summary": "Lists all of the certificates that have been added to the specified account.",
"x-ms-request-id": "request-id",
@@ -1091,7 +1109,9 @@
],
"operationId": "Certificate_CancelDeletion",
"x-ms-examples": {
- "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" }
+ "Certificate cancel delete": {
+ "$ref": "./examples/CertificateCancelDelete.json"
+ }
},
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
@@ -1206,7 +1226,9 @@
],
"operationId": "Certificate_Delete",
"x-ms-examples": {
- "Certificate delete": { "$ref": "./examples/CertificateDelete.json" }
+ "Certificate delete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"summary": "Deletes a certificate from the specified account.",
"description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.",
@@ -1315,7 +1337,9 @@
],
"operationId": "Certificate_Get",
"x-ms-examples": {
- "Certificate get": { "$ref": "./examples/CertificateGet.json" }
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
},
"description": "Gets information about the specified certificate.",
"x-ms-request-id": "request-id",
@@ -1438,7 +1462,9 @@
],
"operationId": "File_DeleteFromTask",
"x-ms-examples": {
- "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" }
+ "File delete from task": {
+ "$ref": "./examples/FileDeleteFromTask.json"
+ }
},
"summary": "Deletes the specified task file from the compute node where the task ran.",
"x-ms-request-id": "request-id",
@@ -1549,7 +1575,9 @@
],
"operationId": "File_GetFromTask",
"x-ms-examples": {
- "Get File From Task": { "$ref": "./examples/FileGetFromTask.json" }
+ "Get File From Task": {
+ "$ref": "./examples/FileGetFromTask.json"
+ }
},
"description": "Returns the content of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1730,7 +1758,9 @@
],
"operationId": "File_GetPropertiesFromTask",
"x-ms-examples": {
- "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" }
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
},
"description": "Gets the properties of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1895,7 +1925,9 @@
],
"operationId": "File_DeleteFromComputeNode",
"x-ms-examples": {
- "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" }
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
},
"summary": "Deletes the specified file from the compute node.",
"x-ms-request-id": "request-id",
@@ -2006,7 +2038,9 @@
],
"operationId": "File_GetFromComputeNode",
"x-ms-examples": {
- "Get File From Compute Node": { "$ref": "./examples/FileGetFromNode.json" }
+ "Get File From Compute Node": {
+ "$ref": "./examples/FileGetFromNode.json"
+ }
},
"description": "Returns the content of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2187,7 +2221,9 @@
],
"operationId": "File_GetPropertiesFromComputeNode",
"x-ms-examples": {
- "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" }
+ "File get properties from node": {
+ "$ref": "./examples/FileGetPropertiesFromNode.json"
+ }
},
"description": "Gets the properties of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2355,7 +2391,9 @@
},
"operationId": "File_ListFromTask",
"x-ms-examples": {
- "File list from task": { "$ref": "./examples/FileListFromTask.json" }
+ "File list from task": {
+ "$ref": "./examples/FileListFromTask.json"
+ }
},
"summary": "Lists the files in a task's directory on its compute node.",
"x-ms-request-id": "request-id",
@@ -2503,7 +2541,9 @@
},
"operationId": "File_ListFromComputeNode",
"x-ms-examples": {
- "File list from node": { "$ref": "./examples/FileListFromNode.json" }
+ "File list from node": {
+ "$ref": "./examples/FileListFromNode.json"
+ }
},
"summary": "Lists all of the files in task directories on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -2648,7 +2688,9 @@
],
"operationId": "JobSchedule_Exists",
"x-ms-examples": {
- "Check Job Schedule Exists": { "$ref": "./examples/JobScheduleExists.json" }
+ "Check Job Schedule Exists": {
+ "$ref": "./examples/JobScheduleExists.json"
+ }
},
"summary": "Checks the specified job schedule exists.",
"x-ms-request-id": "request-id",
@@ -2794,7 +2836,9 @@
],
"operationId": "JobSchedule_Delete",
"x-ms-examples": {
- "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" }
+ "JobSchedule delete": {
+ "$ref": "./examples/JobScheduleDelete.json"
+ }
},
"summary": "Deletes a job schedule from the specified account.",
"description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.",
@@ -2927,7 +2971,9 @@
],
"operationId": "JobSchedule_Get",
"x-ms-examples": {
- "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" }
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
},
"description": "Gets information about the specified job schedule.",
"x-ms-request-id": "request-id",
@@ -3093,7 +3139,9 @@
],
"operationId": "JobSchedule_Patch",
"x-ms-examples": {
- "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" }
+ "JobSchedule patch": {
+ "$ref": "./examples/JobSchedulePatch.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3250,7 +3298,9 @@
],
"operationId": "JobSchedule_Update",
"x-ms-examples": {
- "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" }
+ "JobSchedule update": {
+ "$ref": "./examples/JobScheduleUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3409,7 +3459,9 @@
],
"operationId": "JobSchedule_Disable",
"x-ms-examples": {
- "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" }
+ "JobSchedule disable": {
+ "$ref": "./examples/JobScheduleDisable.json"
+ }
},
"summary": "Disables a job schedule.",
"description": "No new jobs will be created until the job schedule is enabled again.",
@@ -3559,7 +3611,9 @@
],
"operationId": "JobSchedule_Enable",
"x-ms-examples": {
- "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" }
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
},
"summary": "Enables a job schedule.",
"x-ms-request-id": "request-id",
@@ -3708,7 +3762,9 @@
],
"operationId": "JobSchedule_Terminate",
"x-ms-examples": {
- "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" }
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
},
"summary": "Terminates a job schedule.",
"x-ms-request-id": "request-id",
@@ -3857,8 +3913,12 @@
],
"operationId": "JobSchedule_Add",
"x-ms-examples": {
- "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" },
- "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" }
+ "Add a basic JobSchedule": {
+ "$ref": "./examples/JobScheduleAdd_Basic.json"
+ },
+ "Add a complex JobScheduleAdd": {
+ "$ref": "./examples/JobScheduleAdd_Complex.json"
+ }
},
"summary": "Adds a job schedule to the specified account.",
"x-ms-request-id": "request-id",
@@ -3968,7 +4028,9 @@
},
"operationId": "JobSchedule_List",
"x-ms-examples": {
- "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" }
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
},
"summary": "Lists all of the job schedules in the specified account.",
"x-ms-request-id": "request-id",
@@ -4112,7 +4174,9 @@
],
"operationId": "Job_Delete",
"x-ms-examples": {
- "Delete Job": { "$ref": "./examples/JobDelete.json" }
+ "Delete Job": {
+ "$ref": "./examples/JobDelete.json"
+ }
},
"summary": "Deletes a job.",
"description": "Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the job to the deleting state. All update operations on a job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the job is being deleted.",
@@ -4245,7 +4309,9 @@
],
"operationId": "Job_Get",
"x-ms-examples": {
- "Job get": { "$ref": "./examples/JobGet.json" }
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
},
"summary": "Gets information about the specified job.",
"x-ms-request-id": "request-id",
@@ -4411,7 +4477,9 @@
],
"operationId": "Job_Patch",
"x-ms-examples": {
- "Job patch": { "$ref": "./examples/JobPatch.json" }
+ "Job patch": {
+ "$ref": "./examples/JobPatch.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.",
@@ -4568,7 +4636,9 @@
],
"operationId": "Job_Update",
"x-ms-examples": {
- "Job update": { "$ref": "./examples/JobUpdate.json" }
+ "Job update": {
+ "$ref": "./examples/JobUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.",
@@ -4727,7 +4797,9 @@
],
"operationId": "Job_Disable",
"x-ms-examples": {
- "Job disable": { "$ref": "./examples/JobDisable.json" }
+ "Job disable": {
+ "$ref": "./examples/JobDisable.json"
+ }
},
"summary": "Disables the specified job, preventing new tasks from running.",
"description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.",
@@ -4886,7 +4958,9 @@
],
"operationId": "Job_Enable",
"x-ms-examples": {
- "Job enable": { "$ref": "./examples/JobEnable.json" }
+ "Job enable": {
+ "$ref": "./examples/JobEnable.json"
+ }
},
"summary": "Enables the specified job, allowing new tasks to run.",
"description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.",
@@ -5036,7 +5110,9 @@
],
"operationId": "Job_Terminate",
"x-ms-examples": {
- "Job terminate": { "$ref": "./examples/JobTerminate.json" }
+ "Job terminate": {
+ "$ref": "./examples/JobTerminate.json"
+ }
},
"summary": "Terminates the specified job, marking it as completed.",
"description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any running tasks associated with the job and runs any required job release tasks. Then the job moves into the completed state. If there are any tasks in the job in the active state, they will remain in the active state. Once a job is terminated, new tasks cannot be added and any remaining active tasks will not be scheduled.",
@@ -5195,8 +5271,12 @@
],
"operationId": "Job_Add",
"x-ms-examples": {
- "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" },
- "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" }
+ "Add a basic job": {
+ "$ref": "./examples/JobAdd_Basic.json"
+ },
+ "Add a complex job": {
+ "$ref": "./examples/JobAdd_Complex.json"
+ }
},
"summary": "Adds a job to the specified account.",
"description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5307,7 +5387,9 @@
},
"operationId": "Job_List",
"x-ms-examples": {
- "Job list": { "$ref": "./examples/JobList.json" }
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
},
"summary": "Lists all of the jobs in the specified account.",
"x-ms-request-id": "request-id",
@@ -5453,7 +5535,9 @@
"nextLinkName": "odata.nextLink"
},
"x-ms-examples": {
- "List Job Under Job Schedule": { "$ref": "./examples/JobListFromJobSchedule.json" }
+ "List Job Under Job Schedule": {
+ "$ref": "./examples/JobListFromJobSchedule.json"
+ }
},
"operationId": "Job_ListFromJobSchedule",
"summary": "Lists the jobs that have been created under the specified job schedule.",
@@ -5608,7 +5692,9 @@
},
"operationId": "Job_ListPreparationAndReleaseTaskStatus",
"x-ms-examples": {
- "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" }
+ "Job list preparation and release task status": {
+ "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json"
+ }
},
"summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.",
"description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.",
@@ -5750,7 +5836,9 @@
],
"operationId": "Job_GetTaskCounts",
"x-ms-examples": {
- "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" }
+ "Job get task counts": {
+ "$ref": "./examples/JobGetTaskCounts.json"
+ }
},
"summary": "Gets the task counts for the specified job.",
"description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running.",
@@ -5848,9 +5936,15 @@
],
"operationId": "Pool_Add",
"x-ms-examples": {
- "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" },
- "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" },
- "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" }
+ "Add a CloudServiceConfiguration pool": {
+ "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool with containers": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json"
+ }
},
"summary": "Adds a pool to the specified account.",
"description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5961,7 +6055,9 @@
},
"operationId": "Pool_List",
"x-ms-examples": {
- "Pool list": { "$ref": "./examples/PoolList_Basic.json" }
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
},
"summary": "Lists all of the pools in the specified account.",
"x-ms-request-id": "request-id",
@@ -6105,7 +6201,9 @@
],
"operationId": "Pool_Delete",
"x-ms-examples": {
- "Pool delete": { "$ref": "./examples/PoolDelete.json" }
+ "Pool delete": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"summary": "Deletes a pool from the specified account.",
"description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.",
@@ -6238,7 +6336,9 @@
],
"operationId": "Pool_Exists",
"x-ms-examples": {
- "Check Pool Exists": { "$ref": "./examples/PoolExists.json" }
+ "Check Pool Exists": {
+ "$ref": "./examples/PoolExists.json"
+ }
},
"description": "Gets basic properties of a pool.",
"x-ms-request-id": "request-id",
@@ -6384,7 +6484,9 @@
],
"operationId": "Pool_Get",
"x-ms-examples": {
- "Pool get": { "$ref": "./examples/PoolGet_Basic.json" }
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
},
"description": "Gets information about the specified pool.",
"x-ms-request-id": "request-id",
@@ -6550,7 +6652,9 @@
],
"operationId": "Pool_Patch",
"x-ms-examples": {
- "Patch the Pool": { "$ref": "./examples/PoolPatch.json" }
+ "Patch the Pool": {
+ "$ref": "./examples/PoolPatch.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.",
@@ -6709,7 +6813,9 @@
],
"operationId": "Pool_DisableAutoScale",
"x-ms-examples": {
- "Disable pool autoscale": { "$ref": "./examples/PoolDisableAutoScale.json" }
+ "Disable pool autoscale": {
+ "$ref": "./examples/PoolDisableAutoScale.json"
+ }
},
"summary": "Disables automatic scaling for a pool.",
"x-ms-request-id": "request-id",
@@ -6816,7 +6922,9 @@
],
"operationId": "Pool_EnableAutoScale",
"x-ms-examples": {
- "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" }
+ "Pool enable autoscale": {
+ "$ref": "./examples/PoolEnableAutoscale.json"
+ }
},
"summary": "Enables automatic scaling for a pool.",
"description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.",
@@ -6975,7 +7083,9 @@
],
"operationId": "Pool_EvaluateAutoScale",
"x-ms-examples": {
- "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" }
+ "Pool evaluate autoscale": {
+ "$ref": "./examples/PoolEvaluateAutoscale.json"
+ }
},
"summary": "Gets the result of evaluating an automatic scaling formula on the pool.",
"description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.",
@@ -7095,7 +7205,9 @@
],
"operationId": "Pool_Resize",
"x-ms-examples": {
- "Pool resize": { "$ref": "./examples/PoolResize.json" }
+ "Pool resize": {
+ "$ref": "./examples/PoolResize.json"
+ }
},
"summary": "Changes the number of compute nodes that are assigned to a pool.",
"description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.",
@@ -7254,7 +7366,9 @@
],
"operationId": "Pool_StopResize",
"x-ms-examples": {
- "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" }
+ "Pool stop resize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
@@ -7404,7 +7518,9 @@
],
"operationId": "Pool_UpdateProperties",
"x-ms-examples": {
- "Pool update": { "$ref": "./examples/PoolUpdate.json" }
+ "Pool update": {
+ "$ref": "./examples/PoolUpdate.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.",
@@ -7521,7 +7637,9 @@
],
"operationId": "Pool_UpgradeOS",
"x-ms-examples": {
- "Upgrade OS of the pool": { "$ref": "./examples/PoolUpgradeOS.json" }
+ "Upgrade OS of the pool": {
+ "$ref": "./examples/PoolUpgradeOS.json"
+ }
},
"summary": "Upgrades the operating system of the specified pool.",
"description": "During an upgrade, the Batch service upgrades each compute node in the pool. When a compute node is chosen for upgrade, any tasks running on that node are removed from the node and returned to the queue to be rerun later (or on a different compute node). The node will be unavailable until the upgrade is complete. This operation results in temporarily reduced pool capacity as nodes are taken out of service to be upgraded. Although the Batch service tries to avoid upgrading all compute nodes at the same time, it does not guarantee to do this (particularly on small pools); therefore, the pool may be temporarily unavailable to run tasks. When this operation runs, the pool state changes to upgrading. When all compute nodes have finished upgrading, the pool state returns to active. While the upgrade is in progress, the pool's currentOSVersion reflects the OS version that nodes are upgrading from, and targetOSVersion reflects the OS version that nodes are upgrading to. Once the upgrade is complete, currentOSVersion is updated to reflect the OS version now running on all nodes. This operation can only be invoked on pools created with the cloudServiceConfiguration property.",
@@ -7680,7 +7798,9 @@
],
"operationId": "Pool_RemoveNodes",
"x-ms-examples": {
- "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" }
+ "Pool remove nodes": {
+ "$ref": "./examples/PoolRemoveNodes.json"
+ }
},
"summary": "Removes compute nodes from the specified pool.",
"description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.",
@@ -7839,9 +7959,15 @@
],
"operationId": "Task_Add",
"x-ms-examples": {
- "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" },
- "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" },
- "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" }
+ "Add a basic task": {
+ "$ref": "./examples/TaskAdd_Basic.json"
+ },
+ "Add a task with exit conditions": {
+ "$ref": "./examples/TaskAdd_ExitConditions.json"
+ },
+ "Add a task with container settings": {
+ "$ref": "./examples/TaskAdd_ContainerSettings.json"
+ }
},
"summary": "Adds a task to the specified job.",
"description": "The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -7959,7 +8085,9 @@
},
"operationId": "Task_List",
"x-ms-examples": {
- "Task list": { "$ref": "./examples/TaskList.json" }
+ "Task list": {
+ "$ref": "./examples/TaskList.json"
+ }
},
"summary": "Lists all of the tasks that are associated with the specified job.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8111,8 +8239,12 @@
],
"operationId": "Task_AddCollection",
"x-ms-examples": {
- "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" },
- "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" }
+ "Add a basic collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Basic.json"
+ },
+ "Add a complex collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Complex.json"
+ }
},
"summary": "Adds a collection of tasks to the specified job.",
"description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a task from addition to completion is 7 days. If a task has not completed within 7 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -8217,7 +8349,9 @@
],
"operationId": "Task_Delete",
"x-ms-examples": {
- "Task delete": { "$ref": "./examples/TaskDelete.json" }
+ "Task delete": {
+ "$ref": "./examples/TaskDelete.json"
+ }
},
"summary": "Deletes a task from the specified job.",
"description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.",
@@ -8357,7 +8491,9 @@
],
"operationId": "Task_Get",
"x-ms-examples": {
- "Task get": { "$ref": "./examples/TaskGet.json" }
+ "Task get": {
+ "$ref": "./examples/TaskGet.json"
+ }
},
"summary": "Gets information about the specified task.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8535,7 +8671,9 @@
],
"operationId": "Task_Update",
"x-ms-examples": {
- "Task update": { "$ref": "./examples/TaskUpdate.json" }
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
},
"description": "Updates the properties of the specified task.",
"x-ms-request-id": "request-id",
@@ -8700,7 +8838,9 @@
],
"operationId": "Task_ListSubtasks",
"x-ms-examples": {
- "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" }
+ "Task list subtasks": {
+ "$ref": "./examples/TaskListSubtasks.json"
+ }
},
"summary": "Lists all of the subtasks that are associated with the specified multi-instance task.",
"description": "If the task is not a multi-instance task then this returns an empty collection.",
@@ -8824,7 +8964,9 @@
],
"operationId": "Task_Terminate",
"x-ms-examples": {
- "Task terminate": { "$ref": "./examples/TaskTerminate.json" }
+ "Task terminate": {
+ "$ref": "./examples/TaskTerminate.json"
+ }
},
"summary": "Terminates the specified task.",
"description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -8981,7 +9123,9 @@
],
"operationId": "Task_Reactivate",
"x-ms-examples": {
- "Task reactivate": { "$ref": "./examples/TaskReactivate.json" }
+ "Task reactivate": {
+ "$ref": "./examples/TaskReactivate.json"
+ }
},
"summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.",
"description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).",
@@ -9138,7 +9282,9 @@
],
"operationId": "ComputeNode_AddUser",
"x-ms-examples": {
- "Node add user": { "$ref": "./examples/NodeAddUser.json" }
+ "Node add user": {
+ "$ref": "./examples/NodeAddUser.json"
+ }
},
"summary": "Adds a user account to the specified compute node.",
"description": "You can add a user account to a node only when it is in the idle or running state.",
@@ -9262,7 +9408,9 @@
],
"operationId": "ComputeNode_DeleteUser",
"x-ms-examples": {
- "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" }
+ "Node delete user": {
+ "$ref": "./examples/NodeDeleteUser.json"
+ }
},
"summary": "Deletes a user account from the specified compute node.",
"description": "You can delete a user account to a node only when it is in the idle or running state.",
@@ -9367,7 +9515,9 @@
],
"operationId": "ComputeNode_UpdateUser",
"x-ms-examples": {
- "Node update user": { "$ref": "./examples/NodeUpdateUser.json" }
+ "Node update user": {
+ "$ref": "./examples/NodeUpdateUser.json"
+ }
},
"summary": "Updates the password and expiration time of a user account on the specified compute node.",
"description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.",
@@ -9498,7 +9648,9 @@
],
"operationId": "ComputeNode_Get",
"x-ms-examples": {
- "Node get": { "$ref": "./examples/NodeGet_Basic.json" }
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
},
"summary": "Gets information about the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9621,7 +9773,9 @@
],
"operationId": "ComputeNode_Reboot",
"x-ms-examples": {
- "Node reboot": { "$ref": "./examples/NodeReboot.json" }
+ "Node reboot": {
+ "$ref": "./examples/NodeReboot.json"
+ }
},
"summary": "Restarts the specified compute node.",
"description": "You can restart a node only if it is in an idle or running state.",
@@ -9745,7 +9899,9 @@
],
"operationId": "ComputeNode_Reimage",
"x-ms-examples": {
- "Node reimage": { "$ref": "./examples/NodeReimage.json" }
+ "Node reimage": {
+ "$ref": "./examples/NodeReimage.json"
+ }
},
"summary": "Reinstalls the operating system on the specified compute node.",
"description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.",
@@ -9869,7 +10025,9 @@
],
"operationId": "ComputeNode_DisableScheduling",
"x-ms-examples": {
- "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" }
+ "Node disable scheduling": {
+ "$ref": "./examples/NodeDisableScheduling.json"
+ }
},
"summary": "Disables task scheduling on the specified compute node.",
"description": "You can disable task scheduling on a node only if its current scheduling state is enabled.",
@@ -9993,7 +10151,9 @@
],
"operationId": "ComputeNode_EnableScheduling",
"x-ms-examples": {
- "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" }
+ "Node enable scheduling": {
+ "$ref": "./examples/NodeEnableScheduling.json"
+ }
},
"summary": "Enables task scheduling on the specified compute node.",
"description": "You can enable task scheduling on a node only if its current scheduling state is disabled",
@@ -10108,7 +10268,9 @@
],
"operationId": "ComputeNode_GetRemoteLoginSettings",
"x-ms-examples": {
- "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" }
+ "Node get remote login settings": {
+ "$ref": "./examples/NodeGetRemoteLoginSettings.json"
+ }
},
"summary": "Gets the settings required for remote login to a compute node.",
"description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.",
@@ -10222,7 +10384,9 @@
],
"operationId": "ComputeNode_GetRemoteDesktop",
"x-ms-examples": {
- "Get RDP file of the compute node": { "$ref": "./examples/NodeGetRemoteDesktop.json" }
+ "Get RDP file of the compute node": {
+ "$ref": "./examples/NodeGetRemoteDesktop.json"
+ }
},
"summary": "Gets the Remote Desktop Protocol file for the specified compute node.",
"description": "Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.",
@@ -10343,7 +10507,9 @@
"summary": "Upload Azure Batch service log files from the specified compute node to Azure Blob Storage.",
"description": "This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.",
"x-ms-examples": {
- "Upload BatchService Logs": { "$ref": "./examples/NodeUploadBatchServiceLogs.json" }
+ "Upload BatchService Logs": {
+ "$ref": "./examples/NodeUploadBatchServiceLogs.json"
+ }
},
"x-ms-request-id": "request-id",
"parameters": [
@@ -10437,7 +10603,7 @@
"description": "The request to the Batch service was successful.",
"schema": {
"$ref": "#/definitions/UploadBatchServiceLogsResult"
- }
+ }
},
"default": {
"description": "The error from the Batch service.",
@@ -10458,7 +10624,9 @@
},
"operationId": "ComputeNode_List",
"x-ms-examples": {
- "Node list": { "$ref": "./examples/NodeList.json" }
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
},
"summary": "Lists the compute nodes in the specified pool.",
"x-ms-request-id": "request-id",
@@ -10631,7 +10799,15 @@
"title": "The cross data center network egress from the pool during this interval, in GiB."
}
},
- "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours", "dataIngressGiB", "dataEgressGiB" ],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours",
+ "dataIngressGiB",
+ "dataEgressGiB"
+ ],
"title": "Usage metrics for a pool across an aggregation interval."
},
"PoolListUsageMetricsResult": {
@@ -10751,7 +10927,11 @@
"title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -10822,7 +11002,21 @@
"title": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -10850,7 +11044,11 @@
"title": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": [ "url", "startTime", "lastUpdateTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -10929,7 +11127,22 @@
"description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -11024,7 +11237,9 @@
"description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error."
}
},
- "required": [ "applicationId" ],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an application package to be deployed to compute nodes."
},
"ApplicationSummary": {
@@ -11045,7 +11260,11 @@
}
}
},
- "required": [ "id", "displayName", "versions" ],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -11090,7 +11309,11 @@
"description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm", "data" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -11137,7 +11360,10 @@
"description": "The file mode is returned only for files on Linux compute nodes."
}
},
- "required": [ "lastModified", "contentLength" ],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -11241,7 +11467,9 @@
"description": "This setting can be omitted if was already provided at pool creation."
}
},
- "required": [ "imageName" ],
+ "required": [
+ "imageName"
+ ],
"title": "The container settings for a task."
},
"ResourceFile": {
@@ -11261,7 +11489,10 @@
"description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file."
}
},
- "required": [ "blobSource", "filePath" ],
+ "required": [
+ "blobSource",
+ "filePath"
+ ],
"title": "A file to be downloaded from Azure blob storage to a compute node."
},
"EnvironmentSetting": {
@@ -11275,7 +11506,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"ExitConditions": {
@@ -11324,7 +11557,10 @@
}
},
"title": "How the Batch service should respond if a task exits with a particular exit code.",
- "required": [ "code", "exitOptions" ]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -11344,7 +11580,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": [ "start", "end", "exitOptions" ]
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -11495,7 +11735,10 @@
"$ref": "#/definitions/LinuxUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user used to execute tasks on an Azure Batch node."
},
"TaskConstraints": {
@@ -11551,7 +11794,7 @@
"title": "A list of files that the Batch service will download to the compute node before running the command line.",
"description": "Files listed under this element are located in the task's working directory. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers."
},
- "outputFiles": {
+ "outputFiles": {
"type": "array",
"items": {
"$ref": "#/definitions/OutputFile"
@@ -11604,7 +11847,10 @@
"description": "The default value is true."
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager task.",
"description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -11660,7 +11906,9 @@
"description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation task to run before any tasks of the job on any given compute node.",
"description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -11713,7 +11961,9 @@
"description": "If omitted, the task runs as a non-administrative user unique to the task."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release task to run on job completion on any compute node where the job has run.",
"description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool."
},
@@ -11742,7 +11992,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -11789,7 +12041,9 @@
"description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.",
"description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -11868,7 +12122,10 @@
"description": "You can specify more than one visibility in this collection. The default is all accounts."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -11882,7 +12139,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -11984,7 +12244,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail. The permitted licenses available on the pool are 'maya', 'vray', '3dsmax', 'arnold'. An additional charge applies for each application license added to the pool."
},
@@ -12004,7 +12264,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "vmSize" ],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new pool."
},
"AutoPoolSpecification": {
@@ -12047,7 +12309,9 @@
"title": "The pool specification for the auto pool."
}
},
- "required": [ "poolLifetimeOption" ],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted."
},
"PoolInformation": {
@@ -12132,7 +12396,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the jobs to be created on a schedule."
},
"RecentJob": {
@@ -12244,7 +12510,22 @@
"description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -12353,7 +12634,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "schedule", "jobSpecification" ],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -12394,7 +12679,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -12427,7 +12714,9 @@
"description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation."
}
},
- "required": [ "startTime" ],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -12622,7 +12911,10 @@
"title": "Whether tasks in the job can define dependencies on each other. The default is false."
}
},
- "required": [ "id", "poolInfo" ],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -12682,7 +12974,9 @@
"title": "A list of additional details related to the error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "Information about a task failure."
},
"JobPreparationTaskExecutionInformation": {
@@ -12763,7 +13057,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "retryCount", "state" ],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -12832,7 +13130,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "state" ],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -12905,7 +13206,13 @@
"title": "The number of tasks which failed. A task fails if its result (found in the executionInfo property) is 'failure'."
}
},
- "required": [ "active", "running", "completed", "succeeded", "failed" ],
+ "required": [
+ "active",
+ "running",
+ "completed",
+ "succeeded",
+ "failed"
+ ],
"title": "The task counts for a job."
},
"AutoScaleRunError": {
@@ -12945,7 +13252,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "timestamp" ],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -12987,7 +13296,9 @@
"description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -13115,7 +13426,7 @@
"value": "readonly",
"description": "The caching mode for the disk is read only.",
"name": "readOnly"
- },
+ },
{
"value": "readwrite",
"description": "The caching mode for the disk is read and write.",
@@ -13163,7 +13474,10 @@
"description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it."
}
},
- "required": [ "nodeAgentSKUId", "imageReference" ],
+ "required": [
+ "nodeAgentSKUId",
+ "imageReference"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"ContainerRegistry": {
@@ -13183,7 +13497,10 @@
"title": "The password to log into the registry server."
}
},
- "required": [ "username", "password" ],
+ "required": [
+ "username",
+ "password"
+ ],
"title": "A private container registry."
},
"ContainerConfiguration": {
@@ -13222,7 +13539,9 @@
"description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here."
}
},
- "required": [ "type" ],
+ "required": [
+ "type"
+ ],
"title": "The configuration for container-enabled pools."
},
"NetworkConfiguration": {
@@ -13237,9 +13556,9 @@
}
},
"endpointConfiguration": {
- "$ref": "#/definitions/PoolEndpointConfiguration",
- "title": "The configuration for endpoints on compute nodes in the Batch pool.",
- "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
+ "$ref": "#/definitions/PoolEndpointConfiguration",
+ "title": "The configuration for endpoints on compute nodes in the Batch pool.",
+ "description": "Pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
}
},
"description": "The network configuration for a pool."
@@ -13443,7 +13762,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -13571,7 +13890,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"title": "The list of application licenses the Batch service will make available on each compute node in the pool.",
"description": "The list of application licenses must be a subset of available Batch service application licenses. If a license is requested which is not supported, pool creation will fail."
},
@@ -13601,7 +13920,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "vmSize" ],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -13644,7 +13966,9 @@
"description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere."
}
},
- "required": [ "affinityId" ],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task."
},
"TaskExecutionInformation": {
@@ -13707,7 +14031,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "requeueCount", "retryCount" ],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -13743,8 +14070,8 @@
"properties": {
"version": {
"type": "string",
- "title":"The version of the Batch node agent running on the compute node.",
- "description":"This version number can be checked against the node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md."
+ "title": "The version of the Batch node agent running on the compute node.",
+ "description": "This version number can be checked against the node agent release notes located at https://github.com/Azure/Batch/blob/master/changelogs/nodeagent/CHANGELOG.md."
},
"lastUpdateTime": {
"type": "string",
@@ -13753,7 +14080,10 @@
"description": "This is the most recent time that the node agent was updated to a new version."
}
},
- "required": [ "version", "lastUpdateTime" ],
+ "required": [
+ "version",
+ "lastUpdateTime"
+ ],
"title": "Information about the node agent.",
"description": "The Batch node agent is a program that runs on each node in the pool and provides Batch capability on the compute node."
},
@@ -13779,7 +14109,9 @@
"description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers."
}
},
- "required": [ "coordinationCommandLine" ],
+ "required": [
+ "coordinationCommandLine"
+ ],
"title": "Settings which specify how to run a multi-instance task.",
"description": "Multi-instance tasks are commonly used to support MPI tasks."
},
@@ -13841,7 +14173,19 @@
"title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -13879,7 +14223,10 @@
},
"title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.",
- "required": [ "start", "end" ]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -14106,7 +14453,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch task to add.",
"description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -14122,7 +14472,9 @@
"description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -14179,7 +14531,10 @@
"title": "The error encountered while attempting to add the task."
}
},
- "required": [ "status", "taskId" ],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -14316,7 +14671,9 @@
"title": "Information about the execution of the task."
}
},
- "required": [ "taskState" ],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -14389,7 +14746,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "state", "startTime", "retryCount" ],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -14612,7 +14973,7 @@
"title": "The endpoint configuration for the compute node."
},
"nodeAgentInfo": {
- "$ref":"#/definitions/NodeAgentInformation",
+ "$ref": "#/definitions/NodeAgentInformation",
"title": "Information about the node agent version and the time the node upgraded to a new version."
}
},
@@ -14629,7 +14990,9 @@
"description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNATPools" ],
+ "required": [
+ "inboundNATPools"
+ ],
"title": "The endpoint configuration for a pool."
},
"InboundNATPool": {
@@ -14670,7 +15033,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally."
},
"NetworkSecurityGroupRule": {
@@ -14709,7 +15078,11 @@
"description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ComputeNodeEndpointConfiguration": {
@@ -14722,7 +15095,9 @@
"title": "The list of inbound endpoints that are accessible on the compute node."
}
},
- "required": [ "inboundEndpoints" ],
+ "required": [
+ "inboundEndpoints"
+ ],
"title": "The endpoint configuration for the compute node."
},
"InboundEndpoint": {
@@ -14754,7 +15129,14 @@
"title": "The backend port number of the endpoint."
}
},
- "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ],
+ "required": [
+ "name",
+ "protocol",
+ "publicIPAddress",
+ "publicFQDN",
+ "frontendPort",
+ "backendPort"
+ ],
"title": "An inbound endpoint on a compute node."
},
"ComputeNodeListResult": {
@@ -14801,7 +15183,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "A user account for RDP or SSH access on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -14816,7 +15200,10 @@
"title": "The port used for remote login to the compute node."
}
},
- "required": [ "remoteLoginIPAddress", "remoteLoginPort" ],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a compute node."
},
"JobSchedulePatchParameter": {
@@ -14863,7 +15250,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": [ "schedule", "jobSpecification" ],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a job schedule."
},
"JobDisableParameter": {
@@ -14896,7 +15286,9 @@
}
}
},
- "required": [ "disableTasks" ],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a job."
},
"JobTerminateParameter": {
@@ -14974,7 +15366,9 @@
"$ref": "#/definitions/OnAllTasksComplete"
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a job."
},
"PoolEnableAutoScaleParameter": {
@@ -15001,7 +15395,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": [ "autoScaleFormula" ],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a pool."
},
"PoolResizeParameter": {
@@ -15062,7 +15458,11 @@
"description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a pool."
},
"PoolUpgradeOSParameter": {
@@ -15072,7 +15472,9 @@
"title": "The Azure Guest OS version to be installed on the virtual machines in the pool."
}
},
- "required": [ "targetOSVersion" ],
+ "required": [
+ "targetOSVersion"
+ ],
"title": "Options for upgrading the operating system of compute nodes in a pool."
},
"PoolPatchParameter": {
@@ -15276,7 +15678,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "nodeList" ],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing compute nodes from a pool."
},
"OutputFile": {
@@ -15295,7 +15699,11 @@
"$ref": "#/definitions/OutputFileUploadOptions"
}
},
- "required": [ "filePattern", "destination", "uploadOptions" ],
+ "required": [
+ "filePattern",
+ "destination",
+ "uploadOptions"
+ ],
"title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process."
},
"OutputFileDestination": {
@@ -15320,7 +15728,9 @@
"description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container."
}
},
- "required": [ "containerUrl" ],
+ "required": [
+ "containerUrl"
+ ],
"title": "Specifies a file upload destination within an Azure blob storage container."
},
"OutputFileUploadOptions": {
@@ -15331,7 +15741,9 @@
"$ref": "#/definitions/OutputFileUploadCondition"
}
},
- "required": [ "uploadCondition" ],
+ "required": [
+ "uploadCondition"
+ ],
"title": "Details about an output file upload operation, including under what conditions to perform the upload."
},
"ErrorMessage": {
@@ -15780,7 +16192,10 @@
"description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime."
}
},
- "required": [ "containerUrl", "startTime" ],
+ "required": [
+ "containerUrl",
+ "startTime"
+ ],
"title": "The Azure Batch service log files upload configuration for a compute node."
},
"UploadBatchServiceLogsResult": {
@@ -15796,7 +16211,10 @@
"title": "The number of log files which will be uploaded."
}
},
- "required": ["virtualDirectoryName", "numberOfFilesUploaded"],
+ "required": [
+ "virtualDirectoryName",
+ "numberOfFilesUploaded"
+ ],
"title": "The result of uploading Batch service log files from a specific compute node."
},
"PoolNodeCountsListResult": {
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListNodeAgentSkus.json
index b1cdb2c90084..92930103fc5f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListNodeAgentSkus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListNodeAgentSkus.json
@@ -60,4 +60,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListPoolNodeCounts.json
index 613f83a56ba7..95896a08705e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListPoolNodeCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/AccountListPoolNodeCounts.json
@@ -117,4 +117,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationGet.json
index 6550fe0cd41a..b0deede224ae 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationGet.json
@@ -8,12 +8,12 @@
"responses": {
"200": {
"body": {
- "id": "my_application_id",
- "versions": [
- "v1.0"
- ],
- "displayName": "my_display_name"
+ "id": "my_application_id",
+ "versions": [
+ "v1.0"
+ ],
+ "displayName": "my_display_name"
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationList.json
index 009a24829dda..ce7c279267b1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/ApplicationList.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateAdd.json
index 9f250e316a2a..afd9efa29d3f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateAdd.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateAdd.json
@@ -4,11 +4,11 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"certificate": {
- "thumbprintAlgorithm":"sha1",
- "thumbprint":"0123456789abcdef0123456789abcdef01234567",
- "data":"#####...",
- "certificateFormat":"pfx",
- "password":"certpassword"
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "data": "#####...",
+ "certificateFormat": "pfx",
+ "password": "certpassword"
}
},
"responses": {
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateCancelDelete.json
index 877d865df1e6..62ac4eb35d2f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateCancelDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateCancelDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateDelete.json
index d863ac2f5095..9e7ae01d854d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateGet.json
index 00a2270ea83c..37c8190b540c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateList.json
index ad23c5e62350..09e0c72cb452 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/CertificateList.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromNode.json
index b4577b451581..56c8f8079142 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromNode.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromTask.json
index fe86aa9f790b..601563b7d6f5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileDeleteFromTask.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromNode.json
index 0416de2d51bc..4854a9d67c34 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromNode.json
@@ -17,4 +17,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromTask.json
index 12c8ebddc814..3fc6d9526b92 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetFromTask.json
@@ -17,4 +17,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromNode.json
index 012637909aab..2435f5ba64bf 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromNode.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromTask.json
index 39f150b281f7..74eb327430c8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileGetPropertiesFromTask.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromNode.json
index 61ea39ad8bfc..017b88cb51d5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromNode.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromTask.json
index 070d4706c87a..00e80b0e8a95 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/FileListFromTask.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Basic.json
index 9ff37a09e3fe..2a4f75d2bd43 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Basic.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Complex.json
index 80e8f70d0bae..d38b8def8429 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobAdd_Complex.json
@@ -35,7 +35,7 @@
"retentionTime": "PT1H"
},
"killJobOnCompletion": false,
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -76,7 +76,7 @@
"value": "myvalue"
}
],
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -118,4 +118,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDelete.json
index 1799f7f0d51e..3a4ef7ecad07 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDisable.json
index eab70814a6f2..aba2098c813b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobDisable.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobEnable.json
index 1799f7f0d51e..3a4ef7ecad07 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGet.json
index add3cbea1005..e97eafb560c0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGet.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetLifetimeStatistics.json
index e3839ce1aca0..86f1cbb63bbf 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimejobstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimejobstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"userCPUTime": "PT0S",
@@ -24,4 +24,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetTaskCounts.json
index 7e48fbcf04d7..92bc97ce7d0f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetTaskCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobGetTaskCounts.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobList.json
index 8b5ff9e1b487..35ce90b18f6e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobList.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListFromJobSchedule.json
index 8566421809e0..193b7e3a73de 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListFromJobSchedule.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListFromJobSchedule.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListPreparationAndReleaseTaskStatus.json
index 0e21f1c70cb7..f6e957d7d663 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListPreparationAndReleaseTaskStatus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobPatch.json
index 3cf875e74343..16f8829b5cca 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobPatch.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobPatchParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Basic.json
index 8c8ce82de6ed..1c2d609bc387 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Basic.json
@@ -6,7 +6,7 @@
"cloudJobSchedule": {
"id": "jobScheduleId",
"schedule": {
- "recurrenceInterval":"PT5M"
+ "recurrenceInterval": "PT5M"
},
"jobSpecification": {
"poolInfo": {
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Complex.json
index fd4f1e7afc91..2c48f68c8d45 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleAdd_Complex.json
@@ -126,4 +126,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDelete.json
index 4838b0dd8ba8..e585d7495400 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDisable.json
index e5c082cf5020..114cffc5d56d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleDisable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleEnable.json
index e5c082cf5020..114cffc5d56d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleEnable.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleExists.json
index 91116f11e0e6..94005b212e32 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleExists.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleExists.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleGet.json
index 5146f7cd7d9b..1b18fdac3638 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleList.json
index cb8798b1c379..721214d1aba1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleList.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobSchedulePatch.json
index 00dff4f5e37d..d730f8e56af6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobSchedulePatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobSchedulePatch.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleTerminate.json
index 4838b0dd8ba8..e585d7495400 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleTerminate.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleUpdate.json
index c7dcb4dc99a2..d4787be48f85 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobScheduleUpdate.json
@@ -26,4 +26,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobTerminate.json
index 928dae270df1..dfe33d630b92 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobTerminate.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobUpdate.json
index 295732b684a8..8f68673cb74c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/JobUpdate.json
@@ -5,13 +5,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobUpdateParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -20,4 +20,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeAddUser.json
index 00b0450b6bd5..e9709898351e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeAddUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeAddUser.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDeleteUser.json
index 00c658269503..8cd87dbc9305 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDeleteUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDeleteUser.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDisableScheduling.json
index 252b66a08b7b..d42419b1513c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDisableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeDisableScheduling.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeEnableScheduling.json
index b919777643a8..b132e9ce2d60 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeEnableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeEnableScheduling.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteDesktop.json
index ae802b746e1d..6d24863531d1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteDesktop.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteDesktop.json
@@ -11,4 +11,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteLoginSettings.json
index b93ccf2e5972..f6a6b564ffdc 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteLoginSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGetRemoteLoginSettings.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGet_Basic.json
index 7c689202a04d..6b2d12bf5392 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeGet_Basic.json
@@ -25,7 +25,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -48,4 +48,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeList.json
index de74e7c76a46..648f17eba528 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeList.json
@@ -26,7 +26,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -64,7 +64,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -102,7 +102,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -127,4 +127,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReboot.json
index 851054b7cfef..5bb3d54364c6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReboot.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReboot.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReimage.json
index 7890ded26eaa..8d0eee3dcd99 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReimage.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeReimage.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUpdateUser.json
index 6c3ff1a690b2..39783fbbf601 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUpdateUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUpdateUser.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUploadBatchServiceLogs.json
index 2f78008cc759..57d9a48e11cc 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUploadBatchServiceLogs.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/NodeUploadBatchServiceLogs.json
@@ -13,9 +13,9 @@
"responses": {
"200": {
"body": {
- "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
- "numberOfFilesUploaded": 8
+ "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
+ "numberOfFilesUploaded": 8
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_CloudServiceConfiguration.json
index 4ca91b80ff92..60acf2106850 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_CloudServiceConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_CloudServiceConfiguration.json
@@ -9,19 +9,21 @@
"cloudServiceConfiguration": {
"osFamily": "4"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -31,4 +33,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfiguration.json
index 801784379119..94c427f7c73c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -14,19 +14,21 @@
},
"nodeAgentSKUId": "batch.node.ubuntu 16.04"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -36,4 +38,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
index 27680af3d253..583b04fce0ae 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
@@ -20,14 +20,14 @@
]
}
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false
+ "enableAutoScale": false
}
},
"responses": {
@@ -37,4 +37,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDelete.json
index a882613bfccf..a6811632dc06 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDelete.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDisableAutoScale.json
index 3ca02c40c202..5745de52d919 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDisableAutoScale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolDisableAutoScale.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEnableAutoscale.json
index e5de4f519f47..fd8c47c65bfd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEnableAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEnableAutoscale.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEvaluateAutoscale.json
index 3d9aa9802c1e..1c67e6d08341 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEvaluateAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolEvaluateAutoscale.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolExists.json
index df564b7fef25..3337fdbbe2d9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolExists.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolExists.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGetLifetimeStatistics.json
index 3cf8b4c493ed..047ad8ca6ad1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGetLifetimeStatistics.json
@@ -7,7 +7,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"usageStats": {
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGet_Basic.json
index 3a99c44f8c8c..a568a9697d7c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolGet_Basic.json
@@ -27,7 +27,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "/bin/bash -c 'echo start task'",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -52,4 +52,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolListUsageMetrics.json
index 6793cbd9afd6..92f64e34c1c5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolListUsageMetrics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolListUsageMetrics.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolList_Basic.json
index d35a77b11af2..e1f8b55fcd8e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolList_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolList_Basic.json
@@ -28,7 +28,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolPatch.json
index 506f39f9526e..236359f6e7c8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolPatch.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolRemoveNodes.json
index d488ad2616d8..6c08b257518e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolRemoveNodes.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolRemoveNodes.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolResize.json
index be49e131d937..39e775bb8d1e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolResize.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolStopResize.json
index a882613bfccf..a6811632dc06 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolStopResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolStopResize.json
@@ -10,4 +10,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpdate.json
index 085f384e8a6c..ccb342cfac22 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpdate.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpgradeOS.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpgradeOS.json
index bfb641c7dca1..86763d1c9723 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpgradeOS.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/PoolUpgradeOS.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Basic.json
index 25da173ff7f0..133a2f9e7c8b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Basic.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Complex.json
index b3e4d09f2c9d..9031c18af727 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAddCollection_Complex.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_Basic.json
index 0baced1103b9..71c2d01ba8c7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_Basic.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ContainerSettings.json
index 94362efda14f..e8111012b7df 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ContainerSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ContainerSettings.json
@@ -11,7 +11,7 @@
"imageName": "ubuntu",
"containerRunOptions": "--rm"
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -24,4 +24,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ExitConditions.json
index 6836485b5244..599f14285152 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ExitConditions.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskAdd_ExitConditions.json
@@ -18,7 +18,7 @@
}
]
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -31,4 +31,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskDelete.json
index 10d6d57516ea..1c95c964b39e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskGet.json
index 6f8a4d629473..52460c8cc3a2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskGet.json
@@ -17,7 +17,7 @@
"state": "active",
"stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
"commandLine": "cmd /c hostname",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskList.json
index c2910d5edccc..9a7c20cdb633 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskList.json
@@ -18,7 +18,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
"commandLine": "cmd /c echo task1",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -43,7 +43,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
"commandLine": "cmd /c echo task2",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskListSubtasks.json
index 948f9de200df..75ebd1457aca 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskListSubtasks.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskListSubtasks.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskReactivate.json
index d3b19cdc94fb..f0e2ed23b285 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskReactivate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskReactivate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskTerminate.json
index d3b19cdc94fb..f0e2ed23b285 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskTerminate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskUpdate.json
index 560d10f042a6..2ebbee801c7e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-08-01.7.0/examples/TaskUpdate.json
@@ -7,9 +7,9 @@
"ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT",
"taskUpdateParameter": {
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":3,
- "retentionTime":"PT1H"
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
}
}
},
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json
index 55aca92ce685..a36011b28e24 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json
@@ -63,7 +63,9 @@
},
"operationId": "Application_List",
"x-ms-examples": {
- "List applications": { "$ref": "./examples/ApplicationList.json" }
+ "List applications": {
+ "$ref": "./examples/ApplicationList.json"
+ }
},
"summary": "Lists all of the applications available in the specified account.",
"description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.",
@@ -178,7 +180,9 @@
],
"operationId": "Application_Get",
"x-ms-examples": {
- "Get applications": { "$ref": "./examples/ApplicationGet.json" }
+ "Get applications": {
+ "$ref": "./examples/ApplicationGet.json"
+ }
},
"summary": "Gets information about the specified application.",
"description": "This operation returns only applications and versions that are available for use on compute nodes; that is, that can be used in an application package reference. For administrator information about applications and versions that are not yet available to compute nodes, use the Azure portal or the Azure Resource Manager API.",
@@ -288,7 +292,9 @@
},
"operationId": "Pool_ListUsageMetrics",
"x-ms-examples": {
- "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" }
+ "Pool list usage metrics": {
+ "$ref": "./examples/PoolListUsageMetrics.json"
+ }
},
"summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.",
"description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.",
@@ -440,7 +446,9 @@
},
"operationId": "Account_ListNodeAgentSkus",
"x-ms-examples": {
- "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" }
+ "Account list node agent skus": {
+ "$ref": "./examples/AccountListNodeAgentSkus.json"
+ }
},
"summary": "Lists all node agent SKUs supported by the Azure Batch service.",
"x-ms-request-id": "request-id",
@@ -568,7 +576,9 @@
"operationId": "Account_ListPoolNodeCounts",
"description": "Gets the number of nodes in each state, grouped by pool.",
"x-ms-examples": {
- "NodeCountsPayload": { "$ref": "./examples/AccountListPoolNodeCounts.json" }
+ "NodeCountsPayload": {
+ "$ref": "./examples/AccountListPoolNodeCounts.json"
+ }
},
"parameters": [
{
@@ -681,7 +691,9 @@
],
"operationId": "Pool_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" }
+ "Pool get lifetime statistics": {
+ "$ref": "./examples/PoolGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the pools in the specified account.",
"description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.",
@@ -781,7 +793,9 @@
],
"operationId": "Job_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" }
+ "Job get lifetime statistics": {
+ "$ref": "./examples/JobGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the jobs in the specified account.",
"description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.",
@@ -881,7 +895,9 @@
],
"operationId": "Certificate_Add",
"x-ms-examples": {
- "Certificate add": { "$ref": "./examples/CertificateAdd.json" }
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
},
"summary": "Adds a certificate to the specified account.",
"x-ms-request-id": "request-id",
@@ -991,7 +1007,9 @@
},
"operationId": "Certificate_List",
"x-ms-examples": {
- "Certificate list": { "$ref": "./examples/CertificateList.json" }
+ "Certificate list": {
+ "$ref": "./examples/CertificateList.json"
+ }
},
"summary": "Lists all of the certificates that have been added to the specified account.",
"x-ms-request-id": "request-id",
@@ -1125,7 +1143,9 @@
],
"operationId": "Certificate_CancelDeletion",
"x-ms-examples": {
- "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" }
+ "Certificate cancel delete": {
+ "$ref": "./examples/CertificateCancelDelete.json"
+ }
},
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
@@ -1240,7 +1260,9 @@
],
"operationId": "Certificate_Delete",
"x-ms-examples": {
- "Certificate delete": { "$ref": "./examples/CertificateDelete.json" }
+ "Certificate delete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"summary": "Deletes a certificate from the specified account.",
"description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.",
@@ -1349,7 +1371,9 @@
],
"operationId": "Certificate_Get",
"x-ms-examples": {
- "Certificate get": { "$ref": "./examples/CertificateGet.json" }
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
},
"description": "Gets information about the specified certificate.",
"x-ms-request-id": "request-id",
@@ -1472,7 +1496,9 @@
],
"operationId": "File_DeleteFromTask",
"x-ms-examples": {
- "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" }
+ "File delete from task": {
+ "$ref": "./examples/FileDeleteFromTask.json"
+ }
},
"summary": "Deletes the specified task file from the compute node where the task ran.",
"x-ms-request-id": "request-id",
@@ -1583,7 +1609,9 @@
],
"operationId": "File_GetFromTask",
"x-ms-examples": {
- "Get File From Task": { "$ref": "./examples/FileGetFromTask.json" }
+ "Get File From Task": {
+ "$ref": "./examples/FileGetFromTask.json"
+ }
},
"description": "Returns the content of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1764,7 +1792,9 @@
],
"operationId": "File_GetPropertiesFromTask",
"x-ms-examples": {
- "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" }
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
},
"description": "Gets the properties of the specified task file.",
"x-ms-request-id": "request-id",
@@ -1929,7 +1959,9 @@
],
"operationId": "File_DeleteFromComputeNode",
"x-ms-examples": {
- "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" }
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
},
"summary": "Deletes the specified file from the compute node.",
"x-ms-request-id": "request-id",
@@ -2040,7 +2072,9 @@
],
"operationId": "File_GetFromComputeNode",
"x-ms-examples": {
- "Get File From Compute Node": { "$ref": "./examples/FileGetFromNode.json" }
+ "Get File From Compute Node": {
+ "$ref": "./examples/FileGetFromNode.json"
+ }
},
"description": "Returns the content of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2221,7 +2255,9 @@
],
"operationId": "File_GetPropertiesFromComputeNode",
"x-ms-examples": {
- "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" }
+ "File get properties from node": {
+ "$ref": "./examples/FileGetPropertiesFromNode.json"
+ }
},
"description": "Gets the properties of the specified compute node file.",
"x-ms-request-id": "request-id",
@@ -2389,7 +2425,9 @@
},
"operationId": "File_ListFromTask",
"x-ms-examples": {
- "File list from task": { "$ref": "./examples/FileListFromTask.json" }
+ "File list from task": {
+ "$ref": "./examples/FileListFromTask.json"
+ }
},
"summary": "Lists the files in a task's directory on its compute node.",
"x-ms-request-id": "request-id",
@@ -2537,7 +2575,9 @@
},
"operationId": "File_ListFromComputeNode",
"x-ms-examples": {
- "File list from node": { "$ref": "./examples/FileListFromNode.json" }
+ "File list from node": {
+ "$ref": "./examples/FileListFromNode.json"
+ }
},
"summary": "Lists all of the files in task directories on the specified compute node.",
"x-ms-request-id": "request-id",
@@ -2682,7 +2722,9 @@
],
"operationId": "JobSchedule_Exists",
"x-ms-examples": {
- "Check Job Schedule Exists": { "$ref": "./examples/JobScheduleExists.json" }
+ "Check Job Schedule Exists": {
+ "$ref": "./examples/JobScheduleExists.json"
+ }
},
"summary": "Checks the specified job schedule exists.",
"x-ms-request-id": "request-id",
@@ -2828,7 +2870,9 @@
],
"operationId": "JobSchedule_Delete",
"x-ms-examples": {
- "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" }
+ "JobSchedule delete": {
+ "$ref": "./examples/JobScheduleDelete.json"
+ }
},
"summary": "Deletes a job schedule from the specified account.",
"description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.",
@@ -2961,7 +3005,9 @@
],
"operationId": "JobSchedule_Get",
"x-ms-examples": {
- "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" }
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
},
"description": "Gets information about the specified job schedule.",
"x-ms-request-id": "request-id",
@@ -3127,7 +3173,9 @@
],
"operationId": "JobSchedule_Patch",
"x-ms-examples": {
- "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" }
+ "JobSchedule patch": {
+ "$ref": "./examples/JobSchedulePatch.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3284,7 +3332,9 @@
],
"operationId": "JobSchedule_Update",
"x-ms-examples": {
- "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" }
+ "JobSchedule update": {
+ "$ref": "./examples/JobScheduleUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job schedule.",
"description": "This fully replaces all the updatable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.",
@@ -3443,7 +3493,9 @@
],
"operationId": "JobSchedule_Disable",
"x-ms-examples": {
- "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" }
+ "JobSchedule disable": {
+ "$ref": "./examples/JobScheduleDisable.json"
+ }
},
"summary": "Disables a job schedule.",
"description": "No new jobs will be created until the job schedule is enabled again.",
@@ -3593,7 +3645,9 @@
],
"operationId": "JobSchedule_Enable",
"x-ms-examples": {
- "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" }
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
},
"summary": "Enables a job schedule.",
"x-ms-request-id": "request-id",
@@ -3742,7 +3796,9 @@
],
"operationId": "JobSchedule_Terminate",
"x-ms-examples": {
- "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" }
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
},
"summary": "Terminates a job schedule.",
"x-ms-request-id": "request-id",
@@ -3891,8 +3947,12 @@
],
"operationId": "JobSchedule_Add",
"x-ms-examples": {
- "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" },
- "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" }
+ "Add a basic JobSchedule": {
+ "$ref": "./examples/JobScheduleAdd_Basic.json"
+ },
+ "Add a complex JobScheduleAdd": {
+ "$ref": "./examples/JobScheduleAdd_Complex.json"
+ }
},
"summary": "Adds a job schedule to the specified account.",
"x-ms-request-id": "request-id",
@@ -4002,7 +4062,9 @@
},
"operationId": "JobSchedule_List",
"x-ms-examples": {
- "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" }
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
},
"summary": "Lists all of the job schedules in the specified account.",
"x-ms-request-id": "request-id",
@@ -4146,7 +4208,9 @@
],
"operationId": "Job_Delete",
"x-ms-examples": {
- "Delete Job": { "$ref": "./examples/JobDelete.json" }
+ "Delete Job": {
+ "$ref": "./examples/JobDelete.json"
+ }
},
"summary": "Deletes a job.",
"description": "Deleting a job also deletes all tasks that are part of that job, and all job statistics. This also overrides the retention period for task data; that is, if the job contains tasks which are still retained on compute nodes, the Batch services deletes those tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the job to the deleting state. All update operations on a job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the job is being deleted.",
@@ -4279,7 +4343,9 @@
],
"operationId": "Job_Get",
"x-ms-examples": {
- "Job get": { "$ref": "./examples/JobGet.json" }
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
},
"summary": "Gets information about the specified job.",
"x-ms-request-id": "request-id",
@@ -4445,7 +4511,9 @@
],
"operationId": "Job_Patch",
"x-ms-examples": {
- "Job patch": { "$ref": "./examples/JobPatch.json" }
+ "Job patch": {
+ "$ref": "./examples/JobPatch.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.",
@@ -4602,7 +4670,9 @@
],
"operationId": "Job_Update",
"x-ms-examples": {
- "Job update": { "$ref": "./examples/JobUpdate.json" }
+ "Job update": {
+ "$ref": "./examples/JobUpdate.json"
+ }
},
"summary": "Updates the properties of the specified job.",
"description": "This fully replaces all the updatable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.",
@@ -4761,7 +4831,9 @@
],
"operationId": "Job_Disable",
"x-ms-examples": {
- "Job disable": { "$ref": "./examples/JobDisable.json" }
+ "Job disable": {
+ "$ref": "./examples/JobDisable.json"
+ }
},
"summary": "Disables the specified job, preventing new tasks from running.",
"description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.",
@@ -4920,7 +4992,9 @@
],
"operationId": "Job_Enable",
"x-ms-examples": {
- "Job enable": { "$ref": "./examples/JobEnable.json" }
+ "Job enable": {
+ "$ref": "./examples/JobEnable.json"
+ }
},
"summary": "Enables the specified job, allowing new tasks to run.",
"description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 180 days. Therefore, if you enable a job containing active tasks which were added more than 180 days ago, those tasks will not run.",
@@ -5070,7 +5144,9 @@
],
"operationId": "Job_Terminate",
"x-ms-examples": {
- "Job terminate": { "$ref": "./examples/JobTerminate.json" }
+ "Job terminate": {
+ "$ref": "./examples/JobTerminate.json"
+ }
},
"summary": "Terminates the specified job, marking it as completed.",
"description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any running tasks associated with the job and runs any required job release tasks. Then the job moves into the completed state. If there are any tasks in the job in the active state, they will remain in the active state. Once a job is terminated, new tasks cannot be added and any remaining active tasks will not be scheduled.",
@@ -5229,8 +5305,12 @@
],
"operationId": "Job_Add",
"x-ms-examples": {
- "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" },
- "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" }
+ "Add a basic job": {
+ "$ref": "./examples/JobAdd_Basic.json"
+ },
+ "Add a complex job": {
+ "$ref": "./examples/JobAdd_Complex.json"
+ }
},
"summary": "Adds a job to the specified account.",
"description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5341,7 +5421,9 @@
},
"operationId": "Job_List",
"x-ms-examples": {
- "Job list": { "$ref": "./examples/JobList.json" }
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
},
"summary": "Lists all of the jobs in the specified account.",
"x-ms-request-id": "request-id",
@@ -5487,7 +5569,9 @@
"nextLinkName": "odata.nextLink"
},
"x-ms-examples": {
- "List Job Under Job Schedule": { "$ref": "./examples/JobListFromJobSchedule.json" }
+ "List Job Under Job Schedule": {
+ "$ref": "./examples/JobListFromJobSchedule.json"
+ }
},
"operationId": "Job_ListFromJobSchedule",
"summary": "Lists the jobs that have been created under the specified job schedule.",
@@ -5642,7 +5726,9 @@
},
"operationId": "Job_ListPreparationAndReleaseTaskStatus",
"x-ms-examples": {
- "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" }
+ "Job list preparation and release task status": {
+ "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json"
+ }
},
"summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.",
"description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. If this API is invoked on a job which has no Job Preparation or Job Release task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.",
@@ -5784,7 +5870,9 @@
],
"operationId": "Job_GetTaskCounts",
"x-ms-examples": {
- "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" }
+ "Job get task counts": {
+ "$ref": "./examples/JobGetTaskCounts.json"
+ }
},
"summary": "Gets the task counts for the specified job.",
"description": "Task counts provide a count of the tasks by active, running or completed task state, and a count of tasks which succeeded or failed. Tasks in the preparing state are counted as running.",
@@ -5882,9 +5970,15 @@
],
"operationId": "Pool_Add",
"x-ms-examples": {
- "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" },
- "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" },
- "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" }
+ "Add a CloudServiceConfiguration pool": {
+ "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool with containers": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json"
+ }
},
"summary": "Adds a pool to the specified account.",
"description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5995,7 +6089,9 @@
},
"operationId": "Pool_List",
"x-ms-examples": {
- "Pool list": { "$ref": "./examples/PoolList_Basic.json" }
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
},
"summary": "Lists all of the pools in the specified account.",
"x-ms-request-id": "request-id",
@@ -6139,7 +6235,9 @@
],
"operationId": "Pool_Delete",
"x-ms-examples": {
- "Pool delete": { "$ref": "./examples/PoolDelete.json" }
+ "Pool delete": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"summary": "Deletes a pool from the specified account.",
"description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.",
@@ -6272,7 +6370,9 @@
],
"operationId": "Pool_Exists",
"x-ms-examples": {
- "Check Pool Exists": { "$ref": "./examples/PoolExists.json" }
+ "Check Pool Exists": {
+ "$ref": "./examples/PoolExists.json"
+ }
},
"description": "Gets basic properties of a pool.",
"x-ms-request-id": "request-id",
@@ -6418,7 +6518,9 @@
],
"operationId": "Pool_Get",
"x-ms-examples": {
- "Pool get": { "$ref": "./examples/PoolGet_Basic.json" }
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
},
"description": "Gets information about the specified pool.",
"x-ms-request-id": "request-id",
@@ -6584,7 +6686,9 @@
],
"operationId": "Pool_Patch",
"x-ms-examples": {
- "Patch the Pool": { "$ref": "./examples/PoolPatch.json" }
+ "Patch the Pool": {
+ "$ref": "./examples/PoolPatch.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This only replaces the pool properties specified in the request. For example, if the pool has a start task associated with it, and a request does not specify a start task element, then the pool keeps the existing start task.",
@@ -6743,7 +6847,9 @@
],
"operationId": "Pool_DisableAutoScale",
"x-ms-examples": {
- "Disable pool autoscale": { "$ref": "./examples/PoolDisableAutoScale.json" }
+ "Disable pool autoscale": {
+ "$ref": "./examples/PoolDisableAutoScale.json"
+ }
},
"summary": "Disables automatic scaling for a pool.",
"x-ms-request-id": "request-id",
@@ -6850,7 +6956,9 @@
],
"operationId": "Pool_EnableAutoScale",
"x-ms-examples": {
- "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" }
+ "Pool enable autoscale": {
+ "$ref": "./examples/PoolEnableAutoscale.json"
+ }
},
"summary": "Enables automatic scaling for a pool.",
"description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.",
@@ -7009,7 +7117,9 @@
],
"operationId": "Pool_EvaluateAutoScale",
"x-ms-examples": {
- "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" }
+ "Pool evaluate autoscale": {
+ "$ref": "./examples/PoolEvaluateAutoscale.json"
+ }
},
"summary": "Gets the result of evaluating an automatic scaling formula on the pool.",
"description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool. The pool must have auto scaling enabled in order to evaluate a formula.",
@@ -7129,7 +7239,9 @@
],
"operationId": "Pool_Resize",
"x-ms-examples": {
- "Pool resize": { "$ref": "./examples/PoolResize.json" }
+ "Pool resize": {
+ "$ref": "./examples/PoolResize.json"
+ }
},
"summary": "Changes the number of compute nodes that are assigned to a pool.",
"description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.",
@@ -7288,7 +7400,9 @@
],
"operationId": "Pool_StopResize",
"x-ms-examples": {
- "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" }
+ "Pool stop resize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
@@ -7438,7 +7552,9 @@
],
"operationId": "Pool_UpdateProperties",
"x-ms-examples": {
- "Pool update": { "$ref": "./examples/PoolUpdate.json" }
+ "Pool update": {
+ "$ref": "./examples/PoolUpdate.json"
+ }
},
"summary": "Updates the properties of the specified pool.",
"description": "This fully replaces all the updatable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.",
@@ -7555,7 +7671,9 @@
],
"operationId": "Pool_RemoveNodes",
"x-ms-examples": {
- "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" }
+ "Pool remove nodes": {
+ "$ref": "./examples/PoolRemoveNodes.json"
+ }
},
"summary": "Removes compute nodes from the specified pool.",
"description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.",
@@ -7714,9 +7832,15 @@
],
"operationId": "Task_Add",
"x-ms-examples": {
- "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" },
- "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" },
- "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" }
+ "Add a basic task": {
+ "$ref": "./examples/TaskAdd_Basic.json"
+ },
+ "Add a task with exit conditions": {
+ "$ref": "./examples/TaskAdd_ExitConditions.json"
+ },
+ "Add a task with container settings": {
+ "$ref": "./examples/TaskAdd_ContainerSettings.json"
+ }
},
"summary": "Adds a task to the specified job.",
"description": "The maximum lifetime of a task from addition to completion is 180 days. If a task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -7834,7 +7958,9 @@
},
"operationId": "Task_List",
"x-ms-examples": {
- "Task list": { "$ref": "./examples/TaskList.json" }
+ "Task list": {
+ "$ref": "./examples/TaskList.json"
+ }
},
"summary": "Lists all of the tasks that are associated with the specified job.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -7986,8 +8112,12 @@
],
"operationId": "Task_AddCollection",
"x-ms-examples": {
- "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" },
- "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" }
+ "Add a basic collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Basic.json"
+ },
+ "Add a complex collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Complex.json"
+ }
},
"summary": "Adds a collection of tasks to the specified job.",
"description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task IDs during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly. If the response contains any tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only tasks that failed to add, and to omit tasks that were successfully added on the first attempt. The maximum lifetime of a task from addition to completion is 180 days. If a task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -8092,7 +8222,9 @@
],
"operationId": "Task_Delete",
"x-ms-examples": {
- "Task delete": { "$ref": "./examples/TaskDelete.json" }
+ "Task delete": {
+ "$ref": "./examples/TaskDelete.json"
+ }
},
"summary": "Deletes a task from the specified job.",
"description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.",
@@ -8232,7 +8364,9 @@
],
"operationId": "Task_Get",
"x-ms-examples": {
- "Task get": { "$ref": "./examples/TaskGet.json" }
+ "Task get": {
+ "$ref": "./examples/TaskGet.json"
+ }
},
"summary": "Gets information about the specified task.",
"description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8410,7 +8544,9 @@
],
"operationId": "Task_Update",
"x-ms-examples": {
- "Task update": { "$ref": "./examples/TaskUpdate.json" }
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
},
"description": "Updates the properties of the specified task.",
"x-ms-request-id": "request-id",
@@ -8575,7 +8711,9 @@
],
"operationId": "Task_ListSubtasks",
"x-ms-examples": {
- "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" }
+ "Task list subtasks": {
+ "$ref": "./examples/TaskListSubtasks.json"
+ }
},
"summary": "Lists all of the subtasks that are associated with the specified multi-instance task.",
"description": "If the task is not a multi-instance task then this returns an empty collection.",
@@ -8699,7 +8837,9 @@
],
"operationId": "Task_Terminate",
"x-ms-examples": {
- "Task terminate": { "$ref": "./examples/TaskTerminate.json" }
+ "Task terminate": {
+ "$ref": "./examples/TaskTerminate.json"
+ }
},
"summary": "Terminates the specified task.",
"description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -8856,7 +8996,9 @@
],
"operationId": "Task_Reactivate",
"x-ms-examples": {
- "Task reactivate": { "$ref": "./examples/TaskReactivate.json" }
+ "Task reactivate": {
+ "$ref": "./examples/TaskReactivate.json"
+ }
},
"summary": "Reactivates a task, allowing it to run again even if its retry count has been exhausted.",
"description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a task is reactivated, its retry count is reset to 0. Reactivation will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the job has completed (or is terminating or deleting).",
@@ -9013,7 +9155,9 @@
],
"operationId": "ComputeNode_AddUser",
"x-ms-examples": {
- "Node add user": { "$ref": "./examples/NodeAddUser.json" }
+ "Node add user": {
+ "$ref": "./examples/NodeAddUser.json"
+ }
},
"summary": "Adds a user account to the specified compute node.",
"description": "You can add a user account to a node only when it is in the idle or running state.",
@@ -9137,7 +9281,9 @@
],
"operationId": "ComputeNode_DeleteUser",
"x-ms-examples": {
- "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" }
+ "Node delete user": {
+ "$ref": "./examples/NodeDeleteUser.json"
+ }
},
"summary": "Deletes a user account from the specified compute node.",
"description": "You can delete a user account to a node only when it is in the idle or running state.",
@@ -9242,7 +9388,9 @@
],
"operationId": "ComputeNode_UpdateUser",
"x-ms-examples": {
- "Node update user": { "$ref": "./examples/NodeUpdateUser.json" }
+ "Node update user": {
+ "$ref": "./examples/NodeUpdateUser.json"
+ }
},
"summary": "Updates the password and expiration time of a user account on the specified compute node.",
"description": "This operation replaces of all the updatable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.",
@@ -9373,7 +9521,9 @@
],
"operationId": "ComputeNode_Get",
"x-ms-examples": {
- "Node get": { "$ref": "./examples/NodeGet_Basic.json" }
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
},
"summary": "Gets information about the specified compute node.",
"x-ms-request-id": "request-id",
@@ -9496,7 +9646,9 @@
],
"operationId": "ComputeNode_Reboot",
"x-ms-examples": {
- "Node reboot": { "$ref": "./examples/NodeReboot.json" }
+ "Node reboot": {
+ "$ref": "./examples/NodeReboot.json"
+ }
},
"summary": "Restarts the specified compute node.",
"description": "You can restart a node only if it is in an idle or running state.",
@@ -9620,7 +9772,9 @@
],
"operationId": "ComputeNode_Reimage",
"x-ms-examples": {
- "Node reimage": { "$ref": "./examples/NodeReimage.json" }
+ "Node reimage": {
+ "$ref": "./examples/NodeReimage.json"
+ }
},
"summary": "Reinstalls the operating system on the specified compute node.",
"description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.",
@@ -9744,7 +9898,9 @@
],
"operationId": "ComputeNode_DisableScheduling",
"x-ms-examples": {
- "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" }
+ "Node disable scheduling": {
+ "$ref": "./examples/NodeDisableScheduling.json"
+ }
},
"summary": "Disables task scheduling on the specified compute node.",
"description": "You can disable task scheduling on a node only if its current scheduling state is enabled.",
@@ -9868,7 +10024,9 @@
],
"operationId": "ComputeNode_EnableScheduling",
"x-ms-examples": {
- "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" }
+ "Node enable scheduling": {
+ "$ref": "./examples/NodeEnableScheduling.json"
+ }
},
"summary": "Enables task scheduling on the specified compute node.",
"description": "You can enable task scheduling on a node only if its current scheduling state is disabled",
@@ -9983,7 +10141,9 @@
],
"operationId": "ComputeNode_GetRemoteLoginSettings",
"x-ms-examples": {
- "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" }
+ "Node get remote login settings": {
+ "$ref": "./examples/NodeGetRemoteLoginSettings.json"
+ }
},
"summary": "Gets the settings required for remote login to a compute node.",
"description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.",
@@ -10097,7 +10257,9 @@
],
"operationId": "ComputeNode_GetRemoteDesktop",
"x-ms-examples": {
- "Get RDP file of the compute node": { "$ref": "./examples/NodeGetRemoteDesktop.json" }
+ "Get RDP file of the compute node": {
+ "$ref": "./examples/NodeGetRemoteDesktop.json"
+ }
},
"summary": "Gets the Remote Desktop Protocol file for the specified compute node.",
"description": "Before you can access a node by using the RDP file, you must create a user account on the node. This API can only be invoked on pools created with a cloud service configuration. For pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.",
@@ -10218,7 +10380,9 @@
"summary": "Upload Azure Batch service log files from the specified compute node to Azure Blob Storage.",
"description": "This is for gathering Azure Batch service log files in an automated fashion from nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.",
"x-ms-examples": {
- "Upload BatchService Logs": { "$ref": "./examples/NodeUploadBatchServiceLogs.json" }
+ "Upload BatchService Logs": {
+ "$ref": "./examples/NodeUploadBatchServiceLogs.json"
+ }
},
"x-ms-request-id": "request-id",
"parameters": [
@@ -10333,7 +10497,9 @@
},
"operationId": "ComputeNode_List",
"x-ms-examples": {
- "Node list": { "$ref": "./examples/NodeList.json" }
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
},
"summary": "Lists the compute nodes in the specified pool.",
"x-ms-request-id": "request-id",
@@ -10496,7 +10662,13 @@
"title": "The total core hours used in the pool during this aggregation interval."
}
},
- "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours" ],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours"
+ ],
"title": "Usage metrics for a pool across an aggregation interval."
},
"PoolListUsageMetricsResult": {
@@ -10616,7 +10788,11 @@
"title": "The aggregated wall-clock time of the dedicated compute node cores being part of the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to pool usage information."
},
"ResourceStatistics": {
@@ -10687,7 +10863,21 @@
"title": "The total amount of data in GiB of network writes across all nodes in the pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by compute nodes in a pool."
},
"PoolStatistics": {
@@ -10715,7 +10905,11 @@
"title": "Statistics related to resource consumption by compute nodes in the pool."
}
},
- "required": [ "url", "startTime", "lastUpdateTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a pool."
},
"JobStatistics": {
@@ -10794,7 +10988,22 @@
"description": "The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.) This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job."
},
"NameValuePair": {
@@ -10889,7 +11098,9 @@
"description": "If this is omitted on a pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a task, and no default version is specified for this application, the task fails with a pre-processing error."
}
},
- "required": [ "applicationId" ],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an application package to be deployed to compute nodes."
},
"ApplicationSummary": {
@@ -10910,7 +11121,11 @@
}
}
},
- "required": [ "id", "displayName", "versions" ],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch account."
},
"CertificateAddParameter": {
@@ -10955,7 +11170,11 @@
"description": "This is required if the certificate format is pfx. It should be omitted if the certificate format is cer."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm", "data" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A certificate that can be installed on compute nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -11002,7 +11221,10 @@
"description": "The file mode is returned only for files on Linux compute nodes."
}
},
- "required": [ "lastModified", "contentLength" ],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a compute node."
},
"NodeFile": {
@@ -11096,7 +11318,9 @@
"description": "This is only supported for jobs running on VirtualMachineConfiguration pools. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes which will run tasks from the job. For more details, see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration."
}
},
- "required": [ "subnetId" ],
+ "required": [
+ "subnetId"
+ ],
"title": "The network configuration for the job."
},
"TaskContainerSettings": {
@@ -11117,7 +11341,9 @@
"description": "This setting can be omitted if was already provided at pool creation."
}
},
- "required": [ "imageName" ],
+ "required": [
+ "imageName"
+ ],
"title": "The container settings for a task."
},
"ResourceFile": {
@@ -11166,7 +11392,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"ExitConditions": {
@@ -11215,7 +11443,10 @@
}
},
"title": "How the Batch service should respond if a task exits with a particular exit code.",
- "required": [ "code", "exitOptions" ]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -11235,7 +11466,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": [ "start", "end", "exitOptions" ]
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -11419,7 +11654,10 @@
"$ref": "#/definitions/WindowsUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user used to execute tasks on an Azure Batch node."
},
"TaskConstraints": {
@@ -11528,7 +11766,10 @@
"description": "The default value is true."
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager task.",
"description": "The Job Manager task is automatically started when the job is created. The Batch service tries to schedule the Job Manager task before any other tasks in the job. When shrinking a pool, the Batch service tries to preserve compute nodes where Job Manager tasks are running for as long as possible (that is, nodes running 'normal' tasks are removed before nodes running Job Manager tasks). When a Job Manager task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle nodes available, the system may terminate one of the running tasks in the pool and return it to the queue in order to make room for the Job Manager task to restart. Note that a Job Manager task in one job does not have priority over tasks in other jobs. Across jobs, only job level priorities are observed. For example, if a Job Manager in a priority 0 job needs to be restarted, it will not displace tasks of a priority 1 job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -11584,7 +11825,9 @@
"description": "The Job Preparation task is always rerun if a compute node is reimaged, or if the Job Preparation task did not complete (e.g. because the reboot occurred while the task was running). Therefore, you should always write a Job Preparation task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation task to run before any tasks of the job on any given compute node.",
"description": "You can use Job Preparation to prepare a compute node to run tasks for the job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the tasks in the job. The Job Preparation task can download these common resource files to the shared location on the compute node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the compute node so that all tasks of that job can communicate with it. If the Job Preparation task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run tasks of this job on the compute node. The node remains ineligible to run tasks of this job until it is reimaged. The node remains active and can be used for other jobs. The Job Preparation task can run multiple times on the same compute node. Therefore, you should write the Job Preparation task to handle re-execution. If the compute node is rebooted, the Job Preparation task is run again on the node before scheduling any other task of the job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation task did not previously complete. If the compute node is reimaged, the Job Preparation task is run again before scheduling any task of the job. Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -11637,7 +11880,9 @@
"description": "If omitted, the task runs as a non-administrative user unique to the task."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release task to run on job completion on any compute node where the job has run.",
"description": "The Job Release task runs when the job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the job is still active, the job's maximum wall clock time constraint is reached, and the job is still active, or the job's Job Manager task completed, and the job is configured to terminate when the Job Manager completes. The Job Release task runs on each compute node where tasks of the job have run and the Job Preparation task ran and completed. If you reimage a compute node after it has run the Job Preparation task, and the job ends without any further tasks of the job running on that compute node (and hence the Job Preparation task does not re-run), then the Job Release task does not run on that node. If a compute node reboots while the Job Release task is still running, the Job Release task runs again when the compute node starts up. The job is not marked as complete until all Job Release tasks have completed. The Job Release task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the pool."
},
@@ -11666,7 +11911,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"StartTask": {
@@ -11713,7 +11960,9 @@
"description": "If true and the start task fails on a compute node, the Batch service retries the start task up to its maximum retry count (maxTaskRetryCount). If the task has still not completed successfully after all retries, then the Batch service marks the compute node unusable, and will not schedule tasks to it. This condition can be detected via the node state and failure info details. If false, the Batch service will not wait for the start task to complete. In this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. The default is false."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A task which is run when a compute node joins a pool in the Azure Batch service, or when the compute node is rebooted or reimaged.",
"description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing. In some cases the start task may be re-run even though the node was not rebooted. Special care should be taken to avoid start tasks which create breakaway process or install/launch services from the start task working directory, as this will block Batch from being able to re-run the start task."
},
@@ -11792,7 +12041,10 @@
"description": "You can specify more than one visibility in this collection. The default is all accounts."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool."
},
"MetadataItem": {
@@ -11806,7 +12058,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -11930,7 +12185,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "vmSize" ],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new pool."
},
"AutoPoolSpecification": {
@@ -11973,7 +12230,9 @@
"title": "The pool specification for the auto pool."
}
},
- "required": [ "poolLifetimeOption" ],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto pool when the job is submitted."
},
"PoolInformation": {
@@ -12062,7 +12321,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the jobs to be created on a schedule."
},
"RecentJob": {
@@ -12174,7 +12435,22 @@
"description": "This value is only reported in the account lifetime statistics; it is not included in the job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a job schedule."
},
"CloudJobSchedule": {
@@ -12283,7 +12559,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "schedule", "jobSpecification" ],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A job schedule that allows recurring jobs by specifying when to run jobs and a specification used to create each job."
},
"CloudJobScheduleListResult": {
@@ -12324,7 +12604,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a job."
},
"JobExecutionInformation": {
@@ -12357,7 +12639,9 @@
"description": "This property is set only if the job is in the completed state. If the Batch service terminates the job, it sets the reason as follows: JMComplete - the Job Manager task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the job reached its maxWallClockTime constraint. TerminateJobSchedule - the job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the job's onAllTasksComplete attribute is set to terminatejob, and all tasks in the job are complete. TaskFailed - the job's onTaskFailure attribute is set to performExitOptionsJobAction, and a task in the job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a job' operation."
}
},
- "required": [ "startTime" ],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a job in the Azure Batch service."
},
"CloudJob": {
@@ -12561,7 +12845,10 @@
"title": "The network configuration for the job."
}
},
- "required": [ "id", "poolInfo" ],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch job to add."
},
"CloudJobListResult": {
@@ -12621,7 +12908,9 @@
"title": "A list of additional details related to the error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "Information about a task failure."
},
"JobPreparationTaskExecutionInformation": {
@@ -12702,7 +12991,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "retryCount", "state" ],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation task on a compute node."
},
"JobReleaseTaskExecutionInformation": {
@@ -12771,7 +13064,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "state" ],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release task on a compute node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -12844,7 +13140,13 @@
"title": "The number of tasks which failed. A task fails if its result (found in the executionInfo property) is 'failure'."
}
},
- "required": [ "active", "running", "completed", "succeeded", "failed" ],
+ "required": [
+ "active",
+ "running",
+ "completed",
+ "succeeded",
+ "failed"
+ ],
"title": "The task counts for a job."
},
"AutoScaleRunError": {
@@ -12884,7 +13186,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "timestamp" ],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"ResizeError": {
@@ -12920,7 +13224,9 @@
"description": "The default value is * which specifies the latest operating system version for the specified OS family."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -13082,7 +13388,10 @@
"description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it."
}
},
- "required": [ "nodeAgentSKUId", "imageReference" ],
+ "required": [
+ "nodeAgentSKUId",
+ "imageReference"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"ContainerRegistry": {
@@ -13102,7 +13411,10 @@
"title": "The password to log into the registry server."
}
},
- "required": [ "username", "password" ],
+ "required": [
+ "username",
+ "password"
+ ],
"title": "A private container registry."
},
"ContainerConfiguration": {
@@ -13141,7 +13453,9 @@
"description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here."
}
},
- "required": [ "type" ],
+ "required": [
+ "type"
+ ],
"title": "The configuration for container-enabled pools."
},
"NetworkConfiguration": {
@@ -13539,7 +13853,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "vmSize" ],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -13582,7 +13899,9 @@
"description": "You can pass the affinityId of a compute node to indicate that this task needs to run on that compute node. Note that this is just a soft affinity. If the target node is busy or unavailable at the time the task is scheduled, then the task will be scheduled elsewhere."
}
},
- "required": [ "affinityId" ],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a compute node on which to start a task."
},
"TaskExecutionInformation": {
@@ -13645,7 +13964,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "requeueCount", "retryCount" ],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a task."
},
"ComputeNodeInformation": {
@@ -13691,7 +14013,10 @@
"description": "This is the most recent time that the node agent was updated to a new version."
}
},
- "required": [ "version", "lastUpdateTime" ],
+ "required": [
+ "version",
+ "lastUpdateTime"
+ ],
"title": "Information about the node agent.",
"description": "The Batch node agent is a program that runs on each node in the pool and provides Batch capability on the compute node."
},
@@ -13717,7 +14042,9 @@
"description": "The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the task working directory, but instead are downloaded to the task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers."
}
},
- "required": [ "coordinationCommandLine" ],
+ "required": [
+ "coordinationCommandLine"
+ ],
"title": "Settings which specify how to run a multi-instance task.",
"description": "Multi-instance tasks are commonly used to support MPI tasks. In the MPI case, if any of the subtasks fail (for example due to exiting with a non-zero exit code) the entire multi-instance task fails. The multi-instance task is then terminated and retried, up to its retry limit."
},
@@ -13779,7 +14106,19 @@
"title": "The total wait time of the task. The wait time for a task is defined as the elapsed time between the creation of the task and the start of task execution. (If the task is retried due to failures, the wait time is the time to the most recent task execution.)"
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a task."
},
"TaskDependencies": {
@@ -13817,7 +14156,10 @@
},
"title": "A range of task IDs that a task can depend on. All tasks with IDs in the range must complete successfully before the dependent task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents tasks '9', '10', '11' and '12'.",
- "required": [ "start", "end" ]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -14044,7 +14386,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch task to add.",
"description": "Batch will retry tasks when a recovery operation is triggered on a compute node. Examples of recovery operations include (but are not limited to) when an unhealthy compute node is rebooted or a compute node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all tasks should be idempotent. This means tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running tasks is to use some form of checkpointing."
},
@@ -14060,7 +14405,9 @@
"description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer tasks."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch tasks to add."
},
"TaskAddResult": {
@@ -14117,7 +14464,10 @@
"title": "The error encountered while attempting to add the task."
}
},
- "required": [ "status", "taskId" ],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single task added as part of an add task collection operation."
},
"TaskAddCollectionResult": {
@@ -14254,7 +14604,9 @@
"title": "Information about the execution of the task."
}
},
- "required": [ "taskState" ],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a task running on a compute node."
},
"StartTaskInformation": {
@@ -14327,7 +14679,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "state", "startTime", "retryCount" ],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start task running on a compute node."
},
"ComputeNodeError": {
@@ -14568,7 +14924,9 @@
"description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNATPools" ],
+ "required": [
+ "inboundNATPools"
+ ],
"title": "The endpoint configuration for a pool."
},
"InboundNATPool": {
@@ -14609,7 +14967,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally."
},
"NetworkSecurityGroupRule": {
@@ -14648,7 +15012,11 @@
"description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ComputeNodeEndpointConfiguration": {
@@ -14661,7 +15029,9 @@
"title": "The list of inbound endpoints that are accessible on the compute node."
}
},
- "required": [ "inboundEndpoints" ],
+ "required": [
+ "inboundEndpoints"
+ ],
"title": "The endpoint configuration for the compute node."
},
"InboundEndpoint": {
@@ -14693,7 +15063,14 @@
"title": "The backend port number of the endpoint."
}
},
- "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ],
+ "required": [
+ "name",
+ "protocol",
+ "publicIPAddress",
+ "publicFQDN",
+ "frontendPort",
+ "backendPort"
+ ],
"title": "An inbound endpoint on a compute node."
},
"ComputeNodeListResult": {
@@ -14740,7 +15117,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "A user account for RDP or SSH access on a compute node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -14755,7 +15134,10 @@
"title": "The port used for remote login to the compute node."
}
},
- "required": [ "remoteLoginIPAddress", "remoteLoginPort" ],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a compute node."
},
"JobSchedulePatchParameter": {
@@ -14802,7 +15184,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": [ "schedule", "jobSpecification" ],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a job schedule."
},
"JobDisableParameter": {
@@ -14835,7 +15220,9 @@
}
}
},
- "required": [ "disableTasks" ],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a job."
},
"JobTerminateParameter": {
@@ -14913,7 +15300,9 @@
"$ref": "#/definitions/OnAllTasksComplete"
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a job."
},
"PoolEnableAutoScaleParameter": {
@@ -14940,7 +15329,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the pool. To apply the formula to the pool, 'Enable automatic scaling on a pool'. For more information about specifying this formula, see Automatically scale compute nodes in an Azure Batch pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": [ "autoScaleFormula" ],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a pool."
},
"PoolResizeParameter": {
@@ -15001,7 +15392,11 @@
"description": "This list replaces any existing metadata configured on the pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the pool."
}
},
- "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a pool."
},
"PoolPatchParameter": {
@@ -15205,7 +15600,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "nodeList" ],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing compute nodes from a pool."
},
"OutputFile": {
@@ -15224,7 +15621,11 @@
"$ref": "#/definitions/OutputFileUploadOptions"
}
},
- "required": [ "filePattern", "destination", "uploadOptions" ],
+ "required": [
+ "filePattern",
+ "destination",
+ "uploadOptions"
+ ],
"title": "A specification for uploading files from an Azure Batch node to another location after the Batch service has finished executing the task process."
},
"OutputFileDestination": {
@@ -15249,7 +15650,9 @@
"description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container."
}
},
- "required": [ "containerUrl" ],
+ "required": [
+ "containerUrl"
+ ],
"title": "Specifies a file upload destination within an Azure blob storage container."
},
"OutputFileUploadOptions": {
@@ -15260,7 +15663,9 @@
"$ref": "#/definitions/OutputFileUploadCondition"
}
},
- "required": [ "uploadCondition" ],
+ "required": [
+ "uploadCondition"
+ ],
"title": "Details about an output file upload operation, including under what conditions to perform the upload."
},
"ErrorMessage": {
@@ -15709,7 +16114,10 @@
"description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime."
}
},
- "required": [ "containerUrl", "startTime" ],
+ "required": [
+ "containerUrl",
+ "startTime"
+ ],
"title": "The Azure Batch service log files upload configuration for a compute node."
},
"UploadBatchServiceLogsResult": {
@@ -15725,7 +16133,10 @@
"title": "The number of log files which will be uploaded."
}
},
- "required": [ "virtualDirectoryName", "numberOfFilesUploaded" ],
+ "required": [
+ "virtualDirectoryName",
+ "numberOfFilesUploaded"
+ ],
"title": "The result of uploading Batch service log files from a specific compute node."
},
"PoolNodeCountsListResult": {
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListNodeAgentSkus.json
index d59100fda47b..612b8ada888f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListNodeAgentSkus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListNodeAgentSkus.json
@@ -61,4 +61,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListPoolNodeCounts.json
index 13ddd4d2ad30..f8fb3fbc8750 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListPoolNodeCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/AccountListPoolNodeCounts.json
@@ -118,4 +118,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationGet.json
index 404e317182fd..b9b725b902e0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationGet.json
@@ -9,12 +9,12 @@
"responses": {
"200": {
"body": {
- "id": "my_application_id",
- "versions": [
- "v1.0"
- ],
- "displayName": "my_display_name"
+ "id": "my_application_id",
+ "versions": [
+ "v1.0"
+ ],
+ "displayName": "my_display_name"
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationList.json
index 8faa2407818a..968c9ae24180 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/ApplicationList.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateAdd.json
index d52b5da92f0e..f0adb7c462ab 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateAdd.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateAdd.json
@@ -5,11 +5,11 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
"certificate": {
- "thumbprintAlgorithm":"sha1",
- "thumbprint":"0123456789abcdef0123456789abcdef01234567",
- "data":"#####...",
- "certificateFormat":"pfx",
- "password":"certpassword"
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "data": "#####...",
+ "certificateFormat": "pfx",
+ "password": "certpassword"
}
},
"responses": {
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateCancelDelete.json
index 3a8f6699a6e9..7c8b0448ca94 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateCancelDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateCancelDelete.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateDelete.json
index dec2a177db34..8551e628f7f2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateDelete.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateGet.json
index 6c70d78421fe..bd73dc47f117 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateGet.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateList.json
index d7e848f92ede..91a6ab0f5152 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/CertificateList.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromNode.json
index df2e9429ea9a..16573010b4e7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromNode.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromTask.json
index 24f0c8761a9b..e5437a6bba04 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileDeleteFromTask.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromNode.json
index 3a1eb00168be..f807ff0cb44a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromNode.json
@@ -18,4 +18,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromTask.json
index 4e3749693306..a3fda8f1278e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetFromTask.json
@@ -18,4 +18,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromNode.json
index d7fe29cb7014..24b4a603d7bd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromNode.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromTask.json
index a824b9d99ae8..d6205d5cd400 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileGetPropertiesFromTask.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromNode.json
index 344d20111976..0f30ffabe6da 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromNode.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromTask.json
index ffa1051f4e0c..f5808c841123 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/FileListFromTask.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Basic.json
index f42ede825346..ed594e660895 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Basic.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Complex.json
index 3e418a47ab9e..68c8bf942e4f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobAdd_Complex.json
@@ -36,7 +36,7 @@
"retentionTime": "PT1H"
},
"killJobOnCompletion": false,
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -77,7 +77,7 @@
"value": "myvalue"
}
],
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -119,4 +119,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDelete.json
index 551d0c72d70d..adf191d9e5c7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDisable.json
index 3001e7497cc1..0eef299bd733 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobDisable.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobEnable.json
index 551d0c72d70d..adf191d9e5c7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobEnable.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGet.json
index 020a36ae8968..30334948bc64 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGet.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetLifetimeStatistics.json
index 370281b57dc2..1ca8d2a56229 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetLifetimeStatistics.json
@@ -8,7 +8,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimejobstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimejobstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"userCPUTime": "PT0S",
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetTaskCounts.json
index 69eeb39bad46..418da2bd06d1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetTaskCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobGetTaskCounts.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobList.json
index 5f2bf2115d0a..78de7117410f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobList.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListFromJobSchedule.json
index 4a581dd0be9d..5f88a5f1fcab 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListFromJobSchedule.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListFromJobSchedule.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListPreparationAndReleaseTaskStatus.json
index 69807d33f286..10489d6da296 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListPreparationAndReleaseTaskStatus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobPatch.json
index 96d7455768f8..2e852869eea3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobPatch.json
@@ -6,13 +6,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobPatchParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -21,4 +21,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Basic.json
index 5e5021633b5a..fab90a6697ae 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Basic.json
@@ -7,7 +7,7 @@
"cloudJobSchedule": {
"id": "jobScheduleId",
"schedule": {
- "recurrenceInterval":"PT5M"
+ "recurrenceInterval": "PT5M"
},
"jobSpecification": {
"poolInfo": {
@@ -21,4 +21,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Complex.json
index 15147f8fdcd3..9f80ffea4a74 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleAdd_Complex.json
@@ -127,4 +127,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDelete.json
index f4995ff15e9b..c6298f9aaa58 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDisable.json
index 2d1fed498e83..65bf4b4f2a39 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleDisable.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleEnable.json
index 2d1fed498e83..65bf4b4f2a39 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleEnable.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleExists.json
index 1c7929b0e2bd..df075c3ce296 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleExists.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleExists.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleGet.json
index 249b2ea312a8..308289f63217 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleGet.json
@@ -41,4 +41,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleList.json
index 85f00683ab50..4b4e826a14ec 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleList.json
@@ -71,4 +71,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobSchedulePatch.json
index 974ad4b96ff9..c775219fe8c7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobSchedulePatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobSchedulePatch.json
@@ -27,4 +27,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleTerminate.json
index f4995ff15e9b..c6298f9aaa58 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleTerminate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleUpdate.json
index 1d7b07d7c499..20cb033a18f7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobScheduleUpdate.json
@@ -27,4 +27,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobTerminate.json
index 386f3683ca7d..a8577cac67c1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobTerminate.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobUpdate.json
index bd529af60161..812c60ab67c2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/JobUpdate.json
@@ -6,13 +6,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobUpdateParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -21,4 +21,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeAddUser.json
index 9b066c59156a..8bb209308120 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeAddUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeAddUser.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDeleteUser.json
index 38d4f051ae4d..ac6a838487a9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDeleteUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDeleteUser.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDisableScheduling.json
index 281e098ac108..1a6755557731 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDisableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeDisableScheduling.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeEnableScheduling.json
index c93e791f91bb..74959df00762 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeEnableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeEnableScheduling.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteDesktop.json
index 6d261e4b03d5..0738f7dccced 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteDesktop.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteDesktop.json
@@ -12,4 +12,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteLoginSettings.json
index 9f0abc48ddd3..cb53ef78fffd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteLoginSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGetRemoteLoginSettings.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGet_Basic.json
index fe55ea7bf40c..3b5efa06a66d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeGet_Basic.json
@@ -26,7 +26,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeList.json
index e5ea20fbfeb3..5ccff585826f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeList.json
@@ -27,7 +27,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -65,7 +65,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -103,7 +103,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -128,4 +128,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReboot.json
index 8fc2fd8cd55d..4cc09a265ee7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReboot.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReboot.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReimage.json
index 1dc0643c784b..c875a9fa650c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReimage.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeReimage.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUpdateUser.json
index 0bc124036dcf..97275cf59124 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUpdateUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUpdateUser.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUploadBatchServiceLogs.json
index 700bb57fc89f..b20cd97f8cac 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUploadBatchServiceLogs.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/NodeUploadBatchServiceLogs.json
@@ -14,9 +14,9 @@
"responses": {
"200": {
"body": {
- "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
- "numberOfFilesUploaded": 8
+ "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
+ "numberOfFilesUploaded": 8
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_CloudServiceConfiguration.json
index a93e282d0024..ba50407e79c8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_CloudServiceConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_CloudServiceConfiguration.json
@@ -10,19 +10,21 @@
"cloudServiceConfiguration": {
"osFamily": "4"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -32,4 +34,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfiguration.json
index b26fce77be20..0190b072510c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -15,19 +15,21 @@
},
"nodeAgentSKUId": "batch.node.ubuntu 16.04"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -37,4 +39,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
index 04ed1c84b96b..dbecab5466d5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
@@ -21,14 +21,14 @@
]
}
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false
+ "enableAutoScale": false
}
},
"responses": {
@@ -38,4 +38,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDelete.json
index b21c340c7a42..4fff5aedb71f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDisableAutoScale.json
index 04670de95ac3..41e6a48a6dd0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDisableAutoScale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolDisableAutoScale.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEnableAutoscale.json
index 9c9a4d2d4b8f..de939967f609 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEnableAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEnableAutoscale.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEvaluateAutoscale.json
index c1ec9c21b633..17889505bc62 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEvaluateAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolEvaluateAutoscale.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolExists.json
index 385984444d75..5a1b5e527439 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolExists.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolExists.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGetLifetimeStatistics.json
index 55e39373893a..57781f1f1463 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGetLifetimeStatistics.json
@@ -8,7 +8,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"usageStats": {
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGet_Basic.json
index 9d8f7f83e19c..d0aaf3aaac18 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolGet_Basic.json
@@ -28,7 +28,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "/bin/bash -c 'echo start task'",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolListUsageMetrics.json
index e05af7a849b2..f7fc2135825f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolListUsageMetrics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolListUsageMetrics.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolList_Basic.json
index b81487f337b8..b0e4f443cbc2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolList_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolList_Basic.json
@@ -29,7 +29,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolPatch.json
index a1475eeb5410..c2879074626b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolPatch.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolRemoveNodes.json
index c0bbf983e5cd..29e927deeccc 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolRemoveNodes.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolRemoveNodes.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolResize.json
index 2779f892863a..579087a2af53 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolResize.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolStopResize.json
index b21c340c7a42..4fff5aedb71f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolStopResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolStopResize.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolUpdate.json
index 69fe12dd6ff3..aeb6cf04e505 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/PoolUpdate.json
@@ -19,4 +19,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Basic.json
index e162a318b08d..ae160f27f485 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Basic.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Complex.json
index c56d31718e5d..7b4a84ee2ae4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAddCollection_Complex.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_Basic.json
index 23a8189702d6..5b06eba92726 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_Basic.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ContainerSettings.json
index 47f35697248f..ef5ff9f2aa43 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ContainerSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ContainerSettings.json
@@ -12,7 +12,7 @@
"imageName": "ubuntu",
"containerRunOptions": "--rm"
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -25,4 +25,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ExitConditions.json
index 90a0999d2166..7296e3cdecf8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ExitConditions.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskAdd_ExitConditions.json
@@ -19,7 +19,7 @@
}
]
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -32,4 +32,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskDelete.json
index 591d3dc05279..7a2b1dc9aed6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskDelete.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskGet.json
index bf9d9fc092e0..16ee12da0a2b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskGet.json
@@ -18,7 +18,7 @@
"state": "active",
"stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
"commandLine": "cmd /c hostname",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskList.json
index ec9b85595b4b..a11c0d1c26ba 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskList.json
@@ -19,7 +19,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
"commandLine": "cmd /c echo task1",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -44,7 +44,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
"commandLine": "cmd /c echo task2",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -64,4 +64,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskListSubtasks.json
index 54eddbdb91f6..309f66590252 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskListSubtasks.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskListSubtasks.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskReactivate.json
index 6c07e145e137..e88c12121a9c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskReactivate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskReactivate.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskTerminate.json
index 6c07e145e137..e88c12121a9c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskTerminate.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskUpdate.json
index bcf451b6bc0c..7bddd743c7d9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/examples/TaskUpdate.json
@@ -8,9 +8,9 @@
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
"taskUpdateParameter": {
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":3,
- "retentionTime":"PT1H"
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
}
}
},
@@ -19,4 +19,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json
index 7393d7c5c856..692994b09f40 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/BatchService.json
@@ -63,7 +63,9 @@
},
"operationId": "Application_List",
"x-ms-examples": {
- "List applications": { "$ref": "./examples/ApplicationList.json" }
+ "List applications": {
+ "$ref": "./examples/ApplicationList.json"
+ }
},
"summary": "Lists all of the applications available in the specified Account.",
"description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.",
@@ -178,10 +180,12 @@
],
"operationId": "Application_Get",
"x-ms-examples": {
- "Get applications": { "$ref": "./examples/ApplicationGet.json" }
+ "Get applications": {
+ "$ref": "./examples/ApplicationGet.json"
+ }
},
"summary": "Gets information about the specified Application.",
- "description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Compute Nodes, use the Azure portal or the Azure Resource Manager API.",
+ "description": "This operation returns only Applications and versions that are available for use on Compute Nodes; that is, that can be used in an Package reference. For administrator information about Applications and versions that are not yet available to Compute Nodes, use the Azure portal or the Azure Resource Manager API.",
"x-ms-request-id": "request-id",
"parameters": [
{
@@ -288,7 +292,9 @@
},
"operationId": "Pool_ListUsageMetrics",
"x-ms-examples": {
- "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" }
+ "Pool list usage metrics": {
+ "$ref": "./examples/PoolListUsageMetrics.json"
+ }
},
"summary": "Lists the usage metrics, aggregated by Pool across individual time intervals, for the specified Account.",
"description": "If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned.",
@@ -440,7 +446,9 @@
},
"operationId": "Account_ListSupportedImages",
"x-ms-examples": {
- "Account list node agent skus": { "$ref": "./examples/AccountListSupportedImages.json" }
+ "Account list node agent skus": {
+ "$ref": "./examples/AccountListSupportedImages.json"
+ }
},
"summary": "Lists all Virtual Machine Images supported by the Azure Batch service.",
"x-ms-request-id": "request-id",
@@ -568,7 +576,9 @@
"operationId": "Account_ListPoolNodeCounts",
"description": "Gets the number of Compute Nodes in each state, grouped by Pool.",
"x-ms-examples": {
- "NodeCountsPayload": { "$ref": "./examples/AccountListPoolNodeCounts.json" }
+ "NodeCountsPayload": {
+ "$ref": "./examples/AccountListPoolNodeCounts.json"
+ }
},
"parameters": [
{
@@ -681,7 +691,9 @@
],
"operationId": "Pool_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" }
+ "Pool get lifetime statistics": {
+ "$ref": "./examples/PoolGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the Pools in the specified Account.",
"description": "Statistics are aggregated across all Pools that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.",
@@ -781,7 +793,9 @@
],
"operationId": "Job_GetAllLifetimeStatistics",
"x-ms-examples": {
- "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" }
+ "Job get lifetime statistics": {
+ "$ref": "./examples/JobGetLifetimeStatistics.json"
+ }
},
"summary": "Gets lifetime summary statistics for all of the Jobs in the specified Account.",
"description": "Statistics are aggregated across all Jobs that have ever existed in the Account, from Account creation to the last update time of the statistics. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.",
@@ -881,7 +895,9 @@
],
"operationId": "Certificate_Add",
"x-ms-examples": {
- "Certificate add": { "$ref": "./examples/CertificateAdd.json" }
+ "Certificate add": {
+ "$ref": "./examples/CertificateAdd.json"
+ }
},
"summary": "Adds a Certificate to the specified Account.",
"x-ms-request-id": "request-id",
@@ -991,7 +1007,9 @@
},
"operationId": "Certificate_List",
"x-ms-examples": {
- "Certificate list": { "$ref": "./examples/CertificateList.json" }
+ "Certificate list": {
+ "$ref": "./examples/CertificateList.json"
+ }
},
"summary": "Lists all of the Certificates that have been added to the specified Account.",
"x-ms-request-id": "request-id",
@@ -1125,7 +1143,9 @@
],
"operationId": "Certificate_CancelDeletion",
"x-ms-examples": {
- "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" }
+ "Certificate cancel delete": {
+ "$ref": "./examples/CertificateCancelDelete.json"
+ }
},
"summary": "Cancels a failed deletion of a Certificate from the specified Account.",
"description": "If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of the Certificate changes to deleteFailed. If you decide that you want to continue using the Certificate, you can use this operation to set the status of the Certificate back to active. If you intend to delete the Certificate, you do not need to run this operation after the deletion failed. You must make sure that the Certificate is not being used by any resources, and then you can try again to delete the Certificate.",
@@ -1240,7 +1260,9 @@
],
"operationId": "Certificate_Delete",
"x-ms-examples": {
- "Certificate delete": { "$ref": "./examples/CertificateDelete.json" }
+ "Certificate delete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"summary": "Deletes a Certificate from the specified Account.",
"description": "You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can delete a Certificate, you must therefore make sure that the Certificate is not associated with any existing Pools, the Certificate is not installed on any Nodes (even if you remove a Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the Certificate.",
@@ -1349,7 +1371,9 @@
],
"operationId": "Certificate_Get",
"x-ms-examples": {
- "Certificate get": { "$ref": "./examples/CertificateGet.json" }
+ "Certificate get": {
+ "$ref": "./examples/CertificateGet.json"
+ }
},
"description": "Gets information about the specified Certificate.",
"x-ms-request-id": "request-id",
@@ -1472,7 +1496,9 @@
],
"operationId": "File_DeleteFromTask",
"x-ms-examples": {
- "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" }
+ "File delete from task": {
+ "$ref": "./examples/FileDeleteFromTask.json"
+ }
},
"summary": "Deletes the specified Task file from the Compute Node where the Task ran.",
"x-ms-request-id": "request-id",
@@ -1583,7 +1609,9 @@
],
"operationId": "File_GetFromTask",
"x-ms-examples": {
- "Get File From Task": { "$ref": "./examples/FileGetFromTask.json" }
+ "Get File From Task": {
+ "$ref": "./examples/FileGetFromTask.json"
+ }
},
"description": "Returns the content of the specified Task file.",
"x-ms-request-id": "request-id",
@@ -1764,7 +1792,9 @@
],
"operationId": "File_GetPropertiesFromTask",
"x-ms-examples": {
- "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" }
+ "File get properties from task": {
+ "$ref": "./examples/FileGetPropertiesFromTask.json"
+ }
},
"description": "Gets the properties of the specified Task file.",
"x-ms-request-id": "request-id",
@@ -1929,7 +1959,9 @@
],
"operationId": "File_DeleteFromComputeNode",
"x-ms-examples": {
- "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" }
+ "File delete from node": {
+ "$ref": "./examples/FileDeleteFromNode.json"
+ }
},
"summary": "Deletes the specified file from the Compute Node.",
"x-ms-request-id": "request-id",
@@ -2040,7 +2072,9 @@
],
"operationId": "File_GetFromComputeNode",
"x-ms-examples": {
- "Get File From Compute Node": { "$ref": "./examples/FileGetFromNode.json" }
+ "Get File From Compute Node": {
+ "$ref": "./examples/FileGetFromNode.json"
+ }
},
"description": "Returns the content of the specified Compute Node file.",
"x-ms-request-id": "request-id",
@@ -2221,7 +2255,9 @@
],
"operationId": "File_GetPropertiesFromComputeNode",
"x-ms-examples": {
- "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" }
+ "File get properties from node": {
+ "$ref": "./examples/FileGetPropertiesFromNode.json"
+ }
},
"description": "Gets the properties of the specified Compute Node file.",
"x-ms-request-id": "request-id",
@@ -2389,7 +2425,9 @@
},
"operationId": "File_ListFromTask",
"x-ms-examples": {
- "File list from task": { "$ref": "./examples/FileListFromTask.json" }
+ "File list from task": {
+ "$ref": "./examples/FileListFromTask.json"
+ }
},
"summary": "Lists the files in a Task's directory on its Compute Node.",
"x-ms-request-id": "request-id",
@@ -2537,7 +2575,9 @@
},
"operationId": "File_ListFromComputeNode",
"x-ms-examples": {
- "File list from node": { "$ref": "./examples/FileListFromNode.json" }
+ "File list from node": {
+ "$ref": "./examples/FileListFromNode.json"
+ }
},
"summary": "Lists all of the files in Task directories on the specified Compute Node.",
"x-ms-request-id": "request-id",
@@ -2682,7 +2722,9 @@
],
"operationId": "JobSchedule_Exists",
"x-ms-examples": {
- "Check Job Schedule Exists": { "$ref": "./examples/JobScheduleExists.json" }
+ "Check Job Schedule Exists": {
+ "$ref": "./examples/JobScheduleExists.json"
+ }
},
"summary": "Checks the specified Job Schedule exists.",
"x-ms-request-id": "request-id",
@@ -2828,7 +2870,9 @@
],
"operationId": "JobSchedule_Delete",
"x-ms-examples": {
- "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" }
+ "JobSchedule delete": {
+ "$ref": "./examples/JobScheduleDelete.json"
+ }
},
"summary": "Deletes a Job Schedule from the specified Account.",
"description": "When you delete a Job Schedule, this also deletes all Jobs and Tasks under that schedule. When Tasks are deleted, all the files in their working directories on the Compute Nodes are also deleted (the retention period is ignored). The Job Schedule statistics are no longer accessible once the Job Schedule is deleted, though they are still counted towards Account lifetime statistics.",
@@ -2961,7 +3005,9 @@
],
"operationId": "JobSchedule_Get",
"x-ms-examples": {
- "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" }
+ "JobSchedule get": {
+ "$ref": "./examples/JobScheduleGet.json"
+ }
},
"description": "Gets information about the specified Job Schedule.",
"x-ms-request-id": "request-id",
@@ -3127,7 +3173,9 @@
],
"operationId": "JobSchedule_Patch",
"x-ms-examples": {
- "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" }
+ "JobSchedule patch": {
+ "$ref": "./examples/JobSchedulePatch.json"
+ }
},
"summary": "Updates the properties of the specified Job Schedule.",
"description": "This replaces only the Job Schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a Job Schedule only impact Jobs created by the schedule after the update has taken place; currently running Jobs are unaffected.",
@@ -3284,7 +3332,9 @@
],
"operationId": "JobSchedule_Update",
"x-ms-examples": {
- "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" }
+ "JobSchedule update": {
+ "$ref": "./examples/JobScheduleUpdate.json"
+ }
},
"summary": "Updates the properties of the specified Job Schedule.",
"description": "This fully replaces all the updatable properties of the Job Schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a Job Schedule only impact Jobs created by the schedule after the update has taken place; currently running Jobs are unaffected.",
@@ -3443,7 +3493,9 @@
],
"operationId": "JobSchedule_Disable",
"x-ms-examples": {
- "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" }
+ "JobSchedule disable": {
+ "$ref": "./examples/JobScheduleDisable.json"
+ }
},
"summary": "Disables a Job Schedule.",
"description": "No new Jobs will be created until the Job Schedule is enabled again.",
@@ -3593,7 +3645,9 @@
],
"operationId": "JobSchedule_Enable",
"x-ms-examples": {
- "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" }
+ "JobSchedule enable": {
+ "$ref": "./examples/JobScheduleEnable.json"
+ }
},
"summary": "Enables a Job Schedule.",
"x-ms-request-id": "request-id",
@@ -3742,7 +3796,9 @@
],
"operationId": "JobSchedule_Terminate",
"x-ms-examples": {
- "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" }
+ "JobSchedule terminate": {
+ "$ref": "./examples/JobScheduleTerminate.json"
+ }
},
"summary": "Terminates a Job Schedule.",
"x-ms-request-id": "request-id",
@@ -3891,8 +3947,12 @@
],
"operationId": "JobSchedule_Add",
"x-ms-examples": {
- "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" },
- "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" }
+ "Add a basic JobSchedule": {
+ "$ref": "./examples/JobScheduleAdd_Basic.json"
+ },
+ "Add a complex JobScheduleAdd": {
+ "$ref": "./examples/JobScheduleAdd_Complex.json"
+ }
},
"summary": "Adds a Job Schedule to the specified Account.",
"x-ms-request-id": "request-id",
@@ -4002,7 +4062,9 @@
},
"operationId": "JobSchedule_List",
"x-ms-examples": {
- "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" }
+ "JobSchedule list": {
+ "$ref": "./examples/JobScheduleList.json"
+ }
},
"summary": "Lists all of the Job Schedules in the specified Account.",
"x-ms-request-id": "request-id",
@@ -4146,7 +4208,9 @@
],
"operationId": "Job_Delete",
"x-ms-examples": {
- "Delete Job": { "$ref": "./examples/JobDelete.json" }
+ "Delete Job": {
+ "$ref": "./examples/JobDelete.json"
+ }
},
"summary": "Deletes a Job.",
"description": "Deleting a Job also deletes all Tasks that are part of that Job, and all Job statistics. This also overrides the retention period for Task data; that is, if the Job contains Tasks which are still retained on Compute Nodes, the Batch services deletes those Tasks' working directories and all their contents. When a Delete Job request is received, the Batch service sets the Job to the deleting state. All update operations on a Job that is in deleting state will fail with status code 409 (Conflict), with additional information indicating that the Job is being deleted.",
@@ -4279,7 +4343,9 @@
],
"operationId": "Job_Get",
"x-ms-examples": {
- "Job get": { "$ref": "./examples/JobGet.json" }
+ "Job get": {
+ "$ref": "./examples/JobGet.json"
+ }
},
"summary": "Gets information about the specified Job.",
"x-ms-request-id": "request-id",
@@ -4445,7 +4511,9 @@
],
"operationId": "Job_Patch",
"x-ms-examples": {
- "Job patch": { "$ref": "./examples/JobPatch.json" }
+ "Job patch": {
+ "$ref": "./examples/JobPatch.json"
+ }
},
"summary": "Updates the properties of the specified Job.",
"description": "This replaces only the Job properties specified in the request. For example, if the Job has constraints, and a request does not specify the constraints element, then the Job keeps the existing constraints.",
@@ -4602,7 +4670,9 @@
],
"operationId": "Job_Update",
"x-ms-examples": {
- "Job update": { "$ref": "./examples/JobUpdate.json" }
+ "Job update": {
+ "$ref": "./examples/JobUpdate.json"
+ }
},
"summary": "Updates the properties of the specified Job.",
"description": "This fully replaces all the updatable properties of the Job. For example, if the Job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.",
@@ -4761,7 +4831,9 @@
],
"operationId": "Job_Disable",
"x-ms-examples": {
- "Job disable": { "$ref": "./examples/JobDisable.json" }
+ "Job disable": {
+ "$ref": "./examples/JobDisable.json"
+ }
},
"summary": "Disables the specified Job, preventing new Tasks from running.",
"description": "The Batch Service immediately moves the Job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running Tasks of the Job. The Job remains in the disabling state until the disable operation is completed and all Tasks have been dealt with according to the disableTasks option; the Job then moves to the disabled state. No new Tasks are started under the Job until it moves back to active state. If you try to disable a Job that is in any state other than active, disabling, or disabled, the request fails with status code 409.",
@@ -4920,7 +4992,9 @@
],
"operationId": "Job_Enable",
"x-ms-examples": {
- "Job enable": { "$ref": "./examples/JobEnable.json" }
+ "Job enable": {
+ "$ref": "./examples/JobEnable.json"
+ }
},
"summary": "Enables the specified Job, allowing new Tasks to run.",
"description": "When you call this API, the Batch service sets a disabled Job to the enabling state. After the this operation is completed, the Job moves to the active state, and scheduling of new Tasks under the Job resumes. The Batch service does not allow a Task to remain in the active state for more than 180 days. Therefore, if you enable a Job containing active Tasks which were added more than 180 days ago, those Tasks will not run.",
@@ -5070,7 +5144,9 @@
],
"operationId": "Job_Terminate",
"x-ms-examples": {
- "Job terminate": { "$ref": "./examples/JobTerminate.json" }
+ "Job terminate": {
+ "$ref": "./examples/JobTerminate.json"
+ }
},
"summary": "Terminates the specified Job, marking it as completed.",
"description": "When a Terminate Job request is received, the Batch service sets the Job to the terminating state. The Batch service then terminates any running Tasks associated with the Job and runs any required Job release Tasks. Then the Job moves into the completed state. If there are any Tasks in the Job in the active state, they will remain in the active state. Once a Job is terminated, new Tasks cannot be added and any remaining active Tasks will not be scheduled.",
@@ -5229,8 +5305,12 @@
],
"operationId": "Job_Add",
"x-ms-examples": {
- "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" },
- "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" }
+ "Add a basic job": {
+ "$ref": "./examples/JobAdd_Basic.json"
+ },
+ "Add a complex job": {
+ "$ref": "./examples/JobAdd_Complex.json"
+ }
},
"summary": "Adds a Job to the specified Account.",
"description": "The Batch service supports two ways to control the work done as part of a Job. In the first approach, the user specifies a Job Manager Task. The Batch service launches this Task when it is ready to start the Job. The Job Manager Task controls all other Tasks that run under this Job, by using the Task APIs. In the second approach, the user directly controls the execution of Tasks under an active Job, by using the Task APIs. Also note: when naming Jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5341,7 +5421,9 @@
},
"operationId": "Job_List",
"x-ms-examples": {
- "Job list": { "$ref": "./examples/JobList.json" }
+ "Job list": {
+ "$ref": "./examples/JobList.json"
+ }
},
"summary": "Lists all of the Jobs in the specified Account.",
"x-ms-request-id": "request-id",
@@ -5487,7 +5569,9 @@
"nextLinkName": "odata.nextLink"
},
"x-ms-examples": {
- "List Job Under Job Schedule": { "$ref": "./examples/JobListFromJobSchedule.json" }
+ "List Job Under Job Schedule": {
+ "$ref": "./examples/JobListFromJobSchedule.json"
+ }
},
"operationId": "Job_ListFromJobSchedule",
"summary": "Lists the Jobs that have been created under the specified Job Schedule.",
@@ -5642,7 +5726,9 @@
},
"operationId": "Job_ListPreparationAndReleaseTaskStatus",
"x-ms-examples": {
- "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" }
+ "Job list preparation and release task status": {
+ "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json"
+ }
},
"summary": "Lists the execution status of the Job Preparation and Job Release Task for the specified Job across the Compute Nodes where the Job has run.",
"description": "This API returns the Job Preparation and Job Release Task status on all Compute Nodes that have run the Job Preparation or Job Release Task. This includes Compute Nodes which have since been removed from the Pool. If this API is invoked on a Job which has no Job Preparation or Job Release Task, the Batch service returns HTTP status code 409 (Conflict) with an error code of JobPreparationTaskNotSpecified.",
@@ -5784,7 +5870,9 @@
],
"operationId": "Job_GetTaskCounts",
"x-ms-examples": {
- "Job get task counts": { "$ref": "./examples/JobGetTaskCounts.json" }
+ "Job get task counts": {
+ "$ref": "./examples/JobGetTaskCounts.json"
+ }
},
"summary": "Gets the Task counts for the specified Job.",
"description": "Task counts provide a count of the Tasks by active, running or completed Task state, and a count of Tasks which succeeded or failed. Tasks in the preparing state are counted as running.",
@@ -5882,9 +5970,15 @@
],
"operationId": "Pool_Add",
"x-ms-examples": {
- "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" },
- "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" },
- "Add a VirtualMachineConfiguration pool with containers": { "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json" }
+ "Add a CloudServiceConfiguration pool": {
+ "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json"
+ },
+ "Add a VirtualMachineConfiguration pool with containers": {
+ "$ref": "./examples/PoolAdd_VirtualMachineConfigurationWithContainers.json"
+ }
},
"summary": "Adds a Pool to the specified Account.",
"description": "When naming Pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.",
@@ -5995,7 +6089,9 @@
},
"operationId": "Pool_List",
"x-ms-examples": {
- "Pool list": { "$ref": "./examples/PoolList_Basic.json" }
+ "Pool list": {
+ "$ref": "./examples/PoolList_Basic.json"
+ }
},
"summary": "Lists all of the Pools in the specified Account.",
"x-ms-request-id": "request-id",
@@ -6139,7 +6235,9 @@
],
"operationId": "Pool_Delete",
"x-ms-examples": {
- "Pool delete": { "$ref": "./examples/PoolDelete.json" }
+ "Pool delete": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"summary": "Deletes a Pool from the specified Account.",
"description": "When you request that a Pool be deleted, the following actions occur: the Pool state is set to deleting; any ongoing resize operation on the Pool are stopped; the Batch service starts resizing the Pool to zero Compute Nodes; any Tasks running on existing Compute Nodes are terminated and requeued (as if a resize Pool operation had been requested with the default requeue option); finally, the Pool is removed from the system. Because running Tasks are requeued, the user can rerun these Tasks by updating their Job to target a different Pool. The Tasks can then run on the new Pool. If you want to override the requeue behavior, then you should call resize Pool explicitly to shrink the Pool to zero size before deleting the Pool. If you call an Update, Patch or Delete API on a Pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.",
@@ -6272,7 +6370,9 @@
],
"operationId": "Pool_Exists",
"x-ms-examples": {
- "Check Pool Exists": { "$ref": "./examples/PoolExists.json" }
+ "Check Pool Exists": {
+ "$ref": "./examples/PoolExists.json"
+ }
},
"description": "Gets basic properties of a Pool.",
"x-ms-request-id": "request-id",
@@ -6418,7 +6518,9 @@
],
"operationId": "Pool_Get",
"x-ms-examples": {
- "Pool get": { "$ref": "./examples/PoolGet_Basic.json" }
+ "Pool get": {
+ "$ref": "./examples/PoolGet_Basic.json"
+ }
},
"description": "Gets information about the specified Pool.",
"x-ms-request-id": "request-id",
@@ -6584,7 +6686,9 @@
],
"operationId": "Pool_Patch",
"x-ms-examples": {
- "Patch the Pool": { "$ref": "./examples/PoolPatch.json" }
+ "Patch the Pool": {
+ "$ref": "./examples/PoolPatch.json"
+ }
},
"summary": "Updates the properties of the specified Pool.",
"description": "This only replaces the Pool properties specified in the request. For example, if the Pool has a start Task associated with it, and a request does not specify a start Task element, then the Pool keeps the existing start Task.",
@@ -6743,7 +6847,9 @@
],
"operationId": "Pool_DisableAutoScale",
"x-ms-examples": {
- "Disable pool autoscale": { "$ref": "./examples/PoolDisableAutoScale.json" }
+ "Disable pool autoscale": {
+ "$ref": "./examples/PoolDisableAutoScale.json"
+ }
},
"summary": "Disables automatic scaling for a Pool.",
"x-ms-request-id": "request-id",
@@ -6850,7 +6956,9 @@
],
"operationId": "Pool_EnableAutoScale",
"x-ms-examples": {
- "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" }
+ "Pool enable autoscale": {
+ "$ref": "./examples/PoolEnableAutoscale.json"
+ }
},
"summary": "Enables automatic scaling for a Pool.",
"description": "You cannot enable automatic scaling on a Pool if a resize operation is in progress on the Pool. If automatic scaling of the Pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the Pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same Pool more than once every 30 seconds.",
@@ -7009,7 +7117,9 @@
],
"operationId": "Pool_EvaluateAutoScale",
"x-ms-examples": {
- "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" }
+ "Pool evaluate autoscale": {
+ "$ref": "./examples/PoolEvaluateAutoscale.json"
+ }
},
"summary": "Gets the result of evaluating an automatic scaling formula on the Pool.",
"description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the Pool. The Pool must have auto scaling enabled in order to evaluate a formula.",
@@ -7129,7 +7239,9 @@
],
"operationId": "Pool_Resize",
"x-ms-examples": {
- "Pool resize": { "$ref": "./examples/PoolResize.json" }
+ "Pool resize": {
+ "$ref": "./examples/PoolResize.json"
+ }
},
"summary": "Changes the number of Compute Nodes that are assigned to a Pool.",
"description": "You can only resize a Pool when its allocation state is steady. If the Pool is already resizing, the request fails with status code 409. When you resize a Pool, the Pool's allocation state changes from steady to resizing. You cannot resize Pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a Pool downwards, the Batch service chooses which Compute Nodes to remove. To remove specific Compute Nodes, use the Pool remove Compute Nodes API instead.",
@@ -7288,7 +7400,9 @@
],
"operationId": "Pool_StopResize",
"x-ms-examples": {
- "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" }
+ "Pool stop resize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"summary": "Stops an ongoing resize operation on the Pool.",
"description": "This does not restore the Pool to its previous state before the resize operation: it only stops any further changes being made, and the Pool maintains its current state. After stopping, the Pool stabilizes at the number of Compute Nodes it was at when the stop operation was done. During the stop operation, the Pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize Pool request; this API can also be used to halt the initial sizing of the Pool when it is created.",
@@ -7438,7 +7552,9 @@
],
"operationId": "Pool_UpdateProperties",
"x-ms-examples": {
- "Pool update": { "$ref": "./examples/PoolUpdate.json" }
+ "Pool update": {
+ "$ref": "./examples/PoolUpdate.json"
+ }
},
"summary": "Updates the properties of the specified Pool.",
"description": "This fully replaces all the updatable properties of the Pool. For example, if the Pool has a start Task associated with it and if start Task is not specified with this request, then the Batch service will remove the existing start Task.",
@@ -7555,7 +7671,9 @@
],
"operationId": "Pool_RemoveNodes",
"x-ms-examples": {
- "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" }
+ "Pool remove nodes": {
+ "$ref": "./examples/PoolRemoveNodes.json"
+ }
},
"summary": "Removes Compute Nodes from the specified Pool.",
"description": "This operation can only run when the allocation state of the Pool is steady. When this operation runs, the allocation state changes from steady to resizing.",
@@ -7714,9 +7832,15 @@
],
"operationId": "Task_Add",
"x-ms-examples": {
- "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" },
- "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" },
- "Add a task with container settings": { "$ref": "./examples/TaskAdd_ContainerSettings.json" }
+ "Add a basic task": {
+ "$ref": "./examples/TaskAdd_Basic.json"
+ },
+ "Add a task with exit conditions": {
+ "$ref": "./examples/TaskAdd_ExitConditions.json"
+ },
+ "Add a task with container settings": {
+ "$ref": "./examples/TaskAdd_ContainerSettings.json"
+ }
},
"summary": "Adds a Task to the specified Job.",
"description": "The maximum lifetime of a Task from addition to completion is 180 days. If a Task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -7834,7 +7958,9 @@
},
"operationId": "Task_List",
"x-ms-examples": {
- "Task list": { "$ref": "./examples/TaskList.json" }
+ "Task list": {
+ "$ref": "./examples/TaskList.json"
+ }
},
"summary": "Lists all of the Tasks that are associated with the specified Job.",
"description": "For multi-instance Tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary Task. Use the list subtasks API to retrieve information about subtasks.",
@@ -7986,8 +8112,12 @@
],
"operationId": "Task_AddCollection",
"x-ms-examples": {
- "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" },
- "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" }
+ "Add a basic collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Basic.json"
+ },
+ "Add a complex collection of tasks": {
+ "$ref": "./examples/TaskAddCollection_Complex.json"
+ }
},
"summary": "Adds a collection of Tasks to the specified Job.",
"description": "Note that each Task must have a unique ID. The Batch service may not return the results for each Task in the same order the Tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same Task IDs during a retry so that if the prior operation succeeded, the retry will not create extra Tasks unexpectedly. If the response contains any Tasks which failed to add, a client can retry the request. In a retry, it is most efficient to resubmit only Tasks that failed to add, and to omit Tasks that were successfully added on the first attempt. The maximum lifetime of a Task from addition to completion is 180 days. If a Task has not completed within 180 days of being added it will be terminated by the Batch service and left in whatever state it was in at that time.",
@@ -8092,7 +8222,9 @@
],
"operationId": "Task_Delete",
"x-ms-examples": {
- "Task delete": { "$ref": "./examples/TaskDelete.json" }
+ "Task delete": {
+ "$ref": "./examples/TaskDelete.json"
+ }
},
"summary": "Deletes a Task from the specified Job.",
"description": "When a Task is deleted, all of the files in its directory on the Compute Node where it ran are also deleted (regardless of the retention time). For multi-instance Tasks, the delete Task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.",
@@ -8232,7 +8364,9 @@
],
"operationId": "Task_Get",
"x-ms-examples": {
- "Task get": { "$ref": "./examples/TaskGet.json" }
+ "Task get": {
+ "$ref": "./examples/TaskGet.json"
+ }
},
"summary": "Gets information about the specified Task.",
"description": "For multi-instance Tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary Task. Use the list subtasks API to retrieve information about subtasks.",
@@ -8410,7 +8544,9 @@
],
"operationId": "Task_Update",
"x-ms-examples": {
- "Task update": { "$ref": "./examples/TaskUpdate.json" }
+ "Task update": {
+ "$ref": "./examples/TaskUpdate.json"
+ }
},
"description": "Updates the properties of the specified Task.",
"x-ms-request-id": "request-id",
@@ -8575,7 +8711,9 @@
],
"operationId": "Task_ListSubtasks",
"x-ms-examples": {
- "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" }
+ "Task list subtasks": {
+ "$ref": "./examples/TaskListSubtasks.json"
+ }
},
"summary": "Lists all of the subtasks that are associated with the specified multi-instance Task.",
"description": "If the Task is not a multi-instance Task then this returns an empty collection.",
@@ -8699,7 +8837,9 @@
],
"operationId": "Task_Terminate",
"x-ms-examples": {
- "Task terminate": { "$ref": "./examples/TaskTerminate.json" }
+ "Task terminate": {
+ "$ref": "./examples/TaskTerminate.json"
+ }
},
"summary": "Terminates the specified Task.",
"description": "When the Task has been terminated, it moves to the completed state. For multi-instance Tasks, the terminate Task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.",
@@ -8856,7 +8996,9 @@
],
"operationId": "Task_Reactivate",
"x-ms-examples": {
- "Task reactivate": { "$ref": "./examples/TaskReactivate.json" }
+ "Task reactivate": {
+ "$ref": "./examples/TaskReactivate.json"
+ }
},
"summary": "Reactivates a Task, allowing it to run again even if its retry count has been exhausted.",
"description": "Reactivation makes a Task eligible to be retried again up to its maximum retry count. The Task's state is changed to active. As the Task is no longer in the completed state, any previous exit code or failure information is no longer available after reactivation. Each time a Task is reactivated, its retry count is reset to 0. Reactivation will fail for Tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, it will fail if the Job has completed (or is terminating or deleting).",
@@ -9013,7 +9155,9 @@
],
"operationId": "ComputeNode_AddUser",
"x-ms-examples": {
- "Node add user": { "$ref": "./examples/NodeAddUser.json" }
+ "Node add user": {
+ "$ref": "./examples/NodeAddUser.json"
+ }
},
"summary": "Adds a user Account to the specified Compute Node.",
"description": "You can add a user Account to a Compute Node only when it is in the idle or running state.",
@@ -9137,7 +9281,9 @@
],
"operationId": "ComputeNode_DeleteUser",
"x-ms-examples": {
- "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" }
+ "Node delete user": {
+ "$ref": "./examples/NodeDeleteUser.json"
+ }
},
"summary": "Deletes a user Account from the specified Compute Node.",
"description": "You can delete a user Account to a Compute Node only when it is in the idle or running state.",
@@ -9242,7 +9388,9 @@
],
"operationId": "ComputeNode_UpdateUser",
"x-ms-examples": {
- "Node update user": { "$ref": "./examples/NodeUpdateUser.json" }
+ "Node update user": {
+ "$ref": "./examples/NodeUpdateUser.json"
+ }
},
"summary": "Updates the password and expiration time of a user Account on the specified Compute Node.",
"description": "This operation replaces of all the updatable properties of the Account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user Account on a Compute Node only when it is in the idle or running state.",
@@ -9373,7 +9521,9 @@
],
"operationId": "ComputeNode_Get",
"x-ms-examples": {
- "Node get": { "$ref": "./examples/NodeGet_Basic.json" }
+ "Node get": {
+ "$ref": "./examples/NodeGet_Basic.json"
+ }
},
"summary": "Gets information about the specified Compute Node.",
"x-ms-request-id": "request-id",
@@ -9496,7 +9646,9 @@
],
"operationId": "ComputeNode_Reboot",
"x-ms-examples": {
- "Node reboot": { "$ref": "./examples/NodeReboot.json" }
+ "Node reboot": {
+ "$ref": "./examples/NodeReboot.json"
+ }
},
"summary": "Restarts the specified Compute Node.",
"description": "You can restart a Compute Node only if it is in an idle or running state.",
@@ -9620,7 +9772,9 @@
],
"operationId": "ComputeNode_Reimage",
"x-ms-examples": {
- "Node reimage": { "$ref": "./examples/NodeReimage.json" }
+ "Node reimage": {
+ "$ref": "./examples/NodeReimage.json"
+ }
},
"summary": "Reinstalls the operating system on the specified Compute Node.",
"description": "You can reinstall the operating system on a Compute Node only if it is in an idle or running state. This API can be invoked only on Pools created with the cloud service configuration property.",
@@ -9744,7 +9898,9 @@
],
"operationId": "ComputeNode_DisableScheduling",
"x-ms-examples": {
- "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" }
+ "Node disable scheduling": {
+ "$ref": "./examples/NodeDisableScheduling.json"
+ }
},
"summary": "Disables Task scheduling on the specified Compute Node.",
"description": "You can disable Task scheduling on a Compute Node only if its current scheduling state is enabled.",
@@ -9868,7 +10024,9 @@
],
"operationId": "ComputeNode_EnableScheduling",
"x-ms-examples": {
- "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" }
+ "Node enable scheduling": {
+ "$ref": "./examples/NodeEnableScheduling.json"
+ }
},
"summary": "Enables Task scheduling on the specified Compute Node.",
"description": "You can enable Task scheduling on a Compute Node only if its current scheduling state is disabled",
@@ -9983,7 +10141,9 @@
],
"operationId": "ComputeNode_GetRemoteLoginSettings",
"x-ms-examples": {
- "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" }
+ "Node get remote login settings": {
+ "$ref": "./examples/NodeGetRemoteLoginSettings.json"
+ }
},
"summary": "Gets the settings required for remote login to a Compute Node.",
"description": "Before you can remotely login to a Compute Node using the remote login settings, you must create a user Account on the Compute Node. This API can be invoked only on Pools created with the virtual machine configuration property. For Pools created with a cloud service configuration, see the GetRemoteDesktop API.",
@@ -10097,7 +10257,9 @@
],
"operationId": "ComputeNode_GetRemoteDesktop",
"x-ms-examples": {
- "Get RDP file of the compute node": { "$ref": "./examples/NodeGetRemoteDesktop.json" }
+ "Get RDP file of the compute node": {
+ "$ref": "./examples/NodeGetRemoteDesktop.json"
+ }
},
"summary": "Gets the Remote Desktop Protocol file for the specified Compute Node.",
"description": "Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.",
@@ -10218,7 +10380,9 @@
"summary": "Upload Azure Batch service log files from the specified Compute Node to Azure Blob Storage.",
"description": "This is for gathering Azure Batch service log files in an automated fashion from Compute Nodes if you are experiencing an error and wish to escalate to Azure support. The Azure Batch service log files should be shared with Azure support to aid in debugging issues with the Batch service.",
"x-ms-examples": {
- "Upload BatchService Logs": { "$ref": "./examples/NodeUploadBatchServiceLogs.json" }
+ "Upload BatchService Logs": {
+ "$ref": "./examples/NodeUploadBatchServiceLogs.json"
+ }
},
"x-ms-request-id": "request-id",
"parameters": [
@@ -10333,7 +10497,9 @@
},
"operationId": "ComputeNode_List",
"x-ms-examples": {
- "Node list": { "$ref": "./examples/NodeList.json" }
+ "Node list": {
+ "$ref": "./examples/NodeList.json"
+ }
},
"summary": "Lists the Compute Nodes in the specified Pool.",
"x-ms-request-id": "request-id",
@@ -10496,7 +10662,13 @@
"title": "The total core hours used in the Pool during this aggregation interval."
}
},
- "required": [ "poolId", "startTime", "endTime", "vmSize", "totalCoreHours" ],
+ "required": [
+ "poolId",
+ "startTime",
+ "endTime",
+ "vmSize",
+ "totalCoreHours"
+ ],
"title": "Usage metrics for a Pool across an aggregation interval."
},
"PoolListUsageMetricsResult": {
@@ -10583,7 +10755,12 @@
}
}
},
- "required": [ "imageReference", "verificationType", "osType", "nodeAgentSKUId" ],
+ "required": [
+ "imageReference",
+ "verificationType",
+ "osType",
+ "nodeAgentSKUId"
+ ],
"title": "A reference to the Azure Virtual Machines Marketplace Image and additional information about the Image."
},
"AuthenticationTokenSettings": {
@@ -10647,7 +10824,11 @@
"title": "The aggregated wall-clock time of the dedicated Compute Node cores being part of the Pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "dedicatedCoreTime" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "dedicatedCoreTime"
+ ],
"title": "Statistics related to Pool usage information."
},
"ResourceStatistics": {
@@ -10718,7 +10899,21 @@
"title": "The total amount of data in GiB of network writes across all Compute Nodes in the Pool."
}
},
- "required": [ "startTime", "lastUpdateTime", "avgCPUPercentage", "avgMemoryGiB", "peakMemoryGiB", "avgDiskGiB", "peakDiskGiB", "diskReadIOps", "diskWriteIOps", "diskReadGiB", "diskWriteGiB", "networkReadGiB", "networkWriteGiB" ],
+ "required": [
+ "startTime",
+ "lastUpdateTime",
+ "avgCPUPercentage",
+ "avgMemoryGiB",
+ "peakMemoryGiB",
+ "avgDiskGiB",
+ "peakDiskGiB",
+ "diskReadIOps",
+ "diskWriteIOps",
+ "diskReadGiB",
+ "diskWriteGiB",
+ "networkReadGiB",
+ "networkWriteGiB"
+ ],
"title": "Statistics related to resource consumption by Compute Nodes in a Pool."
},
"PoolStatistics": {
@@ -10746,7 +10941,11 @@
"title": "Statistics related to resource consumption by Compute Nodes in the Pool."
}
},
- "required": [ "url", "startTime", "lastUpdateTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime"
+ ],
"title": "Contains utilization and resource usage statistics for the lifetime of a Pool."
},
"JobStatistics": {
@@ -10825,7 +11024,22 @@
"description": "The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.) This value is only reported in the Account lifetime statistics; it is not included in the Job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a Job."
},
"NameValuePair": {
@@ -10920,7 +11134,9 @@
"description": "If this is omitted on a Pool, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences and HTTP status code 409. If this is omitted on a Task, and no default version is specified for this application, the Task fails with a pre-processing error."
}
},
- "required": [ "applicationId" ],
+ "required": [
+ "applicationId"
+ ],
"title": "A reference to an Package to be deployed to Compute Nodes."
},
"ApplicationSummary": {
@@ -10941,7 +11157,11 @@
}
}
},
- "required": [ "id", "displayName", "versions" ],
+ "required": [
+ "id",
+ "displayName",
+ "versions"
+ ],
"title": "Contains information about an application in an Azure Batch Account."
},
"CertificateAddParameter": {
@@ -10986,7 +11206,11 @@
"description": "This is required if the Certificate format is pfx. It should be omitted if the Certificate format is cer."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm", "data" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm",
+ "data"
+ ],
"title": "A Certificate that can be installed on Compute Nodes and can be used to authenticate operations on the machine."
},
"CertificateListResult": {
@@ -11033,7 +11257,10 @@
"description": "The file mode is returned only for files on Linux Compute Nodes."
}
},
- "required": [ "lastModified", "contentLength" ],
+ "required": [
+ "lastModified",
+ "contentLength"
+ ],
"title": "The properties of a file on a Compute Node."
},
"NodeFile": {
@@ -11131,7 +11358,9 @@
}
}
},
- "required": [ "subnetId" ],
+ "required": [
+ "subnetId"
+ ],
"title": "The network configuration for the Job."
},
"TaskContainerSettings": {
@@ -11175,7 +11404,9 @@
}
}
},
- "required": [ "imageName" ],
+ "required": [
+ "imageName"
+ ],
"title": "The container settings for a Task."
},
"ResourceFile": {
@@ -11224,7 +11455,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a Task process."
},
"ExitConditions": {
@@ -11273,7 +11506,10 @@
}
},
"title": "How the Batch service should respond if a Task exits with a particular exit code.",
- "required": [ "code", "exitOptions" ]
+ "required": [
+ "code",
+ "exitOptions"
+ ]
},
"ExitCodeRangeMapping": {
"properties": {
@@ -11293,7 +11529,11 @@
}
},
"title": "A range of exit codes and how the Batch service should respond to exit codes within that range.",
- "required": [ "start", "end", "exitOptions" ]
+ "required": [
+ "start",
+ "end",
+ "exitOptions"
+ ]
},
"ExitOptions": {
"properties": {
@@ -11477,7 +11717,10 @@
"$ref": "#/definitions/WindowsUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user used to execute Tasks on an Azure Batch Compute Node."
},
"TaskConstraints": {
@@ -11572,8 +11815,8 @@
"items": {
"$ref": "#/definitions/ApplicationPackageReference"
},
- "title": "A list of Application Packages that the Batch service will deploy to the Compute Compute Node before running the command line.",
- "description": "Application Packages are downloaded and deployed to a shared directory, not the Task working directory. Therefore, if a referenced Application Package is already on the Compute Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Compute Node is used. If a referenced Application Package cannot be installed, for example because the package has been deleted or because download failed, the Task fails."
+ "title": "A list of Application Packages that the Batch service will deploy to the Compute Node before running the command line.",
+ "description": "Application Packages are downloaded and deployed to a shared directory, not the Task working directory. Therefore, if a referenced Application Package is already on the Compute Node, and is up to date, then it is not re-downloaded; the existing copy on the Compute Node is used. If a referenced Application Package cannot be installed, for example because the package has been deleted or because download failed, the Task fails."
},
"authenticationTokenSettings": {
"title": "The settings for an authentication token that the Task can use to perform Batch service operations.",
@@ -11586,7 +11829,10 @@
"description": "The default value is true."
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "Specifies details of a Job Manager Task.",
"description": "The Job Manager Task is automatically started when the Job is created. The Batch service tries to schedule the Job Manager Task before any other Tasks in the Job. When shrinking a Pool, the Batch service tries to preserve Nodes where Job Manager Tasks are running for as long as possible (that is, Compute Nodes running 'normal' Tasks are removed before Compute Nodes running Job Manager Tasks). When a Job Manager Task fails and needs to be restarted, the system tries to schedule it at the highest priority. If there are no idle Compute Nodes available, the system may terminate one of the running Tasks in the Pool and return it to the queue in order to make room for the Job Manager Task to restart. Note that a Job Manager Task in one Job does not have priority over Tasks in other Jobs. Across Jobs, only Job level priorities are observed. For example, if a Job Manager in a priority 0 Job needs to be restarted, it will not displace Tasks of a priority 1 Job. Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing."
},
@@ -11642,7 +11888,9 @@
"description": "The Job Preparation Task is always rerun if a Compute Node is reimaged, or if the Job Preparation Task did not complete (e.g. because the reboot occurred while the Task was running). Therefore, you should always write a Job Preparation Task to be idempotent and to behave correctly if run multiple times. The default value is true."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Preparation Task to run before any Tasks of the Job on any given Compute Node.",
"description": "You can use Job Preparation to prepare a Node to run Tasks for the Job. Activities commonly performed in Job Preparation include: Downloading common resource files used by all the Tasks in the Job. The Job Preparation Task can download these common resource files to the shared location on the Node. (AZ_BATCH_NODE_ROOT_DIR\\shared), or starting a local service on the Node so that all Tasks of that Job can communicate with it. If the Job Preparation Task fails (that is, exhausts its retry count before exiting with exit code 0), Batch will not run Tasks of this Job on the Node. The Compute Node remains ineligible to run Tasks of this Job until it is reimaged. The Compute Node remains active and can be used for other Jobs. The Job Preparation Task can run multiple times on the same Node. Therefore, you should write the Job Preparation Task to handle re-execution. If the Node is rebooted, the Job Preparation Task is run again on the Compute Node before scheduling any other Task of the Job, if rerunOnNodeRebootAfterSuccess is true or if the Job Preparation Task did not previously complete. If the Node is reimaged, the Job Preparation Task is run again before scheduling any Task of the Job. Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing."
},
@@ -11695,7 +11943,9 @@
"description": "If omitted, the Task runs as a non-administrative user unique to the Task."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Job Release Task to run on Job completion on any Compute Node where the Job has run.",
"description": "The Job Release Task runs when the Job ends, because of one of the following: The user calls the Terminate Job API, or the Delete Job API while the Job is still active, the Job's maximum wall clock time constraint is reached, and the Job is still active, or the Job's Job Manager Task completed, and the Job is configured to terminate when the Job Manager completes. The Job Release Task runs on each Node where Tasks of the Job have run and the Job Preparation Task ran and completed. If you reimage a Node after it has run the Job Preparation Task, and the Job ends without any further Tasks of the Job running on that Node (and hence the Job Preparation Task does not re-run), then the Job Release Task does not run on that Compute Node. If a Node reboots while the Job Release Task is still running, the Job Release Task runs again when the Compute Node starts up. The Job is not marked as complete until all Job Release Tasks have completed. The Job Release Task runs in the background. It does not occupy a scheduling slot; that is, it does not count towards the maxTasksPerNode limit specified on the Pool."
},
@@ -11703,7 +11953,7 @@
"properties": {
"nodeFillType": {
"type": "string",
- "title": "How Tasks are distributed across Compute Compute Nodes in a Pool.",
+ "title": "How Tasks are distributed across Compute Nodes in a Pool.",
"description": "If not specified, the default is spread.",
"enum": [
"spread",
@@ -11725,7 +11975,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how Tasks should be distributed across Compute Nodes."
},
"StartTask": {
@@ -11772,7 +12024,9 @@
"description": "If true and the start Task fails on a Node, the Batch service retries the start Task up to its maximum retry count (maxTaskRetryCount). If the Task has still not completed successfully after all retries, then the Batch service marks the Node unusable, and will not schedule Tasks to it. This condition can be detected via the Compute Node state and failure info details. If false, the Batch service will not wait for the start Task to complete. In this case, other Tasks can start executing on the Compute Node while the start Task is still running; and even if the start Task fails, new Tasks will continue to be scheduled on the Compute Node. The default is false."
}
},
- "required": [ "commandLine" ],
+ "required": [
+ "commandLine"
+ ],
"title": "A Task which is run when a Node joins a Pool in the Azure Batch service, or when the Compute Node is rebooted or reimaged.",
"description": "Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing. In some cases the start Task may be re-run even though the Compute Node was not rebooted. Special care should be taken to avoid start Tasks which create breakaway process or install/launch services from the start Task working directory, as this will block Batch from being able to re-run the start Task."
},
@@ -11851,7 +12105,10 @@
"description": "You can specify more than one visibility in this collection. The default is all Accounts."
}
},
- "required": [ "thumbprint", "thumbprintAlgorithm" ],
+ "required": [
+ "thumbprint",
+ "thumbprintAlgorithm"
+ ],
"title": "A reference to a Certificate to be installed on Compute Nodes in a Pool."
},
"MetadataItem": {
@@ -11865,7 +12122,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -11899,7 +12159,7 @@
},
"taskSchedulingPolicy": {
"$ref": "#/definitions/TaskSchedulingPolicy",
- "title": "How Tasks are distributed across Compute Compute Nodes in a Pool.",
+ "title": "How Tasks are distributed across Compute Nodes in a Pool.",
"description": "If not specified, the default is spread."
},
"resizeTimeout": {
@@ -11989,7 +12249,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "vmSize" ],
+ "required": [
+ "vmSize"
+ ],
"title": "Specification for creating a new Pool."
},
"AutoPoolSpecification": {
@@ -12032,7 +12294,9 @@
"title": "The Pool specification for the auto Pool."
}
},
- "required": [ "poolLifetimeOption" ],
+ "required": [
+ "poolLifetimeOption"
+ ],
"title": "Specifies characteristics for a temporary 'auto pool'. The Batch service will create this auto Pool when the Job is submitted."
},
"PoolInformation": {
@@ -12121,7 +12385,9 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "Specifies details of the Jobs to be created on a schedule."
},
"RecentJob": {
@@ -12233,7 +12499,22 @@
"description": "This value is only reported in the Account lifetime statistics; it is not included in the Job statistics."
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "numSucceededTasks", "numFailedTasks", "numTaskRetries", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "numSucceededTasks",
+ "numFailedTasks",
+ "numTaskRetries",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a Job Schedule."
},
"CloudJobSchedule": {
@@ -12342,7 +12623,11 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "schedule", "jobSpecification" ],
+ "required": [
+ "id",
+ "schedule",
+ "jobSpecification"
+ ],
"title": "A Job Schedule that allows recurring Jobs by specifying when to run Jobs and a specification used to create each Job."
},
"CloudJobScheduleListResult": {
@@ -12383,7 +12668,9 @@
"title": "A list of additional error details related to the scheduling error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "An error encountered by the Batch service when scheduling a Job."
},
"JobExecutionInformation": {
@@ -12416,7 +12703,9 @@
"description": "This property is set only if the Job is in the completed state. If the Batch service terminates the Job, it sets the reason as follows: JMComplete - the Job Manager Task completed, and killJobOnCompletion was set to true. MaxWallClockTimeExpiry - the Job reached its maxWallClockTime constraint. TerminateJobSchedule - the Job ran as part of a schedule, and the schedule terminated. AllTasksComplete - the Job's onAllTasksComplete attribute is set to terminatejob, and all Tasks in the Job are complete. TaskFailed - the Job's onTaskFailure attribute is set to performExitOptionsJobAction, and a Task in the Job failed with an exit condition that specified a jobAction of terminatejob. Any other string is a user-defined reason specified in a call to the 'Terminate a Job' operation."
}
},
- "required": [ "startTime" ],
+ "required": [
+ "startTime"
+ ],
"title": "Contains information about the execution of a Job in the Azure Batch service."
},
"CloudJob": {
@@ -12620,7 +12909,10 @@
"title": "The network configuration for the Job."
}
},
- "required": [ "id", "poolInfo" ],
+ "required": [
+ "id",
+ "poolInfo"
+ ],
"title": "An Azure Batch Job to add."
},
"CloudJobListResult": {
@@ -12680,7 +12972,9 @@
"title": "A list of additional details related to the error."
}
},
- "required": [ "category" ],
+ "required": [
+ "category"
+ ],
"title": "Information about a Task failure."
},
"JobPreparationTaskExecutionInformation": {
@@ -12761,7 +13055,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "retryCount", "state" ],
+ "required": [
+ "startTime",
+ "retryCount",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Preparation Task on a Compute Node."
},
"JobReleaseTaskExecutionInformation": {
@@ -12830,7 +13128,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "startTime", "state" ],
+ "required": [
+ "startTime",
+ "state"
+ ],
"title": "Contains information about the execution of a Job Release Task on a Compute Node."
},
"JobPreparationAndReleaseTaskExecutionInformation": {
@@ -12903,7 +13204,13 @@
"title": "The number of Tasks which failed. A Task fails if its result (found in the executionInfo property) is 'failure'."
}
},
- "required": [ "active", "running", "completed", "succeeded", "failed" ],
+ "required": [
+ "active",
+ "running",
+ "completed",
+ "succeeded",
+ "failed"
+ ],
"title": "The Task counts for a Job."
},
"AutoScaleRunError": {
@@ -12943,7 +13250,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the Pool, if the evaluation was unsuccessful."
}
},
- "required": [ "timestamp" ],
+ "required": [
+ "timestamp"
+ ],
"title": "The results and errors from an execution of a Pool autoscale formula."
},
"ResizeError": {
@@ -12979,7 +13288,9 @@
"description": "The default value is * which specifies the latest operating system version for the specified OS family."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for Compute Nodes in a Pool based on the Azure Cloud Services platform."
},
"ImageReference": {
@@ -13141,7 +13452,10 @@
"description": "If specified, setup is performed on each Compute Node in the Pool to allow Tasks to run in containers. All regular Tasks and Job manager Tasks run on this Pool must specify the containerSettings property, and all other Tasks may specify it."
}
},
- "required": [ "nodeAgentSKUId", "imageReference" ],
+ "required": [
+ "nodeAgentSKUId",
+ "imageReference"
+ ],
"title": "The configuration for Compute Nodes in a Pool based on the Azure Virtual Machines infrastructure."
},
"ContainerRegistry": {
@@ -13161,7 +13475,10 @@
"title": "The password to log into the registry server."
}
},
- "required": [ "username", "password" ],
+ "required": [
+ "username",
+ "password"
+ ],
"title": "A private container registry."
},
"ContainerConfiguration": {
@@ -13200,7 +13517,9 @@
"description": "If any Images must be downloaded from a private registry which requires credentials, then those credentials must be provided here."
}
},
- "required": [ "type" ],
+ "required": [
+ "type"
+ ],
"title": "The configuration for container-enabled Pools."
},
"NetworkConfiguration": {
@@ -13602,7 +13921,10 @@
"description": "The Batch service does not assign any meaning to metadata; it is solely for the use of user code."
}
},
- "required": [ "id", "vmSize" ],
+ "required": [
+ "id",
+ "vmSize"
+ ],
"title": "A Pool in the Azure Batch service to add."
},
"ApplicationListResult": {
@@ -13645,7 +13967,9 @@
"description": "You can pass the affinityId of a Node to indicate that this Task needs to run on that Compute Node. Note that this is just a soft affinity. If the target Compute Node is busy or unavailable at the time the Task is scheduled, then the Task will be scheduled elsewhere."
}
},
- "required": [ "affinityId" ],
+ "required": [
+ "affinityId"
+ ],
"title": "A locality hint that can be used by the Batch service to select a Compute Node on which to start a Task."
},
"TaskExecutionInformation": {
@@ -13708,7 +14032,10 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "requeueCount", "retryCount" ],
+ "required": [
+ "requeueCount",
+ "retryCount"
+ ],
"title": "Information about the execution of a Task."
},
"ComputeNodeInformation": {
@@ -13754,7 +14081,10 @@
"description": "This is the most recent time that the Compute Node agent was updated to a new version."
}
},
- "required": [ "version", "lastUpdateTime" ],
+ "required": [
+ "version",
+ "lastUpdateTime"
+ ],
"title": "Information about the Compute Node agent.",
"description": "The Batch Compute Node agent is a program that runs on each Compute Node in the Pool and provides Batch capability on the Compute Node."
},
@@ -13780,7 +14110,9 @@
"description": "The difference between common resource files and Task resource files is that common resource files are downloaded for all subtasks including the primary, whereas Task resource files are downloaded only for the primary. Also note that these resource files are not downloaded to the Task working directory, but instead are downloaded to the Task root directory (one directory above the working directory). There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers."
}
},
- "required": [ "coordinationCommandLine" ],
+ "required": [
+ "coordinationCommandLine"
+ ],
"title": "Settings which specify how to run a multi-instance Task.",
"description": "Multi-instance Tasks are commonly used to support MPI Tasks. In the MPI case, if any of the subtasks fail (for example due to exiting with a non-zero exit code) the entire multi-instance Task fails. The multi-instance Task is then terminated and retried, up to its retry limit."
},
@@ -13842,7 +14174,19 @@
"title": "The total wait time of the Task. The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.)"
}
},
- "required": [ "url", "startTime", "lastUpdateTime", "userCPUTime", "kernelCPUTime", "wallClockTime", "readIOps", "writeIOps", "readIOGiB", "writeIOGiB", "waitTime" ],
+ "required": [
+ "url",
+ "startTime",
+ "lastUpdateTime",
+ "userCPUTime",
+ "kernelCPUTime",
+ "wallClockTime",
+ "readIOps",
+ "writeIOps",
+ "readIOGiB",
+ "writeIOGiB",
+ "waitTime"
+ ],
"title": "Resource usage statistics for a Task."
},
"TaskDependencies": {
@@ -13880,7 +14224,10 @@
},
"title": "A range of Task IDs that a Task can depend on. All Tasks with IDs in the range must complete successfully before the dependent Task can be scheduled.",
"description": "The start and end of the range are inclusive. For example, if a range has start 9 and end 12, then it represents Tasks '9', '10', '11' and '12'.",
- "required": [ "start", "end" ]
+ "required": [
+ "start",
+ "end"
+ ]
},
"CloudTask": {
"properties": {
@@ -14107,7 +14454,10 @@
"$ref": "#/definitions/AuthenticationTokenSettings"
}
},
- "required": [ "id", "commandLine" ],
+ "required": [
+ "id",
+ "commandLine"
+ ],
"title": "An Azure Batch Task to add.",
"description": "Batch will retry Tasks when a recovery operation is triggered on a Node. Examples of recovery operations include (but are not limited to) when an unhealthy Node is rebooted or a Compute Node disappeared due to host failure. Retries due to recovery operations are independent of and are not counted against the maxTaskRetryCount. Even if the maxTaskRetryCount is 0, an internal retry due to a recovery operation may occur. Because of this, all Tasks should be idempotent. This means Tasks need to tolerate being interrupted and restarted without causing any corruption or duplicate data. The best practice for long running Tasks is to use some form of checkpointing."
},
@@ -14123,7 +14473,9 @@
"description": "The total serialized size of this collection must be less than 1MB. If it is greater than 1MB (for example if each Task has 100's of resource files or environment variables), the request will fail with code 'RequestBodyTooLarge' and should be retried again with fewer Tasks."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"title": "A collection of Azure Batch Tasks to add."
},
"TaskAddResult": {
@@ -14180,7 +14532,10 @@
"title": "The error encountered while attempting to add the Task."
}
},
- "required": [ "status", "taskId" ],
+ "required": [
+ "status",
+ "taskId"
+ ],
"title": "Result for a single Task added as part of an add Task collection operation."
},
"TaskAddCollectionResult": {
@@ -14317,7 +14672,9 @@
"title": "Information about the execution of the Task."
}
},
- "required": [ "taskState" ],
+ "required": [
+ "taskState"
+ ],
"title": "Information about a Task running on a Compute Node."
},
"StartTaskInformation": {
@@ -14390,7 +14747,11 @@
"description": "If the value is 'failed', then the details of the failure can be found in the failureInfo property."
}
},
- "required": [ "state", "startTime", "retryCount" ],
+ "required": [
+ "state",
+ "startTime",
+ "retryCount"
+ ],
"title": "Information about a start Task running on a Compute Node."
},
"ComputeNodeError": {
@@ -14631,7 +14992,9 @@
"description": "The maximum number of inbound NAT Pools per Batch Pool is 5. If the maximum number of inbound NAT Pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNATPools" ],
+ "required": [
+ "inboundNATPools"
+ ],
"title": "The endpoint configuration for a Pool."
},
"InboundNATPool": {
@@ -14672,7 +15035,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT Pool that can be used to address specific ports on Compute Nodes in a Batch Pool externally."
},
"NetworkSecurityGroupRule": {
@@ -14719,7 +15088,11 @@
"description": "Valid values are '*' (for all ports 0 - 65535), a specific port (i.e. 22), or a port range (i.e. 100-200). The ports must be in the range of 0 to 65535. Each entry in this collection must not overlap any other entry (either a range or an individual port). If any other values are provided the request fails with HTTP status code 400. The default value is '*'."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ComputeNodeEndpointConfiguration": {
@@ -14732,7 +15105,9 @@
"title": "The list of inbound endpoints that are accessible on the Compute Node."
}
},
- "required": [ "inboundEndpoints" ],
+ "required": [
+ "inboundEndpoints"
+ ],
"title": "The endpoint configuration for the Compute Node."
},
"InboundEndpoint": {
@@ -14764,7 +15139,14 @@
"title": "The backend port number of the endpoint."
}
},
- "required": [ "name", "protocol", "publicIPAddress", "publicFQDN", "frontendPort", "backendPort" ],
+ "required": [
+ "name",
+ "protocol",
+ "publicIPAddress",
+ "publicFQDN",
+ "frontendPort",
+ "backendPort"
+ ],
"title": "An inbound endpoint on a Compute Node."
},
"ComputeNodeListResult": {
@@ -14811,7 +15193,9 @@
"description": "The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "A user Account for RDP or SSH access on a Compute Node."
},
"ComputeNodeGetRemoteLoginSettingsResult": {
@@ -14826,7 +15210,10 @@
"title": "The port used for remote login to the Compute Node."
}
},
- "required": [ "remoteLoginIPAddress", "remoteLoginPort" ],
+ "required": [
+ "remoteLoginIPAddress",
+ "remoteLoginPort"
+ ],
"title": "The remote login settings for a Compute Node."
},
"JobSchedulePatchParameter": {
@@ -14873,7 +15260,10 @@
"description": "If you do not specify this element, it takes the default value of an empty list; in effect, any existing metadata is deleted."
}
},
- "required": [ "schedule", "jobSpecification" ],
+ "required": [
+ "schedule",
+ "jobSpecification"
+ ],
"title": "The set of changes to be made to a Job Schedule."
},
"JobDisableParameter": {
@@ -14906,7 +15296,9 @@
}
}
},
- "required": [ "disableTasks" ],
+ "required": [
+ "disableTasks"
+ ],
"title": "Options when disabling a Job."
},
"JobTerminateParameter": {
@@ -14984,7 +15376,9 @@
"$ref": "#/definitions/OnAllTasksComplete"
}
},
- "required": [ "poolInfo" ],
+ "required": [
+ "poolInfo"
+ ],
"title": "The set of changes to be made to a Job."
},
"PoolEnableAutoScaleParameter": {
@@ -15011,7 +15405,9 @@
"description": "The formula is validated and its results calculated, but it is not applied to the Pool. To apply the formula to the Pool, 'Enable automatic scaling on a Pool'. For more information about specifying this formula, see Automatically scale Compute Nodes in an Azure Batch Pool (https://azure.microsoft.com/en-us/documentation/articles/batch-automatic-scaling)."
}
},
- "required": [ "autoScaleFormula" ],
+ "required": [
+ "autoScaleFormula"
+ ],
"title": "Options for evaluating an automatic scaling formula on a Pool."
},
"PoolResizeParameter": {
@@ -15060,8 +15456,8 @@
"items": {
"$ref": "#/definitions/ApplicationPackageReference"
},
- "title": "The list of Application Packages to be installed on each Compute Compute Node in the Pool.",
- "description": "The list replaces any existing Application Package references on the Pool. Changes to Application Package references affect all new Compute Nodes joining the Pool, but do not affect Compute Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Application Package references on any given Pool. If omitted, or if you specify an empty collection, any existing Application Packages references are removed from the Pool. A maximum of 10 references may be specified on a given Pool."
+ "title": "The list of Application Packages to be installed on each Compute Node in the Pool.",
+ "description": "The list replaces any existing Application Package references on the Pool. Changes to Application Package references affect all new Compute Nodes joining the Pool, but do not affect Compute Nodes that are already in the Pool until they are rebooted or reimaged. There is a maximum of 10 Application Package references on any given Pool. If omitted, or if you specify an empty collection, any existing Application Packages references are removed from the Pool. A maximum of 10 references may be specified on a given Pool."
},
"metadata": {
"type": "array",
@@ -15072,7 +15468,11 @@
"description": "This list replaces any existing metadata configured on the Pool. If omitted, or if you specify an empty collection, any existing metadata is removed from the Pool."
}
},
- "required": [ "certificateReferences", "metadata", "applicationPackageReferences" ],
+ "required": [
+ "certificateReferences",
+ "metadata",
+ "applicationPackageReferences"
+ ],
"title": "The set of changes to be made to a Pool."
},
"PoolPatchParameter": {
@@ -15276,7 +15676,9 @@
"$ref": "#/definitions/ComputeNodeDeallocationOption"
}
},
- "required": [ "nodeList" ],
+ "required": [
+ "nodeList"
+ ],
"title": "Options for removing Compute Nodes from a Pool."
},
"OutputFile": {
@@ -15295,7 +15697,11 @@
"$ref": "#/definitions/OutputFileUploadOptions"
}
},
- "required": [ "filePattern", "destination", "uploadOptions" ],
+ "required": [
+ "filePattern",
+ "destination",
+ "uploadOptions"
+ ],
"title": "A specification for uploading files from an Azure Batch Compute Node to another location after the Batch service has finished executing the Task process."
},
"OutputFileDestination": {
@@ -15320,7 +15726,9 @@
"description": "The URL must include a Shared Access Signature (SAS) granting write permissions to the container."
}
},
- "required": [ "containerUrl" ],
+ "required": [
+ "containerUrl"
+ ],
"title": "Specifies a file upload destination within an Azure blob storage container."
},
"OutputFileUploadOptions": {
@@ -15331,7 +15739,9 @@
"$ref": "#/definitions/OutputFileUploadCondition"
}
},
- "required": [ "uploadCondition" ],
+ "required": [
+ "uploadCondition"
+ ],
"title": "Details about an output file upload operation, including under what conditions to perform the upload."
},
"ErrorMessage": {
@@ -15780,7 +16190,10 @@
"description": "Any log file containing a log message in the time range will be uploaded. This means that the operation might retrieve more logs than have been requested since the entire log file is always uploaded, but the operation should not retrieve fewer logs than have been requested. If omitted, the default is to upload all logs available after the startTime."
}
},
- "required": [ "containerUrl", "startTime" ],
+ "required": [
+ "containerUrl",
+ "startTime"
+ ],
"title": "The Azure Batch service log files upload configuration for a Compute Node."
},
"UploadBatchServiceLogsResult": {
@@ -15796,7 +16209,10 @@
"title": "The number of log files which will be uploaded."
}
},
- "required": [ "virtualDirectoryName", "numberOfFilesUploaded" ],
+ "required": [
+ "virtualDirectoryName",
+ "numberOfFilesUploaded"
+ ],
"title": "The result of uploading Batch service log files from a specific Compute Node."
},
"PoolNodeCountsListResult": {
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListPoolNodeCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListPoolNodeCounts.json
index e5c0701bf562..7908df333e56 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListPoolNodeCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListPoolNodeCounts.json
@@ -118,4 +118,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListSupportedImages.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListSupportedImages.json
index d29c3b2b526c..15b2216c2ca3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListSupportedImages.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/AccountListSupportedImages.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationGet.json
index eb911811b8e2..2567c848bf60 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationGet.json
@@ -9,12 +9,12 @@
"responses": {
"200": {
"body": {
- "id": "my_application_id",
- "versions": [
- "v1.0"
- ],
- "displayName": "my_display_name"
+ "id": "my_application_id",
+ "versions": [
+ "v1.0"
+ ],
+ "displayName": "my_display_name"
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationList.json
index 3284b07fb957..f89b1d0207c4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/ApplicationList.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateAdd.json
index d3205f4b3093..e6240ec22ca3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateAdd.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateAdd.json
@@ -5,11 +5,11 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
"certificate": {
- "thumbprintAlgorithm":"sha1",
- "thumbprint":"0123456789abcdef0123456789abcdef01234567",
- "data":"#####...",
- "certificateFormat":"pfx",
- "password":"certpassword"
+ "thumbprintAlgorithm": "sha1",
+ "thumbprint": "0123456789abcdef0123456789abcdef01234567",
+ "data": "#####...",
+ "certificateFormat": "pfx",
+ "password": "certpassword"
}
},
"responses": {
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateCancelDelete.json
index 4b560f6943e8..7f0f7de8827e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateCancelDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateCancelDelete.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateDelete.json
index a8c2dc7f815b..6b912afaab24 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateDelete.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateGet.json
index b26c3da7adcb..cebf6209c0c5 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateGet.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateList.json
index a9879b71f144..8be49adf2740 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/CertificateList.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromNode.json
index b24b13a6273e..e47775c115a4 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromNode.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromTask.json
index f7b8168aa4e5..397777a0e788 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileDeleteFromTask.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromNode.json
index 88c5efbc2199..be45aa475e3b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromNode.json
@@ -18,4 +18,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromTask.json
index 0c0357200759..2cd2538cb030 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetFromTask.json
@@ -18,4 +18,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromNode.json
index c288aac6f936..c9c8fd4490ba 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromNode.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromTask.json
index 67afdc700b58..4de9848b1b68 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileGetPropertiesFromTask.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromNode.json
index 4a6f4653c3d7..ecaf1e795404 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromNode.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromNode.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromTask.json
index 9db91ee11e99..3f27c84a8167 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromTask.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/FileListFromTask.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Basic.json
index c4b180849a6c..2b92c321b360 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Basic.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Complex.json
index 3ce77106f3e9..ccfd2defd8b1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobAdd_Complex.json
@@ -36,7 +36,7 @@
"retentionTime": "PT1H"
},
"killJobOnCompletion": false,
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -77,7 +77,7 @@
"value": "myvalue"
}
],
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
@@ -119,4 +119,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDelete.json
index 195af6003972..e0dca52fd8b8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDisable.json
index 893572f83e0d..547b449f0d83 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobDisable.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobEnable.json
index 195af6003972..e0dca52fd8b8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobEnable.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGet.json
index 07e99da8bb55..8e5e624b4769 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGet.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetLifetimeStatistics.json
index 85ca98194004..eb39fdb867b7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetLifetimeStatistics.json
@@ -8,7 +8,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimejobstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimejobstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"userCPUTime": "PT0S",
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetTaskCounts.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetTaskCounts.json
index 673348fe36ac..dff27f89c129 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetTaskCounts.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobGetTaskCounts.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobList.json
index 4aa7bc3f765d..ff159ab5ce2b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobList.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListFromJobSchedule.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListFromJobSchedule.json
index 5ed8941f2850..a5721761fada 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListFromJobSchedule.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListFromJobSchedule.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListPreparationAndReleaseTaskStatus.json
index 8c30d468df26..caaa1c2e8f03 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListPreparationAndReleaseTaskStatus.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobListPreparationAndReleaseTaskStatus.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobPatch.json
index 9186a99eb208..cd7b8c3e746c 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobPatch.json
@@ -6,13 +6,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobPatchParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -21,4 +21,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Basic.json
index 060432614ae4..d7e55126cce8 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Basic.json
@@ -7,7 +7,7 @@
"cloudJobSchedule": {
"id": "jobScheduleId",
"schedule": {
- "recurrenceInterval":"PT5M"
+ "recurrenceInterval": "PT5M"
},
"jobSpecification": {
"poolInfo": {
@@ -21,4 +21,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Complex.json
index 2a9db507460e..6f858e2d8bc2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleAdd_Complex.json
@@ -127,4 +127,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDelete.json
index b4d4163f03e3..86589d7a3c08 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDisable.json
index 6f6837c30f82..7744cf2a9928 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDisable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleDisable.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleEnable.json
index 6f6837c30f82..7744cf2a9928 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleEnable.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleEnable.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleExists.json
index 0273954f790b..18943ed19b7f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleExists.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleExists.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleGet.json
index cf803fe831fe..daadeeb96849 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleGet.json
@@ -41,4 +41,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleList.json
index cb4f38b93e26..29d17dc117ad 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleList.json
@@ -71,4 +71,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobSchedulePatch.json
index 240c02634460..6294172fc3e3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobSchedulePatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobSchedulePatch.json
@@ -27,4 +27,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleTerminate.json
index b4d4163f03e3..86589d7a3c08 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleTerminate.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleUpdate.json
index 5a93b214b45e..b58158542758 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobScheduleUpdate.json
@@ -27,4 +27,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobTerminate.json
index cdbc905f55c6..6d7af0e96849 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobTerminate.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobUpdate.json
index ccc269c3f5aa..9a5cc9953560 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/JobUpdate.json
@@ -6,13 +6,13 @@
"client-request-id": "00000000-0000-0000-0000-000000000000",
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
"jobUpdateParameter": {
- "priority":100,
+ "priority": 100,
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":-1
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": -1
},
"poolInfo": {
- "poolId":"poolId"
+ "poolId": "poolId"
}
}
},
@@ -21,4 +21,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeAddUser.json
index 301acc8bda81..ba3776b4a0d1 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeAddUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeAddUser.json
@@ -18,4 +18,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDeleteUser.json
index 1f4748dd1ebf..efbff676cc5b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDeleteUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDeleteUser.json
@@ -13,4 +13,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDisableScheduling.json
index 92758d8a1270..646658e26e96 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDisableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeDisableScheduling.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeEnableScheduling.json
index 431f98c74d0c..d4d56b7f36d6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeEnableScheduling.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeEnableScheduling.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteDesktop.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteDesktop.json
index a10bd7b39dcd..65f3de3c1e45 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteDesktop.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteDesktop.json
@@ -12,4 +12,4 @@
"body": "This is actually a byte stream. This request/response is being presented as a string for readability in the example"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteLoginSettings.json
index 7017b29190af..b6fbd97c8687 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteLoginSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGetRemoteLoginSettings.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGet_Basic.json
index 66ded2865e78..3c4e723f9c3d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeGet_Basic.json
@@ -26,7 +26,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeList.json
index 1271434a8a29..1d9a1ad780b6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeList.json
@@ -27,7 +27,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -65,7 +65,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -103,7 +103,7 @@
"isDedicated": true,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -128,4 +128,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReboot.json
index 12d98b92b160..ba1a02254d67 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReboot.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReboot.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReimage.json
index 2bd8e9591f77..f176f74ce1ad 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReimage.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeReimage.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUpdateUser.json
index 9e339b50ae91..04bfa6f28747 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUpdateUser.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUpdateUser.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUploadBatchServiceLogs.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUploadBatchServiceLogs.json
index ab8ac725e3a1..5935d43526dd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUploadBatchServiceLogs.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/NodeUploadBatchServiceLogs.json
@@ -14,9 +14,9 @@
"responses": {
"200": {
"body": {
- "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
- "numberOfFilesUploaded": 8
+ "virtualDirectoryName": "poolId/tvm-1695681911-1-20161121t182739z/0795539d-82fe-48e3-bbff-2964905b6de0",
+ "numberOfFilesUploaded": 8
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_CloudServiceConfiguration.json
index 20fcf4d11eab..e00c16cfa6a2 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_CloudServiceConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_CloudServiceConfiguration.json
@@ -10,19 +10,21 @@
"cloudServiceConfiguration": {
"osFamily": "4"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -32,4 +34,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfiguration.json
index b1c0f534a9ad..4202caceabe0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfiguration.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfiguration.json
@@ -15,19 +15,21 @@
},
"nodeAgentSKUId": "batch.node.ubuntu 16.04"
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false,
- "enableInterNodeCommunication":true,
- "metadata": [ {
- "name":"myproperty",
- "value":"myvalue"
- } ]
+ "enableAutoScale": false,
+ "enableInterNodeCommunication": true,
+ "metadata": [
+ {
+ "name": "myproperty",
+ "value": "myvalue"
+ }
+ ]
}
},
"responses": {
@@ -37,4 +39,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
index 7aee5400dba7..e95ec3c93660 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolAdd_VirtualMachineConfigurationWithContainers.json
@@ -21,14 +21,14 @@
]
}
},
- "resizeTimeout":"PT15M",
- "targetDedicatedNodes":5,
- "targetLowPriorityNodes":0,
- "maxTasksPerNode":3,
+ "resizeTimeout": "PT15M",
+ "targetDedicatedNodes": 5,
+ "targetLowPriorityNodes": 0,
+ "maxTasksPerNode": 3,
"taskSchedulingPolicy": {
- "nodeFillType":"spread"
+ "nodeFillType": "spread"
},
- "enableAutoScale":false
+ "enableAutoScale": false
}
},
"responses": {
@@ -38,4 +38,4 @@
"Last-Modified": "Fri, 17 Feb 2017 00:00:00 GMT"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDelete.json
index d702f0043779..ff643c4540d9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDelete.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDisableAutoScale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDisableAutoScale.json
index 75710ee0b32f..28eab2d0df99 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDisableAutoScale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolDisableAutoScale.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEnableAutoscale.json
index a13b1ded3e45..8668711129a6 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEnableAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEnableAutoscale.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEvaluateAutoscale.json
index 1e60ec6235c4..6e75947cbf7e 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEvaluateAutoscale.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolEvaluateAutoscale.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolExists.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolExists.json
index d287ca753f25..d6378baa7a71 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolExists.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolExists.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGetLifetimeStatistics.json
index 7269c1ec701c..2f58faa4406f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGetLifetimeStatistics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGetLifetimeStatistics.json
@@ -8,7 +8,7 @@
"responses": {
"200": {
"body": {
- "url":"https://account.region.batch.core.windows.net/lifetimepoolstats",
+ "url": "https://account.region.batch.core.windows.net/lifetimepoolstats",
"startTime": "2014-08-01T18:30:00.4345729Z",
"lastUpdateTime": "2014-08-04T18:30:00.4345729Z",
"usageStats": {
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGet_Basic.json
index 82c4186934e2..d0817e8681b3 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGet_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolGet_Basic.json
@@ -28,7 +28,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "/bin/bash -c 'echo start task'",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolListUsageMetrics.json
index b56637082efa..fa7d0be48b1f 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolListUsageMetrics.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolListUsageMetrics.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolList_Basic.json
index 4280822cc03e..cb275eb3d16b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolList_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolList_Basic.json
@@ -29,7 +29,7 @@
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c echo hello",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolPatch.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolPatch.json
index 066aff4650b6..a0486b7f1cd7 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolPatch.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolPatch.json
@@ -16,4 +16,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolRemoveNodes.json
index 2ab4f7ace56c..81e45b7c6085 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolRemoveNodes.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolRemoveNodes.json
@@ -17,4 +17,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolResize.json
index 9fac0a0ea3e5..c37e835f3d28 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolResize.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolStopResize.json
index d702f0043779..ff643c4540d9 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolStopResize.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolStopResize.json
@@ -11,4 +11,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolUpdate.json
index 757c3fb26f6c..07ebf46abd1a 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/PoolUpdate.json
@@ -19,4 +19,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Basic.json
index c1c48dfe4b40..1403dcd9dda0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Basic.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Complex.json
index c4ba526ccb19..b57c15a91dfd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Complex.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAddCollection_Complex.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_Basic.json
index f4d85676fb3f..aad7bafdf277 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_Basic.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_Basic.json
@@ -15,4 +15,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ContainerSettings.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ContainerSettings.json
index 0d0defeb465b..113309626104 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ContainerSettings.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ContainerSettings.json
@@ -12,7 +12,7 @@
"imageName": "ubuntu",
"containerRunOptions": "--rm"
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -25,4 +25,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ExitConditions.json
index 34e4c3e73258..107258def44d 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ExitConditions.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskAdd_ExitConditions.json
@@ -19,7 +19,7 @@
}
]
},
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -32,4 +32,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskDelete.json
index ee980baf06b6..5cf7b99e97cd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskDelete.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskDelete.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskGet.json
index 9313dc107d13..48c0ddbbe54b 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskGet.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskGet.json
@@ -18,7 +18,7 @@
"state": "active",
"stateTransitionTime": "2016-09-06T06:59:15.1161429Z",
"commandLine": "cmd /c hostname",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskList.json
index 7661f785a4c6..48c51a2a54bd 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskList.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskList.json
@@ -19,7 +19,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.4733476Z",
"commandLine": "cmd /c echo task1",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -44,7 +44,7 @@
"state": "active",
"stateTransitionTime": "2016-11-21T22:43:31.6736345Z",
"commandLine": "cmd /c echo task2",
- "userIdentity":{
+ "userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "nonadmin"
@@ -64,4 +64,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskListSubtasks.json
index 95e13e29f647..06bb1738a049 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskListSubtasks.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskListSubtasks.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskReactivate.json
index 0a41a8e6356e..e028e9bda240 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskReactivate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskReactivate.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskTerminate.json
index 0a41a8e6356e..e028e9bda240 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskTerminate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskTerminate.json
@@ -12,4 +12,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskUpdate.json
index 1bfcc5f4df2d..50f8e9f8f973 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskUpdate.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2019-06-01.9.0/examples/TaskUpdate.json
@@ -8,9 +8,9 @@
"ocp-date": "Fri, 17 Feb 2017 00:00:00 GMT",
"taskUpdateParameter": {
"constraints": {
- "maxWallClockTime":"PT1H",
- "maxTaskRetryCount":3,
- "retentionTime":"PT1H"
+ "maxWallClockTime": "PT1H",
+ "maxTaskRetryCount": 3,
+ "retentionTime": "PT1H"
}
}
},
@@ -19,4 +19,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2015-12-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2015-12-01/BatchManagement.json
index bbd229260801..c59da2b7c3e1 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2015-12-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2015-12-01/BatchManagement.json
@@ -1448,7 +1448,7 @@
"x-ms-azure-resource": true
},
"CloudError": {
- "x-ms-external" : true,
+ "x-ms-external": true,
"properties": {
"code": {
"type": "string",
@@ -1480,7 +1480,7 @@
"required": true,
"type": "string",
"description": "A unique identifier of a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
- },
+ },
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
@@ -1489,4 +1489,4 @@
"description": "The API version to be used with the HTTP request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/BatchManagement.json
index 6e41d31d955a..75ea247cd86e 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/BatchManagement.json
@@ -43,8 +43,12 @@
],
"operationId": "BatchAccount_Create",
"x-ms-examples": {
- "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" },
- "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" }
+ "BatchAccountCreate_Default": {
+ "$ref": "./examples/BatchAccountCreate_Default.json"
+ },
+ "BatchAccountCreate_BYOS": {
+ "$ref": "./examples/BatchAccountCreate_BYOS.json"
+ }
},
"description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
"parameters": [
@@ -174,7 +178,9 @@
],
"operationId": "BatchAccount_Delete",
"x-ms-examples": {
- "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" }
+ "BatchAccountDelete": {
+ "$ref": "./examples/BatchAccountDelete.json"
+ }
},
"description": "Deletes the specified Batch account.",
"parameters": [
@@ -236,7 +242,9 @@
],
"operationId": "BatchAccount_Get",
"x-ms-examples": {
- "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" }
+ "BatchAccountGet": {
+ "$ref": "./examples/BatchAccountGet.json"
+ }
},
"description": "Gets information about the specified Batch account.",
"parameters": [
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_BYOS.json
index 64f64b0de20e..3defd1fa06eb 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_BYOS.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_BYOS.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_Default.json
index ed46494d435b..12946a50293d 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_Default.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountCreate_Default.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountDelete.json
index 23aaea5ca59d..0c3b19688460 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountDelete.json
@@ -9,4 +9,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountGet.json
index af2c0d101525..3078a08e3520 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-01-01/examples/BatchAccountGet.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/BatchManagement.json
index 4b95189fa3d9..038d69370f86 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/BatchManagement.json
@@ -43,8 +43,12 @@
],
"operationId": "BatchAccount_Create",
"x-ms-examples": {
- "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" },
- "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" }
+ "BatchAccountCreate_Default": {
+ "$ref": "./examples/BatchAccountCreate_Default.json"
+ },
+ "BatchAccountCreate_BYOS": {
+ "$ref": "./examples/BatchAccountCreate_BYOS.json"
+ }
},
"description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
"parameters": [
@@ -113,7 +117,9 @@
],
"operationId": "BatchAccount_Update",
"x-ms-examples": {
- "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" }
+ "BatchAccountUpdate": {
+ "$ref": "./examples/BatchAccountUpdate.json"
+ }
},
"description": "Updates the properties of an existing Batch account.",
"parameters": [
@@ -160,7 +166,9 @@
],
"operationId": "BatchAccount_Delete",
"x-ms-examples": {
- "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" }
+ "BatchAccountDelete": {
+ "$ref": "./examples/BatchAccountDelete.json"
+ }
},
"description": "Deletes the specified Batch account.",
"parameters": [
@@ -213,7 +221,9 @@
],
"operationId": "BatchAccount_Get",
"x-ms-examples": {
- "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" }
+ "BatchAccountGet": {
+ "$ref": "./examples/BatchAccountGet.json"
+ }
},
"description": "Gets information about the specified Batch account.",
"parameters": [
@@ -253,7 +263,9 @@
],
"operationId": "BatchAccount_List",
"x-ms-examples": {
- "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" }
+ "BatchAccountList": {
+ "$ref": "./examples/BatchAccountList.json"
+ }
},
"description": "Gets information about the Batch accounts associated with the subscription.",
"parameters": [
@@ -290,7 +302,9 @@
],
"operationId": "BatchAccount_ListByResourceGroup",
"x-ms-examples": {
- "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" }
+ "BatchAccountListByResourceGroup": {
+ "$ref": "./examples/BatchAccountListByResourceGroup.json"
+ }
},
"description": "Gets information about the Batch accounts associated with the specified resource group.",
"parameters": [
@@ -364,7 +378,9 @@
],
"operationId": "BatchAccount_RegenerateKey",
"x-ms-examples": {
- "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" }
+ "BatchAccountRegenerateKey": {
+ "$ref": "./examples/BatchAccountRegenerateKey.json"
+ }
},
"description": "Regenerates the specified account key for the Batch account.",
"parameters": [
@@ -413,7 +429,9 @@
],
"operationId": "BatchAccount_GetKeys",
"x-ms-examples": {
- "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" }
+ "BatchAccountGetKeys": {
+ "$ref": "./examples/BatchAccountGetKeys.json"
+ }
},
"summary": "Gets the account keys for the specified Batch account.",
"description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.",
@@ -887,7 +905,9 @@
],
"operationId": "Location_GetQuotas",
"x-ms-examples": {
- "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" }
+ "LocationGetQuotas": {
+ "$ref": "./examples/LocationGetQuotas.json"
+ }
},
"description": "Gets the Batch service quotas for the specified subscription at the given location.",
"parameters": [
@@ -930,7 +950,7 @@
"description": "Lists available operations for the Microsoft.Batch provider",
"parameters": [
{
- "$ref": "#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
@@ -957,8 +977,12 @@
"operationId": "Location_CheckNameAvailability",
"description": "Checks whether the Batch account name is available in the specified region.",
"x-ms-examples": {
- "LocationCheckNameAvailability_Available": { "$ref": "./examples/LocationCheckNameAvailability_Available.json" },
- "LocationCheckNameAvailability_AlreadyExists": { "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" }
+ "LocationCheckNameAvailability_Available": {
+ "$ref": "./examples/LocationCheckNameAvailability_Available.json"
+ },
+ "LocationCheckNameAvailability_AlreadyExists": {
+ "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json"
+ }
},
"parameters": [
{
@@ -1530,7 +1554,7 @@
}
},
"OperationListResult": {
- "title": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.",
+ "title": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.",
"properties": {
"value": {
"type": "array",
@@ -1553,7 +1577,9 @@
},
"type": {
"type": "string",
- "enum": [ "Microsoft.Batch/batchAccounts" ],
+ "enum": [
+ "Microsoft.Batch/batchAccounts"
+ ],
"x-ms-enum": {
"name": "Type",
"modelAsString": false
@@ -1610,7 +1636,7 @@
"required": true,
"type": "string",
"description": "The API version to be used with the HTTP request."
- },
+ },
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_BYOS.json
index 184c1983f33f..b792d762f1b4 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_BYOS.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_BYOS.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_Default.json
index d40b7dc0e4f5..71e54cb6e7f3 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_Default.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountCreate_Default.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountDelete.json
index 96b4054b31ba..9587bf4acee7 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGet.json
index 04449e59170c..4090b92fb131 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGet.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGetKeys.json
index 96115b5df174..d6f83265bdb5 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGetKeys.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountGetKeys.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountList.json
index c58fed22cbe7..c3e9ed29f21f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountList.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountListByResourceGroup.json
index 1ebffb0dd020..7734501b03b1 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountListByResourceGroup.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountListByResourceGroup.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountRegenerateKey.json
index a0ee4ba665a3..7438e8272d61 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountRegenerateKey.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountRegenerateKey.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountUpdate.json
index 6b9a967554c0..3ec92d8f2179 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/BatchAccountUpdate.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_AlreadyExists.json
index 94eb5ce5e42e..2de4c0ce7acd 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_AlreadyExists.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_AlreadyExists.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_Available.json
index c1dbd40f565c..9db9c7979263 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_Available.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationCheckNameAvailability_Available.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationGetQuotas.json
index 591e38a9b0c5..39bd69be968b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationGetQuotas.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-05-01/examples/LocationGetQuotas.json
@@ -11,4 +11,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json
index 8973929eee8b..18743ad61765 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/BatchManagement.json
@@ -43,8 +43,12 @@
],
"operationId": "BatchAccount_Create",
"x-ms-examples": {
- "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" },
- "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" }
+ "BatchAccountCreate_Default": {
+ "$ref": "./examples/BatchAccountCreate_Default.json"
+ },
+ "BatchAccountCreate_BYOS": {
+ "$ref": "./examples/BatchAccountCreate_BYOS.json"
+ }
},
"description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
"parameters": [
@@ -113,7 +117,9 @@
],
"operationId": "BatchAccount_Update",
"x-ms-examples": {
- "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" }
+ "BatchAccountUpdate": {
+ "$ref": "./examples/BatchAccountUpdate.json"
+ }
},
"description": "Updates the properties of an existing Batch account.",
"parameters": [
@@ -160,7 +166,9 @@
],
"operationId": "BatchAccount_Delete",
"x-ms-examples": {
- "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" }
+ "BatchAccountDelete": {
+ "$ref": "./examples/BatchAccountDelete.json"
+ }
},
"description": "Deletes the specified Batch account.",
"parameters": [
@@ -213,7 +221,9 @@
],
"operationId": "BatchAccount_Get",
"x-ms-examples": {
- "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" }
+ "BatchAccountGet": {
+ "$ref": "./examples/BatchAccountGet.json"
+ }
},
"description": "Gets information about the specified Batch account.",
"parameters": [
@@ -253,7 +263,9 @@
],
"operationId": "BatchAccount_List",
"x-ms-examples": {
- "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" }
+ "BatchAccountList": {
+ "$ref": "./examples/BatchAccountList.json"
+ }
},
"description": "Gets information about the Batch accounts associated with the subscription.",
"parameters": [
@@ -290,7 +302,9 @@
],
"operationId": "BatchAccount_ListByResourceGroup",
"x-ms-examples": {
- "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" }
+ "BatchAccountListByResourceGroup": {
+ "$ref": "./examples/BatchAccountListByResourceGroup.json"
+ }
},
"description": "Gets information about the Batch accounts associated with the specified resource group.",
"parameters": [
@@ -330,7 +344,9 @@
],
"operationId": "BatchAccount_SynchronizeAutoStorageKeys",
"x-ms-examples": {
- "BatchAccountSynchronizeAutoStorageKeys": { "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" }
+ "BatchAccountSynchronizeAutoStorageKeys": {
+ "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json"
+ }
},
"description": "Synchronizes access keys for the auto-storage account configured for the specified Batch account.",
"parameters": [
@@ -367,7 +383,9 @@
],
"operationId": "BatchAccount_RegenerateKey",
"x-ms-examples": {
- "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" }
+ "BatchAccountRegenerateKey": {
+ "$ref": "./examples/BatchAccountRegenerateKey.json"
+ }
},
"description": "Regenerates the specified account key for the Batch account.",
"parameters": [
@@ -416,7 +434,9 @@
],
"operationId": "BatchAccount_GetKeys",
"x-ms-examples": {
- "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" }
+ "BatchAccountGetKeys": {
+ "$ref": "./examples/BatchAccountGetKeys.json"
+ }
},
"summary": "Gets the account keys for the specified Batch account.",
"description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.",
@@ -457,7 +477,9 @@
],
"operationId": "ApplicationPackage_Activate",
"x-ms-examples": {
- "ApplicationPackageActivate": { "$ref": "./examples/ApplicationPackageActivate.json" }
+ "ApplicationPackageActivate": {
+ "$ref": "./examples/ApplicationPackageActivate.json"
+ }
},
"description": "Activates the specified application package.",
"parameters": [
@@ -517,7 +539,9 @@
],
"operationId": "Application_Create",
"x-ms-examples": {
- "ApplicationCreate": { "$ref": "./examples/ApplicationCreate.json" }
+ "ApplicationCreate": {
+ "$ref": "./examples/ApplicationCreate.json"
+ }
},
"description": "Adds an application to the specified Batch account.",
"parameters": [
@@ -571,7 +595,9 @@
],
"operationId": "Application_Delete",
"x-ms-examples": {
- "ApplicationDelete": { "$ref": "./examples/ApplicationDelete.json" }
+ "ApplicationDelete": {
+ "$ref": "./examples/ApplicationDelete.json"
+ }
},
"description": "Deletes an application.",
"parameters": [
@@ -613,7 +639,9 @@
],
"operationId": "Application_Get",
"x-ms-examples": {
- "ApplicationGet": { "$ref": "./examples/ApplicationGet.json" }
+ "ApplicationGet": {
+ "$ref": "./examples/ApplicationGet.json"
+ }
},
"description": "Gets information about the specified application.",
"parameters": [
@@ -658,7 +686,9 @@
],
"operationId": "Application_Update",
"x-ms-examples": {
- "ApplicationUpdate": { "$ref": "./examples/ApplicationUpdate.json" }
+ "ApplicationUpdate": {
+ "$ref": "./examples/ApplicationUpdate.json"
+ }
},
"description": "Updates settings for the specified application.",
"parameters": [
@@ -711,7 +741,9 @@
],
"operationId": "ApplicationPackage_Create",
"x-ms-examples": {
- "ApplicationPackageCreate": { "$ref": "./examples/ApplicationPackageCreate.json" }
+ "ApplicationPackageCreate": {
+ "$ref": "./examples/ApplicationPackageCreate.json"
+ }
},
"description": "Creates an application package record.",
"parameters": [
@@ -763,7 +795,9 @@
],
"operationId": "ApplicationPackage_Delete",
"x-ms-examples": {
- "ApplicationPackageDelete": { "$ref": "./examples/ApplicationPackageDelete.json" }
+ "ApplicationPackageDelete": {
+ "$ref": "./examples/ApplicationPackageDelete.json"
+ }
},
"description": "Deletes an application package record and its associated binary file.",
"parameters": [
@@ -812,7 +846,9 @@
],
"operationId": "ApplicationPackage_Get",
"x-ms-examples": {
- "ApplicationPackageGet": { "$ref": "./examples/ApplicationPackageGet.json" }
+ "ApplicationPackageGet": {
+ "$ref": "./examples/ApplicationPackageGet.json"
+ }
},
"description": "Gets information about the specified application package.",
"parameters": [
@@ -866,7 +902,9 @@
],
"operationId": "Application_List",
"x-ms-examples": {
- "ApplicationList": { "$ref": "./examples/ApplicationList.json" }
+ "ApplicationList": {
+ "$ref": "./examples/ApplicationList.json"
+ }
},
"description": "Lists all of the applications in the specified account.",
"parameters": [
@@ -917,7 +955,9 @@
],
"operationId": "Location_GetQuotas",
"x-ms-examples": {
- "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" }
+ "LocationGetQuotas": {
+ "$ref": "./examples/LocationGetQuotas.json"
+ }
},
"description": "Gets the Batch service quotas for the specified subscription at the given location.",
"parameters": [
@@ -987,8 +1027,12 @@
"operationId": "Location_CheckNameAvailability",
"description": "Checks whether the Batch account name is available in the specified region.",
"x-ms-examples": {
- "LocationCheckNameAvailability_Available": { "$ref": "./examples/LocationCheckNameAvailability_Available.json" },
- "LocationCheckNameAvailability_AlreadyExists": { "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" }
+ "LocationCheckNameAvailability_Available": {
+ "$ref": "./examples/LocationCheckNameAvailability_Available.json"
+ },
+ "LocationCheckNameAvailability_AlreadyExists": {
+ "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json"
+ }
},
"parameters": [
{
@@ -1038,8 +1082,12 @@
"operationId": "Certificate_ListByBatchAccount",
"description": "Lists all of the certificates in the specified account.",
"x-ms-examples": {
- "ListCertificates": { "$ref": "./examples/CertificateList.json" },
- "ListCertificates - Filter and Select": { "$ref": "./examples/CertificateListWithFilter.json" }
+ "ListCertificates": {
+ "$ref": "./examples/CertificateList.json"
+ },
+ "ListCertificates - Filter and Select": {
+ "$ref": "./examples/CertificateListWithFilter.json"
+ }
},
"parameters": [
{
@@ -1104,9 +1152,15 @@
"operationId": "Certificate_Create",
"description": "Creates a new certificate inside the specified account.",
"x-ms-examples": {
- "CreateCertificate - Minimal Pfx": { "$ref": "./examples/CertificateCreate_Minimal.json" },
- "CreateCertificate - Minimal Cer": { "$ref": "./examples/CertificateCreate_MinimalCer.json" },
- "CreateCertificate - Full": { "$ref": "./examples/CertificateCreate_Full.json" }
+ "CreateCertificate - Minimal Pfx": {
+ "$ref": "./examples/CertificateCreate_Minimal.json"
+ },
+ "CreateCertificate - Minimal Cer": {
+ "$ref": "./examples/CertificateCreate_MinimalCer.json"
+ },
+ "CreateCertificate - Full": {
+ "$ref": "./examples/CertificateCreate_Full.json"
+ }
},
"parameters": [
{
@@ -1177,7 +1231,9 @@
"operationId": "Certificate_Update",
"description": "Updates the properties of an existing certificate.",
"x-ms-examples": {
- "UpdateCertificate": { "$ref": "./examples/CertificateUpdate.json" }
+ "UpdateCertificate": {
+ "$ref": "./examples/CertificateUpdate.json"
+ }
},
"parameters": [
{
@@ -1240,7 +1296,9 @@
"operationId": "Certificate_Delete",
"description": "Deletes the specified certificate.",
"x-ms-examples": {
- "CertificateDelete": { "$ref": "./examples/CertificateDelete.json" }
+ "CertificateDelete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"parameters": [
{
@@ -1296,8 +1354,12 @@
"operationId": "Certificate_Get",
"description": "Gets information about the specified certificate.",
"x-ms-examples": {
- "Get Certificate": { "$ref": "./examples/CertificateGet.json" },
- "Get Certificate with Deletion Error": { "$ref": "./examples/CertificateGetWithDeletionError.json" }
+ "Get Certificate": {
+ "$ref": "./examples/CertificateGet.json"
+ },
+ "Get Certificate with Deletion Error": {
+ "$ref": "./examples/CertificateGetWithDeletionError.json"
+ }
},
"parameters": [
{
@@ -1347,7 +1409,9 @@
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
"x-ms-examples": {
- "CertificateCancelDeletion": { "$ref": "./examples/CertificateCancelDeletion.json" }
+ "CertificateCancelDeletion": {
+ "$ref": "./examples/CertificateCancelDeletion.json"
+ }
},
"parameters": [
{
@@ -1396,8 +1460,12 @@
"operationId": "Pool_ListByBatchAccount",
"description": "Lists all of the pools in the specified account.",
"x-ms-examples": {
- "ListPool": { "$ref": "./examples/PoolList.json" },
- "ListPoolWithFilter": { "$ref": "./examples/PoolListWithFilter.json" }
+ "ListPool": {
+ "$ref": "./examples/PoolList.json"
+ },
+ "ListPoolWithFilter": {
+ "$ref": "./examples/PoolListWithFilter.json"
+ }
},
"parameters": [
{
@@ -1462,11 +1530,21 @@
"operationId": "Pool_Create",
"description": "Creates a new pool inside the specified account.",
"x-ms-examples": {
- "CreatePool - Minimal CloudServiceConfiguration": { "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" },
- "CreatePool - Minimal VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" },
- "CreatePool - Full Example": { "$ref": "./examples/PoolCreate_FullExample.json" },
- "CreatePool - Custom Image": { "$ref": "./examples/PoolCreate_CustomImage.json" },
- "CreatePool - Full VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" }
+ "CreatePool - Minimal CloudServiceConfiguration": {
+ "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json"
+ },
+ "CreatePool - Minimal VirtualMachineConfiguration": {
+ "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json"
+ },
+ "CreatePool - Full Example": {
+ "$ref": "./examples/PoolCreate_FullExample.json"
+ },
+ "CreatePool - Custom Image": {
+ "$ref": "./examples/PoolCreate_CustomImage.json"
+ },
+ "CreatePool - Full VirtualMachineConfiguration": {
+ "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json"
+ }
},
"parameters": [
{
@@ -1537,10 +1615,18 @@
"operationId": "Pool_Update",
"description": "Updates the properties of an existing pool.",
"x-ms-examples": {
- "UpdatePool - Resize Pool": { "$ref": "./examples/PoolUpdate_ResizePool.json" },
- "UpdatePool - Enable Autoscale": { "$ref": "./examples/PoolUpdate_EnableAutoScale.json" },
- "UpdatePool - Remove Start Task": { "$ref": "./examples/PoolUpdate_RemoveStartTask.json" },
- "UpdatePool - Other Properties": { "$ref": "./examples/PoolUpdate_OtherProperties.json" }
+ "UpdatePool - Resize Pool": {
+ "$ref": "./examples/PoolUpdate_ResizePool.json"
+ },
+ "UpdatePool - Enable Autoscale": {
+ "$ref": "./examples/PoolUpdate_EnableAutoScale.json"
+ },
+ "UpdatePool - Remove Start Task": {
+ "$ref": "./examples/PoolUpdate_RemoveStartTask.json"
+ },
+ "UpdatePool - Other Properties": {
+ "$ref": "./examples/PoolUpdate_OtherProperties.json"
+ }
},
"parameters": [
{
@@ -1603,7 +1689,9 @@
"operationId": "Pool_Delete",
"description": "Deletes the specified pool.",
"x-ms-examples": {
- "DeletePool": { "$ref": "./examples/PoolDelete.json" }
+ "DeletePool": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"parameters": [
{
@@ -1659,7 +1747,9 @@
"operationId": "Pool_Get",
"description": "Gets information about the specified pool.",
"x-ms-examples": {
- "GetPool": { "$ref": "./examples/PoolGet.json" }
+ "GetPool": {
+ "$ref": "./examples/PoolGet.json"
+ }
},
"parameters": [
{
@@ -1708,7 +1798,9 @@
"operationId": "Pool_DisableAutoScale",
"description": "Disables automatic scaling for a pool.",
"x-ms-examples": {
- "Disable AutoScale": { "$ref": "./examples/PoolDisableAutoScale.json" }
+ "Disable AutoScale": {
+ "$ref": "./examples/PoolDisableAutoScale.json"
+ }
},
"parameters": [
{
@@ -1758,7 +1850,9 @@
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
"x-ms-examples": {
- "StopPoolResize": { "$ref": "./examples/PoolStopResize.json" }
+ "StopPoolResize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"parameters": [
{
@@ -2284,7 +2378,7 @@
"thumbprintAlgorithm": {
"type": "string",
"title": "The algorithm of the certificate thumbprint",
- "description": "This must match the first portion of the certificate name. Currently required to be 'SHA1'."
+ "description": "This must match the first portion of the certificate name. Currently required to be 'SHA1'."
},
"thumbprint": {
"type": "string",
@@ -2389,7 +2483,9 @@
}
},
"description": "Certificate properties for create operations",
- "required": [ "data" ]
+ "required": [
+ "data"
+ ]
},
"Certificate": {
"properties": {
@@ -2459,7 +2555,10 @@
"description": "A list of additional details about the error."
}
},
- "required": [ "code", "message" ],
+ "required": [
+ "code",
+ "message"
+ ],
"description": "An error response from the Batch service."
},
"Pool": {
@@ -2696,7 +2795,9 @@
"description": "If omitted, the default value is 15 minutes (PT15M)."
}
},
- "required": [ "formula" ],
+ "required": [
+ "formula"
+ ],
"title": "AutoScale settings for the pool."
},
"FixedScaleSettings": {
@@ -2785,7 +2886,9 @@
"description": "Values are:\n\n starttask - The user account under which the start task is run.\n task - The accounts under which job tasks are run.\n remoteuser - The accounts under which users remotely access the node.\n\n You can specify more than one visibility in this collection. The default is all accounts."
}
},
- "required": [ "id" ],
+ "required": [
+ "id"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool. This must exist inside the same account as the pool."
},
"ApplicationPackageReference": {
@@ -2801,7 +2904,9 @@
}
},
"title": "Link to an application package inside the batch account",
- "required": [ "id" ]
+ "required": [
+ "id"
+ ]
},
"ResizeError": {
"properties": {
@@ -2822,7 +2927,10 @@
}
},
"title": "An error that occurred when resizing a pool.",
- "required": [ "code", "message" ]
+ "required": [
+ "code",
+ "message"
+ ]
},
"AutoScaleRunError": {
"properties": {
@@ -2843,7 +2951,10 @@
}
},
"title": "An error that occurred when autoscaling a pool.",
- "required": [ "code", "message" ]
+ "required": [
+ "code",
+ "message"
+ ]
},
"AutoScaleRun": {
"properties": {
@@ -2862,7 +2973,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "evaluationTime" ],
+ "required": [
+ "evaluationTime"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"VirtualMachineConfiguration": {
@@ -2899,7 +3012,10 @@
"description": "This only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are:\n\n Windows_Server - The on-premises license is for Windows Server.\n Windows_Client - The on-premises license is for Windows Client.\n"
}
},
- "required": [ "imageReference", "nodeAgentSkuId" ],
+ "required": [
+ "imageReference",
+ "nodeAgentSkuId"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"WindowsConfiguration": {
@@ -2987,7 +3103,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"LinuxUserConfiguration": {
@@ -3033,7 +3151,10 @@
"$ref": "#/definitions/LinuxUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user on an Azure Batch node."
},
"StartTask": {
@@ -3093,7 +3214,10 @@
"description": "This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file."
}
},
- "required": [ "blobSource", "filePath" ],
+ "required": [
+ "blobSource",
+ "filePath"
+ ],
"title": "A file to be downloaded from Azure blob storage to a compute node."
},
"EnvironmentSetting": {
@@ -3107,7 +3231,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"UserIdentity": {
@@ -3235,7 +3361,9 @@
"description": "This may differ from targetOSVersion if the pool state is Upgrading. In this case some virtual machines may be on the targetOSVersion and some may be on the currentOSVersion during the upgrade process. Once all virtual machines have upgraded, currentOSVersion is updated to be the same as targetOSVersion."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"MetadataItem": {
@@ -3249,7 +3377,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -3304,7 +3435,9 @@
"description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNatPools" ],
+ "required": [
+ "inboundNatPools"
+ ],
"title": "The endpoint configuration for a pool."
},
"InboundNatPool": {
@@ -3353,7 +3486,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally."
},
"NetworkSecurityGroupRule": {
@@ -3382,7 +3521,11 @@
"description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ListPoolsResult": {
@@ -3500,7 +3643,9 @@
},
"type": {
"type": "string",
- "enum": [ "Microsoft.Batch/batchAccounts" ],
+ "enum": [
+ "Microsoft.Batch/batchAccounts"
+ ],
"x-ms-enum": {
"name": "Type",
"modelAsString": false
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json
index 12e25c7bc563..2b87440d8ab4 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationCreate.json
@@ -18,4 +18,4 @@
"allowUpdates": false
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationDelete.json
index 2c21f73e798d..82924b6330fd 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationDelete.json
@@ -9,4 +9,4 @@
"responses": {
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json
index afa72b016685..8fce07113859 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationGet.json
@@ -16,11 +16,11 @@
"version": "1",
"state": "active",
"format": "zip",
- "lastActivationTime":"2017-06-27T18:48:09.9330991Z"
+ "lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
],
"allowUpdates": false,
"defaultVersion": "1"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json
index 5505aeb74487..5de3779857ae 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationList.json
@@ -39,4 +39,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageActivate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageActivate.json
index 2929df616eb5..3d6500dd6758 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageActivate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageActivate.json
@@ -13,4 +13,4 @@
"responses": {
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json
index 3da70733fda3..00377b4a8d2d 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageCreate.json
@@ -17,4 +17,4 @@
"storageUrlExpiry": "2017-06-27T18:48:09.9330991Z"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageDelete.json
index 64594e7fc59b..75cd8efdbb4f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageDelete.json
@@ -10,4 +10,4 @@
"responses": {
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json
index 4ece56880d3d..a5c2e055a230 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationPackageGet.json
@@ -13,7 +13,7 @@
"version": "1",
"state": "active",
"format": "zip",
- "lastActivationTime":"2017-06-27T18:48:09.9330991Z"
+ "lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationUpdate.json
index 154da2b40d7e..e7b3bbd17373 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/ApplicationUpdate.json
@@ -14,4 +14,4 @@
"responses": {
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_BYOS.json
index 2bf50c19d1e5..f2e6257554e0 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_BYOS.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_BYOS.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_Default.json
index 8bdde90c6f9c..e4cdf627d50f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_Default.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountCreate_Default.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountDelete.json
index 4b9d997298d8..02bafa442b43 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGet.json
index 1af41189517e..7e5cb7498a9d 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGet.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGetKeys.json
index e1dc77d861a3..f54644dbcbca 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGetKeys.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountGetKeys.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountList.json
index ebf8216233a7..1dcb90c4469f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountList.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountListByResourceGroup.json
index 994e6b7ae695..fdc8e497e8ac 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountListByResourceGroup.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountListByResourceGroup.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountRegenerateKey.json
index fca4f55fe934..685f9afbf911 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountRegenerateKey.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountRegenerateKey.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountSynchronizeAutoStorageKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
index e9b2f050e728..7b76ca7d348a 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
@@ -8,4 +8,4 @@
"responses": {
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountUpdate.json
index 2a232c7c8521..6dcffbed10af 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/BatchAccountUpdate.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCancelDeletion.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCancelDeletion.json
index 59af619c03b6..3f8f77d2104f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCancelDeletion.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCancelDeletion.json
@@ -14,19 +14,19 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
"etag": "W/\"0x8D4EDD513C3EDBB\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"previousProvisioningState": "Failed",
"previousProvisioningStateTransitionTime": "2017-07-21T00:22:54.3299195Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Full.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Full.json
index 6752b3613c9d..a541545442c6 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Full.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Full.json
@@ -7,10 +7,10 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e...",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e...",
"format": "Pfx"
}
}
@@ -23,17 +23,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Minimal.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Minimal.json
index 4928a822e97f..644603f7f333 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Minimal.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_Minimal.json
@@ -7,8 +7,8 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e..."
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e..."
}
}
},
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_MinimalCer.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_MinimalCer.json
index ae46d24c4d72..95095926ad69 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_MinimalCer.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateCreate_MinimalCer.json
@@ -7,7 +7,7 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIICrjCCAZagAwI...",
+ "data": "MIICrjCCAZagAwI...",
"format": "Cer"
}
}
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Cer",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateDelete.json
index 051d2b0cda0b..688dee7de179 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateDelete.json
@@ -7,13 +7,13 @@
"api-version": "2017-09-01"
},
"responses": {
- "200": { },
+ "200": {},
"202": {
"headers": {
"Retry-After": "15",
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/certificateOperationResults/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E-8D4EDFF164A11C9?api-version=2017-09-01"
}
},
- "204": { }
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGet.json
index b3b56ed62b3a..17a44fe5f517 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGet.json
@@ -14,17 +14,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGetWithDeletionError.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGetWithDeletionError.json
index 2b9467c4814e..2702cb6fe2c8 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGetWithDeletionError.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateGetWithDeletionError.json
@@ -14,17 +14,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Failed",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"previousProvisioningState": "Deleting",
- "previousProvisioningStateTransitionTime":"2017-07-21T00:15:25.5625498Z",
+ "previousProvisioningStateTransitionTime": "2017-07-21T00:15:25.5625498Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI...",
+ "publicData": "MIICrjCCAZagAwI...",
"deleteCertificateError": {
"code": "NodesReferencingCertificate",
"message": "The specified certificate is being used by the below mentioned node(s)\nRequestId:2dc78afc-b15b-42d2-8c85-39cb61a0799e\nTime:2017-08-28T10:22:52.8633406Z",
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateList.json
index 5ed27118a56d..3940d6d4bafa 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateList.json
@@ -13,15 +13,15 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
],
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateListWithFilter.json
index 8a52c0ea3045..4f5ec5ba6a0b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateListWithFilter.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateListWithFilter.json
@@ -14,8 +14,8 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
"provisioningState": "Failed",
"format": "Pfx"
@@ -24,8 +24,8 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1",
"name": "SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118572E0\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118572E0\"",
"properties": {
"provisioningState": "Failed",
"format": "Cer"
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateUpdate.json
index 4928a822e97f..644603f7f333 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/CertificateUpdate.json
@@ -7,8 +7,8 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e..."
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e..."
}
}
},
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_AlreadyExists.json
index 76c0749a47fe..e62651d58f64 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_AlreadyExists.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_AlreadyExists.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_Available.json
index 752806f214ad..ffd5ebacdc30 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_Available.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationCheckNameAvailability_Available.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationGetQuotas.json
index 42168a1c8f5a..c487baf09cce 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationGetQuotas.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/LocationGetQuotas.json
@@ -11,4 +11,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_CustomImage.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_CustomImage.json
index bef78e507aff..12151738c65c 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_CustomImage.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_CustomImage.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_FullExample.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_FullExample.json
index 6be6e453d602..3e5930304835 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_FullExample.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_FullExample.json
@@ -256,4 +256,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
index 7570fb64e068..48771811a628 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
index 0904eda8ec0c..b4f1056355c0 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_VirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_VirtualMachineConfiguration.json
index 21bd7033c0b6..bd10af725d2d 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_VirtualMachineConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolCreate_VirtualMachineConfiguration.json
@@ -166,4 +166,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDelete.json
index 294395a43e2b..1cac8719908b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDelete.json
@@ -7,8 +7,8 @@
"api-version": "2017-09-01"
},
"responses": {
- "200": { },
- "204": { },
+ "200": {},
+ "204": {},
"202": {
"headers": {
"Retry-After": "15",
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDisableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDisableAutoScale.json
index e91cf7009a55..d1a8271f1af3 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDisableAutoScale.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolDisableAutoScale.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json
index 0a42c6ff3a21..477ca57b02aa 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolGet.json
@@ -145,4 +145,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolList.json
index db973fbde6fd..ed40c108a9dd 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolList.json
@@ -152,4 +152,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolListWithFilter.json
index b702caa5e36c..392848caac4b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolListWithFilter.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolListWithFilter.json
@@ -41,4 +41,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolStopResize.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolStopResize.json
index 3e776ba1b4a6..662af874fbd3 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolStopResize.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolStopResize.json
@@ -59,4 +59,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_EnableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_EnableAutoScale.json
index 032ebdfcbaf2..b373553cccb0 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_EnableAutoScale.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_EnableAutoScale.json
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_OtherProperties.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_OtherProperties.json
index 41eb6f0b70f8..a18dae4a21bd 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_OtherProperties.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_OtherProperties.json
@@ -112,4 +112,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_RemoveStartTask.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_RemoveStartTask.json
index 07e0c6b576ad..8dfd20d1b02a 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_RemoveStartTask.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_RemoveStartTask.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_ResizePool.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_ResizePool.json
index 6d756bb998a1..c9b3cf179f10 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_ResizePool.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2017-09-01/examples/PoolUpdate_ResizePool.json
@@ -71,4 +71,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json
index 1a537f8648b6..8d707a32e74e 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/BatchManagement.json
@@ -43,8 +43,12 @@
],
"operationId": "BatchAccount_Create",
"x-ms-examples": {
- "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" },
- "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" }
+ "BatchAccountCreate_Default": {
+ "$ref": "./examples/BatchAccountCreate_Default.json"
+ },
+ "BatchAccountCreate_BYOS": {
+ "$ref": "./examples/BatchAccountCreate_BYOS.json"
+ }
},
"description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
"parameters": [
@@ -113,7 +117,9 @@
],
"operationId": "BatchAccount_Update",
"x-ms-examples": {
- "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" }
+ "BatchAccountUpdate": {
+ "$ref": "./examples/BatchAccountUpdate.json"
+ }
},
"description": "Updates the properties of an existing Batch account.",
"parameters": [
@@ -160,7 +166,9 @@
],
"operationId": "BatchAccount_Delete",
"x-ms-examples": {
- "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" }
+ "BatchAccountDelete": {
+ "$ref": "./examples/BatchAccountDelete.json"
+ }
},
"description": "Deletes the specified Batch account.",
"parameters": [
@@ -213,7 +221,9 @@
],
"operationId": "BatchAccount_Get",
"x-ms-examples": {
- "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" }
+ "BatchAccountGet": {
+ "$ref": "./examples/BatchAccountGet.json"
+ }
},
"description": "Gets information about the specified Batch account.",
"parameters": [
@@ -253,7 +263,9 @@
],
"operationId": "BatchAccount_List",
"x-ms-examples": {
- "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" }
+ "BatchAccountList": {
+ "$ref": "./examples/BatchAccountList.json"
+ }
},
"description": "Gets information about the Batch accounts associated with the subscription.",
"parameters": [
@@ -290,7 +302,9 @@
],
"operationId": "BatchAccount_ListByResourceGroup",
"x-ms-examples": {
- "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" }
+ "BatchAccountListByResourceGroup": {
+ "$ref": "./examples/BatchAccountListByResourceGroup.json"
+ }
},
"description": "Gets information about the Batch accounts associated with the specified resource group.",
"parameters": [
@@ -330,7 +344,9 @@
],
"operationId": "BatchAccount_SynchronizeAutoStorageKeys",
"x-ms-examples": {
- "BatchAccountSynchronizeAutoStorageKeys": { "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" }
+ "BatchAccountSynchronizeAutoStorageKeys": {
+ "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json"
+ }
},
"description": "Synchronizes access keys for the auto-storage account configured for the specified Batch account.",
"parameters": [
@@ -367,7 +383,9 @@
],
"operationId": "BatchAccount_RegenerateKey",
"x-ms-examples": {
- "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" }
+ "BatchAccountRegenerateKey": {
+ "$ref": "./examples/BatchAccountRegenerateKey.json"
+ }
},
"description": "Regenerates the specified account key for the Batch account.",
"parameters": [
@@ -416,7 +434,9 @@
],
"operationId": "BatchAccount_GetKeys",
"x-ms-examples": {
- "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" }
+ "BatchAccountGetKeys": {
+ "$ref": "./examples/BatchAccountGetKeys.json"
+ }
},
"summary": "Gets the account keys for the specified Batch account.",
"description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.",
@@ -457,7 +477,9 @@
],
"operationId": "ApplicationPackage_Activate",
"x-ms-examples": {
- "ApplicationPackageActivate": { "$ref": "./examples/ApplicationPackageActivate.json" }
+ "ApplicationPackageActivate": {
+ "$ref": "./examples/ApplicationPackageActivate.json"
+ }
},
"description": "Activates the specified application package.",
"parameters": [
@@ -512,7 +534,9 @@
],
"operationId": "Application_Create",
"x-ms-examples": {
- "ApplicationCreate": { "$ref": "./examples/ApplicationCreate.json" }
+ "ApplicationCreate": {
+ "$ref": "./examples/ApplicationCreate.json"
+ }
},
"description": "Adds an application to the specified Batch account.",
"parameters": [
@@ -562,7 +586,9 @@
],
"operationId": "Application_Delete",
"x-ms-examples": {
- "ApplicationDelete": { "$ref": "./examples/ApplicationDelete.json" }
+ "ApplicationDelete": {
+ "$ref": "./examples/ApplicationDelete.json"
+ }
},
"description": "Deletes an application.",
"parameters": [
@@ -603,7 +629,9 @@
],
"operationId": "Application_Get",
"x-ms-examples": {
- "ApplicationGet": { "$ref": "./examples/ApplicationGet.json" }
+ "ApplicationGet": {
+ "$ref": "./examples/ApplicationGet.json"
+ }
},
"description": "Gets information about the specified application.",
"parameters": [
@@ -644,7 +672,9 @@
],
"operationId": "Application_Update",
"x-ms-examples": {
- "ApplicationUpdate": { "$ref": "./examples/ApplicationUpdate.json" }
+ "ApplicationUpdate": {
+ "$ref": "./examples/ApplicationUpdate.json"
+ }
},
"description": "Updates settings for the specified application.",
"parameters": [
@@ -696,7 +726,9 @@
],
"operationId": "ApplicationPackage_Create",
"x-ms-examples": {
- "ApplicationPackageCreate": { "$ref": "./examples/ApplicationPackageCreate.json" }
+ "ApplicationPackageCreate": {
+ "$ref": "./examples/ApplicationPackageCreate.json"
+ }
},
"description": "Creates an application package record.",
"parameters": [
@@ -749,7 +781,9 @@
],
"operationId": "ApplicationPackage_Delete",
"x-ms-examples": {
- "ApplicationPackageDelete": { "$ref": "./examples/ApplicationPackageDelete.json" }
+ "ApplicationPackageDelete": {
+ "$ref": "./examples/ApplicationPackageDelete.json"
+ }
},
"description": "Deletes an application package record and its associated binary file.",
"parameters": [
@@ -793,7 +827,9 @@
],
"operationId": "ApplicationPackage_Get",
"x-ms-examples": {
- "ApplicationPackageGet": { "$ref": "./examples/ApplicationPackageGet.json" }
+ "ApplicationPackageGet": {
+ "$ref": "./examples/ApplicationPackageGet.json"
+ }
},
"description": "Gets information about the specified application package.",
"parameters": [
@@ -839,7 +875,9 @@
],
"operationId": "Application_List",
"x-ms-examples": {
- "ApplicationList": { "$ref": "./examples/ApplicationList.json" }
+ "ApplicationList": {
+ "$ref": "./examples/ApplicationList.json"
+ }
},
"description": "Lists all of the applications in the specified account.",
"parameters": [
@@ -890,7 +928,9 @@
],
"operationId": "ApplicationPackage_List",
"x-ms-examples": {
- "ApplicationList": { "$ref": "./examples/ApplicationPackageList.json" }
+ "ApplicationList": {
+ "$ref": "./examples/ApplicationPackageList.json"
+ }
},
"description": "Lists all of the application packages in the specified application.",
"parameters": [
@@ -944,7 +984,9 @@
],
"operationId": "Location_GetQuotas",
"x-ms-examples": {
- "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" }
+ "LocationGetQuotas": {
+ "$ref": "./examples/LocationGetQuotas.json"
+ }
},
"description": "Gets the Batch service quotas for the specified subscription at the given location.",
"parameters": [
@@ -1014,8 +1056,12 @@
"operationId": "Location_CheckNameAvailability",
"description": "Checks whether the Batch account name is available in the specified region.",
"x-ms-examples": {
- "LocationCheckNameAvailability_Available": { "$ref": "./examples/LocationCheckNameAvailability_Available.json" },
- "LocationCheckNameAvailability_AlreadyExists": { "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" }
+ "LocationCheckNameAvailability_Available": {
+ "$ref": "./examples/LocationCheckNameAvailability_Available.json"
+ },
+ "LocationCheckNameAvailability_AlreadyExists": {
+ "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json"
+ }
},
"parameters": [
{
@@ -1065,8 +1111,12 @@
"operationId": "Certificate_ListByBatchAccount",
"description": "Lists all of the certificates in the specified account.",
"x-ms-examples": {
- "ListCertificates": { "$ref": "./examples/CertificateList.json" },
- "ListCertificates - Filter and Select": { "$ref": "./examples/CertificateListWithFilter.json" }
+ "ListCertificates": {
+ "$ref": "./examples/CertificateList.json"
+ },
+ "ListCertificates - Filter and Select": {
+ "$ref": "./examples/CertificateListWithFilter.json"
+ }
},
"parameters": [
{
@@ -1131,9 +1181,15 @@
"operationId": "Certificate_Create",
"description": "Creates a new certificate inside the specified account.",
"x-ms-examples": {
- "CreateCertificate - Minimal Pfx": { "$ref": "./examples/CertificateCreate_Minimal.json" },
- "CreateCertificate - Minimal Cer": { "$ref": "./examples/CertificateCreate_MinimalCer.json" },
- "CreateCertificate - Full": { "$ref": "./examples/CertificateCreate_Full.json" }
+ "CreateCertificate - Minimal Pfx": {
+ "$ref": "./examples/CertificateCreate_Minimal.json"
+ },
+ "CreateCertificate - Minimal Cer": {
+ "$ref": "./examples/CertificateCreate_MinimalCer.json"
+ },
+ "CreateCertificate - Full": {
+ "$ref": "./examples/CertificateCreate_Full.json"
+ }
},
"parameters": [
{
@@ -1204,7 +1260,9 @@
"operationId": "Certificate_Update",
"description": "Updates the properties of an existing certificate.",
"x-ms-examples": {
- "UpdateCertificate": { "$ref": "./examples/CertificateUpdate.json" }
+ "UpdateCertificate": {
+ "$ref": "./examples/CertificateUpdate.json"
+ }
},
"parameters": [
{
@@ -1267,7 +1325,9 @@
"operationId": "Certificate_Delete",
"description": "Deletes the specified certificate.",
"x-ms-examples": {
- "CertificateDelete": { "$ref": "./examples/CertificateDelete.json" }
+ "CertificateDelete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"parameters": [
{
@@ -1323,8 +1383,12 @@
"operationId": "Certificate_Get",
"description": "Gets information about the specified certificate.",
"x-ms-examples": {
- "Get Certificate": { "$ref": "./examples/CertificateGet.json" },
- "Get Certificate with Deletion Error": { "$ref": "./examples/CertificateGetWithDeletionError.json" }
+ "Get Certificate": {
+ "$ref": "./examples/CertificateGet.json"
+ },
+ "Get Certificate with Deletion Error": {
+ "$ref": "./examples/CertificateGetWithDeletionError.json"
+ }
},
"parameters": [
{
@@ -1374,7 +1438,9 @@
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
"x-ms-examples": {
- "CertificateCancelDeletion": { "$ref": "./examples/CertificateCancelDeletion.json" }
+ "CertificateCancelDeletion": {
+ "$ref": "./examples/CertificateCancelDeletion.json"
+ }
},
"parameters": [
{
@@ -1423,8 +1489,12 @@
"operationId": "Pool_ListByBatchAccount",
"description": "Lists all of the pools in the specified account.",
"x-ms-examples": {
- "ListPool": { "$ref": "./examples/PoolList.json" },
- "ListPoolWithFilter": { "$ref": "./examples/PoolListWithFilter.json" }
+ "ListPool": {
+ "$ref": "./examples/PoolList.json"
+ },
+ "ListPoolWithFilter": {
+ "$ref": "./examples/PoolListWithFilter.json"
+ }
},
"parameters": [
{
@@ -1489,11 +1559,21 @@
"operationId": "Pool_Create",
"description": "Creates a new pool inside the specified account.",
"x-ms-examples": {
- "CreatePool - Minimal CloudServiceConfiguration": { "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" },
- "CreatePool - Minimal VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" },
- "CreatePool - Full Example": { "$ref": "./examples/PoolCreate_FullExample.json" },
- "CreatePool - Custom Image": { "$ref": "./examples/PoolCreate_CustomImage.json" },
- "CreatePool - Full VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" }
+ "CreatePool - Minimal CloudServiceConfiguration": {
+ "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json"
+ },
+ "CreatePool - Minimal VirtualMachineConfiguration": {
+ "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json"
+ },
+ "CreatePool - Full Example": {
+ "$ref": "./examples/PoolCreate_FullExample.json"
+ },
+ "CreatePool - Custom Image": {
+ "$ref": "./examples/PoolCreate_CustomImage.json"
+ },
+ "CreatePool - Full VirtualMachineConfiguration": {
+ "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json"
+ }
},
"parameters": [
{
@@ -1564,10 +1644,18 @@
"operationId": "Pool_Update",
"description": "Updates the properties of an existing pool.",
"x-ms-examples": {
- "UpdatePool - Resize Pool": { "$ref": "./examples/PoolUpdate_ResizePool.json" },
- "UpdatePool - Enable Autoscale": { "$ref": "./examples/PoolUpdate_EnableAutoScale.json" },
- "UpdatePool - Remove Start Task": { "$ref": "./examples/PoolUpdate_RemoveStartTask.json" },
- "UpdatePool - Other Properties": { "$ref": "./examples/PoolUpdate_OtherProperties.json" }
+ "UpdatePool - Resize Pool": {
+ "$ref": "./examples/PoolUpdate_ResizePool.json"
+ },
+ "UpdatePool - Enable Autoscale": {
+ "$ref": "./examples/PoolUpdate_EnableAutoScale.json"
+ },
+ "UpdatePool - Remove Start Task": {
+ "$ref": "./examples/PoolUpdate_RemoveStartTask.json"
+ },
+ "UpdatePool - Other Properties": {
+ "$ref": "./examples/PoolUpdate_OtherProperties.json"
+ }
},
"parameters": [
{
@@ -1630,7 +1718,9 @@
"operationId": "Pool_Delete",
"description": "Deletes the specified pool.",
"x-ms-examples": {
- "DeletePool": { "$ref": "./examples/PoolDelete.json" }
+ "DeletePool": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"parameters": [
{
@@ -1686,7 +1776,9 @@
"operationId": "Pool_Get",
"description": "Gets information about the specified pool.",
"x-ms-examples": {
- "GetPool": { "$ref": "./examples/PoolGet.json" }
+ "GetPool": {
+ "$ref": "./examples/PoolGet.json"
+ }
},
"parameters": [
{
@@ -1735,7 +1827,9 @@
"operationId": "Pool_DisableAutoScale",
"description": "Disables automatic scaling for a pool.",
"x-ms-examples": {
- "Disable AutoScale": { "$ref": "./examples/PoolDisableAutoScale.json" }
+ "Disable AutoScale": {
+ "$ref": "./examples/PoolDisableAutoScale.json"
+ }
},
"parameters": [
{
@@ -1785,7 +1879,9 @@
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
"x-ms-examples": {
- "StopPoolResize": { "$ref": "./examples/PoolStopResize.json" }
+ "StopPoolResize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"parameters": [
{
@@ -2503,7 +2599,9 @@
}
},
"description": "Certificate properties for create operations",
- "required": [ "data" ]
+ "required": [
+ "data"
+ ]
},
"Certificate": {
"properties": {
@@ -2573,7 +2671,10 @@
"description": "A list of additional details about the error."
}
},
- "required": [ "code", "message" ],
+ "required": [
+ "code",
+ "message"
+ ],
"description": "An error response from the Batch service."
},
"Pool": {
@@ -2842,7 +2943,9 @@
"description": "If omitted, the default value is 15 minutes (PT15M)."
}
},
- "required": [ "formula" ],
+ "required": [
+ "formula"
+ ],
"title": "AutoScale settings for the pool."
},
"FixedScaleSettings": {
@@ -2971,7 +3074,9 @@
"title": "Which user accounts on the compute node should have access to the private data of the certificate."
}
},
- "required": [ "id" ],
+ "required": [
+ "id"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool. This must exist inside the same account as the pool."
},
"ApplicationPackageReference": {
@@ -2987,7 +3092,9 @@
}
},
"title": "Link to an application package inside the batch account",
- "required": [ "id" ]
+ "required": [
+ "id"
+ ]
},
"ResizeError": {
"properties": {
@@ -3008,7 +3115,10 @@
}
},
"title": "An error that occurred when resizing a pool.",
- "required": [ "code", "message" ]
+ "required": [
+ "code",
+ "message"
+ ]
},
"AutoScaleRunError": {
"properties": {
@@ -3029,7 +3139,10 @@
}
},
"title": "An error that occurred when autoscaling a pool.",
- "required": [ "code", "message" ]
+ "required": [
+ "code",
+ "message"
+ ]
},
"AutoScaleRun": {
"properties": {
@@ -3048,7 +3161,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "evaluationTime" ],
+ "required": [
+ "evaluationTime"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"VirtualMachineConfiguration": {
@@ -3086,7 +3201,10 @@
"description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it."
}
},
- "required": [ "imageReference", "nodeAgentSkuId" ],
+ "required": [
+ "imageReference",
+ "nodeAgentSkuId"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"ContainerRegistry": {
@@ -3106,7 +3224,10 @@
"title": "The password to log into the registry server."
}
},
- "required": [ "username", "password" ],
+ "required": [
+ "username",
+ "password"
+ ],
"title": "A private container registry."
},
"ContainerConfiguration": {
@@ -3145,7 +3266,9 @@
"description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here."
}
},
- "required": [ "type" ],
+ "required": [
+ "type"
+ ],
"title": "The configuration for container-enabled pools."
},
"WindowsConfiguration": {
@@ -3243,7 +3366,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"LinuxUserConfiguration": {
@@ -3322,7 +3447,10 @@
"$ref": "#/definitions/WindowsUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user on an Azure Batch node."
},
"StartTask": {
@@ -3388,7 +3516,9 @@
"description": "This setting can be omitted if was already provided at pool creation."
}
},
- "required": [ "imageName" ],
+ "required": [
+ "imageName"
+ ],
"title": "The container settings for a task."
},
"ResourceFile": {
@@ -3437,7 +3567,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"UserIdentity": {
@@ -3592,7 +3724,9 @@
"description": "The default value is * which specifies the latest operating system version for the specified OS family."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"MetadataItem": {
@@ -3606,7 +3740,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -3661,7 +3798,9 @@
"description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNatPools" ],
+ "required": [
+ "inboundNatPools"
+ ],
"title": "The endpoint configuration for a pool."
},
"InboundNatPool": {
@@ -3720,7 +3859,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally."
},
"NetworkSecurityGroupRule": {
@@ -3759,7 +3904,11 @@
"description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ListPoolsResult": {
@@ -3877,7 +4026,9 @@
},
"type": {
"type": "string",
- "enum": [ "Microsoft.Batch/batchAccounts" ],
+ "enum": [
+ "Microsoft.Batch/batchAccounts"
+ ],
"x-ms-enum": {
"name": "Type",
"modelAsString": false,
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationCreate.json
index 0c1047f0b948..c2945c6ffe5e 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationCreate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationCreate.json
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationDelete.json
index 5e440c03da85..054cfce5d90d 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationGet.json
index aec413231def..701ad1146ed5 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationGet.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json
index 231fd196cddf..b8f80d28dd2a 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationList.json
@@ -32,4 +32,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageActivate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageActivate.json
index d8bc48c2f823..9ce018c47008 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageActivate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageActivate.json
@@ -23,9 +23,9 @@
"properties": {
"state": "Active",
"format": "zip",
- "lastActivationTime":"2017-06-27T18:48:09.9330991Z"
+ "lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageCreate.json
index 8be9b15da357..79ee980403c9 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageCreate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageCreate.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageDelete.json
index 76181969de38..eae758eed6f3 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageDelete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageGet.json
index 40253cbe68e2..eea81371c8e1 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageGet.json
@@ -20,9 +20,9 @@
"properties": {
"state": "Active",
"format": "zip",
- "lastActivationTime":"2017-06-27T18:48:09.9330991Z"
+ "lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json
index f4ef7ba4189b..7de526067116 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationPackageList.json
@@ -26,10 +26,10 @@
"properties": {
"state": "Active",
"format": "zip",
- "lastActivationTime":"2017-06-27T18:48:09.9330991Z"
+ "lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationUpdate.json
index c9355a114953..3396b1999e1d 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/ApplicationUpdate.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_BYOS.json
index b5b305cdc8e9..599eed0d2b2e 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_BYOS.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_BYOS.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_Default.json
index c0b7541190f7..ead7005292a2 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_Default.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountCreate_Default.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountDelete.json
index 7d32947fb5a2..699314908db8 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGet.json
index 3e9b561e4383..fc0c7feb5718 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGet.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGetKeys.json
index ffb9a92b7bb0..5c4595f51571 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGetKeys.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountGetKeys.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountList.json
index 7f366d7f2ae6..26b6661fad16 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountList.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountListByResourceGroup.json
index 889e7753d5b2..3611b0ba9676 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountListByResourceGroup.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountListByResourceGroup.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountRegenerateKey.json
index d867fd3eed63..1c962e8d2e08 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountRegenerateKey.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountRegenerateKey.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountSynchronizeAutoStorageKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
index 0bfc652df0cb..fd2a4d596509 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
@@ -8,4 +8,4 @@
"responses": {
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountUpdate.json
index 35470243a9c7..6757f93a22b1 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/BatchAccountUpdate.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCancelDeletion.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCancelDeletion.json
index 710568d78965..29f4785e4480 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCancelDeletion.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCancelDeletion.json
@@ -14,19 +14,19 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
"etag": "W/\"0x8D4EDD513C3EDBB\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"previousProvisioningState": "Failed",
"previousProvisioningStateTransitionTime": "2017-07-21T00:22:54.3299195Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Full.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Full.json
index 0a3c2b332054..cb090fdb6233 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Full.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Full.json
@@ -7,10 +7,10 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e...",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e...",
"format": "Pfx"
}
}
@@ -23,17 +23,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Minimal.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Minimal.json
index bd3b1ff2b93f..fe91a8a843e1 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Minimal.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_Minimal.json
@@ -7,8 +7,8 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e..."
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e..."
}
}
},
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_MinimalCer.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_MinimalCer.json
index ee9b9fb0526f..5654a0161a28 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_MinimalCer.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateCreate_MinimalCer.json
@@ -7,7 +7,7 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIICrjCCAZagAwI...",
+ "data": "MIICrjCCAZagAwI...",
"format": "Cer"
}
}
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Cer",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateDelete.json
index d7404dfd2977..4eaaef4ec17f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateDelete.json
@@ -7,13 +7,13 @@
"api-version": "2018-12-01"
},
"responses": {
- "200": { },
+ "200": {},
"202": {
"headers": {
"Retry-After": "15",
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/certificateOperationResults/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E-8D4EDFF164A11C9?api-version=2018-12-01"
}
},
- "204": { }
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGet.json
index d22d85bb10e2..96a61de7339b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGet.json
@@ -14,17 +14,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGetWithDeletionError.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGetWithDeletionError.json
index 979e1d11ea25..73ab9686ecb3 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGetWithDeletionError.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateGetWithDeletionError.json
@@ -14,17 +14,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Failed",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"previousProvisioningState": "Deleting",
- "previousProvisioningStateTransitionTime":"2017-07-21T00:15:25.5625498Z",
+ "previousProvisioningStateTransitionTime": "2017-07-21T00:15:25.5625498Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI...",
+ "publicData": "MIICrjCCAZagAwI...",
"deleteCertificateError": {
"code": "NodesReferencingCertificate",
"message": "The specified certificate is being used by the below mentioned node(s)\nRequestId:2dc78afc-b15b-42d2-8c85-39cb61a0799e\nTime:2017-08-28T10:22:52.8633406Z",
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateList.json
index ca246d74904a..1a233918834f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateList.json
@@ -13,15 +13,15 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
],
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateListWithFilter.json
index 9e5431fba385..edc90ffa57e9 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateListWithFilter.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateListWithFilter.json
@@ -14,8 +14,8 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
"provisioningState": "Failed",
"format": "Pfx"
@@ -24,8 +24,8 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1",
"name": "SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118572E0\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118572E0\"",
"properties": {
"provisioningState": "Failed",
"format": "Cer"
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateUpdate.json
index bd3b1ff2b93f..fe91a8a843e1 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/CertificateUpdate.json
@@ -7,8 +7,8 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e..."
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e..."
}
}
},
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_AlreadyExists.json
index 08ef61ee753e..1277426222e3 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_AlreadyExists.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_AlreadyExists.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_Available.json
index b591ebafbb81..383b87164112 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_Available.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationCheckNameAvailability_Available.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationGetQuotas.json
index 4a47f4fb34fd..ae689ac81e0e 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationGetQuotas.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/LocationGetQuotas.json
@@ -11,4 +11,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_CustomImage.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_CustomImage.json
index 325b22b75b60..be50503bb422 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_CustomImage.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_CustomImage.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_FullExample.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_FullExample.json
index 4f44add3995b..112a54a3174b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_FullExample.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_FullExample.json
@@ -256,4 +256,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
index 67cebc4b7d31..ed9ececdeb0c 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
index 38a823508f17..4ff398030c01 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_VirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_VirtualMachineConfiguration.json
index 1f87a33b867d..19d0d64e4ac7 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_VirtualMachineConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolCreate_VirtualMachineConfiguration.json
@@ -160,4 +160,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDelete.json
index f5543c64c4c9..fd5e1fc583eb 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDelete.json
@@ -7,8 +7,8 @@
"api-version": "2018-12-01"
},
"responses": {
- "200": { },
- "204": { },
+ "200": {},
+ "204": {},
"202": {
"headers": {
"Retry-After": "15",
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDisableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDisableAutoScale.json
index 6d9a91938ae2..2cb89984b882 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDisableAutoScale.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolDisableAutoScale.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolGet.json
index e672b1ac68e7..78ef8f3a17f1 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolGet.json
@@ -145,4 +145,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolList.json
index bc0871c46074..a1de84b03dd2 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolList.json
@@ -152,4 +152,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolListWithFilter.json
index c378f2bf4f76..378263207fe8 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolListWithFilter.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolListWithFilter.json
@@ -41,4 +41,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolStopResize.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolStopResize.json
index e61b3f7db192..ff08cf3a641d 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolStopResize.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolStopResize.json
@@ -59,4 +59,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_EnableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_EnableAutoScale.json
index aa8194d9e9a1..404fd8176528 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_EnableAutoScale.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_EnableAutoScale.json
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_OtherProperties.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_OtherProperties.json
index 952e920f3a3b..258b37682526 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_OtherProperties.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_OtherProperties.json
@@ -112,4 +112,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_RemoveStartTask.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_RemoveStartTask.json
index 4ecbed138f9a..a34719194a29 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_RemoveStartTask.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_RemoveStartTask.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_ResizePool.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_ResizePool.json
index 34ca20e96fda..b3a6ef0a3dfa 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_ResizePool.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2018-12-01/examples/PoolUpdate_ResizePool.json
@@ -71,4 +71,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json
index 212b5bd1e955..317c5da8b95f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/BatchManagement.json
@@ -43,8 +43,12 @@
],
"operationId": "BatchAccount_Create",
"x-ms-examples": {
- "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" },
- "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" }
+ "BatchAccountCreate_Default": {
+ "$ref": "./examples/BatchAccountCreate_Default.json"
+ },
+ "BatchAccountCreate_BYOS": {
+ "$ref": "./examples/BatchAccountCreate_BYOS.json"
+ }
},
"description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
"parameters": [
@@ -113,7 +117,9 @@
],
"operationId": "BatchAccount_Update",
"x-ms-examples": {
- "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" }
+ "BatchAccountUpdate": {
+ "$ref": "./examples/BatchAccountUpdate.json"
+ }
},
"description": "Updates the properties of an existing Batch account.",
"parameters": [
@@ -160,7 +166,9 @@
],
"operationId": "BatchAccount_Delete",
"x-ms-examples": {
- "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" }
+ "BatchAccountDelete": {
+ "$ref": "./examples/BatchAccountDelete.json"
+ }
},
"description": "Deletes the specified Batch account.",
"parameters": [
@@ -213,7 +221,9 @@
],
"operationId": "BatchAccount_Get",
"x-ms-examples": {
- "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" }
+ "BatchAccountGet": {
+ "$ref": "./examples/BatchAccountGet.json"
+ }
},
"description": "Gets information about the specified Batch account.",
"parameters": [
@@ -253,7 +263,9 @@
],
"operationId": "BatchAccount_List",
"x-ms-examples": {
- "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" }
+ "BatchAccountList": {
+ "$ref": "./examples/BatchAccountList.json"
+ }
},
"description": "Gets information about the Batch accounts associated with the subscription.",
"parameters": [
@@ -290,7 +302,9 @@
],
"operationId": "BatchAccount_ListByResourceGroup",
"x-ms-examples": {
- "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" }
+ "BatchAccountListByResourceGroup": {
+ "$ref": "./examples/BatchAccountListByResourceGroup.json"
+ }
},
"description": "Gets information about the Batch accounts associated with the specified resource group.",
"parameters": [
@@ -330,7 +344,9 @@
],
"operationId": "BatchAccount_SynchronizeAutoStorageKeys",
"x-ms-examples": {
- "BatchAccountSynchronizeAutoStorageKeys": { "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json" }
+ "BatchAccountSynchronizeAutoStorageKeys": {
+ "$ref": "./examples/BatchAccountSynchronizeAutoStorageKeys.json"
+ }
},
"description": "Synchronizes access keys for the auto-storage account configured for the specified Batch account.",
"parameters": [
@@ -367,7 +383,9 @@
],
"operationId": "BatchAccount_RegenerateKey",
"x-ms-examples": {
- "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" }
+ "BatchAccountRegenerateKey": {
+ "$ref": "./examples/BatchAccountRegenerateKey.json"
+ }
},
"description": "Regenerates the specified account key for the Batch account.",
"parameters": [
@@ -416,7 +434,9 @@
],
"operationId": "BatchAccount_GetKeys",
"x-ms-examples": {
- "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" }
+ "BatchAccountGetKeys": {
+ "$ref": "./examples/BatchAccountGetKeys.json"
+ }
},
"summary": "Gets the account keys for the specified Batch account.",
"description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.",
@@ -457,7 +477,9 @@
],
"operationId": "ApplicationPackage_Activate",
"x-ms-examples": {
- "ApplicationPackageActivate": { "$ref": "./examples/ApplicationPackageActivate.json" }
+ "ApplicationPackageActivate": {
+ "$ref": "./examples/ApplicationPackageActivate.json"
+ }
},
"description": "Activates the specified application package.",
"parameters": [
@@ -512,7 +534,9 @@
],
"operationId": "Application_Create",
"x-ms-examples": {
- "ApplicationCreate": { "$ref": "./examples/ApplicationCreate.json" }
+ "ApplicationCreate": {
+ "$ref": "./examples/ApplicationCreate.json"
+ }
},
"description": "Adds an application to the specified Batch account.",
"parameters": [
@@ -562,7 +586,9 @@
],
"operationId": "Application_Delete",
"x-ms-examples": {
- "ApplicationDelete": { "$ref": "./examples/ApplicationDelete.json" }
+ "ApplicationDelete": {
+ "$ref": "./examples/ApplicationDelete.json"
+ }
},
"description": "Deletes an application.",
"parameters": [
@@ -603,7 +629,9 @@
],
"operationId": "Application_Get",
"x-ms-examples": {
- "ApplicationGet": { "$ref": "./examples/ApplicationGet.json" }
+ "ApplicationGet": {
+ "$ref": "./examples/ApplicationGet.json"
+ }
},
"description": "Gets information about the specified application.",
"parameters": [
@@ -644,7 +672,9 @@
],
"operationId": "Application_Update",
"x-ms-examples": {
- "ApplicationUpdate": { "$ref": "./examples/ApplicationUpdate.json" }
+ "ApplicationUpdate": {
+ "$ref": "./examples/ApplicationUpdate.json"
+ }
},
"description": "Updates settings for the specified application.",
"parameters": [
@@ -696,7 +726,9 @@
],
"operationId": "ApplicationPackage_Create",
"x-ms-examples": {
- "ApplicationPackageCreate": { "$ref": "./examples/ApplicationPackageCreate.json" }
+ "ApplicationPackageCreate": {
+ "$ref": "./examples/ApplicationPackageCreate.json"
+ }
},
"description": "Creates an application package record.",
"parameters": [
@@ -749,7 +781,9 @@
],
"operationId": "ApplicationPackage_Delete",
"x-ms-examples": {
- "ApplicationPackageDelete": { "$ref": "./examples/ApplicationPackageDelete.json" }
+ "ApplicationPackageDelete": {
+ "$ref": "./examples/ApplicationPackageDelete.json"
+ }
},
"description": "Deletes an application package record and its associated binary file.",
"parameters": [
@@ -793,7 +827,9 @@
],
"operationId": "ApplicationPackage_Get",
"x-ms-examples": {
- "ApplicationPackageGet": { "$ref": "./examples/ApplicationPackageGet.json" }
+ "ApplicationPackageGet": {
+ "$ref": "./examples/ApplicationPackageGet.json"
+ }
},
"description": "Gets information about the specified application package.",
"parameters": [
@@ -839,7 +875,9 @@
],
"operationId": "Application_List",
"x-ms-examples": {
- "ApplicationList": { "$ref": "./examples/ApplicationList.json" }
+ "ApplicationList": {
+ "$ref": "./examples/ApplicationList.json"
+ }
},
"description": "Lists all of the applications in the specified account.",
"parameters": [
@@ -890,7 +928,9 @@
],
"operationId": "ApplicationPackage_List",
"x-ms-examples": {
- "ApplicationList": { "$ref": "./examples/ApplicationPackageList.json" }
+ "ApplicationList": {
+ "$ref": "./examples/ApplicationPackageList.json"
+ }
},
"description": "Lists all of the application packages in the specified application.",
"parameters": [
@@ -944,7 +984,9 @@
],
"operationId": "Location_GetQuotas",
"x-ms-examples": {
- "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" }
+ "LocationGetQuotas": {
+ "$ref": "./examples/LocationGetQuotas.json"
+ }
},
"description": "Gets the Batch service quotas for the specified subscription at the given location.",
"parameters": [
@@ -1014,8 +1056,12 @@
"operationId": "Location_CheckNameAvailability",
"description": "Checks whether the Batch account name is available in the specified region.",
"x-ms-examples": {
- "LocationCheckNameAvailability_Available": { "$ref": "./examples/LocationCheckNameAvailability_Available.json" },
- "LocationCheckNameAvailability_AlreadyExists": { "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json" }
+ "LocationCheckNameAvailability_Available": {
+ "$ref": "./examples/LocationCheckNameAvailability_Available.json"
+ },
+ "LocationCheckNameAvailability_AlreadyExists": {
+ "$ref": "./examples/LocationCheckNameAvailability_AlreadyExists.json"
+ }
},
"parameters": [
{
@@ -1065,8 +1111,12 @@
"operationId": "Certificate_ListByBatchAccount",
"description": "Lists all of the certificates in the specified account.",
"x-ms-examples": {
- "ListCertificates": { "$ref": "./examples/CertificateList.json" },
- "ListCertificates - Filter and Select": { "$ref": "./examples/CertificateListWithFilter.json" }
+ "ListCertificates": {
+ "$ref": "./examples/CertificateList.json"
+ },
+ "ListCertificates - Filter and Select": {
+ "$ref": "./examples/CertificateListWithFilter.json"
+ }
},
"parameters": [
{
@@ -1131,9 +1181,15 @@
"operationId": "Certificate_Create",
"description": "Creates a new certificate inside the specified account.",
"x-ms-examples": {
- "CreateCertificate - Minimal Pfx": { "$ref": "./examples/CertificateCreate_Minimal.json" },
- "CreateCertificate - Minimal Cer": { "$ref": "./examples/CertificateCreate_MinimalCer.json" },
- "CreateCertificate - Full": { "$ref": "./examples/CertificateCreate_Full.json" }
+ "CreateCertificate - Minimal Pfx": {
+ "$ref": "./examples/CertificateCreate_Minimal.json"
+ },
+ "CreateCertificate - Minimal Cer": {
+ "$ref": "./examples/CertificateCreate_MinimalCer.json"
+ },
+ "CreateCertificate - Full": {
+ "$ref": "./examples/CertificateCreate_Full.json"
+ }
},
"parameters": [
{
@@ -1204,7 +1260,9 @@
"operationId": "Certificate_Update",
"description": "Updates the properties of an existing certificate.",
"x-ms-examples": {
- "UpdateCertificate": { "$ref": "./examples/CertificateUpdate.json" }
+ "UpdateCertificate": {
+ "$ref": "./examples/CertificateUpdate.json"
+ }
},
"parameters": [
{
@@ -1267,7 +1325,9 @@
"operationId": "Certificate_Delete",
"description": "Deletes the specified certificate.",
"x-ms-examples": {
- "CertificateDelete": { "$ref": "./examples/CertificateDelete.json" }
+ "CertificateDelete": {
+ "$ref": "./examples/CertificateDelete.json"
+ }
},
"parameters": [
{
@@ -1323,8 +1383,12 @@
"operationId": "Certificate_Get",
"description": "Gets information about the specified certificate.",
"x-ms-examples": {
- "Get Certificate": { "$ref": "./examples/CertificateGet.json" },
- "Get Certificate with Deletion Error": { "$ref": "./examples/CertificateGetWithDeletionError.json" }
+ "Get Certificate": {
+ "$ref": "./examples/CertificateGet.json"
+ },
+ "Get Certificate with Deletion Error": {
+ "$ref": "./examples/CertificateGetWithDeletionError.json"
+ }
},
"parameters": [
{
@@ -1374,7 +1438,9 @@
"summary": "Cancels a failed deletion of a certificate from the specified account.",
"description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.",
"x-ms-examples": {
- "CertificateCancelDeletion": { "$ref": "./examples/CertificateCancelDeletion.json" }
+ "CertificateCancelDeletion": {
+ "$ref": "./examples/CertificateCancelDeletion.json"
+ }
},
"parameters": [
{
@@ -1423,8 +1489,12 @@
"operationId": "Pool_ListByBatchAccount",
"description": "Lists all of the pools in the specified account.",
"x-ms-examples": {
- "ListPool": { "$ref": "./examples/PoolList.json" },
- "ListPoolWithFilter": { "$ref": "./examples/PoolListWithFilter.json" }
+ "ListPool": {
+ "$ref": "./examples/PoolList.json"
+ },
+ "ListPoolWithFilter": {
+ "$ref": "./examples/PoolListWithFilter.json"
+ }
},
"parameters": [
{
@@ -1489,11 +1559,21 @@
"operationId": "Pool_Create",
"description": "Creates a new pool inside the specified account.",
"x-ms-examples": {
- "CreatePool - Minimal CloudServiceConfiguration": { "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json" },
- "CreatePool - Minimal VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json" },
- "CreatePool - Full Example": { "$ref": "./examples/PoolCreate_FullExample.json" },
- "CreatePool - Custom Image": { "$ref": "./examples/PoolCreate_CustomImage.json" },
- "CreatePool - Full VirtualMachineConfiguration": { "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json" }
+ "CreatePool - Minimal CloudServiceConfiguration": {
+ "$ref": "./examples/PoolCreate_MinimalCloudServiceConfiguration.json"
+ },
+ "CreatePool - Minimal VirtualMachineConfiguration": {
+ "$ref": "./examples/PoolCreate_MinimalVirtualMachineConfiguration.json"
+ },
+ "CreatePool - Full Example": {
+ "$ref": "./examples/PoolCreate_FullExample.json"
+ },
+ "CreatePool - Custom Image": {
+ "$ref": "./examples/PoolCreate_CustomImage.json"
+ },
+ "CreatePool - Full VirtualMachineConfiguration": {
+ "$ref": "./examples/PoolCreate_VirtualMachineConfiguration.json"
+ }
},
"parameters": [
{
@@ -1564,10 +1644,18 @@
"operationId": "Pool_Update",
"description": "Updates the properties of an existing pool.",
"x-ms-examples": {
- "UpdatePool - Resize Pool": { "$ref": "./examples/PoolUpdate_ResizePool.json" },
- "UpdatePool - Enable Autoscale": { "$ref": "./examples/PoolUpdate_EnableAutoScale.json" },
- "UpdatePool - Remove Start Task": { "$ref": "./examples/PoolUpdate_RemoveStartTask.json" },
- "UpdatePool - Other Properties": { "$ref": "./examples/PoolUpdate_OtherProperties.json" }
+ "UpdatePool - Resize Pool": {
+ "$ref": "./examples/PoolUpdate_ResizePool.json"
+ },
+ "UpdatePool - Enable Autoscale": {
+ "$ref": "./examples/PoolUpdate_EnableAutoScale.json"
+ },
+ "UpdatePool - Remove Start Task": {
+ "$ref": "./examples/PoolUpdate_RemoveStartTask.json"
+ },
+ "UpdatePool - Other Properties": {
+ "$ref": "./examples/PoolUpdate_OtherProperties.json"
+ }
},
"parameters": [
{
@@ -1630,7 +1718,9 @@
"operationId": "Pool_Delete",
"description": "Deletes the specified pool.",
"x-ms-examples": {
- "DeletePool": { "$ref": "./examples/PoolDelete.json" }
+ "DeletePool": {
+ "$ref": "./examples/PoolDelete.json"
+ }
},
"parameters": [
{
@@ -1686,7 +1776,9 @@
"operationId": "Pool_Get",
"description": "Gets information about the specified pool.",
"x-ms-examples": {
- "GetPool": { "$ref": "./examples/PoolGet.json" }
+ "GetPool": {
+ "$ref": "./examples/PoolGet.json"
+ }
},
"parameters": [
{
@@ -1735,7 +1827,9 @@
"operationId": "Pool_DisableAutoScale",
"description": "Disables automatic scaling for a pool.",
"x-ms-examples": {
- "Disable AutoScale": { "$ref": "./examples/PoolDisableAutoScale.json" }
+ "Disable AutoScale": {
+ "$ref": "./examples/PoolDisableAutoScale.json"
+ }
},
"parameters": [
{
@@ -1785,7 +1879,9 @@
"summary": "Stops an ongoing resize operation on the pool.",
"description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. After stopping, the pool stabilizes at the number of nodes it was at when the stop operation was done. During the stop operation, the pool allocation state changes first to stopping and then to steady. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.",
"x-ms-examples": {
- "StopPoolResize": { "$ref": "./examples/PoolStopResize.json" }
+ "StopPoolResize": {
+ "$ref": "./examples/PoolStopResize.json"
+ }
},
"parameters": [
{
@@ -2539,7 +2635,9 @@
}
},
"description": "Certificate properties for create operations",
- "required": [ "data" ]
+ "required": [
+ "data"
+ ]
},
"Certificate": {
"properties": {
@@ -2609,7 +2707,10 @@
"description": "A list of additional details about the error."
}
},
- "required": [ "code", "message" ],
+ "required": [
+ "code",
+ "message"
+ ],
"description": "An error response from the Batch service."
},
"Pool": {
@@ -2880,7 +2981,9 @@
"description": "If omitted, the default value is 15 minutes (PT15M)."
}
},
- "required": [ "formula" ],
+ "required": [
+ "formula"
+ ],
"title": "AutoScale settings for the pool."
},
"FixedScaleSettings": {
@@ -3009,7 +3112,9 @@
"title": "Which user accounts on the compute node should have access to the private data of the certificate."
}
},
- "required": [ "id" ],
+ "required": [
+ "id"
+ ],
"title": "A reference to a certificate to be installed on compute nodes in a pool. This must exist inside the same account as the pool."
},
"ApplicationPackageReference": {
@@ -3025,7 +3130,9 @@
}
},
"title": "Link to an application package inside the batch account",
- "required": [ "id" ]
+ "required": [
+ "id"
+ ]
},
"ResizeError": {
"properties": {
@@ -3046,7 +3153,10 @@
}
},
"title": "An error that occurred when resizing a pool.",
- "required": [ "code", "message" ]
+ "required": [
+ "code",
+ "message"
+ ]
},
"AutoScaleRunError": {
"properties": {
@@ -3067,7 +3177,10 @@
}
},
"title": "An error that occurred when autoscaling a pool.",
- "required": [ "code", "message" ]
+ "required": [
+ "code",
+ "message"
+ ]
},
"AutoScaleRun": {
"properties": {
@@ -3086,7 +3199,9 @@
"title": "Details of the error encountered evaluating the autoscale formula on the pool, if the evaluation was unsuccessful."
}
},
- "required": [ "evaluationTime" ],
+ "required": [
+ "evaluationTime"
+ ],
"title": "The results and errors from an execution of a pool autoscale formula."
},
"VirtualMachineConfiguration": {
@@ -3124,7 +3239,10 @@
"description": "If specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it."
}
},
- "required": [ "imageReference", "nodeAgentSkuId" ],
+ "required": [
+ "imageReference",
+ "nodeAgentSkuId"
+ ],
"title": "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
},
"ContainerRegistry": {
@@ -3144,7 +3262,10 @@
"title": "The password to log into the registry server."
}
},
- "required": [ "username", "password" ],
+ "required": [
+ "username",
+ "password"
+ ],
"title": "A private container registry."
},
"ContainerConfiguration": {
@@ -3183,7 +3304,9 @@
"description": "If any images must be downloaded from a private registry which requires credentials, then those credentials must be provided here."
}
},
- "required": [ "type" ],
+ "required": [
+ "type"
+ ],
"title": "The configuration for container-enabled pools."
},
"WindowsConfiguration": {
@@ -3281,7 +3404,9 @@
}
}
},
- "required": [ "nodeFillType" ],
+ "required": [
+ "nodeFillType"
+ ],
"title": "Specifies how tasks should be distributed across compute nodes."
},
"LinuxUserConfiguration": {
@@ -3360,7 +3485,10 @@
"$ref": "#/definitions/WindowsUserConfiguration"
}
},
- "required": [ "name", "password" ],
+ "required": [
+ "name",
+ "password"
+ ],
"title": "Properties used to create a user on an Azure Batch node."
},
"StartTask": {
@@ -3427,7 +3555,9 @@
"description": "This setting can be omitted if was already provided at pool creation."
}
},
- "required": [ "imageName" ],
+ "required": [
+ "imageName"
+ ],
"title": "The container settings for a task."
},
"ResourceFile": {
@@ -3476,7 +3606,9 @@
"title": "The value of the environment variable."
}
},
- "required": [ "name" ],
+ "required": [
+ "name"
+ ],
"title": "An environment variable to be set on a task process."
},
"UserIdentity": {
@@ -3631,7 +3763,9 @@
"description": "The default value is * which specifies the latest operating system version for the specified OS family."
}
},
- "required": [ "osFamily" ],
+ "required": [
+ "osFamily"
+ ],
"title": "The configuration for nodes in a pool based on the Azure Cloud Services platform."
},
"MetadataItem": {
@@ -3645,7 +3779,10 @@
"title": "The value of the metadata item."
}
},
- "required": [ "name", "value" ],
+ "required": [
+ "name",
+ "value"
+ ],
"title": "A name-value pair associated with a Batch service resource.",
"description": "The Batch service does not assign any meaning to this metadata; it is solely for the use of user code."
},
@@ -3700,7 +3837,9 @@
"description": "The maximum number of inbound NAT pools per Batch pool is 5. If the maximum number of inbound NAT pools is exceeded the request fails with HTTP status code 400."
}
},
- "required": [ "inboundNatPools" ],
+ "required": [
+ "inboundNatPools"
+ ],
"title": "The endpoint configuration for a pool."
},
"InboundNatPool": {
@@ -3759,7 +3898,13 @@
}
}
},
- "required": [ "name", "protocol", "backendPort", "frontendPortRangeStart", "frontendPortRangeEnd" ],
+ "required": [
+ "name",
+ "protocol",
+ "backendPort",
+ "frontendPortRangeStart",
+ "frontendPortRangeEnd"
+ ],
"title": "A inbound NAT pool that can be used to address specific ports on compute nodes in a Batch pool externally."
},
"NetworkSecurityGroupRule": {
@@ -3798,7 +3943,11 @@
"description": "Valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or * (for all addresses). If any other values are provided the request fails with HTTP status code 400."
}
},
- "required": [ "priority", "access", "sourceAddressPrefix" ],
+ "required": [
+ "priority",
+ "access",
+ "sourceAddressPrefix"
+ ],
"title": "A network security group rule to apply to an inbound endpoint."
},
"ListPoolsResult": {
@@ -3916,7 +4065,9 @@
},
"type": {
"type": "string",
- "enum": [ "Microsoft.Batch/batchAccounts" ],
+ "enum": [
+ "Microsoft.Batch/batchAccounts"
+ ],
"x-ms-enum": {
"name": "Type",
"modelAsString": false,
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationCreate.json
index 70de9cb2f13c..eed441c19009 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationCreate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationCreate.json
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationDelete.json
index e6e0ae8308a1..3829a45f104a 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationGet.json
index 00bd42058ec9..2bb409983944 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationGet.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json
index 9109aefee6e7..069f28aa4a9f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationList.json
@@ -32,4 +32,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageActivate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageActivate.json
index a6873b466bf9..bbe9236cf8de 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageActivate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageActivate.json
@@ -23,9 +23,9 @@
"properties": {
"state": "Active",
"format": "zip",
- "lastActivationTime":"2017-06-27T18:48:09.9330991Z"
+ "lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageCreate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageCreate.json
index 0394faf46bf2..3590ef8d5b63 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageCreate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageCreate.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageDelete.json
index 6c3ebee76f05..0a051c88011f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageDelete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageGet.json
index a86aed77eca8..0fdf50d3e0a2 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageGet.json
@@ -20,9 +20,9 @@
"properties": {
"state": "Active",
"format": "zip",
- "lastActivationTime":"2017-06-27T18:48:09.9330991Z"
+ "lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json
index aec2bea6d3a1..fd3c2b8921f8 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationPackageList.json
@@ -26,10 +26,10 @@
"properties": {
"state": "Active",
"format": "zip",
- "lastActivationTime":"2017-06-27T18:48:09.9330991Z"
+ "lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationUpdate.json
index 6704c85ee742..d321b0e97836 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/ApplicationUpdate.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_BYOS.json
index 7a24326935cb..bfb63f39428a 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_BYOS.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_BYOS.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_Default.json
index 54043239b837..dbb4cf4d1079 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_Default.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountCreate_Default.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountDelete.json
index 4bb2c6fca09c..f9ca3455a667 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGet.json
index b42e0d49e357..dcb50e93f523 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGet.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGetKeys.json
index 36d4f080c340..6eb47d2ab77a 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGetKeys.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountGetKeys.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountList.json
index 0aa75dba68f2..f45623f0f080 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountList.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountListByResourceGroup.json
index c1124a5170f7..6a557fb1050f 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountListByResourceGroup.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountListByResourceGroup.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountRegenerateKey.json
index f87ad16770f0..f5a4cdef2ba3 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountRegenerateKey.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountRegenerateKey.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountSynchronizeAutoStorageKeys.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
index bff4cd15a9f8..f958dcd17841 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountSynchronizeAutoStorageKeys.json
@@ -8,4 +8,4 @@
"responses": {
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountUpdate.json
index bcf2a9c6c00e..ef5ed5de429b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/BatchAccountUpdate.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCancelDeletion.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCancelDeletion.json
index f27b86ab9f48..4b93a00a8dd1 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCancelDeletion.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCancelDeletion.json
@@ -14,19 +14,19 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
"etag": "W/\"0x8D4EDD513C3EDBB\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"previousProvisioningState": "Failed",
"previousProvisioningStateTransitionTime": "2017-07-21T00:22:54.3299195Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Full.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Full.json
index fd362745568c..7799e0ffb12b 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Full.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Full.json
@@ -7,10 +7,10 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e...",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e...",
"format": "Pfx"
}
}
@@ -23,17 +23,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Minimal.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Minimal.json
index 54fb1b1a371b..c14a4815b336 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Minimal.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_Minimal.json
@@ -7,8 +7,8 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e..."
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e..."
}
}
},
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_MinimalCer.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_MinimalCer.json
index 0ab8aa69872e..6a3b1e913466 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_MinimalCer.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateCreate_MinimalCer.json
@@ -7,7 +7,7 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIICrjCCAZagAwI...",
+ "data": "MIICrjCCAZagAwI...",
"format": "Cer"
}
}
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Cer",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateDelete.json
index adfc3e648fe1..db5d0de0a0be 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateDelete.json
@@ -7,13 +7,13 @@
"api-version": "2019-04-01"
},
"responses": {
- "200": { },
+ "200": {},
"202": {
"headers": {
"Retry-After": "15",
"Location": "https://management.azure.com/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/certificateOperationResults/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E-8D4EDFF164A11C9?api-version=2019-04-01"
}
},
- "204": { }
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGet.json
index c0782c09f975..689eb0a795ea 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGet.json
@@ -14,17 +14,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGetWithDeletionError.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGetWithDeletionError.json
index d58071509964..f495c5dc3900 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGetWithDeletionError.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateGetWithDeletionError.json
@@ -14,17 +14,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Failed",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"previousProvisioningState": "Deleting",
- "previousProvisioningStateTransitionTime":"2017-07-21T00:15:25.5625498Z",
+ "previousProvisioningStateTransitionTime": "2017-07-21T00:15:25.5625498Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI...",
+ "publicData": "MIICrjCCAZagAwI...",
"deleteCertificateError": {
"code": "NodesReferencingCertificate",
"message": "The specified certificate is being used by the below mentioned node(s)\nRequestId:2dc78afc-b15b-42d2-8c85-39cb61a0799e\nTime:2017-08-28T10:22:52.8633406Z",
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateList.json
index c142bbbc13a6..7efbea1caef9 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateList.json
@@ -13,15 +13,15 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
],
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateListWithFilter.json
index 51da953c4115..42b58cd95a67 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateListWithFilter.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateListWithFilter.json
@@ -14,8 +14,8 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
"provisioningState": "Failed",
"format": "Pfx"
@@ -24,8 +24,8 @@
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1",
"name": "SHA1-AEB228FFB0BF67A793D61DCE263EBD16949F15A1",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118572E0\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118572E0\"",
"properties": {
"provisioningState": "Failed",
"format": "Cer"
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateUpdate.json
index 54fb1b1a371b..c14a4815b336 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateUpdate.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/CertificateUpdate.json
@@ -7,8 +7,8 @@
"certificateName": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"parameters": {
"properties": {
- "data":"MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
- "password":"KG0UY40e..."
+ "data": "MIIJsgIBAzCCCW4GCSqGSIb3DQE...",
+ "password": "KG0UY40e..."
}
}
},
@@ -20,17 +20,17 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/samplecct/certificates/SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"name": "SHA1-0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
- "type":"Microsoft.Batch/batchAccounts/certificates",
- "etag":"W/\"0x8D4EDD5118668F7\"",
+ "type": "Microsoft.Batch/batchAccounts/certificates",
+ "etag": "W/\"0x8D4EDD5118668F7\"",
"properties": {
- "thumbprintAlgorithm":"SHA1",
- "thumbprint":"0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
+ "thumbprintAlgorithm": "SHA1",
+ "thumbprint": "0A0E4F50D51BEADEAC1D35AFC5116098E7902E6E",
"provisioningState": "Succeeded",
- "provisioningStateTransitionTime":"2017-07-21T01:47:38.4420202Z",
+ "provisioningStateTransitionTime": "2017-07-21T01:47:38.4420202Z",
"format": "Pfx",
- "publicData":"MIICrjCCAZagAwI..."
+ "publicData": "MIICrjCCAZagAwI..."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_AlreadyExists.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_AlreadyExists.json
index fbd5ed25251f..538aa4a72ca0 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_AlreadyExists.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_AlreadyExists.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_Available.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_Available.json
index 6a3e9d770b5e..eab309be5075 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_Available.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationCheckNameAvailability_Available.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationGetQuotas.json
index 37d2e3e7c878..79d91ef60668 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationGetQuotas.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/LocationGetQuotas.json
@@ -11,4 +11,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_CustomImage.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_CustomImage.json
index 43b079492fc9..d5b0c67fccb5 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_CustomImage.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_CustomImage.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_FullExample.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_FullExample.json
index ba07e157d8c8..dde5b7fd1a77 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_FullExample.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_FullExample.json
@@ -256,4 +256,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
index 2d1aec7986b8..f7f4108090db 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalCloudServiceConfiguration.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
index 69cac7dbea42..2b9ccb4e784c 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_MinimalVirtualMachineConfiguration.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_VirtualMachineConfiguration.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_VirtualMachineConfiguration.json
index 342cf9f4e564..8ecd8802f18e 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_VirtualMachineConfiguration.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolCreate_VirtualMachineConfiguration.json
@@ -160,4 +160,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDelete.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDelete.json
index 0380c99118ce..8465ce0e73d9 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDelete.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDelete.json
@@ -7,8 +7,8 @@
"api-version": "2019-04-01"
},
"responses": {
- "200": { },
- "204": { },
+ "200": {},
+ "204": {},
"202": {
"headers": {
"Retry-After": "15",
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDisableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDisableAutoScale.json
index 11ff186d1dd0..be1451c0812c 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDisableAutoScale.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolDisableAutoScale.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolGet.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolGet.json
index be1358781450..adbedc659a99 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolGet.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolGet.json
@@ -145,4 +145,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolList.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolList.json
index 90fced05afd1..cebf3715317d 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolList.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolList.json
@@ -152,4 +152,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolListWithFilter.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolListWithFilter.json
index 7e9b8cc6c911..4c47e72abe33 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolListWithFilter.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolListWithFilter.json
@@ -41,4 +41,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolStopResize.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolStopResize.json
index c852f6993164..c829191550fa 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolStopResize.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolStopResize.json
@@ -59,4 +59,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_EnableAutoScale.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_EnableAutoScale.json
index 6c6e19f2223a..2edc9459c904 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_EnableAutoScale.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_EnableAutoScale.json
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_OtherProperties.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_OtherProperties.json
index d375c024b7c4..be86d8a6295c 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_OtherProperties.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_OtherProperties.json
@@ -112,4 +112,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_RemoveStartTask.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_RemoveStartTask.json
index 9843589aa33f..5077985338ad 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_RemoveStartTask.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_RemoveStartTask.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_ResizePool.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_ResizePool.json
index bc1f7a0f6520..a179a891ffd7 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_ResizePool.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2019-04-01/examples/PoolUpdate_ResizePool.json
@@ -71,4 +71,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/batch/resource-manager/readme.go.md b/specification/batch/resource-manager/readme.go.md
index cae71e91ed56..0568d9c814d9 100644
--- a/specification/batch/resource-manager/readme.go.md
+++ b/specification/batch/resource-manager/readme.go.md
@@ -14,6 +14,7 @@ go:
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-04
- tag: package-2018-12
- tag: package-2017-09
- tag: package-2017-05
@@ -21,6 +22,15 @@ batch:
- tag: package-2015-12
```
+### Tag: package-2019-04 and go
+
+These settings apply only when `--tag=package-2019-04 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-04' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-04-01/$(namespace)
+```
+
### Tag: package-2018-12 and go
These settings apply only when `--tag=package-2018-12 --go` is specified on the command line.
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/examples/InvoicesExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/examples/InvoicesExpand.json
index 6c8bbfc5a30c..986377cc6b64 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/examples/InvoicesExpand.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2017-02-27-preview/examples/InvoicesExpand.json
@@ -2,7 +2,7 @@
"parameters": {
"api-version": "2017-02-27",
"subscriptionId": "subid",
- "$top": "1",
+ "$top": 1,
"$filter": "invoicePeriodStartDate le 2017-02-01",
"$expand": "downloadUrl"
},
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/examples/InvoicesExpand.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/examples/InvoicesExpand.json
index e8dd72ba9303..0e33bd95ca03 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/examples/InvoicesExpand.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2017-04-24-preview/examples/InvoicesExpand.json
@@ -2,7 +2,7 @@
"parameters": {
"api-version": "2017-04-24-preview",
"subscriptionId": "subid",
- "$top": "1",
+ "$top": 1,
"$filter": "invoicePeriodEndDate le 2017-02-01",
"$expand": "downloadUrl"
},
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json
index 488e6dc967a0..9d0f890cf182 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json
@@ -148,7 +148,7 @@
},
"202": {
"description": "Accepted. Billing account update is in progress."
- },
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -3626,25 +3626,25 @@
}
}
},
- "ValidateAddressResponse": {
- "type":"object",
- "description" :" Result of the address validation",
- "properties" : {
- "status": {
- "description": "status of the address validation.",
- "$ref": "#/definitions/AddressValidationStatus"
- },
- "suggestedAddresses": {
- "description": "list of suggested addresses.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Address"
+ "ValidateAddressResponse": {
+ "type": "object",
+ "description": "Result of the address validation",
+ "properties": {
+ "status": {
+ "description": "status of the address validation.",
+ "$ref": "#/definitions/AddressValidationStatus"
+ },
+ "suggestedAddresses": {
+ "description": "list of suggested addresses.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Address"
+ }
+ },
+ "validationMessage": {
+ "description": "Validation error message.",
+ "type": "string"
}
- },
- "validationMessage" : {
- "description": "Validation error message.",
- "type": "string"
- }
}
},
"AddressValidationStatus": {
@@ -3658,7 +3658,7 @@
"name": "addressValidationStatus",
"modelAsString": true
}
- },
+ },
"InitiateTransferProperties": {
"type": "object",
"description": "Request parameters to initiate transfer.",
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/CreateBillingProfile.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/CreateBillingProfile.json
index 03f7cd3e77a5..3bd226e8f49b 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/CreateBillingProfile.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/CreateBillingProfile.json
@@ -68,4 +68,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json
index 693af0eb8693..bcd167458350 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/UpdateBillingAccount.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressInvalid.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressInvalid.json
index d397f2ceddef..cef8bdaeb63f 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressInvalid.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressInvalid.json
@@ -7,37 +7,37 @@
"region": "wa",
"postalCode": "98004",
"country": "us"
- }
+ }
},
"responses": {
"200": {
"body": {
- "status": "Invalid",
- "suggestedAddresses": [
- {
- "country": "US",
- "region": "WA",
- "city": "Bellevue",
- "addressLine1": "100 110th Ave NE",
- "postalCode": "98004"
- },
- {
- "country": "US",
- "region": "WA",
- "city": "Bellevue",
- "addressLine1": "102 110th Ave NE",
- "postalCode": "98004-5804"
- },
- {
- "country": "US",
- "region": "WA",
- "city": "Bellevue",
- "addressLine1": "104 110th Ave NE",
- "postalCode": "98004-5804"
- }
- ],
- "validationMessage" : "Invalid address"
- }
- }
+ "status": "Invalid",
+ "suggestedAddresses": [
+ {
+ "country": "US",
+ "region": "WA",
+ "city": "Bellevue",
+ "addressLine1": "100 110th Ave NE",
+ "postalCode": "98004"
+ },
+ {
+ "country": "US",
+ "region": "WA",
+ "city": "Bellevue",
+ "addressLine1": "102 110th Ave NE",
+ "postalCode": "98004-5804"
+ },
+ {
+ "country": "US",
+ "region": "WA",
+ "city": "Bellevue",
+ "addressLine1": "104 110th Ave NE",
+ "postalCode": "98004-5804"
+ }
+ ],
+ "validationMessage": "Invalid address"
+ }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressValid.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressValid.json
index 7ce28c1f7523..efff459f6a34 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressValid.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateAddressValid.json
@@ -7,22 +7,22 @@
"region": "wa",
"postalCode": "98004",
"country": "us"
- }
+ }
},
"responses": {
"200": {
"body": {
- "status": "Valid",
- "suggestedAddresses": [
- {
- "country": "US",
- "region": "WA",
- "city": "Bellevue",
- "addressLine1": "555 110th Ave NE",
- "postalCode": "98004-5124"
- }
- ]
- }
- }
+ "status": "Valid",
+ "suggestedAddresses": [
+ {
+ "country": "US",
+ "region": "WA",
+ "city": "Bellevue",
+ "addressLine1": "555 110th Ave NE",
+ "postalCode": "98004-5124"
+ }
+ ]
+ }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferFailure.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferFailure.json
index de33919caad3..1f3396204209 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferFailure.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferFailure.json
@@ -14,10 +14,10 @@
"body": {
"isTransferEligible": false,
"errorDetails": {
- "code" : "ProductTypeNotSupported",
- "message" : "Product '{productName}' is not allowed to be transferred."
+ "code": "ProductTypeNotSupported",
+ "message": "Product '{productName}' is not allowed to be transferred."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferSuccess.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferSuccess.json
index 7edb141ae853..c05be235d44d 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferSuccess.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateProductTransferSuccess.json
@@ -12,8 +12,8 @@
"responses": {
"200": {
"body": {
- "isTransferEligible": true
- }
- }
+ "isTransferEligible": true
+ }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferFailure.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferFailure.json
index e0004f41cd19..a342d036c8af 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferFailure.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferFailure.json
@@ -14,10 +14,10 @@
"body": {
"isTransferEligible": false,
"errorDetails": {
- "code" : "SubscriptionNotActive",
- "message" : "Invoice Sections can only be changed for active subscriptions."
+ "code": "SubscriptionNotActive",
+ "message": "Invoice Sections can only be changed for active subscriptions."
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferSuccess.json b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferSuccess.json
index c5e93cf366ec..c007d9775dd0 100644
--- a/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferSuccess.json
+++ b/specification/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/ValidateSubscriptionTransferSuccess.json
@@ -12,8 +12,8 @@
"responses": {
"200": {
"body": {
- "isTransferEligible": true
- }
- }
+ "isTransferEligible": true
+ }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Create.json
index d93f01b4c46f..dd2f483ea9f2 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Create.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Create.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2017-11-11-preview",
- "subscriptionId": "f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint",
"assignment": {
"identity": {
@@ -68,7 +68,7 @@
}
}
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
"type": "Microsoft.Blueprint/Assignment",
"name": "assignSimpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Delete.json
index 6830819f6813..fccd5bb5bf95 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Delete.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2017-11-11-preview",
- "subscriptionId": "f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint"
},
"responses": {
@@ -38,7 +38,7 @@
}
}
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
"type": "Microsoft.Blueprint/Assignment",
"name": "assignSimpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Get.json
index d09214f9589a..188524014a12 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2017-11-11-preview",
- "subscriptionId": "f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint"
},
"responses": {
@@ -38,7 +38,7 @@
}
}
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
"type": "Microsoft.Blueprint/Assignment",
"name": "assignSimpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_List.json
index ad2810ea8ac6..97c466cd83dc 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_List.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2017-11-11-preview/examples/BlueprintAssignment_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2017-11-11-preview",
- "subscriptionId": "f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b"
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
@@ -39,7 +39,7 @@
}
}
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
"type": "Microsoft.Blueprint/Assignment",
"name": "assignSimpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
index 6c9ab4b8c4d7..51375d097579 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintAssignment.json
@@ -42,8 +42,11 @@
"operationId": "Assignments_CreateOrUpdate",
"description": "Create or update a blueprint assignment.",
"x-ms-examples": {
- "Assignment": {
- "$ref": "./examples/BlueprintAssignment_Create.json"
+ "Assignment with system-assigned managed identity": {
+ "$ref": "./examples/BlueprintAssignment_Create_SystemAssignedMSI.json"
+ },
+ "Assignment with user-assigned managed identity": {
+ "$ref": "./examples/BlueprintAssignment_Create_UserAssignedMSI.json"
}
},
"parameters": [
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
index c0fa224da67f..8e438d1ceedd 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
@@ -416,6 +416,15 @@
},
{
"$ref": "#/parameters/PublishedBlueprintVersionIdParameter"
+ },
+ {
+ "name": "publishedBlueprint",
+ "in": "body",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/PublishedBlueprint"
+ },
+ "description": "Published Blueprint to create or update."
}
],
"responses": {
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_Get.json
index d8c4a3e967d0..cb42f431c849 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_Get.json
@@ -1,14 +1,14 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint",
"assignmentOperationName": "fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f"
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/microsoft.blueprint/blueprintAssignments/assignSimpleBlueprint/assignmentOperations/fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.blueprint/blueprintAssignments/assignSimpleBlueprint/assignmentOperations/fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f",
"type": "microsoft.blueprint/blueprintAssignments/operations",
"name": "fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f",
"properties": {
@@ -22,7 +22,7 @@
"kind": "azureResource",
"action": "put",
"jobState": "succeeded",
- "requestUri": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/microsoft.deployments/deployments/48432786-2f1b-4925-8032-a5d57bcb5b6e",
+ "requestUri": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.deployments/deployments/48432786-2f1b-4925-8032-a5d57bcb5b6e",
"result": {
"resources": [
{
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_List.json
index 9fa030384d02..a3d4fb4b30ee 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_List.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignmentOperation_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint"
},
"responses": {
@@ -9,7 +9,7 @@
"body": {
"value": [
{
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/microsoft.blueprint/blueprintAssignments/assignSimpleBlueprint/assignmentOperations/fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.blueprint/blueprintAssignments/assignSimpleBlueprint/assignmentOperations/fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f",
"type": "microsoft.blueprint/blueprintAssignments/operations",
"name": "fb5d4dcb-7ce2-4087-ba7a-459aa74e5e0f",
"properties": {
@@ -23,7 +23,7 @@
"kind": "azureResource",
"action": "put",
"jobState": "succeeded",
- "requestUri": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/microsoft.deployments/deployments/48432786-2f1b-4925-8032-a5d57bcb5b6e",
+ "requestUri": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.deployments/deployments/48432786-2f1b-4925-8032-a5d57bcb5b6e",
"result": {
"resources": [
{
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_SystemAssignedMSI.json
similarity index 92%
rename from specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create.json
rename to specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_SystemAssignedMSI.json
index ade7563a545d..2dc11e18a338 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_SystemAssignedMSI.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2017-11-11-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint",
"assignment": {
"identity": {
@@ -68,7 +68,7 @@
}
}
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
"type": "Microsoft.Blueprint/Assignment",
"name": "assignSimpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_UserAssignedMSI.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_UserAssignedMSI.json
new file mode 100644
index 000000000000..6497fe67f172
--- /dev/null
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Create_UserAssignedMSI.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "api-version": "2017-11-11-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "assignmentName": "assignSimpleBlueprint",
+ "assignment": {
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": {}
+ }
+ },
+ "location": "eastus",
+ "properties": {
+ "description": "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
+ "blueprintId": "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "parameters": {
+ "storageAccountType": {
+ "value": "Standard_LRS"
+ },
+ "costCenter": {
+ "value": "Contoso/Online/Shopping/Production"
+ },
+ "owners": {
+ "value": [
+ "johnDoe@contoso.com",
+ "johnsteam@contoso.com"
+ ]
+ }
+ },
+ "resourceGroups": {
+ "storageRG": {
+ "name": "defaultRG",
+ "location": "eastus"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "identity": {
+ "type": "UserAssigned",
+ "tenantId": "00000000-0000-0000-0000-000000000000",
+ "userAssignedIdentities": {
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resource-group/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity": {
+ "principalId": "00000000-0000-0000-0000-000000000000",
+ "clientId": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ "location": "eastus",
+ "properties": {
+ "description": "enforce pre-defined simpleBlueprint to this XXXXXXXX subscription.",
+ "provisioningState": "creating",
+ "blueprintId": "/providers/Microsoft.Management/managementGroups/ContosoOnlineGroup/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "parameters": {
+ "storageAccountType": {
+ "value": "Standard_LRS"
+ },
+ "costCenter": {
+ "value": "Contoso/Online/Shopping/Production"
+ },
+ "owners": {
+ "value": [
+ "johnDoe@contoso.com",
+ "johnsteam@contoso.com"
+ ]
+ }
+ },
+ "resourceGroups": {
+ "storageRG": {
+ "name": "defaultRG",
+ "location": "eastus"
+ }
+ }
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "type": "Microsoft.Blueprint/Assignment",
+ "name": "assignSimpleBlueprint"
+ }
+ }
+ }
+}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Delete.json
index d5fb232acd5e..568e545f415e 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Delete.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2017-11-11-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint"
},
"responses": {
@@ -38,7 +38,7 @@
}
}
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
"type": "Microsoft.Blueprint/Assignment",
"name": "assignSimpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Get.json
index ea529aed1146..ef3250634460 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2017-11-11-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint"
},
"responses": {
@@ -38,7 +38,7 @@
}
}
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
"type": "Microsoft.Blueprint/Assignment",
"name": "assignSimpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_List.json
index ac555717d394..81fe7ebf605d 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_List.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/BlueprintAssignment_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2017-11-11-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b"
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
@@ -39,7 +39,7 @@
}
}
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprintAssignments/assignSimpleBlueprint",
"type": "Microsoft.Blueprint/Assignment",
"name": "assignSimpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.json
index af091e60df7e..fd2e25a7f01b 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/WhoIsBlueprint_Action.json
@@ -1,13 +1,13 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/{subscriptionId}",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"assignmentName": "assignSimpleBlueprint"
},
"responses": {
"200": {
"body": {
- "objectId": "00000000-0000-0000-0000-000000000000"
+ "objectId": "00000000-1111-0000-1111-000000000000"
}
}
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json
index cb090cf3a347..def3d466c6ae 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Create.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "storageTemplate",
"artifact": {
@@ -108,7 +108,7 @@
}
},
"kind": "template",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "storageTemplate"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json
index 049caa06d20d..3eefc0672afb 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "storageTemplate"
},
@@ -57,7 +57,7 @@
}
},
"kind": "template",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "storageTemplate"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json
index 73a05618dc6b..ff695f3f6e27 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/ARMTemplateArtifact_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "storageTemplate"
},
@@ -57,7 +57,7 @@
}
},
"kind": "template",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "storageTemplate"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json
index cca70d10d24b..55f9878c3a5b 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Artifact_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint"
},
"responses": {
@@ -15,7 +15,7 @@
"principalIds": "[parameters('owners')]"
},
"kind": "roleAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "ownerAssignment"
},
@@ -33,7 +33,7 @@
}
},
"kind": "policyAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "costCenterPolicy"
},
@@ -87,7 +87,7 @@
}
},
"kind": "template",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/storageTemplate",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "storageTemplate"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json
index 26b221200fa7..7a542fd89bb1 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Create.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"blueprint": {
"properties": {
@@ -76,7 +76,7 @@
},
"targetScope": "subscription"
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints",
"name": "simpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json
index 1a2357c6be83..98f304e7d4af 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint"
},
"responses": {
@@ -40,7 +40,7 @@
"targetScope": "subscription",
"status": null
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints",
"name": "simpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json
index 8539596063a7..50ad976f4c97 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint"
},
"responses": {
@@ -40,7 +40,7 @@
"targetScope": "subscription",
"status": null
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints",
"name": "simpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json
index ebb99045b996..224c5bec5995 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/Blueprint_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b"
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
@@ -41,7 +41,7 @@
"targetScope": "subscription",
"status": null
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints",
"name": "simpleBlueprint"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json
index c5d64f13d1a3..a90feb52b569 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Create.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "costCenterPolicy",
"artifact": {
@@ -36,7 +36,7 @@
}
},
"kind": "policyAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "costCenterPolicy"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json
index e2833bc396a2..321f8b6effe3 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "costCenterPolicy"
},
@@ -21,7 +21,7 @@
}
},
"kind": "policyAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "costCenterPolicy"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json
index 2aa9b4603626..0bbc3884b739 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/PolicyAssignmentArtifact_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "costCenterPolicy"
},
@@ -21,7 +21,7 @@
}
},
"kind": "policyAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/costCenterPolicy",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "costCenterPolicy"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json
index aa09e4cd4004..c77a092f5527 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Create.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "ownerAssignment",
"artifact": {
@@ -22,7 +22,7 @@
"principalIds": "[parameters('owners')]"
},
"kind": "roleAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "ownerAssignment"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json
index ba2a47907d1c..6aba11d6ece4 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "ownerAssignment"
},
@@ -14,7 +14,7 @@
"principalIds": "[parameters('owners')]"
},
"kind": "roleAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "ownerAssignment"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json
index dc6499d168c4..f0fdb61156cc 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/RoleAssignmentArtifact_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"artifactName": "ownerAssignment"
},
@@ -14,7 +14,7 @@
"principalIds": "[parameters('owners')]"
},
"kind": "roleAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/artifacts/ownerAssignment",
"type": "Microsoft.Blueprint/blueprints/artifacts",
"name": "ownerAssignment"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json
index 32d5da5af37b..2777ac4c7eda 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedARMTemplateArtifact_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"versionId": "V2",
"artifactName": "storageTemplate"
@@ -58,7 +58,7 @@
}
},
"kind": "template",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/storageTemplate",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/storageTemplate",
"type": "Microsoft.Blueprint/blueprints/versions/artifacts",
"name": "storageTemplate"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json
index ed1f23bf8939..bd4173bf98e5 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedArtifact_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"versionId": "V2"
},
@@ -16,7 +16,7 @@
"principalIds": "[parameters('owners')]"
},
"kind": "roleAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/ownerAssignment",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/ownerAssignment",
"type": "Microsoft.Blueprint/blueprints/versions/artifacts",
"name": "ownerAssignment"
},
@@ -34,7 +34,7 @@
}
},
"kind": "policyAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/costCenterPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/costCenterPolicy",
"type": "Microsoft.Blueprint/blueprints/versions/artifacts",
"name": "costCenterPolicy"
},
@@ -88,7 +88,7 @@
}
},
"kind": "template",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/storageTemplate",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/storageTemplate",
"type": "Microsoft.Blueprint/blueprints/versions/artifacts",
"name": "storageTemplate"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json
index 97114fa52d15..d0f2e039078e 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Delete.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"versionId": "v2"
},
@@ -44,7 +44,7 @@
},
"targetScope": "subscription"
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints/versions",
"name": "v2"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json
index 05dbf10757e6..e309c8668768 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"versionId": "v2"
},
@@ -44,7 +44,7 @@
},
"targetScope": "subscription"
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints/versions",
"name": "v2"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json
index a4897d774699..b5919a43c693 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint"
},
"responses": {
@@ -43,7 +43,7 @@
"targetScope": "subscription",
"status": null
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/v1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/v1",
"type": "Microsoft.Blueprint/blueprints/versions",
"name": "v1"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json
index f232cca9cb7a..bb6bc58acf87 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedBlueprint_Publish.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"versionId": "v2"
},
@@ -44,7 +44,7 @@
},
"targetScope": "subscription"
},
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint",
"type": "Microsoft.Blueprint/blueprints/versions",
"name": "v2"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json
index 34e8377d08de..4858a53e6511 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedPolicyAssignmentArtifact_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"versionId": "V2",
"artifactName": "costCenterPolicy"
@@ -22,7 +22,7 @@
}
},
"kind": "policyAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/costCenterPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/costCenterPolicy",
"type": "Microsoft.Blueprint/blueprints/versions/artifacts",
"name": "costCenterPolicy"
}
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json
index 4b224b7d40ea..a769b3c81d24 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/examples/subscriptionBPDef/SealedRoleAssignmentArtifact_Get.json
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2018-11-01-preview",
- "scope": "subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
"blueprintName": "simpleBlueprint",
"versionId": "V2",
"artifactName": "ownerAssignment"
@@ -15,7 +15,7 @@
"principalIds": "[parameters('owners')]"
},
"kind": "roleAssignment",
- "id": "/subscriptions/f8df94f2-2f5a-4f4a-bcaf-1bb992fb564b/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/ownerAssignment",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Blueprint/blueprints/simpleBlueprint/versions/V2/artifacts/ownerAssignment",
"type": "Microsoft.Blueprint/blueprints/versions/artifacts",
"name": "ownerAssignment"
}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json
index c4c0937d18bb..bdb75d317201 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json
@@ -762,7 +762,7 @@
}
}
}
- }
+ }
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/Connections/{connectionName}": {
"put": {
@@ -1904,7 +1904,7 @@
],
"properties": {
"properties": {
- "$ref": "#/definitions/ConnectionSettingProperties",
+ "$ref": "#/definitions/ConnectionSettingProperties",
"description": "The set of properties specific to bot channel resource"
}
}
@@ -1929,7 +1929,7 @@
"ServiceProviderResponseList": {
"properties": {
"nextLink": {
- "description": "The link used to get the next page of bot service service providers.",
+ "description": "The link used to get the next page of bot service providers.",
"type": "string"
},
"value": {
@@ -1938,10 +1938,10 @@
"items": {
"$ref": "#/definitions/ServiceProvider"
},
- "description": "Gets the list of bot service service providers and their properties."
+ "description": "Gets the list of bot service providers and their properties."
}
},
- "description": "The list of bot service service providers response."
+ "description": "The list of bot service providers response."
},
"ServiceProviderParameter": {
"properties": {
@@ -1990,7 +1990,7 @@
"description": "Display Name of the Service Provider",
"readOnly": true
},
- "serviceProviderName": {
+ "serviceProviderName": {
"type": "string",
"description": "Display Name of the Service Provider",
"readOnly": true
@@ -2212,38 +2212,38 @@
"modelAsString": false,
"values": [
{
- "value": "FacebookChannel"
+ "value": "FacebookChannel"
},
{
- "value": "EmailChannel"
+ "value": "EmailChannel"
},
{
- "value": "KikChannel"
+ "value": "KikChannel"
},
{
- "value": "TelegramChannel"
+ "value": "TelegramChannel"
},
{
- "value": "SlackChannel"
+ "value": "SlackChannel"
},
{
- "value": "MsTeamsChannel"
+ "value": "MsTeamsChannel"
},
{
- "value": "SkypeChannel"
+ "value": "SkypeChannel"
},
{
- "value": "WebChatChannel"
+ "value": "WebChatChannel"
},
{
- "value": "DirectLineChannel"
+ "value": "DirectLineChannel"
},
{
- "value": "SmsChannel"
+ "value": "SmsChannel"
}
]
},
"description": "The name of the Channel resource."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CheckNameAvailability.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CheckNameAvailability.json
index 76879ee47152..9fcfe64e34f5 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CheckNameAvailability.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CheckNameAvailability.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CreateBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CreateBot.json
index 93aef41e70a4..d996c2ff1856 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CreateBot.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/CreateBot.json
@@ -105,4 +105,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteBot.json
index 08b09eeb7aaa..db0a9ac54feb 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteBot.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteBot.json
@@ -6,9 +6,7 @@
"resourceName": "samplebotname"
},
"responses": {
- "200": {
- },
- "204": {
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteChannel.json
index 3ef121f395fe..e4d585042a4e 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteChannel.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel"
- },
- "responses": {
- "200": {
- },
- "204": {
- }
- }
- }
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteConnection.json
index 7f11a36734a0..cbf6b1cbcae2 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteConnection.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/DeleteConnection.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "connectionName": "sampleConnection"
- },
- "responses": {
- "200": {
- },
- "204": {
- }
- }
- }
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "connectionName": "sampleConnection"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetBot.json
index 2a350bd44f8c..2f10fc01f960 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetBot.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetBot.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetChannel.json
index b4d47e2ff7bd..347067a44c35 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetChannel.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel"
- },
- "responses": {
- "200": {
- "body": {
- "location": "global",
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetConnection.json
index c77afa08e4f4..68d996399fbb 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetConnection.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetConnection.json
@@ -1,36 +1,36 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "connectionName": "sampleConnection"
- },
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "id": "someid",
- "etag": "etag1",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "connectionName": "sampleConnection"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "global",
+ "id": "someid",
+ "etag": "etag1",
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetOperations.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetOperations.json
index 1f4b66c26e48..69c51e28cc39 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetOperations.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/GetOperations.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsByResourceGroup.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsByResourceGroup.json
index 848588797bff..a4149dff51f7 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsByResourceGroup.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsByResourceGroup.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsBySubscription.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsBySubscription.json
index d67462778e86..e9b7512bea46 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsBySubscription.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListBotsBySubscription.json
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannel.json
index e67f9a9991cc..9e40a9715f36 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannel.json
@@ -1,27 +1,27 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel",
- "parameters": {
- "location": "global"
- }
- },
- "responses": {
- "200": {
- "body": {
- "location": "global",
+ "location": "global"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannelsByBotService.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannelsByBotService.json
index 2f6126c6eef8..679c19597e75 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannelsByBotService.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListChannelsByBotService.json
@@ -1,46 +1,46 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "resourceName": "samplebotname",
- "api-version": "2017-01-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "location": "global",
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "resourceName": "samplebotname",
+ "api-version": "2017-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
- },
- {
- "location": "global",
+ }
+ },
+ {
+ "location": "global",
+ "properties": {
+ "channelName": "FacebookChannel",
"properties": {
- "channelName": "FacebookChannel",
- "properties":{
- "verifyToken": "othertoken",
- "appId": "id",
- "appSecret": "secret",
- "callbackUrl": "appid",
- "isEnabled": true,
- "pages": [
- {
- "accessToken": "token",
- "id": "id"
- }
- ]
- }
+ "verifyToken": "othertoken",
+ "appId": "id",
+ "appSecret": "secret",
+ "callbackUrl": "appid",
+ "isEnabled": true,
+ "pages": [
+ {
+ "accessToken": "token",
+ "id": "id"
+ }
+ ]
}
}
- ]
- }
+ }
+ ]
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListConnectionsByBotService.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListConnectionsByBotService.json
index 49c377536a72..e43d92231c3a 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListConnectionsByBotService.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListConnectionsByBotService.json
@@ -1,35 +1,35 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
}
- }
- ]
+ ]
+ }
+ }
+ ]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json
index ff0c08f4bb8d..b74af64b98b1 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "api-version": "2017-01-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "id": "sampleId",
- "displayName": "sample display name",
- "serviceProviderName": "sampleServiceProvider",
- "devPortalUrl": "sampleDevPortalUrl",
- "iconUrl": "sampleIconUrl",
- "parameters": [
- {
- "name": "sampleParameterName",
- "type": "sampleParameterType",
- "displayName": "sampleDisplayName",
- "description": "sampleDescription",
- "helpUrl": "sampleHelpUrl",
- "default": "sampleDefaultValue"
- }
- ]
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "api-version": "2017-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "id": "sampleId",
+ "displayName": "sample display name",
+ "serviceProviderName": "sampleServiceProvider",
+ "devPortalUrl": "sampleDevPortalUrl",
+ "iconUrl": "sampleIconUrl",
+ "parameters": [
+ {
+ "name": "sampleParameterName",
+ "type": "sampleParameterType",
+ "displayName": "sampleDisplayName",
+ "description": "sampleDescription",
+ "helpUrl": "sampleHelpUrl",
+ "default": "sampleDefaultValue"
}
- }
- ]
+ ]
+ }
+ }
+ ]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutChannel.json
index e14c2fd30a52..7b9f1bb62567 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutChannel.json
@@ -1,15 +1,29 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel",
- "parameters": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
+ "properties": {
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"location": "global",
"properties": {
"channelName": "EmailChannel",
- "properties":{
+ "properties": {
"emailAddress": "a@b.com",
"password": "pwd",
"isEnabled": true
@@ -17,32 +31,18 @@
}
}
},
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
- }
- }
- },
- "201": {
- "body": {
- "location": "global",
+ "201": {
+ "body": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutConnection.json
index 513f1bd473c5..d010920c65a2 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutConnection.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/PutConnection.json
@@ -1,84 +1,84 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "connectionName": "sampleConnection",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "connectionName": "sampleConnection",
- "parameters": {
- "location": "West US",
- "etag": "etag1",
- "name": "samplename",
- "type": "sampletype",
+ "location": "West US",
+ "etag": "etag1",
+ "name": "samplename",
+ "type": "sampletype",
+ "id": "someid",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "global",
"id": "someid",
+ "etag": "etag1",
+ "name": "The Name of the Connection Setting",
"properties": {
"clientId": "sampleclientid",
"clientSecret": "samplesecret",
"scopes": "samplescope",
"serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
"parameters": [
{
- "key": "key1",
- "value": "value1"
+ "key": "key1",
+ "value": "value1"
},
{
- "key": "key2",
- "value": "value2"
+ "key": "key2",
+ "value": "value2"
}
]
}
}
},
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "id": "someid",
- "etag": "etag1",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
- }
- },
- "201": {
- "body": {
- "location": "global",
- "id": "someid",
- "etag": "etag1",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
+ "201": {
+ "body": {
+ "location": "global",
+ "id": "someid",
+ "etag": "etag1",
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
}
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateBot.json
index 350fb4b8dd25..e43047d57cae 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateBot.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateBot.json
@@ -107,4 +107,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateChannel.json
index e14c2fd30a52..7b9f1bb62567 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateChannel.json
@@ -1,15 +1,29 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel",
- "parameters": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
+ "properties": {
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"location": "global",
"properties": {
"channelName": "EmailChannel",
- "properties":{
+ "properties": {
"emailAddress": "a@b.com",
"password": "pwd",
"isEnabled": true
@@ -17,32 +31,18 @@
}
}
},
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
- }
- }
- },
- "201": {
- "body": {
- "location": "global",
+ "201": {
+ "body": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateConnection.json
index ed4550c1d27f..37bf4e7d4431 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateConnection.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/UpdateConnection.json
@@ -1,13 +1,38 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "connectionName": "sampleConnection",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "connectionName": "sampleConnection",
- "parameters": {
+ "location": "global",
+ "etag": "etag1",
+ "id": "someid",
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"location": "global",
- "etag": "etag1",
"id": "someid",
"name": "The Name of the Connection Setting",
"properties": {
@@ -18,66 +43,41 @@
"serviceProviderDisplayName": "serviceProviderDisplayName",
"parameters": [
{
- "key": "key1",
- "value": "value1"
+ "key": "key1",
+ "value": "value1"
},
{
- "key": "key2",
- "value": "value2"
+ "key": "key2",
+ "value": "value2"
}
]
}
}
},
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "id": "someid",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
- }
- },
- "201": {
- "body": {
- "location": "global",
- "etag": "etag1",
- "id": "someid",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
+ "201": {
+ "body": {
+ "location": "global",
+ "etag": "etag1",
+ "id": "someid",
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
}
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json
index f49c370b5504..507ff3a08f79 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json
@@ -1105,7 +1105,7 @@
"description": "Creates an Enterprise Channel.",
"operationId": "EnterpriseChannels_Create",
"x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options" : {
+ "x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
@@ -1164,7 +1164,7 @@
"description": "Updates an Enterprise Channel.",
"operationId": "EnterpriseChannels_Update",
"x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options" : {
+ "x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
@@ -1224,7 +1224,7 @@
"description": "Deletes an Enterprise Channel from the resource group",
"operationId": "EnterpriseChannels_Delete",
"x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options" : {
+ "x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"x-ms-examples": {
@@ -2217,7 +2217,7 @@
"ServiceProviderResponseList": {
"properties": {
"nextLink": {
- "description": "The link used to get the next page of bot service service providers.",
+ "description": "The link used to get the next page of bot service providers.",
"type": "string"
},
"value": {
@@ -2226,10 +2226,10 @@
"items": {
"$ref": "#/definitions/ServiceProvider"
},
- "description": "Gets the list of bot service service providers and their properties."
+ "description": "Gets the list of bot service providers and their properties."
}
},
- "description": "The list of bot service service providers response."
+ "description": "The list of bot service providers response."
},
"ServiceProviderParameter": {
"properties": {
@@ -2489,7 +2489,18 @@
"state": {
"type": "string",
"description": "The current state of the Enterprise Channel.",
- "enum": ["Creating", "CreateFailed", "Started", "Starting", "StartFailed", "Stopped", "Stopping", "StopFailed", "Deleting", "DeleteFailed"],
+ "enum": [
+ "Creating",
+ "CreateFailed",
+ "Started",
+ "Starting",
+ "StartFailed",
+ "Stopped",
+ "Stopping",
+ "StopFailed",
+ "Deleting",
+ "DeleteFailed"
+ ],
"x-ms-enum": {
"name": "EnterpriseChannelState",
"modelAsString": true
@@ -2518,7 +2529,18 @@
"state": {
"type": "string",
"description": "The current state of the Enterprise Channel Node.",
- "enum": ["Creating", "CreateFailed", "Started", "Starting", "StartFailed", "Stopped", "Stopping", "StopFailed", "Deleting", "DeleteFailed"],
+ "enum": [
+ "Creating",
+ "CreateFailed",
+ "Started",
+ "Starting",
+ "StartFailed",
+ "Stopped",
+ "Stopping",
+ "StopFailed",
+ "Deleting",
+ "DeleteFailed"
+ ],
"x-ms-enum": {
"name": "EnterpriseChannelNodeState",
"modelAsString": true
@@ -2650,4 +2672,4 @@
"description": "The name of the Channel resource."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.json
index 28cf840c235e..b2cfc2eea323 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.json
index 93aef41e70a4..d996c2ff1856 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.json
@@ -105,4 +105,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json
index 85c333d8ee82..24158455c93a 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateEnterpriseChannel.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.json
index 08b09eeb7aaa..db0a9ac54feb 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.json
@@ -6,9 +6,7 @@
"resourceName": "samplebotname"
},
"responses": {
- "200": {
- },
- "204": {
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.json
index 3ef121f395fe..e4d585042a4e 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel"
- },
- "responses": {
- "200": {
- },
- "204": {
- }
- }
- }
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.json
index 7f11a36734a0..cbf6b1cbcae2 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "connectionName": "sampleConnection"
- },
- "responses": {
- "200": {
- },
- "204": {
- }
- }
- }
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "connectionName": "sampleConnection"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json
index 06808df3de3f..5c848da77dce 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteEnterpriseChannel.json
@@ -6,9 +6,7 @@
"resourceName": "contoso-dl"
},
"responses": {
- "200": {
- },
- "204": {
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json
index a5f6c1221cd6..6718a287512b 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/EnterpriseChannelCheckNameAvailability.json
@@ -2,8 +2,7 @@
"parameters": {
"api-version": "2018-07-12",
"parameters": {
- "name": "enterpriseChannelName",
- "type": "string"
+ "name": "enterpriseChannelName"
}
},
"responses": {
@@ -14,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.json
index 2a350bd44f8c..2f10fc01f960 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.json
index b4d47e2ff7bd..347067a44c35 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel"
- },
- "responses": {
- "200": {
- "body": {
- "location": "global",
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.json
index c77afa08e4f4..68d996399fbb 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.json
@@ -1,36 +1,36 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "connectionName": "sampleConnection"
- },
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "id": "someid",
- "etag": "etag1",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "connectionName": "sampleConnection"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "global",
+ "id": "someid",
+ "etag": "etag1",
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json
index 36160b0941fc..e75ee68f0148 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetEnterpriseChannel.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.json
index 1f4b66c26e48..69c51e28cc39 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.json
index 848588797bff..a4149dff51f7 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsBySubscription.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsBySubscription.json
index d67462778e86..e9b7512bea46 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsBySubscription.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsBySubscription.json
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannel.json
index e67f9a9991cc..9e40a9715f36 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannel.json
@@ -1,27 +1,27 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel",
- "parameters": {
- "location": "global"
- }
- },
- "responses": {
- "200": {
- "body": {
- "location": "global",
+ "location": "global"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannelsByBotService.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannelsByBotService.json
index 2f6126c6eef8..679c19597e75 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannelsByBotService.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListChannelsByBotService.json
@@ -1,46 +1,46 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "resourceName": "samplebotname",
- "api-version": "2017-01-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "location": "global",
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "resourceName": "samplebotname",
+ "api-version": "2017-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
- },
- {
- "location": "global",
+ }
+ },
+ {
+ "location": "global",
+ "properties": {
+ "channelName": "FacebookChannel",
"properties": {
- "channelName": "FacebookChannel",
- "properties":{
- "verifyToken": "othertoken",
- "appId": "id",
- "appSecret": "secret",
- "callbackUrl": "appid",
- "isEnabled": true,
- "pages": [
- {
- "accessToken": "token",
- "id": "id"
- }
- ]
- }
+ "verifyToken": "othertoken",
+ "appId": "id",
+ "appSecret": "secret",
+ "callbackUrl": "appid",
+ "isEnabled": true,
+ "pages": [
+ {
+ "accessToken": "token",
+ "id": "id"
+ }
+ ]
}
}
- ]
- }
+ }
+ ]
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListConnectionsByBotService.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListConnectionsByBotService.json
index 49c377536a72..e43d92231c3a 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListConnectionsByBotService.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListConnectionsByBotService.json
@@ -1,35 +1,35 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
}
- }
- ]
+ ]
+ }
+ }
+ ]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json
index a3ec61874c53..efce8f37fc1a 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListEnterpriseChannelsByResourceGroup.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListServiceProviders.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListServiceProviders.json
index ff0c08f4bb8d..b74af64b98b1 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListServiceProviders.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/ListServiceProviders.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "subscriptionId": "subscription-id",
- "api-version": "2017-01-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "id": "sampleId",
- "displayName": "sample display name",
- "serviceProviderName": "sampleServiceProvider",
- "devPortalUrl": "sampleDevPortalUrl",
- "iconUrl": "sampleIconUrl",
- "parameters": [
- {
- "name": "sampleParameterName",
- "type": "sampleParameterType",
- "displayName": "sampleDisplayName",
- "description": "sampleDescription",
- "helpUrl": "sampleHelpUrl",
- "default": "sampleDefaultValue"
- }
- ]
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "api-version": "2017-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "id": "sampleId",
+ "displayName": "sample display name",
+ "serviceProviderName": "sampleServiceProvider",
+ "devPortalUrl": "sampleDevPortalUrl",
+ "iconUrl": "sampleIconUrl",
+ "parameters": [
+ {
+ "name": "sampleParameterName",
+ "type": "sampleParameterType",
+ "displayName": "sampleDisplayName",
+ "description": "sampleDescription",
+ "helpUrl": "sampleHelpUrl",
+ "default": "sampleDefaultValue"
}
- }
- ]
+ ]
+ }
+ }
+ ]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutChannel.json
index e14c2fd30a52..7b9f1bb62567 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutChannel.json
@@ -1,15 +1,29 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel",
- "parameters": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
+ "properties": {
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"location": "global",
"properties": {
"channelName": "EmailChannel",
- "properties":{
+ "properties": {
"emailAddress": "a@b.com",
"password": "pwd",
"isEnabled": true
@@ -17,32 +31,18 @@
}
}
},
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
- }
- }
- },
- "201": {
- "body": {
- "location": "global",
+ "201": {
+ "body": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutConnection.json
index 513f1bd473c5..d010920c65a2 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutConnection.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/PutConnection.json
@@ -1,84 +1,84 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "connectionName": "sampleConnection",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "connectionName": "sampleConnection",
- "parameters": {
- "location": "West US",
- "etag": "etag1",
- "name": "samplename",
- "type": "sampletype",
+ "location": "West US",
+ "etag": "etag1",
+ "name": "samplename",
+ "type": "sampletype",
+ "id": "someid",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "global",
"id": "someid",
+ "etag": "etag1",
+ "name": "The Name of the Connection Setting",
"properties": {
"clientId": "sampleclientid",
"clientSecret": "samplesecret",
"scopes": "samplescope",
"serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
"parameters": [
{
- "key": "key1",
- "value": "value1"
+ "key": "key1",
+ "value": "value1"
},
{
- "key": "key2",
- "value": "value2"
+ "key": "key2",
+ "value": "value2"
}
]
}
}
},
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "id": "someid",
- "etag": "etag1",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
- }
- },
- "201": {
- "body": {
- "location": "global",
- "id": "someid",
- "etag": "etag1",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
+ "201": {
+ "body": {
+ "location": "global",
+ "id": "someid",
+ "etag": "etag1",
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
}
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateBot.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateBot.json
index 350fb4b8dd25..e43047d57cae 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateBot.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateBot.json
@@ -107,4 +107,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateChannel.json
index e14c2fd30a52..7b9f1bb62567 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateChannel.json
@@ -1,15 +1,29 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "channelName": "EmailChannel",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "channelName": "EmailChannel",
- "parameters": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
+ "properties": {
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"location": "global",
"properties": {
"channelName": "EmailChannel",
- "properties":{
+ "properties": {
"emailAddress": "a@b.com",
"password": "pwd",
"isEnabled": true
@@ -17,32 +31,18 @@
}
}
},
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
- }
- }
- },
- "201": {
- "body": {
- "location": "global",
+ "201": {
+ "body": {
+ "location": "global",
+ "properties": {
+ "channelName": "EmailChannel",
"properties": {
- "channelName": "EmailChannel",
- "properties":{
- "emailAddress": "a@b.com",
- "password": "pwd",
- "isEnabled": true
- }
+ "emailAddress": "a@b.com",
+ "password": "pwd",
+ "isEnabled": true
}
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateConnection.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateConnection.json
index ed4550c1d27f..37bf4e7d4431 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateConnection.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateConnection.json
@@ -1,13 +1,38 @@
{
+ "parameters": {
+ "subscriptionId": "subscription-id",
+ "resourceGroupName": "OneResourceGroupName",
+ "api-version": "2017-01-01",
+ "resourceName": "samplebotname",
+ "connectionName": "sampleConnection",
"parameters": {
- "subscriptionId": "subscription-id",
- "resourceGroupName": "OneResourceGroupName",
- "api-version": "2017-01-01",
- "resourceName": "samplebotname",
- "connectionName": "sampleConnection",
- "parameters": {
+ "location": "global",
+ "etag": "etag1",
+ "id": "someid",
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
"location": "global",
- "etag": "etag1",
"id": "someid",
"name": "The Name of the Connection Setting",
"properties": {
@@ -18,66 +43,41 @@
"serviceProviderDisplayName": "serviceProviderDisplayName",
"parameters": [
{
- "key": "key1",
- "value": "value1"
+ "key": "key1",
+ "value": "value1"
},
{
- "key": "key2",
- "value": "value2"
+ "key": "key2",
+ "value": "value2"
}
]
}
}
},
- "responses": {
- "200": {
- "body": {
- "location": "global",
- "id": "someid",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
- }
- },
- "201": {
- "body": {
- "location": "global",
- "etag": "etag1",
- "id": "someid",
- "name": "The Name of the Connection Setting",
- "properties": {
- "clientId": "sampleclientid",
- "clientSecret": "samplesecret",
- "scopes": "samplescope",
- "serviceProviderId": "serviceproviderid",
- "serviceProviderDisplayName": "serviceProviderDisplayName",
- "parameters": [
- {
- "key": "key1",
- "value": "value1"
- },
- {
- "key": "key2",
- "value": "value2"
- }
- ]
- }
+ "201": {
+ "body": {
+ "location": "global",
+ "etag": "etag1",
+ "id": "someid",
+ "name": "The Name of the Connection Setting",
+ "properties": {
+ "clientId": "sampleclientid",
+ "clientSecret": "samplesecret",
+ "scopes": "samplescope",
+ "serviceProviderId": "serviceproviderid",
+ "serviceProviderDisplayName": "serviceProviderDisplayName",
+ "parameters": [
+ {
+ "key": "key1",
+ "value": "value1"
+ },
+ {
+ "key": "key2",
+ "value": "value2"
+ }
+ ]
}
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json
index 1481a2406a65..c3c9eb05a1a7 100644
--- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json
+++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/UpdateEnterpriseChannel.json
@@ -76,4 +76,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/botservice/resource-manager/readme.java.md b/specification/botservice/resource-manager/readme.java.md
new file mode 100644
index 000000000000..7c13266e26db
--- /dev/null
+++ b/specification/botservice/resource-manager/readme.java.md
@@ -0,0 +1,46 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.botservice
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-botservice
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-07-12
+ - tag: package-2017-12-01
+```
+
+### Tag: package-2018-07-12 and java
+
+These settings apply only when `--tag=package-2018-07-12 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-07-12' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.botservice.v2018_07_12
+ output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2018_07_12
+regenerate-manager: true
+generate-interface: true
+```
+### Tag: package-2017-12-01 and java
+
+These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.botservice.v2017_12_01
+ output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2017_12_01
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/botservice/resource-manager/readme.md b/specification/botservice/resource-manager/readme.md
index feddccaf1218..a0dfeda29e25 100644
--- a/specification/botservice/resource-manager/readme.md
+++ b/specification/botservice/resource-manager/readme.md
@@ -7,40 +7,6 @@ This is the AutoRest configuration file for BotService.
---
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2017-12-01
- - tag: package-2018-07-12
-```
-
-### Tag: package-2018-07-12 and java
-
-These settings apply only when `--tag=package-2018-07-12 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-07-12' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.botservice.v2018-07-12
- output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2018-07-12
-regenerate-manager: true
-generate-interface: true
-```
-### Tag: package-2017-12-01 and java
-
-These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.botservice.v2017_12_01
- output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2017_12_01
-regenerate-manager: true
-generate-interface: true
-```
-
## Getting Started
To build the SDK for BotService, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
@@ -138,6 +104,10 @@ csharp:
See configuration in [readme.go.md](./readme.go.md)
+## Java
+
+See configuration in [readme.java.md](./readme.java.md)
+
## Python
See readme.python.md file.
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json
index 952e81ffc4ab..3080deedf48a 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdn.json
@@ -870,7 +870,7 @@
"schema": {
"$ref": "#/definitions/Endpoint"
}
- },
+ },
"202": {
"description": "Accepted and the operation will complete asynchronously.",
"schema": {
@@ -936,7 +936,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted and the operation will complete asynchronously."
},
@@ -999,7 +999,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted and the operation will complete asynchronously."
},
@@ -1656,7 +1656,7 @@
"CustomDomains_EnableCustomHttpsUsingYourOwnCertificate": {
"$ref": "./examples/CustomDomains_EnableCustomHttpsUsingBYOC.json"
},
- "CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate" :{
+ "CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate": {
"$ref": "./examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json"
}
},
@@ -2220,7 +2220,7 @@
"required": [
"rules"
],
- "properties":{
+ "properties": {
"description": {
"description": "User-friendly description of the policy.",
"type": "string"
@@ -2243,7 +2243,7 @@
"description": "Resource ID."
}
}
- }
+ }
}
},
"DeliveryRule": {
@@ -2279,7 +2279,7 @@
}
}
},
- "DeliveryRuleCondition":{
+ "DeliveryRuleCondition": {
"description": "A condition for the delivery rule.",
"discriminator": "name",
"required": [
@@ -2538,7 +2538,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -2585,7 +2585,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestMethodConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -2603,7 +2603,8 @@
"type": "boolean"
},
"matchValues": {
- "description": "The match value for the condition of the delivery rule","type": "array",
+ "description": "The match value for the condition of the delivery rule",
+ "type": "array",
"items": {
"type": "string",
"enum": [
@@ -2631,7 +2632,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleQueryStringConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -2671,7 +2672,7 @@
}
}
}
- },
+ },
"PostArgsMatchConditionParameters": {
"description": "Defines the parameters for PostArgs match conditions",
"required": [
@@ -2685,7 +2686,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRulePostArgsConditionParameters"
- ]
+ ]
},
"selector": {
"description": "Name of PostArg to be matched",
@@ -2742,7 +2743,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestUriConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -2796,7 +2797,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestHeaderConditionParameters"
- ]
+ ]
},
"selector": {
"description": "Name of Header to be matched",
@@ -2853,7 +2854,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestBodyConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -2906,7 +2907,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -2944,7 +2945,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlPathMatchConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -2998,7 +2999,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFileExtensionMatchConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -3038,7 +3039,7 @@
}
}
}
- },
+ },
"UrlFileNameMatchConditionParameters": {
"description": "Defines the parameters for UrlFilename match conditions",
"required": [
@@ -3051,7 +3052,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlFilenameConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -3091,7 +3092,7 @@
}
}
}
- },
+ },
"IsDeviceMatchConditionParameters": {
"description": "Defines the parameters for IsDevice match conditions",
"required": [
@@ -3104,7 +3105,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleIsDeviceConditionParameters"
- ]
+ ]
},
"operator": {
"description": "Describes operator to be matched",
@@ -3140,7 +3141,7 @@
}
}
}
- },
+ },
"DeliveryRuleAction": {
"description": "An action for the delivery rule.",
"discriminator": "name",
@@ -3172,7 +3173,7 @@
"$ref": "#/definitions/DeliveryRuleAction"
}
],
- "required":[
+ "required": [
"parameters"
],
"properties": {
@@ -3193,7 +3194,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters"
- ]
+ ]
},
"redirectType": {
"description": "The redirect type the rule will use when redirecting traffic.",
@@ -3209,7 +3210,7 @@
"modelAsString": true
}
},
- "destinationProtocol":{
+ "destinationProtocol": {
"description": "Protocol to use for the redirect. The default value is MatchRequest",
"type": "string",
"enum": [
@@ -3223,14 +3224,14 @@
}
},
"customPath": {
- "description": "The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.",
- "type": "string"
+ "description": "The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.",
+ "type": "string"
},
- "customHostname":{
- "description": "Host to redirect. Leave empty to use use the incoming host as the destination host.",
+ "customHostname": {
+ "description": "Host to redirect. Leave empty to use the incoming host as the destination host.",
"type": "string"
},
- "customQueryString":{
+ "customQueryString": {
"description": "The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them.",
"type": "string"
},
@@ -3248,8 +3249,8 @@
"$ref": "#/definitions/DeliveryRuleAction"
}
],
- "required":[
- "parameters"
+ "required": [
+ "parameters"
],
"properties": {
"parameters": {
@@ -3259,23 +3260,23 @@
}
},
"DeliveryRuleResponseHeaderAction": {
- "description": "Defines the response header action for the delivery rule.",
- "x-ms-discriminator-value": "ModifyResponseHeader",
- "allOf": [
- {
- "$ref": "#/definitions/DeliveryRuleAction"
- }
- ],
- "required":[
- "parameters"
- ],
- "properties": {
- "parameters": {
- "description": "Defines the parameters for the action.",
- "$ref": "#/definitions/HeaderActionParameters"
- }
+ "description": "Defines the response header action for the delivery rule.",
+ "x-ms-discriminator-value": "ModifyResponseHeader",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
}
- },
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/HeaderActionParameters"
+ }
+ }
+ },
"HeaderActionParameters": {
"description": "Defines the parameters for the request header action.",
"required": [
@@ -3288,7 +3289,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleHeaderActionParameters"
- ]
+ ]
},
"headerAction": {
"description": "Action to perform",
@@ -3308,9 +3309,9 @@
"type": "string"
},
"value": {
- "description": "Value for the specified action",
- "type": "string"
- }
+ "description": "Value for the specified action",
+ "type": "string"
+ }
}
},
"DeliveryRuleCacheExpirationAction": {
@@ -3321,7 +3322,7 @@
"$ref": "#/definitions/DeliveryRuleAction"
}
],
- "required":[
+ "required": [
"parameters"
],
"properties": {
@@ -3343,7 +3344,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"
- ]
+ ]
},
"cacheBehavior": {
"description": "Caching behavior for the requests",
@@ -3351,7 +3352,7 @@
"enum": [
"BypassCache",
"Override",
- "SetIfMissing"
+ "SetIfMissing"
],
"x-ms-enum": {
"name": "cacheBehavior",
@@ -3777,7 +3778,7 @@
"$ref": "#/definitions/CdnCertificateSourceParameters"
}
}
- },
+ },
"CdnCertificateSourceParameters": {
"description": "Defines the parameters for using CDN managed certificate for securing custom domain.",
"required": [
@@ -3789,7 +3790,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"
- ]
+ ]
},
"certificateType": {
"description": "Type of certificate used",
@@ -3822,7 +3823,7 @@
"$ref": "#/definitions/KeyVaultCertificateSourceParameters"
}
}
- },
+ },
"KeyVaultCertificateSourceParameters": {
"description": "Describes the parameters for using a user's KeyVault certificate for securing custom domain.",
"required": [
@@ -3840,7 +3841,7 @@
"type": "string",
"enum": [
"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"
- ]
+ ]
},
"subscriptionId": {
"description": "Subscription Id of the user's Key Vault containing the SSL certificate",
@@ -3866,7 +3867,7 @@
"description": "Describes the action that shall be taken when the certificate is updated in Key Vault.",
"type": "string",
"enum": [
- "NoAction"
+ "NoAction"
],
"x-ms-enum": {
"name": "UpdateRule",
@@ -3877,7 +3878,7 @@
"description": "Describes the action that shall be taken when the certificate is removed from Key Vault.",
"type": "string",
"enum": [
- "NoAction"
+ "NoAction"
],
"x-ms-enum": {
"name": "DeleteRule",
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json
index 2ddeb03f9833..3cc5fc232038 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/cdnwebapplicationfirewall.json
@@ -355,7 +355,7 @@
}
]
},
- "CdnWebApplicationFirewallPolicyPatchParameters" : {
+ "CdnWebApplicationFirewallPolicyPatchParameters": {
"type": "object",
"description": "Properties required to update a CdnWebApplicationFirewallPolicy.",
"properties": {
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json
index ec24c26469aa..60fcf895f682 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailability.json
@@ -2,8 +2,8 @@
"parameters": {
"api-version": "2019-06-15-preview",
"checkNameAvailabilityInput": {
- "name": "sampleName",
- "type": "Microsoft.Cdn/Profiles/Endpoints"
+ "name": "sampleName",
+ "type": "Microsoft.Cdn/Profiles/Endpoints"
}
},
"responses": {
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json
index 1e4dc44f7607..60d01556d913 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CheckNameAvailabilityWithSubscription.json
@@ -3,8 +3,8 @@
"api-version": "2019-06-15-preview",
"subscriptionId": "subid",
"checkNameAvailabilityInput": {
- "name": "sampleName",
- "type": "Microsoft.Cdn/Profiles/Endpoints"
+ "name": "sampleName",
+ "type": "Microsoft.Cdn/Profiles/Endpoints"
}
},
"responses": {
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json
index 137bd81a0719..7e601df6d5e7 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Create.json
@@ -19,12 +19,12 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Enabling",
- "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
- "validationData": null
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
}
}
},
@@ -34,12 +34,12 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Enabling",
- "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
- "validationData": null
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
}
}
},
@@ -49,14 +49,14 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Enabling",
- "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
- "validationData": null
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json
index 7f310feaae5f..8579819214ac 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Delete.json
@@ -15,12 +15,12 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Enabling",
- "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
- "validationData": null
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
}
}
},
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json
index c08a7f24795e..686e194a2242 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_DisableCustomHttps.json
@@ -15,12 +15,12 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Enabling",
- "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
- "validationData": null
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": null
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
index 5167f5a3740d..7ebebadbf6cd 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
@@ -10,15 +10,15 @@
"certificateSource": "AzureKeyVault",
"protocolType": "ServerNameIndication",
"certificateSourceParameters": {
- "@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters",
- "subscriptionId":"subid",
- "resourceGroupName":"RG",
- "vaultName":"kv",
- "secretName" : "secret1",
- "secretVersion" :"00000000-0000-0000-0000-000000000000",
- "updateRule": "NoAction",
- "deleteRule": "NoAction"
- }
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "vaultName": "kv",
+ "secretName": "secret1",
+ "secretVersion": "00000000-0000-0000-0000-000000000000",
+ "updateRule": "NoAction",
+ "deleteRule": "NoAction"
+ }
}
},
"responses": {
@@ -29,12 +29,12 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Enabling",
- "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
- "validationData": "validationdata"
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": "validationdata"
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
index fd74bbb1f7a6..f84f85ff1637 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
@@ -1,36 +1,36 @@
{
- "parameters": {
- "api-version": "2019-06-15-preview",
- "subscriptionId": "subid",
- "resourceGroupName": "RG",
- "profileName": "profile1",
- "endpointName": "endpoint1",
- "customDomainName": "www-someDomain-net",
- "customDomainHttpsParameters": {
- "certificateSource": "Cdn",
- "protocolType": "ServerNameIndication",
- "certificateSourceParameters": {
- "@odata.type":"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters",
- "certificateType":"Shared"
- }
+ "parameters": {
+ "api-version": "2019-06-15-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainName": "www-someDomain-net",
+ "customDomainHttpsParameters": {
+ "certificateSource": "Cdn",
+ "protocolType": "ServerNameIndication",
+ "certificateSourceParameters": {
+ "@odata.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters",
+ "certificateType": "Shared"
}
- },
- "responses": {
- "200": {},
- "202": {
- "body": {
- "name": "www-someDomain-net",
- "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
- "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
- "properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Enabling",
- "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
- "validationData": "validationdata"
- }
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "body": {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Enabling",
+ "customHttpsProvisioningSubstate": "PendingDomainControlValidationREquestApproval",
+ "validationData": "validationdata"
}
}
}
}
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json
index 774825933e18..014333218011 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_Get.json
@@ -14,14 +14,14 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
"type": "Microsoft.Cdn/profiles/endpoints/customdomains",
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Disabled",
- "customHttpsProvisioningSubstate": "None",
- "validationData": null
- }
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Disabled",
+ "customHttpsProvisioningSubstate": "None",
+ "validationData": null
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json
index d2bb05579ca7..8c816f393d73 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/CustomDomains_ListByEndpoint.json
@@ -10,21 +10,21 @@
"200": {
"body": {
"value": [
- {
- "name": "www-someDomain-net",
- "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
- "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
- "properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "customHttpsProvisioningState": "Disabled",
- "customHttpsProvisioningSubstate": "None",
- "validationData": null
- }
+ {
+ "name": "www-someDomain-net",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/customdomains/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/customdomains",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "customHttpsProvisioningState": "Disabled",
+ "customHttpsProvisioningSubstate": "None",
+ "validationData": null
}
+ }
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json
index 59e09352ae02..8a643d4223ce 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/EdgeNodes_List.json
@@ -5,103 +5,103 @@
"responses": {
"200": {
"body": {
- "value": [
+ "value": [
+ {
+ "name": "Standard_Verizon",
+ "id": "/providers/Microsoft.Cdn/edgenodes/Standard_Verizon",
+ "type": "Microsoft.Cdn/edgenodes",
+ "properties": {
+ "ipAddressGroups": [
{
- "name": "Standard_Verizon",
- "id": "/providers/Microsoft.Cdn/edgenodes/Standard_Verizon",
- "type": "Microsoft.Cdn/edgenodes",
- "properties": {
- "ipAddressGroups": [
- {
- "deliveryRegion": "All",
- "ipv4Addresses": [
- {
- "baseIpAddress": "192.229.176.0",
- "prefixLength": 24
- },
- {
- "baseIpAddress": "180.240.184.128",
- "prefixLength": 25
- },
- {
- "baseIpAddress": "152.195.27.0",
- "prefixLength": 24
- }
- ],
- "ipv6Addresses": [
- {
- "baseIpAddress": "2606:2800:60f2::",
- "prefixLength": 48
- },
- {
- "baseIpAddress": "2606:2800:700c::",
- "prefixLength": 48
- }
- ]
- }
- ]
+ "deliveryRegion": "All",
+ "ipv4Addresses": [
+ {
+ "baseIpAddress": "192.229.176.0",
+ "prefixLength": 24
+ },
+ {
+ "baseIpAddress": "180.240.184.128",
+ "prefixLength": 25
+ },
+ {
+ "baseIpAddress": "152.195.27.0",
+ "prefixLength": 24
}
- },
+ ],
+ "ipv6Addresses": [
+ {
+ "baseIpAddress": "2606:2800:60f2::",
+ "prefixLength": 48
+ },
+ {
+ "baseIpAddress": "2606:2800:700c::",
+ "prefixLength": 48
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "name": "Premium_Verizon",
+ "id": "/providers/Microsoft.Cdn/edgenodes/Premium_Verizon",
+ "type": "Microsoft.Cdn/edgenodes",
+ "properties": {
+ "ipAddressGroups": [
{
- "name": "Premium_Verizon",
- "id": "/providers/Microsoft.Cdn/edgenodes/Premium_Verizon",
- "type": "Microsoft.Cdn/edgenodes",
- "properties": {
- "ipAddressGroups": [
- {
- "deliveryRegion": "All",
- "ipv4Addresses": [
- {
- "baseIpAddress": "192.229.176.0",
- "prefixLength": 24
- },
- {
- "baseIpAddress": "152.195.27.0",
- "prefixLength": 24
- }
- ],
- "ipv6Addresses": [
- {
- "baseIpAddress": "2606:2800:60f2::",
- "prefixLength": 48
- },
- {
- "baseIpAddress": "2606:2800:700c::",
- "prefixLength": 48
- }
- ]
- }
- ]
+ "deliveryRegion": "All",
+ "ipv4Addresses": [
+ {
+ "baseIpAddress": "192.229.176.0",
+ "prefixLength": 24
+ },
+ {
+ "baseIpAddress": "152.195.27.0",
+ "prefixLength": 24
}
- },
+ ],
+ "ipv6Addresses": [
+ {
+ "baseIpAddress": "2606:2800:60f2::",
+ "prefixLength": 48
+ },
+ {
+ "baseIpAddress": "2606:2800:700c::",
+ "prefixLength": 48
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "name": "Custom_Verizon",
+ "id": "/providers/Microsoft.Cdn/edgenodes/Custom_Verizon",
+ "type": "Microsoft.Cdn/edgenodes",
+ "properties": {
+ "ipAddressGroups": [
{
- "name": "Custom_Verizon",
- "id": "/providers/Microsoft.Cdn/edgenodes/Custom_Verizon",
- "type": "Microsoft.Cdn/edgenodes",
- "properties": {
- "ipAddressGroups": [
- {
- "deliveryRegion": "All",
- "ipv4Addresses": [
- {
- "baseIpAddress": "192.229.176.0",
- "prefixLength": 24
- },
- {
- "baseIpAddress": "2606:2800:420b::",
- "prefixLength": 48
- },
- {
- "baseIpAddress": "2606:2800:700c::",
- "prefixLength": 48
- }
- ]
- }
- ]
+ "deliveryRegion": "All",
+ "ipv4Addresses": [
+ {
+ "baseIpAddress": "192.229.176.0",
+ "prefixLength": 24
+ },
+ {
+ "baseIpAddress": "2606:2800:420b::",
+ "prefixLength": 48
+ },
+ {
+ "baseIpAddress": "2606:2800:700c::",
+ "prefixLength": 48
}
+ ]
}
- ]
- }
+ ]
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json
index 14ab0aace5fd..a1d3abf2f500 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Create.json
@@ -79,7 +79,7 @@
],
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1"
- }
+ }
},
"location": "WestUs",
"tags": {
@@ -179,7 +179,7 @@
},
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1"
- }
+ }
}
}
},
@@ -274,7 +274,7 @@
},
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1"
- }
+ }
}
}
},
@@ -369,7 +369,7 @@
},
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1"
- }
+ }
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json
index e2cc4cea8491..41e4e5008b50 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Get.json
@@ -15,32 +15,32 @@
"tags": {},
"location": "CentralUs",
"properties": {
- "hostName": "endpoint1.azureedge.net",
- "originHostHeader": "www.bing.com",
- "provisioningState": "Succeeded",
- "resourceState": "Running",
- "isHttpAllowed": true,
- "isHttpsAllowed": true,
- "queryStringCachingBehavior": "NotSet",
- "originPath": null,
- "origins": [
- {
- "name": "www-bing-com",
- "properties": {
- "hostName": "www.bing.com",
- "httpPort": 80,
- "httpsPort": 443
- }
- }
- ],
- "contentTypesToCompress": [],
- "isCompressionEnabled": false,
- "optimizationType": "DynamicSiteAcceleration",
- "probePath": "/image",
- "geoFilters": [],
- "webApplicationFirewallPolicyLink": {
- "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1"
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Succeeded",
+ "resourceState": "Running",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "NotSet",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443
+ }
}
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": "DynamicSiteAcceleration",
+ "probePath": "/image",
+ "geoFilters": [],
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/cdnWafPolicy1"
+ }
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json
index 2f8765866806..02f107c7e03b 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListByProfile.json
@@ -9,39 +9,39 @@
"200": {
"body": {
"value": [
- {
- "name": "endpoint1",
- "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
- "type": "Microsoft.Cdn/profiles/endpoints",
- "tags": {},
- "location": "CentralUs",
- "properties": {
- "hostName": "endpoint1.azureedge.net",
- "originHostHeader": "www.bing.com",
- "provisioningState": "Succeeded",
- "resourceState": "Running",
- "isHttpAllowed": true,
- "isHttpsAllowed": true,
- "queryStringCachingBehavior": "NotSet",
- "originPath": null,
- "origins": [
- {
- "name": "www-bing-com",
- "properties": {
- "hostName": "www.bing.com",
- "httpPort": 80,
- "httpsPort": 443
- }
- }
- ],
- "contentTypesToCompress": [],
- "isCompressionEnabled": false,
- "optimizationType": "DynamicSiteAcceleration",
- "probePath": "/image",
- "geoFilters": [],
- "webApplicationFirewallPolicyLink" : null
+ {
+ "name": "endpoint1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
+ "type": "Microsoft.Cdn/profiles/endpoints",
+ "tags": {},
+ "location": "CentralUs",
+ "properties": {
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": "www.bing.com",
+ "provisioningState": "Succeeded",
+ "resourceState": "Running",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "NotSet",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443
+ }
}
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": "DynamicSiteAcceleration",
+ "probePath": "/image",
+ "geoFilters": [],
+ "webApplicationFirewallPolicyLink": null
}
+ }
]
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json
index 6fcbecdacaa6..62b9a7e371fe 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ListResourceUsage.json
@@ -11,19 +11,19 @@
"body": {
"value": [
{
- "resourceType": "customdomain",
- "unit": "count",
- "currentValue": 1,
- "limit": 20
+ "resourceType": "customdomain",
+ "unit": "count",
+ "currentValue": 1,
+ "limit": 20
},
{
- "resourceType": "geofilter",
- "unit": "count",
- "currentValue": 0,
- "limit": 25
+ "resourceType": "geofilter",
+ "unit": "count",
+ "currentValue": 0,
+ "limit": 25
}
]
- }
+ }
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json
index 6ce67ebcb51d..68fca3300652 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_LoadContent.json
@@ -6,7 +6,9 @@
"profileName": "profile1",
"endpointName": "endpoint1",
"contentFilePaths": {
- "contentPaths": ["/folder1"]
+ "contentPaths": [
+ "/folder1"
+ ]
}
},
"responses": {
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json
index 6ce67ebcb51d..68fca3300652 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_PurgeContent.json
@@ -6,7 +6,9 @@
"profileName": "profile1",
"endpointName": "endpoint1",
"contentFilePaths": {
- "contentPaths": ["/folder1"]
+ "contentPaths": [
+ "/folder1"
+ ]
}
},
"responses": {
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json
index 28fd4e3ea035..ef1afe19ea4a 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Start.json
@@ -40,7 +40,7 @@
"optimizationType": "DynamicSiteAcceleration",
"probePath": "/image",
"geoFilters": [],
- "webApplicationFirewallPolicyLink" : null
+ "webApplicationFirewallPolicyLink": null
}
}
},
@@ -77,7 +77,7 @@
"optimizationType": "DynamicSiteAcceleration",
"probePath": "/image",
"geoFilters": [],
- "webApplicationFirewallPolicyLink" : null
+ "webApplicationFirewallPolicyLink": null
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json
index 3eef5ed9903d..e0b6b8bcc59f 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Stop.json
@@ -40,7 +40,7 @@
"optimizationType": "DynamicSiteAcceleration",
"probePath": "/image",
"geoFilters": [],
- "webApplicationFirewallPolicyLink" : null
+ "webApplicationFirewallPolicyLink": null
}
}
},
@@ -77,7 +77,7 @@
"optimizationType": "DynamicSiteAcceleration",
"probePath": "/image",
"geoFilters": [],
- "webApplicationFirewallPolicyLink" : null
+ "webApplicationFirewallPolicyLink": null
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json
index 0c1213df434c..d364789a9f66 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_Update.json
@@ -13,7 +13,7 @@
"webApplicationFirewallPolicyLink": {
"id": "/subscriptions/subid/resourceGroups/RG/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2"
}
- }
+ }
}
},
"responses": {
@@ -23,36 +23,36 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
"type": "Microsoft.Cdn/profiles/endpoints",
"tags": {
- "additionalProperties": "Tag1"
+ "additionalProperties": "Tag1"
},
"location": "WestCentralUs",
"properties": {
- "hostName": "endpoint1.azureedge.net",
- "originHostHeader": null,
- "provisioningState": "Creating",
- "resourceState": "Creating",
- "isHttpAllowed": true,
- "isHttpsAllowed": true,
- "queryStringCachingBehavior": "IgnoreQueryString",
- "originPath": null,
- "origins": [
- {
- "name": "www-bing-com",
- "properties": {
- "hostName": "www.bing.com",
- "httpPort": 80,
- "httpsPort": 443
- }
- }
- ],
- "contentTypesToCompress": [],
- "isCompressionEnabled": false,
- "optimizationType": null,
- "probePath": null,
- "geoFilters": [],
- "webApplicationFirewallPolicyLink": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2"
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": null,
+ "provisioningState": "Creating",
+ "resourceState": "Creating",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "IgnoreQueryString",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443
+ }
}
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": null,
+ "probePath": null,
+ "geoFilters": [],
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2"
+ }
}
}
},
@@ -62,36 +62,36 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1",
"type": "Microsoft.Cdn/profiles/endpoints",
"tags": {
- "additionalProperties": "Tag1"
+ "additionalProperties": "Tag1"
},
"location": "WestCentralUs",
"properties": {
- "hostName": "endpoint1.azureedge.net",
- "originHostHeader": null,
- "provisioningState": "Creating",
- "resourceState": "Creating",
- "isHttpAllowed": true,
- "isHttpsAllowed": true,
- "queryStringCachingBehavior": "IgnoreQueryString",
- "originPath": null,
- "origins": [
- {
- "name": "www-bing-com",
- "properties": {
- "hostName": "www.bing.com",
- "httpPort": 80,
- "httpsPort": 443
- }
- }
- ],
- "contentTypesToCompress": [],
- "isCompressionEnabled": false,
- "optimizationType": null,
- "probePath": null,
- "geoFilters": [],
- "webApplicationFirewallPolicyLink": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2"
- }
+ "hostName": "endpoint1.azureedge.net",
+ "originHostHeader": null,
+ "provisioningState": "Creating",
+ "resourceState": "Creating",
+ "isHttpAllowed": true,
+ "isHttpsAllowed": true,
+ "queryStringCachingBehavior": "IgnoreQueryString",
+ "originPath": null,
+ "origins": [
+ {
+ "name": "www-bing-com",
+ "properties": {
+ "hostName": "www.bing.com",
+ "httpPort": 80,
+ "httpsPort": 443
+ }
+ }
+ ],
+ "contentTypesToCompress": [],
+ "isCompressionEnabled": false,
+ "optimizationType": null,
+ "probePath": null,
+ "geoFilters": [],
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy2"
+ }
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json
index 718f7d9bee23..029351bc9555 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Endpoints_ValidateCustomDomain.json
@@ -6,7 +6,7 @@
"profileName": "profile1",
"endpointName": "endpoint1",
"customDomainProperties": {
- "hostName": "www.someDomain.com"
+ "hostName": "www.someDomain.com"
}
},
"responses": {
@@ -18,4 +18,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json
index 1614858a2f08..d134a3e21fee 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Operations_List.json
@@ -6,88 +6,88 @@
"200": {
"body": {
"value": [
- {
- "name": "Microsoft.Cdn/register/action",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "Microsoft.Cdn Resource Provider",
- "operation": "Registers the Microsoft.Cdn Resource Provider"
- }
- },
- {
- "name": "Microsoft.Cdn/edgenodes/read",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "EdgeNode",
- "operation": "read"
- }
- },
- {
- "name": "Microsoft.Cdn/edgenodes/write",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "EdgeNode",
- "operation": "write"
- }
- },
- {
- "name": "Microsoft.Cdn/edgenodes/delete",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "EdgeNode",
- "operation": "delete"
- }
- },
- {
- "name": "Microsoft.Cdn/profiles/read",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "Profile",
- "operation": "read"
- }
- },
- {
- "name": "Microsoft.Cdn/profiles/write",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "Profile",
- "operation": "write"
- }
- },
- {
- "name": "Microsoft.Cdn/operationresults/profileresults/write",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "Profile",
- "operation": "write"
- }
- },
- {
- "name": "Microsoft.Cdn/operationresults/profileresults/delete",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "Profile",
- "operation": "delete"
- }
- },
- {
- "name": "Microsoft.Cdn/operationresults/profileresults/CheckResourceUsage/action",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "Profile",
- "operation": "CheckResourceUsage"
- }
- },
- {
- "name": "Microsoft.Cdn/operationresults/profileresults/GenerateSsoUri/action",
- "display": {
- "provider": "Microsoft.Cdn",
- "resource": "Profile",
- "operation": "GenerateSsoUri"
- }
+ {
+ "name": "Microsoft.Cdn/register/action",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Microsoft.Cdn Resource Provider",
+ "operation": "Registers the Microsoft.Cdn Resource Provider"
}
+ },
+ {
+ "name": "Microsoft.Cdn/edgenodes/read",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "EdgeNode",
+ "operation": "read"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/edgenodes/write",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "EdgeNode",
+ "operation": "write"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/edgenodes/delete",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "EdgeNode",
+ "operation": "delete"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/profiles/read",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "read"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/profiles/write",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "write"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/operationresults/profileresults/write",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "write"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/operationresults/profileresults/delete",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "delete"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/operationresults/profileresults/CheckResourceUsage/action",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "CheckResourceUsage"
+ }
+ },
+ {
+ "name": "Microsoft.Cdn/operationresults/profileresults/GenerateSsoUri/action",
+ "display": {
+ "provider": "Microsoft.Cdn",
+ "resource": "Profile",
+ "operation": "GenerateSsoUri"
+ }
+ }
]
- }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json
index 49cf736d753b..96283f2cee86 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Get.json
@@ -10,18 +10,18 @@
"responses": {
"200": {
"body": {
- "name": "www-someDomain-net",
- "location": "WestUs",
- "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
- "type": "Microsoft.Cdn/profiles/endpoints/origins",
- "properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "httpPort": null,
- "httpsPort": null
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": null,
+ "httpsPort": null
}
- }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json
index caeebbd8e740..87305a274cde 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_ListByEndpoint.json
@@ -9,22 +9,22 @@
"responses": {
"200": {
"body": {
- "value": [
- {
- "name": "www-someDomain-net",
- "location": "WestUs",
- "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
- "type": "Microsoft.Cdn/profiles/endpoints/origins",
- "properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "httpPort": null,
- "httpsPort": null
+ "value": [
+ {
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": null,
+ "httpsPort": null
}
}
]
- }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json
index 14987d2a1073..87904365afa7 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Origins_Update.json
@@ -16,33 +16,33 @@
"responses": {
"200": {
"body": {
- "name": "www-someDomain-net",
- "location": "WestUs",
- "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
- "type": "Microsoft.Cdn/profiles/endpoints/origins",
- "properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "httpPort": 42,
- "httpsPort": 43
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": 42,
+ "httpsPort": 43
}
- }
+ }
},
"202": {
"body": {
- "name": "www-someDomain-net",
- "location": "WestUs",
- "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
- "type": "Microsoft.Cdn/profiles/endpoints/origins",
- "properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active",
- "hostName": "www.someDomain.net",
- "httpPort": 42,
- "httpsPort": 43
+ "name": "www-someDomain-net",
+ "location": "WestUs",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1/endpoints/endpoint1/origins/www-someDomain-net",
+ "type": "Microsoft.Cdn/profiles/endpoints/origins",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active",
+ "hostName": "www.someDomain.net",
+ "httpPort": 42,
+ "httpsPort": 43
}
- }
+ }
}
}
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json
index 5a374988d3b5..372718913495 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Create.json
@@ -20,11 +20,11 @@
"tags": {},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Verizon"
+ "name": "Standard_Verizon"
},
"properties": {
- "provisioningState": "Creating",
- "resourceState": "Creating"
+ "provisioningState": "Creating",
+ "resourceState": "Creating"
}
}
},
@@ -36,11 +36,11 @@
"tags": {},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Verizon"
+ "name": "Standard_Verizon"
},
"properties": {
- "provisioningState": "Creating",
- "resourceState": "Creating"
+ "provisioningState": "Creating",
+ "resourceState": "Creating"
}
}
},
@@ -52,13 +52,13 @@
"tags": {},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Verizon"
+ "name": "Standard_Verizon"
},
"properties": {
- "provisioningState": "Creating",
- "resourceState": "Creating"
+ "provisioningState": "Creating",
+ "resourceState": "Creating"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json
index dba5e8668059..b66e11bf4bad 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_GenerateSsoUri.json
@@ -12,4 +12,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json
index 383b77198e70..8ef62237a532 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Get.json
@@ -8,19 +8,19 @@
"responses": {
"200": {
"body": {
- "name": "profile1",
- "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
- "type": "Microsoft.Cdn/profiles",
- "tags": {},
- "location": "WestCentralUs",
- "sku": {
- "name": "Standard_Akamai"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active"
- }
+ "name": "profile1",
+ "id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
+ "type": "Microsoft.Cdn/profiles",
+ "tags": {},
+ "location": "WestCentralUs",
+ "sku": {
+ "name": "Standard_Akamai"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json
index 8ce7e220f6c8..ebf00431f001 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_List.json
@@ -14,11 +14,11 @@
"tags": {},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Akamai"
+ "name": "Standard_Akamai"
},
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active"
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
}
},
{
@@ -28,15 +28,15 @@
"tags": {},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Akamai"
+ "name": "Standard_Akamai"
},
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active"
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json
index d39e4b159332..792878778947 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListByResourceGroup.json
@@ -15,11 +15,11 @@
"tags": {},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Akamai"
+ "name": "Standard_Akamai"
},
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active"
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
}
},
{
@@ -29,15 +29,15 @@
"tags": {},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Akamai"
+ "name": "Standard_Akamai"
},
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active"
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json
index 93cfc309ec22..00293277f891 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListResourceUsage.json
@@ -8,15 +8,15 @@
"responses": {
"200": {
"body": {
- "value": [
+ "value": [
{
- "resourceType": "endpoint",
- "unit": "count",
- "currentValue": 0,
- "limit": 25
+ "resourceType": "endpoint",
+ "unit": "count",
+ "currentValue": 0,
+ "limit": 25
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json
index d8409e4eefb1..e07873068c62 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_ListSupportedOptimizationTypes.json
@@ -9,10 +9,10 @@
"200": {
"body": {
"supportedOptimizationTypes": [
- "GeneralWebDelivery",
- "DynamicSiteAcceleration"
+ "GeneralWebDelivery",
+ "DynamicSiteAcceleration"
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json
index c4a8fbffead7..f1e159b84024 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/Profiles_Update.json
@@ -5,7 +5,7 @@
"resourceGroupName": "RG",
"profileName": "profile1",
"profileUpdateParameters": {
- "tags":{
+ "tags": {
"additionalProperties": "Tag1"
}
}
@@ -17,15 +17,15 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
"type": "Microsoft.Cdn/profiles",
"tags": {
- "additionalProperties": "Tag1"
+ "additionalProperties": "Tag1"
},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Verizon"
+ "name": "Standard_Verizon"
},
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active"
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
}
}
},
@@ -35,17 +35,17 @@
"id": "/subscriptions/subid/resourcegroups/RG/providers/Microsoft.Cdn/profiles/profile1",
"type": "Microsoft.Cdn/profiles",
"tags": {
- "additionalProperties": "Tag1"
+ "additionalProperties": "Tag1"
},
"location": "WestCentralUs",
"sku": {
- "name": "Standard_Verizon"
+ "name": "Standard_Verizon"
},
"properties": {
- "provisioningState": "Succeeded",
- "resourceState": "Active"
+ "provisioningState": "Succeeded",
+ "resourceState": "Active"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json
index 1ef07ff3ff74..e0987298a1d0 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ResourceUsage_List.json
@@ -14,7 +14,7 @@
"limit": 200
}
]
- }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json
index 7e0c295c5bfe..efb07b41e668 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/ValidateProbe.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json
index 8c96f31bafcb..5a933de417b2 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListManagedRuleSets.json
@@ -1,53 +1,53 @@
{
- "parameters": {
- "api-version": "2019-06-15-preview",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
+ "parameters": {
+ "api-version": "2019-06-15-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "DefaultRuleSet_1.0",
+ "id": "/subscriptions/subid/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets",
+ "type": "Microsoft.Cdn/cdnwebapplicationfirewallmanagedrulesets",
+ "sku": {
+ "name": "Standard_Microsoft"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleSetType": "DefaultRuleSet",
+ "ruleSetVersion": "preview-1.0",
+ "ruleGroups": [
+ {
+ "ruleGroupName": "Group1",
+ "description": "Description for rule group 1.",
+ "rules": [
{
- "name": "DefaultRuleSet_1.0",
- "id": "/subscriptions/subid/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets",
- "type": "Microsoft.Cdn/cdnwebapplicationfirewallmanagedrulesets",
- "sku": {
- "name" : "Standard_Microsoft"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "ruleSetType": "DefaultRuleSet",
- "ruleSetVersion": "preview-1.0",
- "ruleGroups": [
- {
- "ruleGroupName": "Group1",
- "description": "Description for rule group 1.",
- "rules": [
- {
- "ruleId": "GROUP1-0001",
- "description": "Generic managed web application firewall rule."
- },
- {
- "ruleId": "GROUP1-0002",
- "description": "Generic managed web application firewall rule."
- }
- ]
- },
- {
- "ruleGroupName": "Group2",
- "description": "Description for rule group 2.",
- "rules": [
- {
- "ruleId": "GROUP2-0001",
- "description": "Generic managed web application firewall rule."
- }
- ]
- }
- ]
- }
+ "ruleId": "GROUP1-0001",
+ "description": "Generic managed web application firewall rule."
+ },
+ {
+ "ruleId": "GROUP1-0002",
+ "description": "Generic managed web application firewall rule."
+ }
+ ]
+ },
+ {
+ "ruleGroupName": "Group2",
+ "description": "Description for rule group 2.",
+ "rules": [
+ {
+ "ruleId": "GROUP2-0001",
+ "description": "Generic managed web application firewall rule."
}
- ]
+ ]
+ }
+ ]
}
- }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json
index 3904d8c5c326..2ea63522500c 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafListPolicies.json
@@ -18,7 +18,7 @@
},
"location": "WestUs",
"sku": {
- "name": "Standard_Microsoft"
+ "name": "Standard_Microsoft"
},
"properties": {
"resourceState": "Enabled",
@@ -118,10 +118,9 @@
]
}
},
- {
+ {
"name": "VerizonStandardCdnWafPolicy",
- "id":
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/VerizonStandardCdnWafPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/VerizonStandardCdnWafPolicy",
"type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
"tags": {
"key1": "value1",
@@ -129,7 +128,7 @@
},
"location": "WestUs",
"sku": {
- "name": "Standard_Verizon"
+ "name": "Standard_Verizon"
},
"properties": {
"resourceState": "Enabled",
@@ -139,8 +138,7 @@
"mode": "Prevention",
"defaultRedirectUrl": "http://www.bing.com",
"defaultCustomBlockResponseStatusCode": 499,
- "defaultCustomBlockResponseBody":
- "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
},
"rateLimitRules": {
"rules": [
@@ -222,8 +220,7 @@
},
"cdnEndpointLinks": [
{
- "id":
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint3"
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint3"
}
]
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json
index d8d5f70f59a4..cc8a4d747642 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPatchPolicy.json
@@ -1,238 +1,238 @@
{
- "parameters": {
- "api-version": "2019-06-15-preview",
- "subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "policyName": "MicrosoftCdnWafPolicy",
- "cdnWebApplicationFirewallPolicyPatchParameters": {
- "tags": {
- "foo": "bar"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "MicrosoftCdnWafPolicy",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
- "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
- "tags": {
- "foo": "bar"
- },
- "location": "WestUs",
- "sku": {
- "name": "Standard_Microsoft"
- },
- "properties": {
- "resourceState": "Enabled",
- "provisioningState": "Succeeded",
- "policySettings": {
+ "parameters": {
+ "api-version": "2019-06-15-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "policyName": "MicrosoftCdnWafPolicy",
+ "cdnWebApplicationFirewallPolicyPatchParameters": {
+ "tags": {
+ "foo": "bar"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "MicrosoftCdnWafPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
+ "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
+ "tags": {
+ "foo": "bar"
+ },
+ "location": "WestUs",
+ "sku": {
+ "name": "Standard_Microsoft"
+ },
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "enabledState": "Enabled",
+ "mode": "Prevention",
+ "defaultRedirectUrl": "http://www.bing.com",
+ "defaultCustomBlockResponseStatusCode": 499,
+ "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ },
+ "rateLimitRules": {
+ "rules": [
+ {
+ "name": "RateLimitRule1",
+ "priority": 1,
"enabledState": "Enabled",
- "mode": "Prevention",
- "defaultRedirectUrl": "http://www.bing.com",
- "defaultCustomBlockResponseStatusCode": 499,
- "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
- },
- "rateLimitRules": {
- "rules": [
+ "rateLimitDurationInMinutes": 0,
+ "rateLimitThreshold": 1000,
+ "matchConditions": [
{
- "name": "RateLimitRule1",
- "priority": 1,
- "enabledState": "Enabled",
- "rateLimitDurationInMinutes": 0,
- "rateLimitThreshold": 1000,
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "IPMatch",
- "negateCondition": false,
- "matchValue": [
- "192.168.1.0/24",
- "10.0.0.0/24"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "IPMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ]
}
- ]
- },
- "customRules": {
- "rules": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "customRules": {
+ "rules": [
+ {
+ "name": "CustomRule1",
+ "priority": 2,
+ "enabledState": "Enabled",
+ "matchConditions": [
{
- "name": "CustomRule1",
- "priority": 2,
- "enabledState": "Enabled",
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "GeoMatch",
- "negateCondition": false,
- "matchValue": [
- "CH"
- ]
- },
- {
- "matchVariable": "RequestHeader",
- "selector": "UserAgent",
- "operator": "Contains",
- "negateCondition": false,
- "matchValue": [
- "windows"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "GeoMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "CH"
+ ]
+ },
+ {
+ "matchVariable": "RequestHeader",
+ "selector": "UserAgent",
+ "operator": "Contains",
+ "negateCondition": false,
+ "matchValue": [
+ "windows"
+ ]
}
- ]
- },
- "managedRules": {
- "managedRuleSets": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "DefaultRuleSet",
+ "ruleSetVersion": "preview-1.0",
+ "ruleGroupOverrides": [
{
- "ruleSetType": "DefaultRuleSet",
- "ruleSetVersion": "preview-1.0",
- "ruleGroupOverrides": [
+ "ruleGroupName": "Group1",
+ "rules": [
+ {
+ "ruleId": "GROUP1-0001",
+ "enabledState": "Enabled",
+ "action": "Redirect"
+ },
{
- "ruleGroupName": "Group1",
- "rules": [
- {
- "ruleId": "GROUP1-0001",
- "enabledState": "Enabled",
- "action": "Redirect"
- },
- {
- "ruleId": "GROUP1-0002",
- "enabledState": "Disabled"
- }
- ]
+ "ruleId": "GROUP1-0002",
+ "enabledState": "Disabled"
}
]
}
]
- },
- "cdnEndpointLinks": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
- }
- ]
+ }
+ ]
+ },
+ "cdnEndpointLinks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
}
- }
+ ]
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "MicrosoftCdnWafPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
+ "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "202": {
- "body": {
- "name": "MicrosoftCdnWafPolicy",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
- "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "location": "WestUs",
- "sku": {
- "name": "Standard_Microsoft"
- },
- "properties": {
- "resourceState": "Creating",
- "provisioningState": "Succeeded",
- "policySettings": {
+ "location": "WestUs",
+ "sku": {
+ "name": "Standard_Microsoft"
+ },
+ "properties": {
+ "resourceState": "Creating",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "enabledState": "Enabled",
+ "mode": "Prevention",
+ "defaultRedirectUrl": "http://www.bing.com",
+ "defaultCustomBlockResponseStatusCode": 499,
+ "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ },
+ "rateLimitRules": {
+ "rules": [
+ {
+ "name": "RateLimitRule1",
+ "priority": 1,
"enabledState": "Enabled",
- "mode": "Prevention",
- "defaultRedirectUrl": "http://www.bing.com",
- "defaultCustomBlockResponseStatusCode": 499,
- "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
- },
- "rateLimitRules": {
- "rules": [
+ "rateLimitDurationInMinutes": 0,
+ "rateLimitThreshold": 1000,
+ "matchConditions": [
{
- "name": "RateLimitRule1",
- "priority": 1,
- "enabledState": "Enabled",
- "rateLimitDurationInMinutes": 0,
- "rateLimitThreshold": 1000,
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "IPMatch",
- "negateCondition": false,
- "matchValue": [
- "192.168.1.0/24",
- "10.0.0.0/24"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "IPMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ]
}
- ]
- },
- "customRules": {
- "rules": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "customRules": {
+ "rules": [
+ {
+ "name": "CustomRule1",
+ "priority": 2,
+ "enabledState": "Enabled",
+ "matchConditions": [
{
- "name": "CustomRule1",
- "priority": 2,
- "enabledState": "Enabled",
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "GeoMatch",
- "negateCondition": false,
- "matchValue": [
- "CH"
- ]
- },
- {
- "matchVariable": "RequestHeader",
- "selector": "UserAgent",
- "operator": "Contains",
- "negateCondition": false,
- "matchValue": [
- "windows"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "GeoMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "CH"
+ ]
+ },
+ {
+ "matchVariable": "RequestHeader",
+ "selector": "UserAgent",
+ "operator": "Contains",
+ "negateCondition": false,
+ "matchValue": [
+ "windows"
+ ]
}
- ]
- },
- "managedRules": {
- "managedRuleSets": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "DefaultRuleSet",
+ "ruleSetVersion": "preview-1.0",
+ "ruleGroupOverrides": [
{
- "ruleSetType": "DefaultRuleSet",
- "ruleSetVersion": "preview-1.0",
- "ruleGroupOverrides": [
+ "ruleGroupName": "Group1",
+ "rules": [
{
- "ruleGroupName": "Group1",
- "rules": [
- {
- "ruleId": "GROUP1-0001",
- "enabledState": "Enabled",
- "action": "Redirect"
- },
- {
- "ruleId": "GROUP1-0002",
- "enabledState": "Disabled"
- }
- ]
+ "ruleId": "GROUP1-0001",
+ "enabledState": "Enabled",
+ "action": "Redirect"
+ },
+ {
+ "ruleId": "GROUP1-0002",
+ "enabledState": "Disabled"
}
]
}
]
- },
- "cdnEndpointLinks": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
- }
- ]
+ }
+ ]
+ },
+ "cdnEndpointLinks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
}
- }
+ ]
}
+ }
}
+ }
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json
index 1d4f761de26e..76cce169ba38 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyCreateOrUpdate.json
@@ -1,437 +1,437 @@
{
- "parameters": {
- "api-version": "2019-06-15-preview",
- "subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "policyName": "MicrosoftCdnWafPolicy",
- "cdnWebApplicationFirewallPolicy": {
- "location": "WestUs",
- "sku": {
- "name": "Standard_Microsoft"
- },
- "properties": {
- "policySettings": {
- "defaultRedirectUrl": "http://www.bing.com",
- "defaultCustomBlockResponseStatusCode": 499,
- "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ "parameters": {
+ "api-version": "2019-06-15-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "policyName": "MicrosoftCdnWafPolicy",
+ "cdnWebApplicationFirewallPolicy": {
+ "location": "WestUs",
+ "sku": {
+ "name": "Standard_Microsoft"
+ },
+ "properties": {
+ "policySettings": {
+ "defaultRedirectUrl": "http://www.bing.com",
+ "defaultCustomBlockResponseStatusCode": 499,
+ "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ },
+ "rateLimitRules": {
+ "rules": [
+ {
+ "name": "RateLimitRule1",
+ "priority": 1,
+ "enabledState": "Enabled",
+ "rateLimitDurationInMinutes": 0,
+ "rateLimitThreshold": 1000,
+ "matchConditions": [
+ {
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "IPMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ]
+ }
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "customRules": {
+ "rules": [
+ {
+ "name": "CustomRule1",
+ "priority": 2,
+ "enabledState": "Enabled",
+ "matchConditions": [
+ {
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "GeoMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "CH"
+ ]
},
- "rateLimitRules": {
- "rules": [
+ {
+ "matchVariable": "RequestHeader",
+ "selector": "UserAgent",
+ "operator": "Contains",
+ "negateCondition": false,
+ "matchValue": [
+ "windows"
+ ]
+ }
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "DefaultRuleSet",
+ "ruleSetVersion": "preview-1.0",
+ "ruleGroupOverrides": [
+ {
+ "ruleGroupName": "Group1",
+ "rules": [
+ {
+ "ruleId": "GROUP1-0001",
+ "enabledState": "Enabled",
+ "action": "Redirect"
+ },
+ {
+ "ruleId": "GROUP1-0002",
+ "enabledState": "Disabled"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "MicrosoftCdnWafPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
+ "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "location": "WestUs",
+ "sku": {
+ "name": "Standard_Microsoft"
+ },
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "enabledState": "Enabled",
+ "mode": "Prevention",
+ "defaultRedirectUrl": "http://www.bing.com",
+ "defaultCustomBlockResponseStatusCode": 499,
+ "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ },
+ "rateLimitRules": {
+ "rules": [
+ {
+ "name": "RateLimitRule1",
+ "priority": 1,
+ "enabledState": "Enabled",
+ "rateLimitDurationInMinutes": 0,
+ "rateLimitThreshold": 1000,
+ "matchConditions": [
{
- "name": "RateLimitRule1",
- "priority": 1,
- "enabledState": "Enabled",
- "rateLimitDurationInMinutes": 0,
- "rateLimitThreshold": 1000,
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "IPMatch",
- "negateCondition": false,
- "matchValue": [
- "192.168.1.0/24",
- "10.0.0.0/24"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "IPMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ]
}
- ]
- },
- "customRules": {
- "rules": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "customRules": {
+ "rules": [
+ {
+ "name": "CustomRule1",
+ "priority": 2,
+ "enabledState": "Enabled",
+ "matchConditions": [
{
- "name": "CustomRule1",
- "priority": 2,
- "enabledState": "Enabled",
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "GeoMatch",
- "negateCondition": false,
- "matchValue": [
- "CH"
- ]
- },
- {
- "matchVariable": "RequestHeader",
- "selector": "UserAgent",
- "operator": "Contains",
- "negateCondition": false,
- "matchValue": [
- "windows"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "GeoMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "CH"
+ ]
+ },
+ {
+ "matchVariable": "RequestHeader",
+ "selector": "UserAgent",
+ "operator": "Contains",
+ "negateCondition": false,
+ "matchValue": [
+ "windows"
+ ]
}
- ]
- },
- "managedRules": {
- "managedRuleSets": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "DefaultRuleSet",
+ "ruleSetVersion": "preview-1.0",
+ "ruleGroupOverrides": [
{
- "ruleSetType": "DefaultRuleSet",
- "ruleSetVersion": "preview-1.0",
- "ruleGroupOverrides": [
+ "ruleGroupName": "Group1",
+ "rules": [
+ {
+ "ruleId": "GROUP1-0001",
+ "enabledState": "Enabled",
+ "action": "Redirect"
+ },
{
- "ruleGroupName": "Group1",
- "rules": [
- {
- "ruleId": "GROUP1-0001",
- "enabledState": "Enabled",
- "action": "Redirect"
- },
- {
- "ruleId": "GROUP1-0002",
- "enabledState": "Disabled"
- }
- ]
+ "ruleId": "GROUP1-0002",
+ "enabledState": "Disabled"
}
]
}
]
}
+ ]
+ },
+ "cdnEndpointLinks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
}
+ ]
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "name": "MicrosoftCdnWafPolicy",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
- "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "location": "WestUs",
- "sku": {
- "name": "Standard_Microsoft"
- },
- "properties": {
- "resourceState": "Enabled",
- "provisioningState": "Succeeded",
- "policySettings": {
+ "201": {
+ "body": {
+ "name": "MicrosoftCdnWafPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
+ "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "location": "WestUs",
+ "sku": {
+ "name": "Standard_Microsoft"
+ },
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "enabledState": "Enabled",
+ "mode": "Prevention",
+ "defaultRedirectUrl": "http://www.bing.com",
+ "defaultCustomBlockResponseStatusCode": 499,
+ "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ },
+ "rateLimitRules": {
+ "rules": [
+ {
+ "name": "RateLimitRule1",
+ "priority": 1,
"enabledState": "Enabled",
- "mode": "Prevention",
- "defaultRedirectUrl": "http://www.bing.com",
- "defaultCustomBlockResponseStatusCode": 499,
- "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
- },
- "rateLimitRules": {
- "rules": [
+ "rateLimitDurationInMinutes": 0,
+ "rateLimitThreshold": 1000,
+ "matchConditions": [
{
- "name": "RateLimitRule1",
- "priority": 1,
- "enabledState": "Enabled",
- "rateLimitDurationInMinutes": 0,
- "rateLimitThreshold": 1000,
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "IPMatch",
- "negateCondition": false,
- "matchValue": [
- "192.168.1.0/24",
- "10.0.0.0/24"
- ]
- }
- ],
- "action": "Block"
- }
- ]
- },
- "customRules": {
- "rules": [
- {
- "name": "CustomRule1",
- "priority": 2,
- "enabledState": "Enabled",
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "GeoMatch",
- "negateCondition": false,
- "matchValue": [
- "CH"
- ]
- },
- {
- "matchVariable": "RequestHeader",
- "selector": "UserAgent",
- "operator": "Contains",
- "negateCondition": false,
- "matchValue": [
- "windows"
- ]
- }
- ],
- "action": "Block"
- }
- ]
- },
- "managedRules": {
- "managedRuleSets": [
- {
- "ruleSetType": "DefaultRuleSet",
- "ruleSetVersion": "preview-1.0",
- "ruleGroupOverrides": [
- {
- "ruleGroupName": "Group1",
- "rules": [
- {
- "ruleId": "GROUP1-0001",
- "enabledState": "Enabled",
- "action": "Redirect"
- },
- {
- "ruleId": "GROUP1-0002",
- "enabledState": "Disabled"
- }
- ]
- }
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "IPMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
]
}
- ]
- },
- "cdnEndpointLinks": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
- }
- ]
- }
- }
- },
- "201": {
- "body": {
- "name": "MicrosoftCdnWafPolicy",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
- "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "location": "WestUs",
- "sku": {
- "name": "Standard_Microsoft"
- },
- "properties": {
- "resourceState": "Enabled",
- "provisioningState": "Succeeded",
- "policySettings": {
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "customRules": {
+ "rules": [
+ {
+ "name": "CustomRule1",
+ "priority": 2,
"enabledState": "Enabled",
- "mode": "Prevention",
- "defaultRedirectUrl": "http://www.bing.com",
- "defaultCustomBlockResponseStatusCode": 499,
- "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
- },
- "rateLimitRules": {
- "rules": [
+ "matchConditions": [
{
- "name": "RateLimitRule1",
- "priority": 1,
- "enabledState": "Enabled",
- "rateLimitDurationInMinutes": 0,
- "rateLimitThreshold": 1000,
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "IPMatch",
- "negateCondition": false,
- "matchValue": [
- "192.168.1.0/24",
- "10.0.0.0/24"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "GeoMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "CH"
+ ]
+ },
+ {
+ "matchVariable": "RequestHeader",
+ "selector": "UserAgent",
+ "operator": "Contains",
+ "negateCondition": false,
+ "matchValue": [
+ "windows"
+ ]
}
- ]
- },
- "customRules": {
- "rules": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "DefaultRuleSet",
+ "ruleSetVersion": "preview-1.0",
+ "ruleGroupOverrides": [
{
- "name": "CustomRule1",
- "priority": 2,
- "enabledState": "Enabled",
- "matchConditions": [
+ "ruleGroupName": "Group1",
+ "rules": [
{
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "GeoMatch",
- "negateCondition": false,
- "matchValue": [
- "CH"
- ]
+ "ruleId": "GROUP1-0001",
+ "enabledState": "Enabled",
+ "action": "Redirect"
},
{
- "matchVariable": "RequestHeader",
- "selector": "UserAgent",
- "operator": "Contains",
- "negateCondition": false,
- "matchValue": [
- "windows"
- ]
- }
- ],
- "action": "Block"
- }
- ]
- },
- "managedRules": {
- "managedRuleSets": [
- {
- "ruleSetType": "DefaultRuleSet",
- "ruleSetVersion": "preview-1.0",
- "ruleGroupOverrides": [
- {
- "ruleGroupName": "Group1",
- "rules": [
- {
- "ruleId": "GROUP1-0001",
- "enabledState": "Enabled",
- "action": "Redirect"
- },
- {
- "ruleId": "GROUP1-0002",
- "enabledState": "Disabled"
- }
- ]
+ "ruleId": "GROUP1-0002",
+ "enabledState": "Disabled"
}
]
}
]
- },
- "cdnEndpointLinks": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
- }
- ]
+ }
+ ]
+ },
+ "cdnEndpointLinks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
}
- }
+ ]
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "MicrosoftCdnWafPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
+ "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
},
- "202": {
- "body": {
- "name": "MicrosoftCdnWafPolicy",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
- "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "location": "WestUs",
- "sku": {
- "name": "Standard_Microsoft"
- },
- "properties": {
- "resourceState": "Creating",
- "provisioningState": "Succeeded",
- "policySettings": {
+ "location": "WestUs",
+ "sku": {
+ "name": "Standard_Microsoft"
+ },
+ "properties": {
+ "resourceState": "Creating",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "enabledState": "Enabled",
+ "mode": "Prevention",
+ "defaultRedirectUrl": "http://www.bing.com",
+ "defaultCustomBlockResponseStatusCode": 499,
+ "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ },
+ "rateLimitRules": {
+ "rules": [
+ {
+ "name": "RateLimitRule1",
+ "priority": 1,
"enabledState": "Enabled",
- "mode": "Prevention",
- "defaultRedirectUrl": "http://www.bing.com",
- "defaultCustomBlockResponseStatusCode": 499,
- "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
- },
- "rateLimitRules": {
- "rules": [
+ "rateLimitDurationInMinutes": 0,
+ "rateLimitThreshold": 1000,
+ "matchConditions": [
{
- "name": "RateLimitRule1",
- "priority": 1,
- "enabledState": "Enabled",
- "rateLimitDurationInMinutes": 0,
- "rateLimitThreshold": 1000,
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "IPMatch",
- "negateCondition": false,
- "matchValue": [
- "192.168.1.0/24",
- "10.0.0.0/24"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "IPMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ]
}
- ]
- },
- "customRules": {
- "rules": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "customRules": {
+ "rules": [
+ {
+ "name": "CustomRule1",
+ "priority": 3,
+ "enabledState": "Enabled",
+ "matchConditions": [
{
- "name": "CustomRule1",
- "priority": 3,
- "enabledState": "Enabled",
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "GeoMatch",
- "negateCondition": false,
- "matchValue": [
- "CH"
- ]
- },
- {
- "matchVariable": "RequestHeader",
- "selector": "UserAgent",
- "operator": "Contains",
- "negateCondition": false,
- "matchValue": [
- "windows"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "GeoMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "CH"
+ ]
+ },
+ {
+ "matchVariable": "RequestHeader",
+ "selector": "UserAgent",
+ "operator": "Contains",
+ "negateCondition": false,
+ "matchValue": [
+ "windows"
+ ]
}
- ]
- },
- "managedRules": {
- "managedRuleSets": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "DefaultRuleSet",
+ "ruleSetVersion": "preview-1.0",
+ "ruleGroupOverrides": [
{
- "ruleSetType": "DefaultRuleSet",
- "ruleSetVersion": "preview-1.0",
- "ruleGroupOverrides": [
+ "ruleGroupName": "Group1",
+ "rules": [
+ {
+ "ruleId": "GROUP1-0001",
+ "enabledState": "Enabled",
+ "action": "Redirect"
+ },
{
- "ruleGroupName": "Group1",
- "rules": [
- {
- "ruleId": "GROUP1-0001",
- "enabledState": "Enabled",
- "action": "Redirect"
- },
- {
- "ruleId": "GROUP1-0002",
- "enabledState": "Disabled"
- }
- ]
+ "ruleId": "GROUP1-0002",
+ "enabledState": "Disabled"
}
]
}
]
- },
- "cdnEndpointLinks": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
- }
- ]
+ }
+ ]
+ },
+ "cdnEndpointLinks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
}
- }
+ ]
}
+ }
}
+ }
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json
index d095153b26f2..dfce16f462cf 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyDelete.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "api-version": "2019-06-15-preview",
- "subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "policyName": "Policy1"
- },
- "responses": {
- "200": {},
- "204": {}
- }
+ "parameters": {
+ "api-version": "2019-06-15-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "policyName": "Policy1"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json
index 0d815edfc7d0..dcce780502a9 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/preview/2019-06-15-preview/examples/WafPolicyGet.json
@@ -1,122 +1,122 @@
{
- "parameters": {
- "api-version": "2019-06-15-preview",
- "subscriptionId": "subid",
- "resourceGroupName": "rg1",
- "policyName": "MicrosoftCdnWafPolicy"
- },
- "responses": {
- "200": {
- "body": {
- "name": "MicrosoftCdnWafPolicy",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
- "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "location": "WestUs",
- "sku": {
- "name": "Standard_Microsoft"
- },
- "properties": {
- "resourceState": "Enabled",
- "provisioningState": "Succeeded",
- "policySettings": {
+ "parameters": {
+ "api-version": "2019-06-15-preview",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "policyName": "MicrosoftCdnWafPolicy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "MicrosoftCdnWafPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/MicrosoftCdnWafPolicy",
+ "type": "Microsoft.Cdn/cdnwebapplicationfirewallpolicies",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "location": "WestUs",
+ "sku": {
+ "name": "Standard_Microsoft"
+ },
+ "properties": {
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "policySettings": {
+ "enabledState": "Enabled",
+ "mode": "Prevention",
+ "defaultRedirectUrl": "http://www.bing.com",
+ "defaultCustomBlockResponseStatusCode": 499,
+ "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
+ },
+ "rateLimitRules": {
+ "rules": [
+ {
+ "name": "RateLimitRule1",
+ "priority": 1,
"enabledState": "Enabled",
- "mode": "Prevention",
- "defaultRedirectUrl": "http://www.bing.com",
- "defaultCustomBlockResponseStatusCode": 499,
- "defaultCustomBlockResponseBody": "PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg=="
- },
- "rateLimitRules": {
- "rules": [
+ "rateLimitDurationInMinutes": 0,
+ "rateLimitThreshold": 1000,
+ "matchConditions": [
{
- "name": "RateLimitRule1",
- "priority": 1,
- "enabledState": "Enabled",
- "rateLimitDurationInMinutes": 0,
- "rateLimitThreshold": 1000,
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "IPMatch",
- "negateCondition": false,
- "matchValue": [
- "192.168.1.0/24",
- "10.0.0.0/24"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "IPMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "192.168.1.0/24",
+ "10.0.0.0/24"
+ ]
}
- ]
- },
- "customRules": {
- "rules": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "customRules": {
+ "rules": [
+ {
+ "name": "CustomRule1",
+ "priority": 2,
+ "enabledState": "Enabled",
+ "matchConditions": [
{
- "name": "CustomRule1",
- "priority": 2,
- "enabledState": "Enabled",
- "matchConditions": [
- {
- "matchVariable": "RemoteAddr",
- "selector": null,
- "operator": "GeoMatch",
- "negateCondition": false,
- "matchValue": [
- "CH"
- ]
- },
- {
- "matchVariable": "RequestHeader",
- "selector": "UserAgent",
- "operator": "Contains",
- "negateCondition": false,
- "matchValue": [
- "windows"
- ]
- }
- ],
- "action": "Block"
+ "matchVariable": "RemoteAddr",
+ "selector": null,
+ "operator": "GeoMatch",
+ "negateCondition": false,
+ "matchValue": [
+ "CH"
+ ]
+ },
+ {
+ "matchVariable": "RequestHeader",
+ "selector": "UserAgent",
+ "operator": "Contains",
+ "negateCondition": false,
+ "matchValue": [
+ "windows"
+ ]
}
- ]
- },
- "managedRules": {
- "managedRuleSets": [
+ ],
+ "action": "Block"
+ }
+ ]
+ },
+ "managedRules": {
+ "managedRuleSets": [
+ {
+ "ruleSetType": "DefaultRuleSet",
+ "ruleSetVersion": "preview-1.0",
+ "ruleGroupOverrides": [
{
- "ruleSetType": "DefaultRuleSet",
- "ruleSetVersion": "preview-1.0",
- "ruleGroupOverrides": [
+ "ruleGroupName": "Group1",
+ "rules": [
+ {
+ "ruleId": "GROUP1-0001",
+ "enabledState": "Enabled",
+ "action": "Redirect"
+ },
{
- "ruleGroupName": "Group1",
- "rules": [
- {
- "ruleId": "GROUP1-0001",
- "enabledState": "Enabled",
- "action": "Redirect"
- },
- {
- "ruleId": "GROUP1-0002",
- "enabledState": "Disabled"
- }
- ]
+ "ruleId": "GROUP1-0002",
+ "enabledState": "Disabled"
}
]
}
]
- },
- "cdnEndpointLinks": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
- }
- ]
+ }
+ ]
+ },
+ "cdnEndpointLinks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cdn/profiles/profile1/endpoints/testEndpoint2"
}
- }
+ ]
}
+ }
}
+ }
}
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
index b45f81d57230..5bb4fb80a430 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json
@@ -3143,9 +3143,11 @@
"type": "string",
"enum": [
"CacheExpiration",
+ "CacheKeyQueryString",
"ModifyRequestHeader",
"ModifyResponseHeader",
- "UrlRedirect"
+ "UrlRedirect",
+ "UrlRewrite"
],
"x-ms-enum": {
"name": "DeliveryRuleAction",
@@ -3230,6 +3232,52 @@
}
}
},
+ "UrlRewriteAction": {
+ "description": "Defines the url rewrite action for the delivery rule.",
+ "x-ms-discriminator-value": "UrlRewrite",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/UrlRewriteActionParameters"
+ }
+ }
+ },
+ "UrlRewriteActionParameters": {
+ "description": "Defines the parameters for the url rewrite action.",
+ "required": [
+ "sourcePattern",
+ "destination",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"
+ ]
+ },
+ "sourcePattern": {
+ "description": "define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.",
+ "type": "string"
+ },
+ "destination": {
+ "description": "Define the relative URL to which the above requests will be rewritten by.",
+ "type": "string"
+ },
+ "preserveUnmatchedPath": {
+ "description": "Whether to preserve unmatched path. Default value is true.",
+ "type": "boolean"
+ }
+ }
+ },
"DeliveryRuleRequestHeaderAction": {
"description": "Defines the request header action for the delivery rule.",
"x-ms-discriminator-value": "ModifyRequestHeader",
@@ -3366,6 +3414,58 @@
}
}
},
+ "DeliveryRuleCacheKeyQueryStringAction": {
+ "description": "Defines the cache-key query string action for the delivery rule.",
+ "x-ms-discriminator-value": "CacheKeyQueryString",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DeliveryRuleAction"
+ }
+ ],
+ "required": [
+ "parameters"
+ ],
+ "properties": {
+ "parameters": {
+ "description": "Defines the parameters for the action.",
+ "$ref": "#/definitions/CacheKeyQueryStringActionParameters"
+ }
+ }
+ },
+ "CacheKeyQueryStringActionParameters": {
+ "description": "Defines the parameters for the cache-key query string action.",
+ "required": [
+ "queryStringBehavior",
+ "@odata.type"
+ ],
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "enum": [
+ "#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheKeyQueryStringBehaviorActionParameters"
+ ]
+ },
+ "queryStringBehavior": {
+ "description": "Caching behavior for the requests",
+ "type": "string",
+ "enum": [
+ "Include",
+ "IncludeAll",
+ "Exclude",
+ "ExcludeAll"
+ ],
+ "x-ms-enum": {
+ "name": "queryStringBehavior",
+ "modelAsString": true
+ }
+ },
+ "queryParameters": {
+ "description": "query parameters to include or exclude (comma separated).",
+ "type": "string",
+ "x-nullable": true
+ }
+ }
+ },
"transform": {
"description": "Describes what transforms are applied before matching",
"type": "string",
diff --git a/specification/cdn/resource-manager/readme.csharp.md b/specification/cdn/resource-manager/readme.csharp.md
index 6cb46ecf1d55..365b552b1107 100644
--- a/specification/cdn/resource-manager/readme.csharp.md
+++ b/specification/cdn/resource-manager/readme.csharp.md
@@ -9,6 +9,6 @@ csharp:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.Cdn
payload-flattening-threshold: 2
- output-folder: $(csharp-sdks-folder)/Cdn/Management.Cdn/Generated
+ output-folder: $(csharp-sdks-folder)/cdn/Microsoft.Azure.Management.Cdn/src/Generated
clear-output-folder: true
```
diff --git a/specification/cdn/resource-manager/readme.go.md b/specification/cdn/resource-manager/readme.go.md
index 1ab801621aad..2700f6d89157 100644
--- a/specification/cdn/resource-manager/readme.go.md
+++ b/specification/cdn/resource-manager/readme.go.md
@@ -28,7 +28,7 @@ These settings apply only when `--tag=package-2019-06 --go` is specified on the
Please also specify `--go-sdk-folder=`.
``` yaml $(tag) == 'package-2019-06' && $(go)
-output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/preview/2019-06-15-preview/$(namespace)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-06-15-preview/$(namespace)
```
### Tag: package-2019-04 and go
diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md
index 2ab64af3ab52..100410d50e6d 100644
--- a/specification/cdn/resource-manager/readme.md
+++ b/specification/cdn/resource-manager/readme.md
@@ -119,8 +119,6 @@ swagger-to-sdk:
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
- after_scripts:
- - bundle install && rake arm:regen_all_profiles['azure_mgmt_cdn']
```
diff --git a/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json b/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json
index 46f997866223..da898426929b 100644
--- a/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json
+++ b/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/ContentModerator.json
@@ -967,8 +967,7 @@
],
"responses": {
"201": {
- "description": "Created",
- "schema": {}
+ "description": "Created"
},
"default": {
"description": "Error response.",
diff --git a/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/examples/AddTermResource.JSON b/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/examples/AddTermResource.JSON
index 673d551a6eb8..29472f38deb0 100644
--- a/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/examples/AddTermResource.JSON
+++ b/specification/cognitiveservices/data-plane/ContentModerator/stable/v1.0/examples/AddTermResource.JSON
@@ -7,9 +7,6 @@
"language": "eng"
},
"responses": {
- "201": {
- "headers": {},
- "body": {}
- }
+ "201": {}
}
}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizer.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizer.json
index ae94b69a285d..0ab2832894b9 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizer.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizer.json
@@ -300,25 +300,25 @@
"minLength": 0,
"type": "string"
},
- "sourceFilter":{
- "$ref":"#/definitions/TrainSourceFilter",
- "description":"Get or set filter to further search the\r\nsource path for content."
+ "sourceFilter": {
+ "$ref": "#/definitions/TrainSourceFilter",
+ "description": "Get or set filter to further search the\r\nsource path for content."
}
}
},
- "TrainSourceFilter":{
- "description":"Filters to be applied when traversing a data source.",
- "type":"object",
- "properties":{
- "prefix":{
- "description":"A case-sensitive prefix string to filter content\r\nunder the source location. For e.g., when using a Azure Blob\r\nUri use the prefix to restrict subfolders for content.",
- "maxLength":128,
- "minLength":0,
- "type":"string"
+ "TrainSourceFilter": {
+ "description": "Filters to be applied when traversing a data source.",
+ "type": "object",
+ "properties": {
+ "prefix": {
+ "description": "A case-sensitive prefix string to filter content\r\nunder the source location. For e.g., when using a Azure Blob\r\nUri use the prefix to restrict subfolders for content.",
+ "maxLength": 128,
+ "minLength": 0,
+ "type": "string"
},
- "includeSubFolders":{
- "description":"A flag to indicate if sub folders within the set of\r\nprefix folders will also need to be included when searching\r\nfor content to be preprocessed.",
- "type":"boolean"
+ "includeSubFolders": {
+ "description": "A flag to indicate if sub folders within the set of\r\nprefix folders will also need to be included when searching\r\nfor content to be preprocessed.",
+ "type": "boolean"
}
}
},
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json
index 2c4ecaf82db7..8db7ac356f97 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceipt.json
@@ -174,7 +174,7 @@
}
},
"understandingResult": {
- "description" : "A set of extracted fields corresponding to a semantic object, such as a receipt, in the input document.",
+ "description": "A set of extracted fields corresponding to a semantic object, such as a receipt, in the input document.",
"properties": {
"pages": {
"description": "List of pages where the document is found.",
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceiptOcr.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceiptOcr.json
index 4d0e1010ae01..4039f523e2f9 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceiptOcr.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/FormRecognizerReceiptOcr.json
@@ -20,7 +20,7 @@
"modelAsString": false
},
"x-nullable": false
- },
+ },
"TextRecognitionResult": {
"description": "An object representing a recognized text region",
"type": "object",
@@ -36,7 +36,7 @@
"description": "The orientation of the image in degrees in the clockwise direction. Range between [0, 360).",
"type": "number"
},
- "width": {
+ "width": {
"description": "The width of the image in pixels or the PDF in inches.",
"type": "number"
},
@@ -44,7 +44,7 @@
"description": "The height of the image in pixels or the PDF in inches.",
"type": "number"
},
- "unit": {
+ "unit": {
"description": "The unit used in the Width, Height and BoundingBox. For images, the unit is 'pixel'. For PDF, the unit is 'inch'.",
"type": "string",
"enum": [
@@ -218,6 +218,5 @@
"x-ms-skip-url-encoding": true
}
},
- "paths": {
- }
-}
\ No newline at end of file
+ "paths": {}
+}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithStream.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithStream.json
index b4d0bd13f769..7a7a35ec623f 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithStream.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithStream.json
@@ -11,4 +11,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithUrl.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithUrl.json
index 168d816944f3..e8816ded9af6 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithUrl.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulBatchReadReceiptWithUrl.json
@@ -11,4 +11,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulReadReceiptResult.json b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulReadReceiptResult.json
index 73fb2a085147..5d6a27860d97 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulReadReceiptResult.json
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/examples/SuccessfulReadReceiptResult.json
@@ -2942,4 +2942,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/feedback.receipt.md b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/feedback.receipt.md
index 6edd7618a0e9..28b298dd7fe5 100644
--- a/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/feedback.receipt.md
+++ b/specification/cognitiveservices/data-plane/FormRecognizer/preview/v1.0/feedback.receipt.md
@@ -6,7 +6,7 @@ Feedback:
---------
1. [dsgouda] Mark user non-editable properties as Readonly
- related discussion: https://github.com/Azure/azure-rest-api-specs/pull/6042#discussion_r289147638
+ related discussion: https://github.com/Azure/azure-rest-api-specs/pull/6042#discussion_r289147638
reference: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/LocalSearch/stable/v1.0/LocalSearch.json#L241
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json
index 07bbfb137d93..af14091b21c8 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/LUIS-Authoring.json
@@ -7841,6 +7841,10 @@
"endCharIndex": {
"description": "The index within the utterance where the extracted entity ends.",
"type": "integer"
+ },
+ "role": {
+ "description": "The role of the entity within the utterance.",
+ "type": "string"
}
}
},
@@ -7970,6 +7974,10 @@
"entity": {
"description": "The entity name.",
"type": "string"
+ },
+ "role": {
+ "description": "The role of the entity within the utterance.",
+ "type": "string"
}
}
},
@@ -8758,6 +8766,14 @@
"endTokenIndex": {
"description": "The index within the utterance where the extracted entity ends.",
"type": "integer"
+ },
+ "role": {
+ "description": "The role of the entity within the utterance.",
+ "type": "string"
+ },
+ "roleId": {
+ "description": "The role Id.",
+ "type": "string"
}
},
"required": [
diff --git a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json
index fd523836028c..a0a43d373b31 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Authoring/stable/v2.0/examples/examples/SuccessfulReviewLabeledExamplesRequest.json
@@ -72,14 +72,16 @@
"intentLabel": "BookFlight",
"entityLabels": [
{
- "entityName": "Location::To",
+ "entityName": "Location",
"startTokenIndex": 7,
- "endTokenIndex": 7
+ "endTokenIndex": 7,
+ "role": "To"
},
{
- "entityName": "Location::From",
+ "entityName": "Location",
"startTokenIndex": 5,
- "endTokenIndex": 5
+ "endTokenIndex": 5,
+ "role": "from"
}
],
"intentPredictions": [
diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json
index df09eeccfb82..3de6b0d061a2 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/LUIS-Runtime.json
@@ -1,8 +1,8 @@
{
"swagger": "2.0",
"info": {
- "version": "3.0-preview",
- "title": "LUIS Runtime Client"
+ "title": "LUIS Runtime Client",
+ "version": "3.0-preview"
},
"x-ms-parameterized-host": {
"hostTemplate": "{Endpoint}/luis/v3.0-preview",
@@ -30,43 +30,65 @@
"get": {
"description": "Gets the predictions for an application version.",
"operationId": "Prediction_GetVersionPredictionGET",
+ "produces": [
+ "application/json"
+ ],
"parameters": [
{
- "$ref": "#/parameters/AppIdInPath"
+ "in": "path",
+ "name": "appId",
+ "description": "The application ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
},
{
- "$ref": "#/parameters/VersionIdInPath"
+ "in": "path",
+ "name": "versionId",
+ "description": "The application version ID.",
+ "required": true,
+ "type": "string"
},
{
- "$ref": "#/parameters/Query"
+ "in": "query",
+ "name": "query",
+ "description": "The query to predict.",
+ "required": true,
+ "type": "string"
},
{
- "$ref": "#/parameters/Verbose"
+ "in": "query",
+ "name": "verbose",
+ "description": "Indicates whether to get extra metadata for the entities predictions or not.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/ShowAllIntents"
+ "in": "query",
+ "name": "show-all-intents",
+ "description": "Indicates whether to return all the intents in the response or just the top intent.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/Log"
+ "in": "query",
+ "name": "log",
+ "description": "Indicates whether to log the endpoint query or not.",
+ "type": "boolean"
}
],
"responses": {
"200": {
- "description": "The prediction for the supplied query",
+ "description": "The prediction for the supplied query.",
"schema": {
"$ref": "#/definitions/PredictionResponse"
}
},
"default": {
- "description": "unexpected error",
+ "description": "Unexpected error.",
"schema": {
"$ref": "#/definitions/Error"
}
}
},
- "produces": [
- "application/json"
- ],
"x-ms-examples": {
"Successful Get Version Predictions From Endpoint Via Get request": {
"$ref": "./examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaGetRequest.json"
@@ -76,43 +98,70 @@
"post": {
"description": "Gets the predictions for an application version.",
"operationId": "Prediction_GetVersionPrediction",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
"parameters": [
{
- "$ref": "#/parameters/AppIdInPath"
+ "in": "path",
+ "name": "appId",
+ "description": "The application ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
},
{
- "$ref": "#/parameters/VersionIdInPath"
+ "in": "path",
+ "name": "versionId",
+ "description": "The application version ID.",
+ "required": true,
+ "type": "string"
},
{
- "$ref": "#/parameters/Verbose"
+ "in": "query",
+ "name": "verbose",
+ "description": "Indicates whether to get extra metadata for the entities predictions or not.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/ShowAllIntents"
+ "in": "query",
+ "name": "show-all-intents",
+ "description": "Indicates whether to return all the intents in the response or just the top intent.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/Log"
+ "in": "query",
+ "name": "log",
+ "description": "Indicates whether to log the endpoint query or not.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/PredictionRequest"
+ "in": "body",
+ "name": "predictionRequest",
+ "description": "The prediction request parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PredictionRequest"
+ }
}
],
"responses": {
"200": {
- "description": "The prediction for the supplied query",
+ "description": "The prediction for the supplied query.",
"schema": {
"$ref": "#/definitions/PredictionResponse"
}
},
"default": {
- "description": "unexpected error",
+ "description": "Unexpected error.",
"schema": {
"$ref": "#/definitions/Error"
}
}
},
- "produces": [
- "application/json"
- ],
"x-ms-examples": {
"Successful Get Version Predictions From Endpoint Via Post request": {
"$ref": "./examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json"
@@ -124,38 +173,60 @@
"get": {
"description": "Gets the predictions for an application slot.",
"operationId": "Prediction_GetSlotPredictionGET",
+ "produces": [
+ "application/json"
+ ],
"parameters": [
{
- "$ref": "#/parameters/AppIdInPath"
+ "in": "path",
+ "name": "appId",
+ "description": "The application ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
},
{
- "$ref": "#/parameters/SlotNameInPath"
+ "in": "path",
+ "name": "slotName",
+ "description": "The application slot name.",
+ "required": true,
+ "type": "string"
},
{
- "$ref": "#/parameters/Query"
+ "in": "query",
+ "name": "query",
+ "description": "The query to predict.",
+ "required": true,
+ "type": "string"
},
{
- "$ref": "#/parameters/Verbose"
+ "in": "query",
+ "name": "verbose",
+ "description": "Indicates whether to get extra metadata for the entities predictions or not.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/ShowAllIntents"
+ "in": "query",
+ "name": "show-all-intents",
+ "description": "Indicates whether to return all the intents in the response or just the top intent.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/Log"
+ "in": "query",
+ "name": "log",
+ "description": "Indicates whether to log the endpoint query or not.",
+ "type": "boolean"
}
],
- "produces": [
- "application/json"
- ],
"responses": {
"200": {
- "description": "The prediction for the supplied query",
+ "description": "The prediction for the supplied query.",
"schema": {
"$ref": "#/definitions/PredictionResponse"
}
},
"default": {
- "description": "unexpected error",
+ "description": "Unexpected error.",
"schema": {
"$ref": "#/definitions/Error"
}
@@ -170,43 +241,70 @@
"post": {
"description": "Gets the predictions for an application slot.",
"operationId": "Prediction_GetSlotPrediction",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
"parameters": [
{
- "$ref": "#/parameters/AppIdInPath"
+ "in": "path",
+ "name": "appId",
+ "description": "The application ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
},
{
- "$ref": "#/parameters/SlotNameInPath"
+ "in": "path",
+ "name": "slotName",
+ "description": "The application slot name.",
+ "required": true,
+ "type": "string"
},
{
- "$ref": "#/parameters/Verbose"
+ "in": "query",
+ "name": "verbose",
+ "description": "Indicates whether to get extra metadata for the entities predictions or not.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/ShowAllIntents"
+ "in": "query",
+ "name": "show-all-intents",
+ "description": "Indicates whether to return all the intents in the response or just the top intent.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/Log"
+ "in": "query",
+ "name": "log",
+ "description": "Indicates whether to log the endpoint query or not.",
+ "type": "boolean"
},
{
- "$ref": "#/parameters/PredictionRequest"
+ "in": "body",
+ "name": "predictionRequest",
+ "description": "The prediction request parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PredictionRequest"
+ }
}
],
"responses": {
"200": {
- "description": "The prediction for the supplied query",
+ "description": "The prediction for the supplied query.",
"schema": {
"$ref": "#/definitions/PredictionResponse"
}
},
"default": {
- "description": "unexpected error",
+ "description": "Unexpected error.",
"schema": {
"$ref": "#/definitions/Error"
}
}
},
- "produces": [
- "application/json"
- ],
"x-ms-examples": {
"Successful Get Slot Predictions From Endpoint Via Post request": {
"$ref": "./examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json"
@@ -216,63 +314,17 @@
}
},
"definitions": {
- "PredictionRequest": {
- "type": "object",
- "description": "Represents the prediction request parameters.",
- "required": [
- "query"
- ],
- "properties": {
- "query": {
- "description": "The query to predict",
- "type": "string"
- },
- "options": {
- "description": "The custom options defined for this request.",
- "$ref": "#/definitions/PredictionRequestOptions"
- },
- "externalEntities": {
- "description": "The externally predicted entities for this request",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ExternalEntity"
- }
- },
- "dynamicLists": {
- "description": "The dynamically created list entities for this request",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DynamicList"
- }
- }
- }
- },
- "PredictionRequestOptions": {
- "type": "object",
- "description": "The custom options for the prediction request.",
- "properties": {
- "datetimeReference": {
- "type": "string",
- "format": "date-time",
- "description": "The reference DateTime used for predicting datetime entities."
- },
- "overridePredictions": {
- "type": "boolean",
- "description": "Whether to make the external entities resolution override the predictions if an overlap occurs."
- }
- }
- },
"PredictionResponse": {
- "type": "object",
"description": "Represents the prediction response.",
"required": [
"query",
"prediction"
],
+ "type": "object",
"properties": {
"query": {
- "type": "string",
- "description": "The query used in the prediction."
+ "description": "The query used in the prediction.",
+ "type": "string"
},
"prediction": {
"description": "The prediction of the requested query.",
@@ -281,7 +333,6 @@
}
},
"Prediction": {
- "type": "object",
"description": "Represents the prediction of a query.",
"required": [
"normalizedQuery",
@@ -289,29 +340,30 @@
"intents",
"entities"
],
+ "type": "object",
"properties": {
"normalizedQuery": {
- "type": "string",
- "description": "The query after pre-processing and normalization."
+ "description": "The query after pre-processing and normalization.",
+ "type": "string"
},
"alteredQuery": {
- "type": "string",
- "description": "The query after spell checking. Only set if spell check was enabled and a spelling mistake was found."
+ "description": "The query after spell checking. Only set if spell check was enabled and a spelling mistake was found.",
+ "type": "string"
},
"topIntent": {
- "type": "string",
- "description": "The name of the top scoring intent."
+ "description": "The name of the top scoring intent.",
+ "type": "string"
},
"intents": {
- "type": "object",
"description": "A dictionary representing the intents that fired.",
+ "type": "object",
"additionalProperties": {
"$ref": "#/definitions/Intent"
}
},
"entities": {
- "type": "object",
"description": "The dictionary representing the entities that fired.",
+ "type": "object",
"additionalProperties": {}
},
"sentiment": {
@@ -321,12 +373,13 @@
}
},
"Intent": {
- "type": "object",
"description": "Represents an intent prediction.",
+ "type": "object",
"properties": {
"score": {
- "type": "number",
- "description": "The score of the fired intent."
+ "format": "float",
+ "description": "The score of the fired intent.",
+ "type": "number"
},
"childApp": {
"description": "The prediction of the dispatched application.",
@@ -335,42 +388,121 @@
}
},
"Sentiment": {
- "type": "object",
"description": "The result of the sentiment analysis.",
"required": [
"score"
],
+ "type": "object",
"properties": {
+ "label": {
+ "description": "The label of the sentiment analysis result.",
+ "type": "string"
+ },
"score": {
- "type": "number",
- "description": "The sentiment score of the query."
+ "format": "float",
+ "description": "The sentiment score of the query.",
+ "type": "number"
+ }
+ }
+ },
+ "Error": {
+ "description": "Represents the error that occurred.",
+ "required": [
+ "error"
+ ],
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ErrorBody"
+ }
+ }
+ },
+ "ErrorBody": {
+ "description": "Represents the definition of the error that occurred.",
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
},
- "label": {
- "type": "string",
- "description": "The label of the sentiment analysis result."
+ "message": {
+ "description": "The error message.",
+ "type": "string"
}
}
},
- "ExternalEntity": {
+ "PredictionRequest": {
+ "description": "Represents the prediction request parameters.",
+ "required": [
+ "query"
+ ],
"type": "object",
+ "properties": {
+ "query": {
+ "description": "The query to predict.",
+ "type": "string"
+ },
+ "options": {
+ "description": "The custom options defined for this request.",
+ "$ref": "#/definitions/PredictionRequestOptions"
+ },
+ "externalEntities": {
+ "description": "The externally predicted entities for this request.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ExternalEntity"
+ }
+ },
+ "dynamicLists": {
+ "description": "The dynamically created list entities for this request.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DynamicList"
+ }
+ }
+ }
+ },
+ "PredictionRequestOptions": {
+ "description": "The custom options for the prediction request.",
+ "type": "object",
+ "properties": {
+ "datetimeReference": {
+ "format": "date-time",
+ "description": "The reference DateTime used for predicting datetime entities.",
+ "type": "string"
+ },
+ "overridePredictions": {
+ "description": "Whether to make the external entities resolution override the predictions if an overlap occurs.",
+ "type": "boolean"
+ }
+ }
+ },
+ "ExternalEntity": {
"description": "Defines a user predicted entity that extends an already existing one.",
"required": [
"entityName",
"startIndex",
"entityLength"
],
+ "type": "object",
"properties": {
"entityName": {
- "type": "string",
- "description": "The name of the entity to extend."
+ "description": "The name of the entity to extend.",
+ "type": "string"
},
"startIndex": {
- "type": "integer",
- "description": "The start character index of the predicted entity."
+ "format": "int32",
+ "description": "The start character index of the predicted entity.",
+ "type": "integer"
},
"entityLength": {
- "type": "integer",
- "description": "The length of the predicted entity."
+ "format": "int32",
+ "description": "The length of the predicted entity.",
+ "type": "integer"
},
"resolution": {
"description": "A user supplied custom resolution to return as the entity's prediction."
@@ -378,20 +510,20 @@
}
},
"DynamicList": {
- "type": "object",
"description": "Defines an extension for a list entity.",
"required": [
"listEntityName",
"requestLists"
],
+ "type": "object",
"properties": {
"listEntityName": {
- "type": "string",
- "description": "The name of the list entity to extend."
+ "description": "The name of the list entity to extend.",
+ "type": "string"
},
"requestLists": {
- "type": "array",
"description": "The lists to append on the extended list entity.",
+ "type": "array",
"items": {
"$ref": "#/definitions/RequestList"
}
@@ -399,125 +531,31 @@
}
},
"RequestList": {
- "type": "object",
"description": "Defines a sub-list to append to an existing list entity.",
"required": [
"canonicalForm"
],
+ "type": "object",
"properties": {
"name": {
- "type": "string",
- "description": "The name of the sub-list."
+ "description": "The name of the sub-list.",
+ "type": "string"
},
"canonicalForm": {
- "type": "string",
- "description": "The canonical form of the sub-list."
+ "description": "The canonical form of the sub-list.",
+ "type": "string"
},
"synonyms": {
- "type": "array",
"description": "The synonyms of the canonical form.",
+ "type": "array",
"items": {
"type": "string"
}
}
}
- },
- "Error": {
- "type": "object",
- "description": "Represents the error that occurred.",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorBody"
- }
- }
- },
- "ErrorBody": {
- "type": "object",
- "description": "Represents the definition of the error that occurred.",
- "required": [
- "code",
- "message"
- ],
- "properties": {
- "code": {
- "type": "string",
- "description": "The error code."
- },
- "message": {
- "type": "string",
- "description": "The error message."
- }
- }
}
},
"parameters": {
- "AppIdInPath": {
- "name": "appId",
- "in": "path",
- "required": true,
- "type": "string",
- "format": "uuid",
- "description": "The application ID.",
- "x-ms-parameter-location": "method"
- },
- "VersionIdInPath": {
- "name": "versionId",
- "in": "path",
- "description": "The application version ID.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "SlotNameInPath": {
- "name": "slotName",
- "in": "path",
- "description": "The application slot name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "Query": {
- "name": "query",
- "in": "query",
- "description": "The query to predict.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "Verbose": {
- "name": "verbose",
- "in": "query",
- "description": "Indicates whether to get extra metadata for the entities predictions or not.",
- "type": "boolean",
- "x-ms-parameter-location": "method"
- },
- "ShowAllIntents": {
- "name": "show-all-intents",
- "in": "query",
- "description": "Indicates whether to return all the intents in the response or just the top intent.",
- "type": "boolean",
- "x-ms-parameter-location": "method"
- },
- "Log": {
- "name": "log",
- "in": "query",
- "description": "Indicates whether to log the endpoint query or not.",
- "type": "boolean",
- "x-ms-parameter-location": "method"
- },
- "PredictionRequest": {
- "name": "predictionRequest",
- "in": "body",
- "description": "The prediction request parameters.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PredictionRequest"
- },
- "x-ms-parameter-location": "method"
- },
"Endpoint": {
"name": "Endpoint",
"description": "Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).",
diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json
index 0f1a054a3015..cc69253c04a0 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetSlotPredictionsFromEndpointViaPostRequest.json
@@ -7,7 +7,7 @@
"predictionRequest": {
"query": "forward to frank 30 dollars through HSBC",
"options": {
- "datetimeReference": "2015-02-13T13:15:00"
+ "datetimeReference": "2015-02-13T13:15:00.000Z"
},
"externalEntities": [
{
diff --git a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json
index 1e7b109d2996..3ffa8f619d8c 100644
--- a/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json
+++ b/specification/cognitiveservices/data-plane/LUIS/Runtime/preview/v3.0/examples/prediction/SuccessfulGetVersionPredictionsFromEndpointViaPostRequest.json
@@ -7,7 +7,7 @@
"predictionRequest": {
"query": "forward to frank 30 dollars through HSBC",
"options": {
- "datetimeReference": "2015-02-13T13:15:00"
+ "datetimeReference": "2015-02-13T13:15:00.000Z"
},
"externalEntities": [
{
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/readme.md b/specification/cognitiveservices/data-plane/QnAMaker/readme.md
index 65005674ef5b..20e211352a55 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/readme.md
+++ b/specification/cognitiveservices/data-plane/QnAMaker/readme.md
@@ -22,7 +22,6 @@ input-file: stable/v4.0/QnAMaker.json
```
``` yaml
-
tag: runtime_release_4_0
add-credentials: true
openapi-type: data-plane
@@ -36,6 +35,12 @@ These settings apply only when `--tag=runtime_release_4_0` is specified on the c
input-file: stable/v4.0/QnAMakerRuntime.json
```
+``` yaml
+batch:
+ - tag: release_4_0
+ - tag: runtime_release_4_0
+```
+
## Swagger to SDK
This section describes what SDK should be generated by the automatic system.
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json
index d6d231e026c5..9d93cd4ef960 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMaker.json
@@ -1453,4 +1453,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
index 0afe61bcd387..adc3dd313096 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/QnAMakerRuntime.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"version": "4.0",
- "title": "QnAMaker Client",
+ "title": "QnAMaker Runtime Client",
"description": "An API for QnAMaker runtime"
},
"securityDefinitions": {
@@ -33,7 +33,7 @@
"Knowledgebases"
],
"summary": "GenerateAnswer call to query the knowledgebase.",
- "operationId": "Knowledgebase_GenerateAnswer",
+ "operationId": "Runtime_GenerateAnswer",
"parameters": [
{
"$ref": "#/parameters/KbId"
@@ -75,7 +75,7 @@
"Knowledgebases"
],
"summary": "Train call to add suggestions to the knowledgebase.",
- "operationId": "Knowledgebase_Train",
+ "operationId": "Runtime_Train",
"parameters": [
{
"$ref": "#/parameters/KbId"
@@ -390,7 +390,7 @@
"type": "array",
"description": "Represents Search Result list.",
"items": {
- "$ref": "#/definitions/QnASearchResult"
+ "$ref": "#/definitions/QnASearchResult"
}
}
}
@@ -428,8 +428,8 @@
"type": "array",
"description": "List of metadata.",
"items": {
- "$ref": "#/definitions/MetadataDTO"
- }
+ "$ref": "#/definitions/MetadataDTO"
+ }
},
"context": {
"type": "object",
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json
index 58ae1825d372..2f0bc8e9ee82 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulCreateKb.json
@@ -17,17 +17,53 @@
},
{
"id": 0,
- "answer": "You can use our REST apis to manage your KB. See here for details: https://westus.dev.cognitive.microsoft.com/docs/services/58994a073d9e04097c7ba6fe/operations/58994a073d9e041ad42d9baa",
+ "answer": "You can use our REST apis to create a KB. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/knowledgebase/create",
"source": "Custom Editorial",
"questions": [
- "How do I programmatically update my KB?"
+ "How do I programmatically create a KB?"
],
"metadata": [
{
"name": "category",
"value": "api"
}
- ]
+ ],
+ "context": {
+ "isContextOnly": false,
+ "prompts": [
+ {
+ "displayOrder": 1,
+ "displayText": "Update KB",
+ "qna": {
+ "answer": "You can use our REST apis to update your KB. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/knowledgebase/update",
+ "questions": [
+ "How do I programmatically update my KB?"
+ ],
+ "metadata": [
+ {
+ "name": "category",
+ "value": "api"
+ }
+ ],
+ "context": {
+ "isContextOnly": false,
+ "prompts": [
+ {
+ "displayOrder": 1,
+ "displayText": "Refresh Endpoint Keys",
+ "qna": {
+ "answer": "You can use our REST apis to refresh endpoint keys. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/endpointkeys/refreshkeys",
+ "questions": [
+ "How do I programmatically refresh endpoint keys?"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
}
],
"urls": [
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGenAns.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGenAns.json
index c586a2934a32..63e0a9556c49 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGenAns.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGenAns.json
@@ -29,7 +29,7 @@
"answer": "There is no direct integration of LUIS with QnA Maker. But, in your bot code, you can use LUIS and QnA Maker together.",
"source": "Custom Editorial",
"questions": [
- "How can I integrate LUIS with QnA Maker?"
+ "How can I integrate LUIS with QnA Maker?"
],
"metadata": [
{
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGetEpSettings.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGetEpSettings.json
index 5262a630924c..97cc7fcac360 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGetEpSettings.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulGetEpSettings.json
@@ -8,7 +8,7 @@
"200": {
"headers": {},
"body": {
- "activeLearning":{
+ "activeLearning": {
"enable": "True"
}
}
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulSetEpSettings.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulSetEpSettings.json
index 1b42c44652b1..a12bd163bd89 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulSetEpSettings.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulSetEpSettings.json
@@ -4,7 +4,7 @@
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"endpointSettingsPayload": {
- "activeLearning":{
+ "activeLearning": {
"enable": "True"
}
}
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulTrain.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulTrain.json
index b4443bccde50..3448a4009b3d 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulTrain.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulTrain.json
@@ -17,4 +17,4 @@
"responses": {
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json
index cfb8f1166c13..0a767648beb6 100644
--- a/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json
+++ b/specification/cognitiveservices/data-plane/QnAMaker/stable/v4.0/examples/SuccessfulUpdKb.json
@@ -15,20 +15,6 @@
"How can I change the default message from QnA Maker?"
],
"metadata": []
- },
- {
- "id": 0,
- "answer": "You can use our REST apis to manage your KB. See here for details: https://westus.dev.cognitive.microsoft.com/docs/services/58994a073d9e04097c7ba6fe/operations/58994a073d9e041ad42d9baa",
- "source": "Custom Editorial",
- "questions": [
- "How do I programmatically update my KB?"
- ],
- "metadata": [
- {
- "name": "category",
- "value": "api"
- }
- ]
}
],
"urls": [
@@ -43,28 +29,88 @@
},
"delete": {
"ids": [
- 4,
13,
35
- ],
- "sources": [
- "Custom Editorial"
]
},
"update": {
- "name": "QnA Maker + Emotion API FAQ Bot",
+ "name": "QnA Maker FAQ Prompts Bot",
"qnaList": [
{
- "id": 30,
- "answer": "Yes, you can use our REST APIs to manage a KB. Please check our documentation for details.",
- "source": "Custom Q&A",
+ "id": 2,
+ "answer": "You can use our REST apis to create a KB. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/knowledgebase/create",
+ "source": "Custom Editorial",
"questions": {
- "add": [
- "can I programmatically manage a KB?"
+ "add": [],
+ "delete": []
+ },
+ "metadata": {
+ "add": [],
+ "delete": []
+ },
+ "alternateQuestionClusters": {
+ "delete": []
+ },
+ "context": {
+ "isContextOnly": false,
+ "promptsToAdd": [
+ {
+ "displayText": "Add Prompts",
+ "displayOrder": 0,
+ "qna": {
+ "id": 0,
+ "answer": "Click here to know more https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/multiturn-conversation",
+ "source": "Editorial",
+ "questions": [
+ "How can I add prompts?"
+ ],
+ "metadata": [],
+ "alternateQuestionClusters": [],
+ "context": {
+ "isContextOnly": false,
+ "prompts": []
+ }
+ },
+ "qnaId": 0
+ },
+ {
+ "displayText": "Delete Prompts",
+ "displayOrder": 0,
+ "qna": {
+ "id": 0,
+ "answer": "Click here to know more https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/multiturn-conversation",
+ "source": "Editorial",
+ "questions": [
+ "How can I delete delete prompts?"
+ ],
+ "metadata": [],
+ "alternateQuestionClusters": [],
+ "context": {
+ "isContextOnly": false,
+ "prompts": []
+ }
+ },
+ "qnaId": 0
+ },
+ {
+ "displayText": "Update Knowledgebase",
+ "displayOrder": 0,
+ "qna": null,
+ "qnaId": 3
+ }
],
- "delete": [
- "How do I programmatically update my KB?"
+ "promptsToDelete": [
+ 3
]
+ }
+ },
+ {
+ "id": 3,
+ "answer": "You can use our REST apis to update your KB. See here for details: https://docs.microsoft.com/en-us/rest/api/cognitiveservices/qnamaker/knowledgebase/update",
+ "source": "Custom Editorial",
+ "questions": {
+ "add": [],
+ "delete": []
},
"metadata": {
"delete": [
@@ -79,11 +125,25 @@
"value": "programmatic"
}
]
+ },
+ "alternateQuestionClusters": {
+ "delete": []
+ },
+ "context": {
+ "isContextOnly": false,
+ "promptsToAdd": [
+ {
+ "displayText": "Regenerate Endpoint keys",
+ "displayOrder": 1,
+ "qna": null,
+ "qnaId": 4
+ }
+ ],
+ "promptsToDelete": [
+ 4
+ ]
}
}
- ],
- "urls": [
- "https://docs.microsoft.com/en-us/bot-framework/resources-bot-framework-faq"
]
}
}
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
index cf908ebfc74b..de9845f17678 100644
--- a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/cognitiveservices.json
@@ -675,6 +675,43 @@
}
}
}
+ },
+ "/providers/Microsoft.CognitiveServices/checkDomainAvailability": {
+ "post": {
+ "tags": [
+ "CognitiveServicesAccounts"
+ ],
+ "operationId": "CheckDomainAvailability",
+ "description": "Check whether a domain is available.",
+ "x-ms-examples": {
+ "Check SKU Availability": {
+ "$ref": "./examples/CheckDomainAvailability.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "x-ms-client-flatten": true,
+ "schema": {
+ "$ref": "#/definitions/CheckDomainAvailabilityParameter"
+ },
+ "description": "Check Domain Availability parameter."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK.",
+ "schema": {
+ "$ref": "#/definitions/CheckDomainAvailabilityResult"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -1179,6 +1216,44 @@
}
}
},
+ "CheckDomainAvailabilityParameter": {
+ "description": "Check Domain availability parameter.",
+ "properties": {
+ "subdomainName": {
+ "type": "string",
+ "description": "The subdomain name to use."
+ },
+ "type": {
+ "type": "string",
+ "description": "The Type of the resource."
+ }
+ },
+ "required": [
+ "subdomainName",
+ "type"
+ ]
+ },
+ "CheckDomainAvailabilityResult": {
+ "description": "Check Domain availability result.",
+ "properties": {
+ "isSubdomainAvailable": {
+ "type": "boolean",
+ "description": "Indicates the given SKU is available or not."
+ },
+ "reason": {
+ "type": "string",
+ "description": "Reason why the SKU is not available."
+ },
+ "subdomainName": {
+ "type": "string",
+ "description": "The subdomain name to use."
+ },
+ "type": {
+ "type": "string",
+ "description": "The Type of the resource."
+ }
+ }
+ },
"ResourceSkuRestrictions": {
"properties": {
"type": {
@@ -1303,7 +1378,7 @@
],
"description": "The Get Skus operation response."
},
- "NetworkRuleSet": {
+ "NetworkRuleSet": {
"properties": {
"bypass": {
"type": "string",
diff --git a/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json
new file mode 100644
index 000000000000..65fe3be46b54
--- /dev/null
+++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2017-04-18/examples/CheckDomainAvailability.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2017-04-18",
+ "subscriptionId": "f9b96b36-1f5e-4021-8959-51527e26e6d3",
+ "location": "westus",
+ "parameters": {
+ "subdomainName": "contosodemoapp1",
+ "type": "Microsoft.CognitiveServices/accounts"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isSubdomainAvailable": false,
+ "reason": "Sub domain name 'contosodemoapp1' is not valid",
+ "subdomainName": "contosodemoapp1",
+ "type": "Microsoft.CognitiveServices/accounts"
+ }
+ }
+ }
+}
diff --git a/specification/compute/quickstart-templates/aliases.json b/specification/compute/quickstart-templates/aliases.json
index 30585fbf3bd0..c3166eef59fc 100644
--- a/specification/compute/quickstart-templates/aliases.json
+++ b/specification/compute/quickstart-templates/aliases.json
@@ -12,7 +12,7 @@
"CentOS": {
"publisher": "OpenLogic",
"offer": "CentOS",
- "sku": "7.3",
+ "sku": "7.5",
"version": "latest"
},
"CoreOS": {
@@ -22,9 +22,9 @@
"version": "latest"
},
"Debian": {
- "publisher": "credativ",
- "offer": "Debian",
- "sku": "8",
+ "publisher": "Debian",
+ "offer": "debian-10",
+ "sku": "10",
"version": "latest"
},
"openSUSE-Leap": {
@@ -36,23 +36,29 @@
"RHEL": {
"publisher": "RedHat",
"offer": "RHEL",
- "sku": "7.3",
+ "sku": "7-RAW",
"version": "latest"
},
"SLES": {
"publisher": "SUSE",
"offer": "SLES",
- "sku": "12-SP2",
+ "sku": "15",
"version": "latest"
},
"UbuntuLTS": {
"publisher": "Canonical",
"offer": "UbuntuServer",
- "sku": "16.04-LTS",
+ "sku": "18.04-LTS",
"version": "latest"
}
},
"Windows": {
+ "Win2019Datacenter": {
+ "publisher": "MicrosoftWindowsServer",
+ "offer": "WindowsServer",
+ "sku": "2019-Datacenter",
+ "version": "latest"
+ },
"Win2016Datacenter": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
diff --git a/specification/compute/quickstart-templates/vm-simple.json b/specification/compute/quickstart-templates/vm-simple.json
index edc226d02023..d2f4bec8f5dc 100644
--- a/specification/compute/quickstart-templates/vm-simple.json
+++ b/specification/compute/quickstart-templates/vm-simple.json
@@ -22,7 +22,7 @@
"name": "nestedTemplate",
"type": "Microsoft.Resources/deployments",
"properties": {
- "mode": "Incremental",
+ "mode": "incremental",
"templateLink": {
"uri": "[variables('templatelink')]",
"contentVersion": "1.0.0.0"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json
new file mode 100644
index 000000000000..8e99ea6ab92a
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/examples/ListAvailableResourceSkus.json
@@ -0,0 +1,176 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2017-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "virtualMachines",
+ "locations": [
+ "westus"
+ ],
+ "capabilities": [
+ {
+ "name": "MaxResourceVolumeMB",
+ "value": "20480"
+ },
+ {
+ "name": "OSVhdSizeMB",
+ "value": "1047552"
+ },
+ {
+ "name": "vCPUs",
+ "value": "1"
+ },
+ {
+ "name": "HyperVGenerations",
+ "value": "V1"
+ },
+ {
+ "name": "MemoryGB",
+ "value": "0.75"
+ },
+ {
+ "name": "MaxDataDiskCount",
+ "value": "1"
+ },
+ {
+ "name": "LowPriorityCapable",
+ "value": "False"
+ },
+ {
+ "name": "PremiumIO",
+ "value": "False"
+ },
+ {
+ "name": "vCPUsAvailable",
+ "value": "1"
+ },
+ {
+ "name": "ACUs",
+ "value": "50"
+ },
+ {
+ "name": "vCPUsPerCore",
+ "value": "1"
+ },
+ {
+ "name": "EphemeralOSDiskSupported",
+ "value": "False"
+ },
+ {
+ "name": "AcceleratedNetworkingEnabled",
+ "value": "False"
+ },
+ {
+ "name": "RdmaEnabled",
+ "value": "False"
+ },
+ {
+ "name": "MaxNetworkInterfaces",
+ "value": "2"
+ }
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ01"
+ ]
+ }
+ ],
+ "name": "Standard_A0",
+ "tier": "Standard",
+ "size": "A0",
+ "family": "standardA0_A7Family"
+ },
+ {
+ "resourceType": "virtualMachines",
+ "locations": [
+ "westus"
+ ],
+ "capabilities": [
+ {
+ "name": "MaxResourceVolumeMB",
+ "value": "71680"
+ },
+ {
+ "name": "OSVhdSizeMB",
+ "value": "1047552"
+ },
+ {
+ "name": "vCPUs",
+ "value": "1"
+ },
+ {
+ "name": "HyperVGenerations",
+ "value": "V1"
+ },
+ {
+ "name": "MemoryGB",
+ "value": "1.75"
+ },
+ {
+ "name": "MaxDataDiskCount",
+ "value": "2"
+ },
+ {
+ "name": "LowPriorityCapable",
+ "value": "True"
+ },
+ {
+ "name": "PremiumIO",
+ "value": "False"
+ },
+ {
+ "name": "vCPUsAvailable",
+ "value": "1"
+ },
+ {
+ "name": "ACUs",
+ "value": "100"
+ },
+ {
+ "name": "vCPUsPerCore",
+ "value": "1"
+ },
+ {
+ "name": "EphemeralOSDiskSupported",
+ "value": "False"
+ },
+ {
+ "name": "AcceleratedNetworkingEnabled",
+ "value": "False"
+ },
+ {
+ "name": "RdmaEnabled",
+ "value": "False"
+ },
+ {
+ "name": "MaxNetworkInterfaces",
+ "value": "2"
+ }
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ02",
+ "westus-AZ01"
+ ]
+ }
+ ],
+ "name": "Standard_A1",
+ "tier": "Standard",
+ "size": "A1",
+ "family": "standardA0_A7Family"
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/skus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/skus.json
index c71b52515bbc..285b21c40d53 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/skus.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2017-09-01/skus.json
@@ -60,6 +60,11 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Lists all available Resource SKUs": {
+ "$ref": "./examples/ListAvailableResourceSkus.json"
+ }
}
}
}
@@ -318,13 +323,13 @@
},
"nextLink": {
"type": "string",
- "description": "The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next page of VMSS Skus."
+ "description": "The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus"
}
},
"required": [
"value"
],
- "description": "The Compute List Skus operation response."
+ "description": "The List Resource Skus operation response."
}
},
"parameters": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json
index ec1852411a99..b0ad1015e966 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-04-01/compute.json
@@ -4635,7 +4635,7 @@
"properties": {
"proximityPlacementGroupType": {
"type": "string",
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard**
**Ultra**",
+ "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
"enum": [
"Standard",
"Ultra"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
index 9ca39ecd9e13..9d872a0199b0 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
@@ -2238,6 +2238,11 @@
},
"x-ms-pageable": {
"nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Lists all available virtual machine sizes to which the specified virtual machine can be resized": {
+ "$ref": "./examples/ListAvailableVmSizes_VirtualMachines.json"
+ }
}
}
},
@@ -4761,7 +4766,7 @@
"properties": {
"proximityPlacementGroupType": {
"type": "string",
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard**
**Ultra**",
+ "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
"enum": [
"Standard",
"Ultra"
@@ -5269,10 +5274,10 @@
"properties": {
"tempDisk": {
"type": "boolean",
- "description": "Specifies whether to reimage temp disk. Default value: false."
+ "description": "Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk."
}
},
- "description": "Parameters for Reimaging Virtual Machine. Default value for OSDisk : true."
+ "description": "Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged"
},
"VirtualMachineCaptureParameters": {
"properties": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
index fe2764e2b1f0..9876547fa951 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
@@ -39,8 +39,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
index 240bd2145773..0d3e6f4c9cf2 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
@@ -59,8 +59,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmFromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmFromACustomImage.json
index 72c86281d241..923b15f36f9e 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmFromACustomImage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmFromACustomImage.json
@@ -38,8 +38,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmInAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmInAnAvailabilitySet.json
index cee83705643f..1f56740260da 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmInAnAvailabilitySet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmInAnAvailabilitySet.json
@@ -44,8 +44,7 @@
"availabilitySet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}"
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithADiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithADiffOsDisk.json
index 511a232e2281..01118355b95a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithADiffOsDisk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithADiffOsDisk.json
@@ -11,7 +11,6 @@
"product": "windows-data-science-vm",
"name": "windows2016"
},
- "name": "myVM",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithAMarketplaceImagePlan.json
index 732a5edb031c..52d96fad8c47 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithAMarketplaceImagePlan.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithAMarketplaceImagePlan.json
@@ -11,7 +11,6 @@
"product": "windows-data-science-vm",
"name": "windows2016"
},
- "name": "myVM",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithBootDiagnostics.json
index ff326e466530..e9f1bbe6964a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithBootDiagnostics.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithBootDiagnostics.json
@@ -47,8 +47,7 @@
"enabled": true
}
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithEmptyDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithEmptyDataDisks.json
index 37dbb50c4628..f9d075ea8bda 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithEmptyDataDisks.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithEmptyDataDisks.json
@@ -53,8 +53,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPasswordAuthentication.json
index 454c352ce3f1..9fb380f16190 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPasswordAuthentication.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPasswordAuthentication.json
@@ -41,8 +41,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPremiumStorage.json
index 257cc3794f90..3c47b1533071 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPremiumStorage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithPremiumStorage.json
@@ -41,8 +41,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithSshAuthentication.json
index f52c14158e85..c574d5d2f48a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithSshAuthentication.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAVmWithSshAuthentication.json
@@ -51,8 +51,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json
new file mode 100644
index 000000000000..7b69a8cdf5f4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListAvailableVmSizes_VirtualMachines.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVmName",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Standard_A1_V2",
+ "numberOfCores": 1,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 10240,
+ "memoryInMB": 2048,
+ "maxDataDiskCount": 2
+ },
+ {
+ "name": "Standard_A2_V2",
+ "numberOfCores": 2,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 20480,
+ "memoryInMB": 4096,
+ "maxDataDiskCount": 4
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
index 9d979a76cded..82faabebd76c 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
@@ -2238,6 +2238,11 @@
},
"x-ms-pageable": {
"nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Lists all available virtual machine sizes to which the specified virtual machine can be resized": {
+ "$ref": "./examples/ListAvailableVmSizes_VirtualMachines.json"
+ }
}
}
},
@@ -4761,7 +4766,7 @@
"properties": {
"proximityPlacementGroupType": {
"type": "string",
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard**
**Ultra**",
+ "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
"enum": [
"Standard",
"Ultra"
@@ -5284,7 +5289,7 @@
"properties": {
"tempDisk": {
"type": "boolean",
- "description": "Specifies whether to reimage temp disk. Default value: false."
+ "description": "Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk."
}
},
"description": "Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
index 8da134b1a1bd..80fca4af9787 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
@@ -39,8 +39,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
index 72aee807ef78..d3b897842b51 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
@@ -59,8 +59,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmFromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmFromACustomImage.json
index f86cbf2b24d5..96498be14f2d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmFromACustomImage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmFromACustomImage.json
@@ -38,8 +38,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmInAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmInAnAvailabilitySet.json
index 5fafdd4c0fa6..680c0a376548 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmInAnAvailabilitySet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmInAnAvailabilitySet.json
@@ -44,8 +44,7 @@
"availabilitySet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}"
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithADiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithADiffOsDisk.json
index de69454d3c36..5bac74bd214b 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithADiffOsDisk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithADiffOsDisk.json
@@ -11,7 +11,6 @@
"product": "windows-data-science-vm",
"name": "windows2016"
},
- "name": "myVM",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithAMarketplaceImagePlan.json
index e7b178768e43..6a8dff5ddc3a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithAMarketplaceImagePlan.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithAMarketplaceImagePlan.json
@@ -11,7 +11,6 @@
"product": "windows-data-science-vm",
"name": "windows2016"
},
- "name": "myVM",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithBootDiagnostics.json
index 26f72ca42686..9a1af82bc8cd 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithBootDiagnostics.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithBootDiagnostics.json
@@ -47,8 +47,7 @@
"enabled": true
}
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithEmptyDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithEmptyDataDisks.json
index 04ded0d013c7..a34dc01ab030 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithEmptyDataDisks.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithEmptyDataDisks.json
@@ -53,8 +53,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPasswordAuthentication.json
index 795e3eb71fa8..577006512967 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPasswordAuthentication.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPasswordAuthentication.json
@@ -41,8 +41,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPremiumStorage.json
index 68121fbb694a..84d01c8c7443 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPremiumStorage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithPremiumStorage.json
@@ -41,8 +41,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithSshAuthentication.json
index ead725d0c8b4..14f38c04b642 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithSshAuthentication.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/CreateAVmWithSshAuthentication.json
@@ -51,8 +51,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json
new file mode 100644
index 000000000000..cae7a6e72447
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVmName",
+ "api-version": "2018-10-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Standard_A1_V2",
+ "numberOfCores": 1,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 10240,
+ "memoryInMB": 2048,
+ "maxDataDiskCount": 2
+ },
+ {
+ "name": "Standard_A2_V2",
+ "numberOfCores": 2,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 20480,
+ "memoryInMB": 4096,
+ "maxDataDiskCount": 4
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
index d6601b0adfb6..e3b6e57b96f3 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
@@ -601,6 +601,527 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}": {
+ "put": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_CreateOrUpdate",
+ "description": "Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596)",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ },
+ "description": "Parameters supplied to the Create Dedicated Host Group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update a dedicated host group.": {
+ "$ref": "./examples/CreateOrUpdateADedicatedHostGroup.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Update",
+ "description": "Update an dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupUpdate"
+ },
+ "description": "Parameters supplied to the Update Dedicated Host Group operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Delete",
+ "description": "Delete a dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Get",
+ "description": "Retrieves information about a dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a dedicated host group.": {
+ "$ref": "./examples/GetADedicatedHostGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups": {
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_ListByResourceGroup",
+ "description": "Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups": {
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_ListBySubscription",
+ "description": "Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": {
+ "put": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_CreateOrUpdate",
+ "description": "Create or update a dedicated host .",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host ."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ },
+ "description": "Parameters supplied to the Create Dedicated Host."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update a dedicated host .": {
+ "$ref": "./examples/CreateOrUpdateADedicatedHost.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Update",
+ "description": "Update an dedicated host .",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host ."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostUpdate"
+ },
+ "description": "Parameters supplied to the Update Dedicated Host operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Delete",
+ "description": "Delete a dedicated host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Get",
+ "description": "Retrieves information about a dedicated host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "instanceView"
+ ],
+ "x-ms-enum": {
+ "name": "InstanceViewTypes",
+ "modelAsString": false
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a dedicated host.": {
+ "$ref": "./examples/GetADedicatedHost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts": {
+ "get": {
+ "tags": [
+ "DedicatedHost"
+ ],
+ "operationId": "DedicatedHosts_ListByHostGroup",
+ "description": "Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}": {
"get": {
"tags": [
@@ -1891,7 +2412,6 @@
"Update a VM by detaching data disk": {
"$ref": "./examples/UpdateVMDetachDataDiskUsingToBeDetachedProperty.json"
}
-
}
},
"delete": {
@@ -2244,6 +2764,11 @@
},
"x-ms-pageable": {
"nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Lists all available virtual machine sizes to which the specified virtual machine can be resized": {
+ "$ref": "./examples/ListAvailableVmSizes_VirtualMachines.json"
+ }
}
}
},
@@ -4845,7 +5370,7 @@
"properties": {
"proximityPlacementGroupType": {
"type": "string",
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard**
**Ultra**",
+ "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
"enum": [
"Standard",
"Ultra"
@@ -4924,6 +5449,253 @@
],
"description": "The List Proximity Placement Group operation response."
},
+ "DedicatedHostGroupProperties": {
+ "properties": {
+ "platformFaultDomainCount": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 3,
+ "description": "Number of fault domains that the host group can span."
+ },
+ "hosts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResourceReadOnly"
+ },
+ "readOnly": true,
+ "description": "A list of references to all dedicated hosts in the dedicated host group."
+ }
+ },
+ "required": [
+ "platformFaultDomainCount"
+ ],
+ "description": "Dedicated Host Group Properties."
+ },
+ "DedicatedHostGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostGroupProperties"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host group that the dedicated hosts should be assigned to.
Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group."
+ },
+ "DedicatedHostGroupUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostGroupProperties"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated."
+ },
+ "DedicatedHostGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ },
+ "description": "The list of dedicated host groups"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Dedicated Host Group with resource group response."
+ },
+ "DedicatedHostLicenseType": {
+ "type": "string",
+ "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
+ "enum": [
+ "None",
+ "Windows_Server_Hybrid",
+ "Windows_Server_Perpetual"
+ ],
+ "x-ms-enum": {
+ "name": "DedicatedHostLicenseTypes",
+ "modelAsString": false
+ }
+ },
+ "DedicatedHostAllocatableVM": {
+ "properties": {
+ "vmSize": {
+ "type": "string",
+ "description": "VM size in terms of which the unutilized capacity is represented."
+ },
+ "count": {
+ "type": "number",
+ "format": "double",
+ "description": "Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity."
+ }
+ },
+ "description": "Represents the dedicated host unutilized capacity in terms of a specific VM size."
+ },
+ "DedicatedHostAvailableCapacity": {
+ "properties": {
+ "allocatableVMs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHostAllocatableVM"
+ },
+ "description": "The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host."
+ }
+ },
+ "description": "Dedicated host unutilized capacity."
+ },
+ "DedicatedHostInstanceView": {
+ "properties": {
+ "assetId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the unique id of the dedicated physical machine on which the dedicated host resides."
+ },
+ "availableCapacity": {
+ "$ref": "#/definitions/DedicatedHostAvailableCapacity",
+ "description": "Unutilized capacity of the dedicated host."
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of a dedicated host."
+ },
+ "DedicatedHostProperties": {
+ "properties": {
+ "platformFaultDomain": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "maximum": 2,
+ "description": "Fault domain of the dedicated host within a dedicated host group."
+ },
+ "autoReplaceOnFailure": {
+ "type": "boolean",
+ "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided."
+ },
+ "hostId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique id generated and assigned to the dedicated host by the platform.
Does not change throughout the lifetime of the host."
+ },
+ "virtualMachines": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResourceReadOnly"
+ },
+ "readOnly": true,
+ "description": "A list of references to all virtual machines in the Dedicated Host."
+ },
+ "licenseType": {
+ "$ref": "#/definitions/DedicatedHostLicenseType",
+ "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**"
+ },
+ "provisioningTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The date when the host was first provisioned."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "instanceView": {
+ "$ref": "#/definitions/DedicatedHostInstanceView",
+ "readOnly": true,
+ "description": "The dedicated host instance view."
+ }
+ },
+ "description": "Properties of the dedicated host."
+ },
+ "DedicatedHost": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostProperties"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "sku"
+ ],
+ "description": "Specifies information about the Dedicated host."
+ },
+ "DedicatedHostUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated."
+ },
+ "DedicatedHostListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHost"
+ },
+ "description": "The list of dedicated hosts"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The list dedicated host operation response."
+ },
"VirtualMachineSize": {
"properties": {
"name": {
@@ -5368,7 +6140,7 @@
"properties": {
"tempDisk": {
"type": "boolean",
- "description": "Specifies whether to reimage temp disk. Default value: false."
+ "description": "Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk."
}
},
"description": "Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged"
@@ -5894,7 +6666,7 @@
},
"toBeDetached": {
"type": "boolean",
- "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset"
+ "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset"
}
},
"required": [
@@ -6016,7 +6788,7 @@
},
"enableAutomaticUpdates": {
"type": "boolean",
- "description": "Indicates whether virtual machine is enabled for automatic Windows updates. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning."
+ "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true.
For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning."
},
"timeZone": {
"type": "string",
@@ -6406,6 +7178,18 @@
"type": "string",
"description": "The version of Operating System running on the virtual machine."
},
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "Specifies the HyperVGeneration Type associated with a resource",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGenerationType",
+ "modelAsString": true
+ }
+ },
"rdpThumbPrint": {
"type": "string",
"description": "The Remote desktop certificate thumbprint."
@@ -6480,6 +7264,10 @@
"$ref": "#/definitions/SubResource",
"description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01."
},
+ "host": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01."
+ },
"provisioningState": {
"readOnly": true,
"type": "string",
@@ -6609,7 +7397,7 @@
"properties": {
"enableAutomaticOSUpgrade": {
"type": "boolean",
- "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, recommendation is to set [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) to false."
+ "description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false.
If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true."
},
"disableAutomaticRollback": {
"type": "boolean",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
index 74da6c7ecdd6..fc12012c36ba 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateACustomImageVmFromAnUnmanagedGeneralizedOsImage.json
@@ -39,8 +39,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
index 826771c41dd9..bcd3977670a6 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAPlatformImageVmWithUnmanagedOsAndDataDisks.json
@@ -59,8 +59,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmFromACustomImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmFromACustomImage.json
index ec3d8586d603..01b7dcdbe3a9 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmFromACustomImage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmFromACustomImage.json
@@ -38,8 +38,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmInAnAvailabilitySet.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmInAnAvailabilitySet.json
index f4107d6309cb..190bd4c785af 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmInAnAvailabilitySet.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmInAnAvailabilitySet.json
@@ -44,8 +44,7 @@
"availabilitySet": {
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}"
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithADiffOsDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithADiffOsDisk.json
index f2df2cf1db51..dfd565c0fd36 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithADiffOsDisk.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithADiffOsDisk.json
@@ -11,7 +11,6 @@
"product": "windows-data-science-vm",
"name": "windows2016"
},
- "name": "myVM",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_DS1_v2"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithAMarketplaceImagePlan.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithAMarketplaceImagePlan.json
index f921490fc4ab..e4265e2b8b3d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithAMarketplaceImagePlan.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithAMarketplaceImagePlan.json
@@ -11,7 +11,6 @@
"product": "windows-data-science-vm",
"name": "windows2016"
},
- "name": "myVM",
"properties": {
"hardwareProfile": {
"vmSize": "Standard_D1_v2"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithBootDiagnostics.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithBootDiagnostics.json
index 800a24a20d0b..a79f7930be53 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithBootDiagnostics.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithBootDiagnostics.json
@@ -47,8 +47,7 @@
"enabled": true
}
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithEmptyDataDisks.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithEmptyDataDisks.json
index 9e5e380836c4..e1bf17d9b136 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithEmptyDataDisks.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithEmptyDataDisks.json
@@ -53,8 +53,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPasswordAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPasswordAuthentication.json
index 977fedfec4cf..34e9b4a68d9a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPasswordAuthentication.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPasswordAuthentication.json
@@ -41,8 +41,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPremiumStorage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPremiumStorage.json
index c9478fdff6b5..4c2e71d37ca3 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPremiumStorage.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithPremiumStorage.json
@@ -41,8 +41,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithSshAuthentication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithSshAuthentication.json
index 681f729f4e55..69376e898bb7 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithSshAuthentication.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAVmWithSshAuthentication.json
@@ -51,8 +51,7 @@
}
]
}
- },
- "name": "myVM"
+ }
}
},
"responses": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json
new file mode 100644
index 000000000000..be99526847e4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "parameters": {
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "properties": {
+ "platformFaultDomain": 1
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ }
+ },
+ "hostGroupName": "myDedicatedHostGroup",
+ "hostName": "myDedicatedHost"
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myDedicatedHost",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup/hosts/myDedicatedHost",
+ "tags": {
+ "department": "HR"
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ },
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": true,
+ "hostId": "{GUID}"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": false,
+ "licenseType": "Windows_Server_Hybrid",
+ "hostId": "{GUID}"
+ },
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "name": "myDedicatedHost",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup/hosts/myDedicatedHost",
+ "sku": {
+ "name": "DSv3-Type1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json
new file mode 100644
index 000000000000..3d4ec8a42903
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup",
+ "parameters": {
+ "location": "westus",
+ "tags": {
+ "department": "finance"
+ },
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "platformFaultDomainCount": 3
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myDedicatedHostGroup",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup",
+ "tags": {
+ "department": "finance"
+ },
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": []
+ },
+ "location": "westus",
+ "tags": {
+ "department": "finance",
+ "owner": "myCompany"
+ },
+ "name": "myDedicatedHostGroup",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup",
+ "zones": [
+ "1"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json
new file mode 100644
index 000000000000..8354364631a0
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplication": {
+ "location": "West US",
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName",
+ "type": "Microsoft.Compute/galleries",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName",
+ "type": "Microsoft.Compute/galleries",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
+ }
+ },
+ "202": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName",
+ "type": "Microsoft.Compute/galleries",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json
new file mode 100644
index 000000000000..bf1184f95048
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0",
+ "galleryApplicationVersion": {
+ "location": "West US",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "endOfLifeDate": "2019-07-01T07:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Updating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json
new file mode 100644
index 000000000000..d5d4629a4917
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json
new file mode 100644
index 000000000000..7a1d3aec5113
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json
new file mode 100644
index 000000000000..0da47da294d4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup",
+ "hostName": "myHost"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": true,
+ "hostId": "{GUID}",
+ "provisioningTime": "2019-06-27T01:02:38.3138469+00:00",
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "instanceView": {
+ "assetId": "eb3f58b8-b4e8-4882-b69f-301a01812407",
+ "availableCapacity": {
+ "allocatableVMs": [
+ {
+ "vmSize": "Standard_A1",
+ "count": 10
+ }
+ ]
+ },
+ "statuses": [
+ {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded"
+ },
+ {
+ "code": "HealthState/available",
+ "level": "Info",
+ "displayStatus": "Host available"
+ }
+ ]
+ }
+ },
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ },
+ "name": "myHost"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json
new file mode 100644
index 000000000000..f383d65e8771
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": [
+ {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/myDedicatedHostGroup/myHostGroup/Hosts/myHost1"
+ },
+ {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/myDedicatedHostGroup/myHostGroup/Hosts/myHost2"
+ }
+ ]
+ },
+ "location": "westus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
+ "name": "myDedicatedHostGroup",
+ "zones": [
+ "3"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json
new file mode 100644
index 000000000000..94e1cd7e7f8e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json
new file mode 100644
index 000000000000..8b9c1fe5a139
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json
new file mode 100644
index 000000000000..12bfa07e8838
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0",
+ "$expand": "ReplicationStatus"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "replicationStatus": {
+ "aggregatedState": "Completed",
+ "summary": [
+ {
+ "region": "West US",
+ "state": "Completed",
+ "details": "",
+ "progress": 100
+ }
+ ]
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json
new file mode 100644
index 000000000000..150d4cd85b61
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmName": "myVmName",
+ "api-version": "2019-03-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Standard_A1_V2",
+ "numberOfCores": 1,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 10240,
+ "memoryInMB": 2048,
+ "maxDataDiskCount": 2
+ },
+ {
+ "name": "Standard_A2_V2",
+ "numberOfCores": 2,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 20480,
+ "memoryInMB": 4096,
+ "maxDataDiskCount": 4
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json
new file mode 100644
index 000000000000..4396c3195f78
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json
new file mode 100644
index 000000000000..73500729155b
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName"
+ }
+ ],
+ "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json
index cabcb6fb61de..72970a8e1337 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json
@@ -19,8 +19,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json
index 774bacfdb1c7..545f5ac0db08 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json
@@ -19,8 +19,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json
index 6cda8efb547c..694c0034f14d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json
@@ -594,6 +594,406 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": {
+ "put": {
+ "tags": [
+ "GalleryApplications"
+ ],
+ "operationId": "GalleryApplications_CreateOrUpdate",
+ "description": "Create or update a gallery Application Definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition is to be created."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryApplication",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ },
+ "description": "Parameters supplied to the create or update gallery Application operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a simple gallery Application.": {
+ "$ref": "./examples/CreateOrUpdateASimpleGalleryApplication.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "GalleryApplications"
+ ],
+ "operationId": "GalleryApplications_Get",
+ "description": "Retrieves information about a gallery Application Definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery from which the Application Definitions are to be retrieved."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition to be retrieved."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery Application.": {
+ "$ref": "./examples/GetAGalleryApplication.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GalleryApplications"
+ ],
+ "operationId": "GalleryApplications_Delete",
+ "description": "Delete a gallery Application.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition is to be deleted."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition to be deleted."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery Application.": {
+ "$ref": "./examples/DeleteAGalleryApplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": {
+ "put": {
+ "tags": [
+ "GalleryApplicationVersions"
+ ],
+ "operationId": "GalleryApplicationVersions_CreateOrUpdate",
+ "description": "Create or update a gallery Application Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition resides."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition in which the Application Version is to be created."
+ },
+ {
+ "name": "galleryApplicationVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryApplicationVersion",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ },
+ "description": "Parameters supplied to the create or update gallery Application Version operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a simple gallery Application Version.": {
+ "$ref": "./examples/CreateOrUpdateASimpleGalleryApplicationVersion.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "GalleryApplicationVersions"
+ ],
+ "operationId": "GalleryApplicationVersions_Get",
+ "description": "Retrieves information about a gallery Application Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition resides."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition in which the Application Version resides."
+ },
+ {
+ "name": "galleryApplicationVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Version to be retrieved."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "ReplicationStatus"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationStatusTypes",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery Application Version.": {
+ "$ref": "./examples/GetAGalleryApplicationVersion.json"
+ },
+ "Get a gallery Application Version with replication status.": {
+ "$ref": "./examples/GetAGalleryApplicationVersionWithReplicationStatus.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GalleryApplicationVersions"
+ ],
+ "operationId": "GalleryApplicationVersions_Delete",
+ "description": "Delete a gallery Application Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition resides."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition in which the Application Version resides."
+ },
+ {
+ "name": "galleryApplicationVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Version to be deleted."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery Application Version.": {
+ "$ref": "./examples/DeleteAGalleryApplicationVersion.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": {
"get": {
"tags": [
@@ -639,14 +1039,119 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries": {
"get": {
"tags": [
- "Galleries"
+ "Galleries"
+ ],
+ "operationId": "Galleries_List",
+ "description": "List galleries under a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List galleries in a subscription.": {
+ "$ref": "./examples/ListGalleriesInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": {
+ "get": {
+ "tags": [
+ "GalleryImages"
+ ],
+ "operationId": "GalleryImages_ListByGallery",
+ "description": "List gallery Image Definitions in a gallery.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List gallery images in a gallery.": {
+ "$ref": "./examples/ListGalleryImagesInAGallery.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": {
+ "get": {
+ "tags": [
+ "GalleryImageVersions"
],
- "operationId": "Galleries_List",
- "description": "List galleries under a subscription.",
+ "operationId": "GalleryImageVersions_ListByGalleryImage",
+ "description": "List gallery Image Versions in a gallery Image Definition.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the Image Definition resides."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed."
+ },
{
"$ref": "#/parameters/ApiVersionParameter"
}
@@ -655,7 +1160,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/GalleryList"
+ "$ref": "#/definitions/GalleryImageVersionList"
}
},
"default": {
@@ -666,8 +1171,8 @@
}
},
"x-ms-examples": {
- "List galleries in a subscription.": {
- "$ref": "./examples/ListGalleriesInASubscription.json"
+ "List gallery Image Versions in a gallery Image Definition.": {
+ "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json"
}
},
"x-ms-pageable": {
@@ -675,13 +1180,13 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": {
"get": {
"tags": [
- "GalleryImages"
+ "GalleryApplications"
],
- "operationId": "GalleryImages_ListByGallery",
- "description": "List gallery Image Definitions in a gallery.",
+ "operationId": "GalleryApplications_ListByGallery",
+ "description": "List gallery Application Definitions in a gallery.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -694,7 +1199,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed."
+ "description": "The name of the Shared Application Gallery from which Application Definitions are to be listed."
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -704,7 +1209,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/GalleryImageList"
+ "$ref": "#/definitions/GalleryApplicationList"
}
},
"default": {
@@ -715,8 +1220,8 @@
}
},
"x-ms-examples": {
- "List gallery images in a gallery.": {
- "$ref": "./examples/ListGalleryImagesInAGallery.json"
+ "List gallery Applications in a gallery.": {
+ "$ref": "./examples/ListGalleryApplicationsInAGallery.json"
}
},
"x-ms-pageable": {
@@ -724,13 +1229,13 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": {
"get": {
"tags": [
- "GalleryImageVersions"
+ "GalleryApplicationVersions"
],
- "operationId": "GalleryImageVersions_ListByGalleryImage",
- "description": "List gallery Image Versions in a gallery Image Definition.",
+ "operationId": "GalleryApplicationVersions_ListByGalleryApplication",
+ "description": "List gallery Application Versions in a gallery Application Definition.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -743,14 +1248,14 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The name of the Shared Image Gallery in which the Image Definition resides."
+ "description": "The name of the Shared Application Gallery in which the Application Definition resides."
},
{
- "name": "galleryImageName",
+ "name": "galleryApplicationName",
"in": "path",
"required": true,
"type": "string",
- "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed."
+ "description": "The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed."
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -760,7 +1265,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/GalleryImageVersionList"
+ "$ref": "#/definitions/GalleryApplicationVersionList"
}
},
"default": {
@@ -771,8 +1276,8 @@
}
},
"x-ms-examples": {
- "List gallery Image Versions in a gallery Image Definition.": {
- "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json"
+ "List gallery Application Versions in a gallery Application Definition.": {
+ "$ref": "./examples/ListGalleryApplicationVersionsInAGalleryApplication.json"
}
},
"x-ms-pageable": {
@@ -832,6 +1337,145 @@
},
"description": "Describes the gallery unique name."
},
+ "GalleryApplication": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryApplicationProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Application Definition that you want to create or update."
+ },
+ "GalleryApplicationProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The description of this gallery Application Definition resource. This property is updatable."
+ },
+ "eula": {
+ "type": "string",
+ "description": "The Eula agreement for the gallery Application Definition."
+ },
+ "privacyStatementUri": {
+ "type": "string",
+ "description": "The privacy statement uri."
+ },
+ "releaseNoteUri": {
+ "type": "string",
+ "description": "The release note uri."
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "supportedOSType": {
+ "type": "string",
+ "description": "This property allows you to specify the supported type of the OS that application is built for.
Possible values are:
**Windows**
**Linux**",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ }
+ },
+ "required": [
+ "supportedOSType"
+ ],
+ "description": "Describes the properties of a gallery Application Definition."
+ },
+ "GalleryApplicationVersion": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryApplicationVersionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Application Version that you want to create or update."
+ },
+ "GalleryApplicationVersionProperties": {
+ "properties": {
+ "publishingProfile": {
+ "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The current state of the gallery Application Version.",
+ "description": "The provisioning state, which only appears in the response.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ]
+ },
+ "replicationStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReplicationStatus"
+ }
+ },
+ "required": [
+ "publishingProfile"
+ ],
+ "description": "Describes the properties of a gallery Image Version."
+ },
+ "GalleryApplicationVersionPublishingProfile": {
+ "properties": {
+ "source": {
+ "$ref": "#/definitions/UserArtifactSource"
+ },
+ "contentType": {
+ "type": "string",
+ "description": "Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc."
+ },
+ "enableHealthCheck": {
+ "type": "boolean",
+ "description": "Optional. Whether or not this application reports health."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
+ }
+ ],
+ "required": [
+ "source"
+ ],
+ "description": "The publishing profile of a gallery Image Version."
+ },
+ "UserArtifactSource": {
+ "properties": {
+ "fileName": {
+ "type": "string",
+ "description": "Required. The fileName of the artifact."
+ },
+ "mediaLink": {
+ "type": "string",
+ "description": "Required. The mediaLink of the artifact, must be a readable storage blob."
+ }
+ },
+ "required": [
+ "fileName",
+ "mediaLink"
+ ],
+ "description": "The source image from which the Image Version is going to be created."
+ },
"GalleryImage": {
"properties": {
"properties": {
@@ -1060,13 +1704,39 @@
},
"description": "The target regions where the Image Version is going to be replicated to. This property is updatable."
},
- "source": {
- "$ref": "#/definitions/GalleryArtifactSource"
+ "replicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable."
+ },
+ "excludeFromLatest": {
+ "type": "boolean",
+ "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
+ },
+ "publishedDate": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp for when the gallery Image Version is published."
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "storageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
}
},
- "required": [
- "source"
- ],
"description": "Describes the basic gallery artifact publishing profile."
},
"TargetRegion": {
@@ -1123,37 +1793,8 @@
},
"GalleryImageVersionPublishingProfile": {
"properties": {
- "replicaCount": {
- "type": "integer",
- "format": "int32",
- "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable."
- },
- "excludeFromLatest": {
- "type": "boolean",
- "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
- },
- "publishedDate": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The timestamp for when the gallery Image Version is published."
- },
- "endOfLifeDate": {
- "type": "string",
- "format": "date-time",
- "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable."
- },
- "storageAccountType": {
- "type": "string",
- "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
- "enum": [
- "Standard_LRS",
- "Standard_ZRS"
- ],
- "x-ms-enum": {
- "name": "StorageAccountType",
- "modelAsString": true
- }
+ "source": {
+ "$ref": "#/definitions/GalleryArtifactSource"
}
},
"allOf": [
@@ -1161,6 +1802,9 @@
"$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
}
],
+ "required": [
+ "source"
+ ],
"description": "The publishing profile of a gallery Image Version."
},
"GalleryImageVersionStorageProfile": {
@@ -1350,6 +1994,44 @@
],
"description": "The List Gallery Image version operation response."
},
+ "GalleryApplicationList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryApplication"
+ },
+ "description": "A list of Gallery Applications."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Applications operation response."
+ },
+ "GalleryApplicationVersionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ },
+ "description": "A list of gallery Application Versions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Application version operation response."
+ },
"CloudError": {
"x-ms-external": true,
"properties": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json
new file mode 100644
index 000000000000..98525fa615dc
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/examples/ListAvailableResourceSkus.json
@@ -0,0 +1,189 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-04-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "virtualMachines",
+ "locations": [
+ "westus"
+ ],
+ "capabilities": [
+ {
+ "name": "MaxResourceVolumeMB",
+ "value": "20480"
+ },
+ {
+ "name": "OSVhdSizeMB",
+ "value": "1047552"
+ },
+ {
+ "name": "vCPUs",
+ "value": "1"
+ },
+ {
+ "name": "HyperVGenerations",
+ "value": "V1"
+ },
+ {
+ "name": "MemoryGB",
+ "value": "0.75"
+ },
+ {
+ "name": "MaxDataDiskCount",
+ "value": "1"
+ },
+ {
+ "name": "LowPriorityCapable",
+ "value": "False"
+ },
+ {
+ "name": "PremiumIO",
+ "value": "False"
+ },
+ {
+ "name": "vCPUsAvailable",
+ "value": "1"
+ },
+ {
+ "name": "ACUs",
+ "value": "50"
+ },
+ {
+ "name": "vCPUsPerCore",
+ "value": "1"
+ },
+ {
+ "name": "EphemeralOSDiskSupported",
+ "value": "False"
+ },
+ {
+ "name": "AcceleratedNetworkingEnabled",
+ "value": "False"
+ },
+ {
+ "name": "RdmaEnabled",
+ "value": "False"
+ },
+ {
+ "name": "MaxNetworkInterfaces",
+ "value": "2"
+ }
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ01"
+ ],
+ "zoneDetails": [
+ {
+ "name": [
+ "westus-AZ01"
+ ],
+ "capabilities": [
+ {
+ "name": "UltraSSDAvailable",
+ "value": "True"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "name": "Standard_A0",
+ "tier": "Standard",
+ "size": "A0",
+ "family": "standardA0_A7Family"
+ },
+ {
+ "resourceType": "virtualMachines",
+ "locations": [
+ "westus"
+ ],
+ "capabilities": [
+ {
+ "name": "MaxResourceVolumeMB",
+ "value": "71680"
+ },
+ {
+ "name": "OSVhdSizeMB",
+ "value": "1047552"
+ },
+ {
+ "name": "vCPUs",
+ "value": "1"
+ },
+ {
+ "name": "HyperVGenerations",
+ "value": "V1"
+ },
+ {
+ "name": "MemoryGB",
+ "value": "1.75"
+ },
+ {
+ "name": "MaxDataDiskCount",
+ "value": "2"
+ },
+ {
+ "name": "LowPriorityCapable",
+ "value": "True"
+ },
+ {
+ "name": "PremiumIO",
+ "value": "False"
+ },
+ {
+ "name": "vCPUsAvailable",
+ "value": "1"
+ },
+ {
+ "name": "ACUs",
+ "value": "100"
+ },
+ {
+ "name": "vCPUsPerCore",
+ "value": "1"
+ },
+ {
+ "name": "EphemeralOSDiskSupported",
+ "value": "False"
+ },
+ {
+ "name": "AcceleratedNetworkingEnabled",
+ "value": "False"
+ },
+ {
+ "name": "RdmaEnabled",
+ "value": "False"
+ },
+ {
+ "name": "MaxNetworkInterfaces",
+ "value": "2"
+ }
+ ],
+ "locationInfo": [
+ {
+ "location": "westus",
+ "zones": [
+ "westus-AZ02",
+ "westus-AZ01"
+ ]
+ }
+ ],
+ "name": "Standard_A1",
+ "tier": "Standard",
+ "size": "A1",
+ "family": "standardA0_A7Family"
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json
index b05c2468d050..7012927a8fd3 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-04-01/skus.json
@@ -60,6 +60,11 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Lists all available Resource SKUs": {
+ "$ref": "./examples/ListAvailableResourceSkus.json"
+ }
}
}
}
@@ -347,13 +352,13 @@
},
"nextLink": {
"type": "string",
- "description": "The uri to fetch the next page of Compute Skus. Call ListNext() with this to fetch the next page of VMSS Skus."
+ "description": "The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus"
}
},
"required": [
"value"
],
- "description": "The Compute List Skus operation response."
+ "description": "The List Resource Skus operation response."
}
},
"parameters": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGallery.json
new file mode 100644
index 000000000000..adbb58c5dd9b
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGallery.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "gallery": {
+ "location": "West US",
+ "properties": {
+ "description": "This is the gallery description."
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery description.",
+ "identifier": {
+ "uniqueName": "{subscription-id}-MYGALLERYNAME"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myGalleryName"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery description.",
+ "identifier": {
+ "uniqueName": "{subscription-id}-MYGALLERYNAME"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "West US",
+ "name": "myGalleryName"
+ }
+ },
+ "202": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery description.",
+ "identifier": {
+ "uniqueName": "{subscription-id}-MYGALLERYNAME"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myGalleryName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImage.json
new file mode 100644
index 000000000000..80569aca3ff5
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImage.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName",
+ "galleryImage": {
+ "location": "West US",
+ "properties": {
+ "osType": "Windows",
+ "osState": "Generalized",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "osType": "Windows",
+ "osState": "Generalized",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myGalleryImageName"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "osType": "Windows",
+ "osState": "Generalized",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "West US",
+ "name": "myGalleryImageName"
+ }
+ },
+ "202": {
+ "body": {
+ "properties": {
+ "osType": "Windows",
+ "osState": "Generalized",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myGalleryImageName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersion.json
new file mode 100644
index 000000000000..4b05335ae1e9
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersion.json
@@ -0,0 +1,161 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName",
+ "galleryImageVersionName": "1.0.0",
+ "galleryImageVersion": {
+ "location": "West US",
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_ZRS"
+ }
+ ]
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_ZRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ },
+ "osDiskImage": {
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_ZRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ },
+ "osDiskImage": {
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ },
+ "202": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_ZRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ },
+ "osDiskImage": {
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json
new file mode 100644
index 000000000000..25a999414e66
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json
@@ -0,0 +1,166 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName",
+ "galleryImageVersionName": "1.0.0",
+ "galleryImageVersion": {
+ "location": "West US",
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_ZRS"
+ }
+ ]
+ },
+ "storageProfile": {
+ "osDiskImage": {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}",
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}",
+ "lun": 1,
+ "hostCaching": "None"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_ZRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "osDiskImage": {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}",
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}",
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_ZRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "osDiskImage": {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}",
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}",
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ },
+ "202": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_ZRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "osDiskImage": {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}",
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}",
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGallery.json
new file mode 100644
index 000000000000..237492343931
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGallery.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImage.json
new file mode 100644
index 000000000000..be505784e861
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImage.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImageVersion.json
new file mode 100644
index 000000000000..5f0211b5c89b
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryImageVersion.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName",
+ "galleryImageVersionName": "1.0.0"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGallery.json
new file mode 100644
index 000000000000..0fb4c40475e6
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGallery.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery description.",
+ "identifier": {
+ "uniqueName": "{subscription-id}-MYGALLERYNAME"
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "myGalleryName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImage.json
new file mode 100644
index 000000000000..339310ce97ab
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImage.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "osType": "Windows",
+ "osState": "Generalized",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "myGalleryImageName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersion.json
new file mode 100644
index 000000000000..d23c816b7bdc
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersion.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName",
+ "galleryImageVersionName": "1.0.0",
+ "galleryImageVersion": {
+ "location": "West US",
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2
+ }
+ ]
+ }
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ },
+ "osDiskImage": {
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithReplicationStatus.json
new file mode 100644
index 000000000000..25a5ec435a8e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithReplicationStatus.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName",
+ "galleryImageVersionName": "1.0.0",
+ "galleryImageVersion": {
+ "location": "West US",
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2
+ }
+ ]
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ }
+ }
+ }
+ },
+ "$expand": "ReplicationStatus"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ },
+ "osDiskImage": {
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "replicationStatus": {
+ "aggregatedState": "Completed",
+ "summary": [
+ {
+ "region": "West US",
+ "state": "Completed",
+ "details": "",
+ "progress": 100
+ },
+ {
+ "region": "East US",
+ "state": "Completed",
+ "details": "",
+ "progress": 100
+ }
+ ]
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json
new file mode 100644
index 000000000000..646500c6b1e6
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryImageVersionWithSnapshotsAsSource.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName",
+ "galleryImageVersionName": "1.0.0",
+ "galleryImageVersion": {
+ "location": "West US",
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2
+ }
+ ]
+ }
+ },
+ "storageProfile": {
+ "osDiskImage": {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}",
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}",
+ "lun": 1,
+ "hostCaching": "None"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "osDiskImage": {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}",
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}",
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInAResourceGroup.json
new file mode 100644
index 000000000000..864afaf1d651
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInAResourceGroup.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "This is the gallery description.",
+ "identifier": {
+ "uniqueName": "{subscription-id}-MYGALLERYNAME"
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "myGalleryName",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName"
+ }
+ ],
+ "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInASubscription.json
new file mode 100644
index 000000000000..cbba47e4c19d
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleriesInASubscription.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "This is the gallery description.",
+ "identifier": {
+ "uniqueName": "{subscription-id}-MYGALLERYNAME"
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "myGalleryName",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName"
+ }
+ ],
+ "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImageVersionsInAGalleryImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImageVersionsInAGalleryImage.json
new file mode 100644
index 000000000000..afc59ec26b96
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImageVersionsInAGalleryImage.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName",
+ "galleryImageName": "myGalleryImageName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "publishingProfile": {
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ },
+ {
+ "name": "East US",
+ "regionalReplicaCount": 2,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "publishedDate": "2018-01-01T00:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ },
+ "storageProfile": {
+ "source": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"
+ },
+ "osDiskImage": {
+ "sizeInGB": 10,
+ "hostCaching": "ReadOnly"
+ },
+ "dataDiskImages": [
+ {
+ "lun": 1,
+ "sizeInGB": 10,
+ "hostCaching": "None"
+ }
+ ]
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ ],
+ "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/images/myGalleryImageName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/images/myGalleryImageName/versions/myGalleryImageVersionName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImagesInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImagesInAGallery.json
new file mode 100644
index 000000000000..a07c6028a2da
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryImagesInAGallery.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-07-01",
+ "galleryName": "myGalleryName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "osType": "Windows",
+ "osState": "Generalized",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "myGalleryImageName"
+ }
+ ],
+ "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/images?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/images/myGalleryImageName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json
new file mode 100644
index 000000000000..01ebe9c7bc32
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json
@@ -0,0 +1,1485 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "SharedImageGalleryServiceClient",
+ "description": "Shared Image Gallery Service Client.",
+ "version": "2019-07-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}": {
+ "put": {
+ "tags": [
+ "Galleries"
+ ],
+ "operationId": "Galleries_CreateOrUpdate",
+ "description": "Create or update a Shared Image Gallery.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "gallery",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Gallery"
+ },
+ "description": "Parameters supplied to the create or update Shared Image Gallery operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Gallery"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Gallery"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Gallery"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a simple gallery.": {
+ "$ref": "./examples/CreateOrUpdateASimpleGallery.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Galleries"
+ ],
+ "operationId": "Galleries_Get",
+ "description": "Retrieves information about a Shared Image Gallery.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Gallery"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery.": {
+ "$ref": "./examples/GetAGallery.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Galleries"
+ ],
+ "operationId": "Galleries_Delete",
+ "description": "Delete a Shared Image Gallery.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery to be deleted."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery.": {
+ "$ref": "./examples/DeleteAGallery.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}": {
+ "put": {
+ "tags": [
+ "GalleryImages"
+ ],
+ "operationId": "GalleryImages_CreateOrUpdate",
+ "description": "Create or update a gallery Image Definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the Image Definition is to be created."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryImage",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryImage"
+ },
+ "description": "Parameters supplied to the create or update gallery image operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImage"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GalleryImage"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/GalleryImage"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a simple gallery image.": {
+ "$ref": "./examples/CreateOrUpdateASimpleGalleryImage.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "GalleryImages"
+ ],
+ "operationId": "GalleryImages_Get",
+ "description": "Retrieves information about a gallery Image Definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery from which the Image Definitions are to be retrieved."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Definition to be retrieved."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImage"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery image.": {
+ "$ref": "./examples/GetAGalleryImage.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GalleryImages"
+ ],
+ "operationId": "GalleryImages_Delete",
+ "description": "Delete a gallery image.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the Image Definition is to be deleted."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Definition to be deleted."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery image.": {
+ "$ref": "./examples/DeleteAGalleryImage.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}": {
+ "put": {
+ "tags": [
+ "GalleryImageVersions"
+ ],
+ "operationId": "GalleryImageVersions_CreateOrUpdate",
+ "description": "Create or update a gallery Image Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the Image Definition resides."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Definition in which the Image Version is to be created."
+ },
+ {
+ "name": "galleryImageVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryImageVersion",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryImageVersion"
+ },
+ "description": "Parameters supplied to the create or update gallery Image Version operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageVersion"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a simple Gallery Image Version (Managed Image as source).": {
+ "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersion.json"
+ },
+ "Create or update a simple Gallery Image Version using snapshots as a source.": {
+ "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersionWithSnapshotsAsSource.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "GalleryImageVersions"
+ ],
+ "operationId": "GalleryImageVersions_Get",
+ "description": "Retrieves information about a gallery Image Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the Image Definition resides."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Definition in which the Image Version resides."
+ },
+ {
+ "name": "galleryImageVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Version to be retrieved."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "ReplicationStatus"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationStatusTypes",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery Image Version.": {
+ "$ref": "./examples/GetAGalleryImageVersion.json"
+ },
+ "Get a gallery Image Version with replication status.": {
+ "$ref": "./examples/GetAGalleryImageVersionWithReplicationStatus.json"
+ },
+ "Get a gallery Image Version with snapshots as a source.": {
+ "$ref": "./examples/GetAGalleryImageVersionWithSnapshotsAsSource.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GalleryImageVersions"
+ ],
+ "operationId": "GalleryImageVersions_Delete",
+ "description": "Delete a gallery Image Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the Image Definition resides."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Definition in which the Image Version resides."
+ },
+ {
+ "name": "galleryImageVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Image Version to be deleted."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery Image Version.": {
+ "$ref": "./examples/DeleteAGalleryImageVersion.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": {
+ "get": {
+ "tags": [
+ "Galleries"
+ ],
+ "operationId": "Galleries_ListByResourceGroup",
+ "description": "List galleries under a resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List galleries in a resource group.": {
+ "$ref": "./examples/ListGalleriesInAResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries": {
+ "get": {
+ "tags": [
+ "Galleries"
+ ],
+ "operationId": "Galleries_List",
+ "description": "List galleries under a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List galleries in a subscription.": {
+ "$ref": "./examples/ListGalleriesInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": {
+ "get": {
+ "tags": [
+ "GalleryImages"
+ ],
+ "operationId": "GalleryImages_ListByGallery",
+ "description": "List gallery Image Definitions in a gallery.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List gallery images in a gallery.": {
+ "$ref": "./examples/ListGalleryImagesInAGallery.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": {
+ "get": {
+ "tags": [
+ "GalleryImageVersions"
+ ],
+ "operationId": "GalleryImageVersions_ListByGalleryImage",
+ "description": "List gallery Image Versions in a gallery Image Definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the Image Definition resides."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageVersionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List gallery Image Versions in a gallery Image Definition.": {
+ "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Gallery": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the Shared Image Gallery that you want to create or update."
+ },
+ "GalleryProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The description of this Shared Image Gallery resource. This property is updatable."
+ },
+ "identifier": {
+ "$ref": "#/definitions/GalleryIdentifier"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The current state of the gallery.",
+ "description": "The provisioning state, which only appears in the response.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ]
+ }
+ },
+ "description": "Describes the properties of a Shared Image Gallery."
+ },
+ "GalleryIdentifier": {
+ "properties": {
+ "uniqueName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure."
+ }
+ },
+ "description": "Describes the gallery unique name."
+ },
+ "GalleryImage": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryImageProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Image Definition that you want to create or update."
+ },
+ "GalleryImageProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The description of this gallery Image Definition resource. This property is updatable."
+ },
+ "eula": {
+ "type": "string",
+ "description": "The Eula agreement for the gallery Image Definition."
+ },
+ "privacyStatementUri": {
+ "type": "string",
+ "description": "The privacy statement uri."
+ },
+ "releaseNoteUri": {
+ "type": "string",
+ "description": "The release note uri."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "osState": {
+ "type": "string",
+ "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
+ "enum": [
+ "Generalized",
+ "Specialized"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemStateTypes",
+ "modelAsString": false
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "identifier": {
+ "$ref": "#/definitions/GalleryImageIdentifier"
+ },
+ "recommended": {
+ "$ref": "#/definitions/RecommendedMachineConfiguration"
+ },
+ "disallowed": {
+ "$ref": "#/definitions/Disallowed"
+ },
+ "purchasePlan": {
+ "$ref": "#/definitions/ImagePurchasePlan"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The current state of the gallery Image Definition.",
+ "description": "The provisioning state, which only appears in the response.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ]
+ }
+ },
+ "required": [
+ "osType",
+ "osState",
+ "identifier"
+ ],
+ "description": "Describes the properties of a gallery Image Definition."
+ },
+ "GalleryImageIdentifier": {
+ "properties": {
+ "publisher": {
+ "type": "string",
+ "description": "The name of the gallery Image Definition publisher."
+ },
+ "offer": {
+ "type": "string",
+ "description": "The name of the gallery Image Definition offer."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The name of the gallery Image Definition SKU."
+ }
+ },
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
+ "description": "This is the gallery Image Definition identifier."
+ },
+ "RecommendedMachineConfiguration": {
+ "properties": {
+ "vCPUs": {
+ "$ref": "#/definitions/ResourceRange"
+ },
+ "memory": {
+ "$ref": "#/definitions/ResourceRange"
+ }
+ },
+ "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."
+ },
+ "ResourceRange": {
+ "properties": {
+ "min": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum number of the resource."
+ },
+ "max": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of the resource."
+ }
+ },
+ "description": "Describes the resource range."
+ },
+ "Disallowed": {
+ "properties": {
+ "diskTypes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of disk types."
+ }
+ },
+ "description": "Describes the disallowed disk types."
+ },
+ "ImagePurchasePlan": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The plan ID."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "The product ID."
+ }
+ },
+ "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images."
+ },
+ "GalleryImageVersion": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryImageVersionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Image Version that you want to create or update."
+ },
+ "GalleryImageVersionProperties": {
+ "properties": {
+ "publishingProfile": {
+ "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The current state of the gallery Image Version.",
+ "description": "The provisioning state, which only appears in the response.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ]
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/GalleryImageVersionStorageProfile"
+ },
+ "replicationStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReplicationStatus"
+ }
+ },
+ "required": [
+ "storageProfile"
+ ],
+ "description": "Describes the properties of a gallery Image Version."
+ },
+ "GalleryArtifactPublishingProfileBase": {
+ "properties": {
+ "targetRegions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TargetRegion"
+ },
+ "description": "The target regions where the Image Version is going to be replicated to. This property is updatable."
+ }
+ },
+ "description": "Describes the basic gallery artifact publishing profile."
+ },
+ "TargetRegion": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the region."
+ },
+ "regionalReplicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of replicas of the Image Version to be created per region. This property is updatable."
+ },
+ "storageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes the target region information."
+ },
+ "GalleryImageVersionPublishingProfile": {
+ "properties": {
+ "replicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable."
+ },
+ "excludeFromLatest": {
+ "type": "boolean",
+ "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
+ },
+ "publishedDate": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp for when the gallery Image Version is published."
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "storageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
+ }
+ ],
+ "description": "The publishing profile of a gallery Image Version."
+ },
+ "GalleryImageVersionStorageProfile": {
+ "properties": {
+ "source": {
+ "$ref": "#/definitions/GalleryArtifactVersionSource"
+ },
+ "osDiskImage": {
+ "$ref": "#/definitions/GalleryOSDiskImage"
+ },
+ "dataDiskImages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryDataDiskImage"
+ },
+ "description": "A list of data disk images."
+ }
+ },
+ "description": "This is the storage profile of a Gallery Image Version."
+ },
+ "GalleryArtifactVersionSource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user image."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The gallery artifact version source."
+ },
+ "GalleryDiskImage": {
+ "properties": {
+ "sizeInGB": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "This property indicates the size of the VHD to be created."
+ },
+ "hostCaching": {
+ "type": "string",
+ "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ],
+ "x-ms-enum": {
+ "name": "HostCaching",
+ "modelAsString": false
+ }
+ },
+ "source": {
+ "$ref": "#/definitions/GalleryArtifactVersionSource"
+ }
+ },
+ "description": "This is the disk image base class."
+ },
+ "GalleryOSDiskImage": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryDiskImage"
+ }
+ ],
+ "description": "This is the OS disk image."
+ },
+ "GalleryDataDiskImage": {
+ "properties": {
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryDiskImage"
+ }
+ ],
+ "required": [
+ "lun"
+ ],
+ "description": "This is the data disk image."
+ },
+ "ReplicationStatus": {
+ "properties": {
+ "aggregatedState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "This is the aggregated replication status based on all the regional replication status flags.",
+ "enum": [
+ "Unknown",
+ "InProgress",
+ "Completed",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "AggregatedReplicationState",
+ "modelAsString": true
+ }
+ },
+ "summary": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegionalReplicationStatus"
+ },
+ "description": "This is a summary of replication status for each region."
+ }
+ },
+ "description": "This is the replication status of the gallery Image Version."
+ },
+ "RegionalReplicationStatus": {
+ "properties": {
+ "region": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The region to which the gallery Image Version is being replicated to."
+ },
+ "state": {
+ "readOnly": true,
+ "type": "string",
+ "description": "This is the regional replication state.",
+ "enum": [
+ "Unknown",
+ "Replicating",
+ "Completed",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationState",
+ "modelAsString": true
+ }
+ },
+ "details": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The details of the replication status."
+ },
+ "progress": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "It indicates progress of the replication job."
+ }
+ },
+ "description": "This is the regional replication status."
+ },
+ "GalleryList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Gallery"
+ },
+ "description": "A list of galleries."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Galleries operation response."
+ },
+ "GalleryImageList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryImage"
+ },
+ "description": "A list of Shared Image Gallery images."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery Image Definitions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Images operation response."
+ },
+ "GalleryImageVersionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryImageVersion"
+ },
+ "description": "A list of gallery Image Versions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch the next page of gallery Image Versions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Image version operation response."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ApiError"
+ }
+ },
+ "description": "An error response from the Gallery service."
+ },
+ "ApiError": {
+ "properties": {
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApiErrorBase"
+ },
+ "description": "The Api error details"
+ },
+ "innererror": {
+ "$ref": "#/definitions/InnerError",
+ "description": "The Api inner error"
+ },
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ }
+ },
+ "description": "Api error."
+ },
+ "ApiErrorBase": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ }
+ },
+ "description": "Api error base."
+ },
+ "InnerError": {
+ "properties": {
+ "exceptiontype": {
+ "type": "string",
+ "description": "The exception type."
+ },
+ "errordetail": {
+ "type": "string",
+ "description": "The internal error message or exception dump."
+ }
+ },
+ "description": "Inner error details."
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The name of the resource group."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/readme.csharp.md b/specification/compute/resource-manager/readme.csharp.md
index 3e124e82fb59..a3fe8bb4dac8 100644
--- a/specification/compute/resource-manager/readme.csharp.md
+++ b/specification/compute/resource-manager/readme.csharp.md
@@ -19,7 +19,7 @@ csharp:
``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile)
namespace: Microsoft.Azure.Management.Compute
-output-folder: $(csharp-sdks-folder)/Compute/Management.Compute/Generated
+output-folder: $(csharp-sdks-folder)/compute/Microsoft.Azure.Management.Compute/src/Generated
```
## Batch settings
@@ -74,4 +74,4 @@ output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Compute/Management.Comput
batch:
- tag: profile-hybrid-2019-03-01
- ```
\ No newline at end of file
+ ```
diff --git a/specification/compute/resource-manager/readme.go.md b/specification/compute/resource-manager/readme.go.md
index 998dc934c02c..2cd48aec7d6a 100644
--- a/specification/compute/resource-manager/readme.go.md
+++ b/specification/compute/resource-manager/readme.go.md
@@ -12,6 +12,7 @@ go:
```yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-07-01
- tag: package-2019-03-01
- tag: package-2018-10-01
- tag: package-2018-06
@@ -28,6 +29,16 @@ batch:
- tag: package-container-service-2015-11-preview
```
+### Tag: package-2019-07-01 and go
+
+These settings apply only when `--tag=package-2019-07-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag)=='package-2019-07-01' && $(go)
+namespace: compute
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-07-01/$(namespace)
+```
+
### Tag: package-2019-03-01 and go
These settings apply only when `--tag=package-2019-03-01 --go` is specified on the command line.
diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md
index f50fd8354c0e..ce215def5c3d 100644
--- a/specification/compute/resource-manager/readme.md
+++ b/specification/compute/resource-manager/readme.md
@@ -34,7 +34,7 @@ These are the global settings for the Compute API.
title: ComputeManagementClient
description: Compute Client
openapi-type: arm
-tag: package-2019-03-01
+tag: package-2019-07-01
directive:
- where:
@@ -126,7 +126,14 @@ directive:
- $.definitions.ImageUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
-
+ - where:
+ - $.definitions.DedicatedHostGroupUpdate
+ suppress:
+ - RequiredPropertiesMissingInResourceModel
+ - where:
+ - $.definitions.DedicatedHostUpdate
+ suppress:
+ - RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetVM
@@ -189,6 +196,20 @@ directive:
- ACS service is deprecated so a PATCH endpoint won't be implemented
```
+### Tag: package-2019-07-01
+
+These settings apply only when `--tag=package-2019-07-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-07-01'
+input-file:
+- Microsoft.Compute/stable/2019-03-01/compute.json
+- Microsoft.Compute/stable/2019-03-01/runCommands.json
+- Microsoft.Compute/stable/2019-04-01/skus.json
+- Microsoft.Compute/stable/2018-09-30/disk.json
+- Microsoft.Compute/stable/2019-07-01/gallery.json
+- Microsoft.ContainerService/stable/2017-01-31/containerService.json
+```
+
### Tag: package-2019-03-01
These settings apply only when `--tag=package-2019-03-01` is specified on the command line.
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
new file mode 100644
index 000000000000..e65c0514334d
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
@@ -0,0 +1,3175 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-05-01-preview",
+ "title": "ConsumptionManagementClient",
+ "description": "Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.Consumption/usageDetails": {
+ "get": {
+ "tags": [
+ "UsageDetails"
+ ],
+ "operationId": "UsageDetails_List",
+ "description": "Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "UsageDetailsList": {
+ "$ref": "./examples/UsageDetailsList.json"
+ },
+ "UsageDetailsListFilterByTag": {
+ "$ref": "./examples/UsageDetailsListFilterByTag.json"
+ },
+ "UsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriod.json"
+ },
+ "UsageDetailsExpand": {
+ "$ref": "./examples/UsageDetailsExpand.json"
+ },
+ "UsageDetailsListByMetricActualCost": {
+ "$ref": "./examples/UsageDetailsListByMetricActualCost.json"
+ },
+ "UsageDetailsListByMetricAmortizedCost": {
+ "$ref": "./examples/UsageDetailsListByMetricAmortizedCost.json"
+ },
+ "UsageDetailsListByMetricUsage": {
+ "$ref": "./examples/UsageDetailsListByMetricUsage.json"
+ },
+ "BillingAccountUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByBillingAccount.json"
+ },
+ "BillingAccountUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByBillingAccount.json"
+ },
+ "DepartmentUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByDepartment.json"
+ },
+ "DepartmentUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByDepartment.json"
+ },
+ "EnrollmentAccountUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByEnrollmentAccount.json"
+ },
+ "EnrollmentAccountUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json"
+ },
+ "ManagementGroupUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByManagementGroup.json"
+ },
+ "ManagementGroupUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeUsageDetailsParameter"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/additionalInfo or properties/meterDetails within a list of usage details. By default, these fields are not included when listing usage details.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N usageDetails.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/metricParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/UsageDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/usageDetails/download": {
+ "post": {
+ "tags": [
+ "UsageDetails"
+ ],
+ "x-ms-examples": {
+ "UsageDetailsDownload": {
+ "$ref": "./examples/UsageDetailsDownload.json"
+ },
+ "UsageDetailsDownloadByMetricUsage": {
+ "$ref": "./examples/UsageDetailsDownloadByMetricUsage.json"
+ }
+ },
+ "operationId": "UsageDetails_Download",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "description": "Download usage details data.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeUsageDetailsParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/metricParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/UsageDetailsDownloadResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted.",
+ "headers": {
+ "Location": {
+ "description": "GET this URL to retrieve the status of the asynchronous operation.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "To get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/marketplaces": {
+ "get": {
+ "tags": [
+ "Marketplaces"
+ ],
+ "x-ms-odata": "#/definitions/Marketplace",
+ "operationId": "Marketplaces_List",
+ "description": "Lists the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "SubscriptionMarketplacesList": {
+ "$ref": "./examples/MarketplacesList.json"
+ },
+ "SubscriptionMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesListForBillingPeriod.json"
+ },
+ "BillingAccountMarketplacesList": {
+ "$ref": "./examples/MarketplacesByBillingAccountList.json"
+ },
+ "BillingAccountMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByBillingAccountListForBillingPeriod.json"
+ },
+ "DepartmentMarketplacesList": {
+ "$ref": "./examples/MarketplacesByDepartmentList.json"
+ },
+ "DepartmentMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByDepartment_ListByBillingPeriod.json"
+ },
+ "EnrollmentAccountMarketplacesList": {
+ "$ref": "./examples/MarketplacesByEnrollmentAccountList.json"
+ },
+ "EnrollmentAccountMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json"
+ },
+ "ManagementGroupMarketplacesList": {
+ "$ref": "./examples/MarketplacesByManagementGroupList.json"
+ },
+ "ManagementGroupMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByManagementGroup_ListForBillingPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter marketplaces by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N marketplaces.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/scopeMarketplaceParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/MarketplacesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/budgets": {
+ "get": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_List",
+ "description": "Lists all budgets for the defined scope.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "BudgetsList": {
+ "$ref": "./examples/BudgetsList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/BudgetsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/budgets/{budgetName}": {
+ "get": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_Get",
+ "description": "Gets the budget for the scope by budget name.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Budget": {
+ "$ref": "./examples/Budget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_CreateOrUpdate",
+ "description": "The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "CreateOrUpdateBudget": {
+ "$ref": "./examples/CreateOrUpdateBudget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ },
+ "description": "Parameters supplied to the Create Budget operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "201": {
+ "description": "Created.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_Delete",
+ "description": "The operation to delete a budget.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "DeleteBudget": {
+ "$ref": "./examples/DeleteBudget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/tags": {
+ "get": {
+ "tags": [
+ "Tags"
+ ],
+ "operationId": "Tags_Get",
+ "description": "Get all available tag keys for the defined scope",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Tags_Get": {
+ "$ref": "./examples/Tags.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeTagsParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/TagsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/charges": {
+ "get": {
+ "tags": [
+ "Charges"
+ ],
+ "operationId": "Charges_ListByScope",
+ "description": "Lists the charges based for the defined scope.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ChangesForBillingPeriodByEnrollmentAccount": {
+ "$ref": "./examples/ChargesForBillingPeriodByEnrollmentAccount.json"
+ },
+ "ChangesForBillingPeriodByDepartment": {
+ "$ref": "./examples/ChargesForBillingPeriodByDepartment.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeChargesParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ChargeSummary"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/balances": {
+ "get": {
+ "tags": [
+ "Balances"
+ ],
+ "operationId": "Balances_GetByBillingAccount",
+ "description": "Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Balances": {
+ "$ref": "./examples/BalancesByBillingAccount.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Balance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances": {
+ "get": {
+ "tags": [
+ "Balances"
+ ],
+ "operationId": "Balances_GetForBillingPeriodByBillingAccount",
+ "description": "Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Balances": {
+ "$ref": "./examples/BalancesByBillingAccountForBillingPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Balance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationSummaries": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsSummaries_ListByReservationOrder",
+ "description": "Lists the reservations summaries for daily or monthly grain.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationSummariesDaily": {
+ "$ref": "./examples/ReservationSummariesDaily.json"
+ },
+ "ReservationSummariesMonthly": {
+ "$ref": "./examples/ReservationSummariesMonthly.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/grainParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationSummariesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsSummaries_ListByReservationOrderAndReservation",
+ "description": "Lists the reservations summaries for daily or monthly grain.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationSummariesDailyWithReservationId": {
+ "$ref": "./examples/ReservationSummariesDailyWithReservationId.json"
+ },
+ "ReservationSummariesMonthlyWithReservationId": {
+ "$ref": "./examples/ReservationSummariesMonthlyWithReservationId.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/reservationIdParameter"
+ },
+ {
+ "$ref": "#/parameters/grainParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationSummariesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationDetails": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsDetails_ListByReservationOrder",
+ "description": "Lists the reservations details for provided date range.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationDetails": {
+ "$ref": "./examples/ReservationDetails.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationDetails": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsDetails_ListByReservationOrderAndReservation",
+ "description": "Lists the reservations details for provided date range.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationDetailsWithReservationId": {
+ "$ref": "./examples/ReservationDetailsWithReservationId.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/reservationIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/reservationRecommendations": {
+ "get": {
+ "tags": [
+ "ReservationRecommendations"
+ ],
+ "operationId": "ReservationRecommendations_List",
+ "description": "List of recommendations for purchasing reserved instances.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationRecommendations": {
+ "$ref": "./examples/ReservationRecommendationsList.json"
+ },
+ "ReservationRecommendationsFilterByScopeLookBackPeriod": {
+ "$ref": "./examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationRecommendationsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default": {
+ "get": {
+ "tags": [
+ "PriceSheet"
+ ],
+ "operationId": "PriceSheet_Get",
+ "description": "Gets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "PriceSheet": {
+ "$ref": "./examples/PriceSheet.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the top N results.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/PriceSheetResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default": {
+ "get": {
+ "tags": [
+ "PriceSheet"
+ ],
+ "operationId": "PriceSheet_GetByBillingPeriod",
+ "description": "Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "PriceSheetForBillingPeriod": {
+ "$ref": "./examples/PriceSheetForBillingPeriod.json"
+ },
+ "PriceSheetExpand": {
+ "$ref": "./examples/PriceSheetExpand.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the top N results.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/PriceSheetResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/forecasts": {
+ "get": {
+ "tags": [
+ "Forecasts"
+ ],
+ "x-ms-odata": "#/definitions/Forecast",
+ "operationId": "Forecasts_List",
+ "description": "Lists the forecast charges by subscriptionId.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ForecastsList": {
+ "$ref": "./examples/ForecastsList.json"
+ },
+ "ForecastsListFilterByGrain": {
+ "$ref": "./examples/ForecastsListFilterByGrain.json"
+ },
+ "ForecastsListFilterByDates": {
+ "$ref": "./examples/ForecastsListFilterByDates.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter forecasts by properties/usageDate (Utc time), properties/chargeType or properties/grain. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ForecastsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Consumption/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Lists all of the available consumption REST API operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Consumption/aggregatedcost": {
+ "get": {
+ "tags": [
+ "AggregatedCost"
+ ],
+ "operationId": "AggregatedCost_GetByManagementGroup",
+ "description": "Provides the aggregate cost of a management group and all child management groups by current billing period.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "AggregatedCostByManagementGroup": {
+ "$ref": "./examples/AggregatedCostByManagementGroup.json"
+ },
+ "AggregatedCostByManagementGroupFilterByDate": {
+ "$ref": "./examples/AggregatedCostByManagementGroupFilterByDate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter aggregated cost by properties/usageStart (Utc time), properties/usageEnd (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/Microsoft.Consumption/aggregatedcost": {
+ "get": {
+ "tags": [
+ "AggregatedCost"
+ ],
+ "operationId": "AggregatedCost_GetForBillingPeriodByManagementGroup",
+ "description": "Provides the aggregate cost of a management group and all child management groups by specified billing period",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "AggregatedCostListForBillingPeriodByManagementGroup": {
+ "$ref": "./examples/AggregatedCostForBillingPeriodByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "MeterDetails": {
+ "description": "The properties of the meter detail.",
+ "properties": {
+ "meterName": {
+ "description": "The name of the meter, within the given meter category",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterCategory": {
+ "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterSubCategory": {
+ "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterLocation": {
+ "description": "The location in which the Azure service is available.",
+ "type": "string",
+ "readOnly": true
+ },
+ "totalIncludedQuantity": {
+ "description": "The total included quantity associated with the offer.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "pretaxStandardRate": {
+ "description": "The pretax listing price.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "serviceName": {
+ "description": "The name of the service.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceTier": {
+ "description": "The service tier.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UsageDetail": {
+ "description": "An usage detail resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/UsageDetailProperties",
+ "title": "Usage detail properties"
+ }
+ }
+ },
+ "UsageDetailsListResult": {
+ "description": "Result of listing usage details. It contains a list of available usage details in reverse chronological order by billing period.",
+ "properties": {
+ "value": {
+ "description": "The list of usage details.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/UsageDetail"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UsageDetailProperties": {
+ "description": "The properties of the usage detail.",
+ "properties": {
+ "billingAccountId": {
+ "description": "Billing Account identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingAccountName": {
+ "description": "Billing Account Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingPeriodStartDate": {
+ "description": "The billing period start date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "billingPeriodEndDate": {
+ "description": "The billing period end date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "billingProfileId": {
+ "description": "Billing Profile identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingProfileName": {
+ "description": "Billing Profile Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountOwnerId": {
+ "description": "Account Owner Id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountName": {
+ "description": "Account Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subscriptionId": {
+ "description": "Subscription guid.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subscriptionName": {
+ "description": "Subscription name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "date": {
+ "description": "Date for the usage record.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "product": {
+ "description": "Product name for the consumed service or purchase. Not available for Marketplace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "partNumber": {
+ "description": "Part Number of the service used. Can be used to join with the price sheet. Not available for marketplace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "meterDetails": {
+ "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.",
+ "$ref": "#/definitions/MeterDetailsResponse",
+ "readOnly": true
+ },
+ "quantity": {
+ "description": "The usage quantity.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "effectivePrice": {
+ "description": "Effective Price that’s charged for the usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "cost": {
+ "description": "The amount of cost before tax.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unitPrice": {
+ "description": "Unit Price is the price applicable to you. (your EA or other contract price).",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "billingCurrency": {
+ "description": "Billing Currency.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceLocation": {
+ "description": "Resource Location.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedService": {
+ "description": "Consumed service name. Name of the azure resource provider that emits the usage or was purchased. This value is not provided for marketplace usage.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceId": {
+ "description": "Azure resource manager resource identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceName": {
+ "description": "Resource Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceInfo1": {
+ "description": "Service Info 1.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceInfo2": {
+ "description": "Service Info 2.",
+ "type": "string",
+ "readOnly": true
+ },
+ "additionalInfo": {
+ "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand. Use this field to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.",
+ "type": "string",
+ "readOnly": true
+ },
+ "invoiceSection": {
+ "description": "Invoice Section Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costCenter": {
+ "description": "The cost center of this department if it is a department and a cost center is provided.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroup": {
+ "description": "Resource Group Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "ARM resource id of the reservation. Only applies to records relevant to reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationName": {
+ "description": "User provided display name of the reservation. Last known name for a particular day is populated in the daily data. Only applies to records relevant to reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productOrderId": {
+ "description": "Product Order Id. For reservations this is the Reservation Order ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productOrderName": {
+ "description": "Product Order Name. For reservations this is the SKU that was purchased.",
+ "type": "string",
+ "readOnly": true
+ },
+ "offerId": {
+ "description": "Offer Id. Ex: MS-AZR-0017P, MS-AZR-0148P.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isAzureCreditEligible": {
+ "description": "Is Azure Credit Eligible.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "term": {
+ "description": "Term (in months). 1 month for monthly recurring purchase. 12 months for a 1 year reservation. 36 months for a 3 year reservation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherName": {
+ "description": "Publisher Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherType": {
+ "description": "Publisher Type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "planName": {
+ "description": "Plan Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "chargeType": {
+ "description": "Indicates a charge represents credits, usage, a Marketplace purchase, a reservation fee, or a refund.",
+ "type": "string",
+ "readOnly": true
+ },
+ "frequency": {
+ "description": "Indicates how frequently this charge will occur. OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UsageDetailsDownloadResponse": {
+ "description": "Download response of Usage Details.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DownloadUrl",
+ "title": "Download url properties."
+ }
+ }
+ },
+ "DownloadUrl": {
+ "description": "A secure URL that can be used to download a an entity until the URL expires.",
+ "properties": {
+ "downloadUrl": {
+ "description": "The URL to the csv file.",
+ "type": "string",
+ "readOnly": true
+ },
+ "validTill": {
+ "description": "The time in UTC at which this download URL will expire.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Marketplace": {
+ "description": "An marketplace resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MarketplaceProperties",
+ "title": "Marketplace properties"
+ }
+ }
+ },
+ "MarketplacesListResult": {
+ "description": "Result of listing marketplaces. It contains a list of available marketplaces in reverse chronological order by billing period.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of marketplaces.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Marketplace"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MarketplaceProperties": {
+ "description": "The properties of the marketplace usage detail.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the usage belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "The start of the date time range covered by the usage detail.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": "The end of the date time range covered by the usage detail.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "resourceRate": {
+ "description": "The marketplace resource rate.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "offerName": {
+ "description": "The type of offer.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroup": {
+ "description": "The name of resource group.",
+ "type": "string",
+ "readOnly": true
+ },
+ "orderNumber": {
+ "description": "The order number.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceName": {
+ "description": "The name of the resource instance that the usage is about.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceId": {
+ "description": "The uri of the resource instance that the usage is about.",
+ "type": "string",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedQuantity": {
+ "description": "The quantity of usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "The unit of measure.",
+ "type": "string",
+ "readOnly": true
+ },
+ "pretaxCost": {
+ "description": "The amount of cost before tax.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "isEstimated": {
+ "description": "The estimated usage is subject to change.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID).",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "subscriptionGuid": {
+ "description": "Subscription guid.",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "subscriptionName": {
+ "description": "Subscription name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountName": {
+ "description": "Account name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "departmentName": {
+ "description": "Department name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedService": {
+ "description": "Consumed service name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costCenter": {
+ "description": "The cost center of this department if it is a department and a costcenter exists",
+ "type": "string",
+ "readOnly": true
+ },
+ "additionalProperties": {
+ "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherName": {
+ "description": "The name of publisher.",
+ "type": "string",
+ "readOnly": true
+ },
+ "planName": {
+ "description": "The name of plan.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isRecurringCharge": {
+ "description": "Flag indicating whether this is a recurring charge or not.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "Balance": {
+ "description": "A balance resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BalanceProperties",
+ "title": "Balance properties"
+ }
+ }
+ },
+ "BalanceProperties": {
+ "description": "The properties of the balance.",
+ "type": "object",
+ "properties": {
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "beginningBalance": {
+ "description": "The beginning balance for the billing period.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "endingBalance": {
+ "description": "The ending balance for the billing period (for open periods this will be updated daily).",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "newPurchases": {
+ "description": "Total new purchase amount.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "adjustments": {
+ "description": "Total adjustment amount.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "utilized": {
+ "description": "Total Commitment usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "serviceOverage": {
+ "description": "Overage for Azure services.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalOverage": {
+ "description": "serviceOverage + chargesBilledSeparately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalUsage": {
+ "description": "Azure service commitment + total Overage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "azureMarketplaceServiceCharges": {
+ "description": "Total charges for Azure Marketplace.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "billingFrequency": {
+ "description": "The billing frequency.",
+ "type": "string",
+ "enum": [
+ "Month",
+ "Quarter",
+ "Year"
+ ],
+ "x-ms-enum": {
+ "name": "BillingFrequency",
+ "modelAsString": true
+ }
+ },
+ "priceHidden": {
+ "description": "Price is hidden or not.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "newPurchasesDetails": {
+ "description": "List of new purchases.",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "the name of new purchase.",
+ "type": "string",
+ "readOnly": true
+ },
+ "value": {
+ "description": "the value of new purchase.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "adjustmentDetails": {
+ "description": "List of Adjustments (Promo credit, SIE credit etc.).",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "the name of new adjustment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "value": {
+ "description": "the value of new adjustment.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationSummary": {
+ "description": "reservation summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationSummaryProperties",
+ "title": "Reservation Summary properties"
+ }
+ }
+ },
+ "ReservationSummariesListResult": {
+ "description": "Result of listing reservation summaries.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation summaries.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationSummary"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationSummaryProperties": {
+ "description": "The properties of the reservation summary.",
+ "properties": {
+ "reservationOrderId": {
+ "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "skuName": {
+ "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservedHours": {
+ "description": "This is the total hours reserved. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "usageDate": {
+ "description": "Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usedHours": {
+ "description": "Total used hours by the reservation",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "minUtilizationPercentage": {
+ "description": "This is the minimum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 10%, this field will return 10% for that day",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "avgUtilizationPercentage": {
+ "description": "This is average utilization for the entire time range. (day or month depending on the grain)",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "maxUtilizationPercentage": {
+ "description": "This is the maximum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 100%, this field will return 100% for that day.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationDetail": {
+ "description": "reservation detail resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationDetailProperties",
+ "title": "Reservation Detail properties"
+ }
+ }
+ },
+ "ReservationDetailsListResult": {
+ "description": "Result of listing reservation details.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation details.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationDetail"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationDetailProperties": {
+ "description": "The properties of the reservation detail.",
+ "properties": {
+ "reservationOrderId": {
+ "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "skuName": {
+ "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservedHours": {
+ "description": "This is the total hours reserved for the day. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "usageDate": {
+ "description": "The date on which consumption occurred.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usedHours": {
+ "description": "This is the total hours used by the instance.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "instanceId": {
+ "description": "This identifier is the name of the resource or the fully qualified Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "totalReservedQuantity": {
+ "description": "This is the total count of instances that are reserved for the reservationId.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationRecommendation": {
+ "description": "Reservation recommendation resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "$ref": "#/definitions/ResourceAttributes"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationRecommendationProperties",
+ "title": "Reservation Recommendation properties"
+ }
+ }
+ },
+ "ReservationRecommendationsListResult": {
+ "description": "Result of listing reservation recommendations.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation recommendations.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationRecommendation"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationRecommendationProperties": {
+ "description": "The properties of the reservation recommendation.",
+ "properties": {
+ "lookBackPeriod": {
+ "description": "The number of days of usage to look back for recommendation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID)",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "term": {
+ "description": "RI recommendations in one or three year terms.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costWithNoReservedInstances": {
+ "description": "The total amount of cost without reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "recommendedQuantity": {
+ "description": "Recommended quality for reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalCostWithReservedInstances": {
+ "description": "The total amount of cost with reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "netSavings": {
+ "description": "Total estimated savings with reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "firstUsageDate": {
+ "description": "The usage date for looking back.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "scope": {
+ "description": "Shared or single recommendation.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "TagsResult": {
+ "description": "A resource listing all tags.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TagProperties",
+ "title": "Tag properties"
+ }
+ }
+ },
+ "TagProperties": {
+ "description": "The properties of the tag.",
+ "properties": {
+ "tags": {
+ "description": "A list of Tag.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Tag"
+ }
+ }
+ }
+ },
+ "Tag": {
+ "description": "The tag resource.",
+ "properties": {
+ "key": {
+ "description": "Tag key.",
+ "type": "string"
+ }
+ }
+ },
+ "BudgetsListResult": {
+ "description": "Result of listing budgets. It contains a list of available budgets in the scope provided.",
+ "properties": {
+ "value": {
+ "description": "The list of budgets.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Budget": {
+ "description": "A budget resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BudgetProperties",
+ "title": "Budget properties"
+ }
+ }
+ },
+ "BudgetProperties": {
+ "description": "The properties of the budget.",
+ "properties": {
+ "category": {
+ "description": "The category of the budget, whether the budget tracks cost or usage.",
+ "type": "string",
+ "enum": [
+ "Cost",
+ "Usage"
+ ],
+ "x-ms-enum": {
+ "name": "CategoryType",
+ "modelAsString": true
+ }
+ },
+ "amount": {
+ "description": "The total amount of cost to track with the budget",
+ "type": "number",
+ "format": "decimal"
+ },
+ "timeGrain": {
+ "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain.",
+ "type": "string",
+ "enum": [
+ "Monthly",
+ "Quarterly",
+ "Annually"
+ ],
+ "x-ms-enum": {
+ "name": "TimeGrainType",
+ "modelAsString": true
+ }
+ },
+ "timePeriod": {
+ "description": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.",
+ "$ref": "#/definitions/BudgetTimePeriod"
+ },
+ "filters": {
+ "description": "May be used to filter budgets by resource group, resource, or meter.",
+ "type": "object",
+ "$ref": "#/definitions/Filters"
+ },
+ "currentSpend": {
+ "description": "The current amount of cost which is being tracked for a budget.",
+ "$ref": "#/definitions/CurrentSpend",
+ "readOnly": true
+ },
+ "notifications": {
+ "type": "object",
+ "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications.",
+ "additionalProperties": {
+ "type": "object",
+ "$ref": "#/definitions/Notification"
+ },
+ "maxItems": 5
+ }
+ },
+ "required": [
+ "category",
+ "amount",
+ "timeGrain",
+ "timePeriod"
+ ]
+ },
+ "BudgetTimePeriod": {
+ "description": "The start and end date for a budget.",
+ "properties": {
+ "startDate": {
+ "description": "The start date for the budget.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endDate": {
+ "description": "The end date for the budget. If not provided, we default this to 10 years from the start date.",
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "startDate"
+ ]
+ },
+ "Filters": {
+ "description": "May be used to filter budgets by resource group, resource, or meter.",
+ "properties": {
+ "resourceGroups": {
+ "description": "The list of filters on resource groups, allowed at subscription level only.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "resources": {
+ "description": "The list of filters on resources.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "meters": {
+ "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. ",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "tags": {
+ "type": "object",
+ "description": "The dictionary of filters on tags.",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "minItems": 0,
+ "maxItems": 10
+ }
+ }
+ },
+ "CurrentSpend": {
+ "description": "The current amount of cost which is being tracked for a budget.",
+ "properties": {
+ "amount": {
+ "description": "The total amount of cost which is being tracked by the budget.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "The unit of measure for the budget amount.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Notification": {
+ "description": "The notification associated with a budget.",
+ "properties": {
+ "enabled": {
+ "description": "The notification is enabled or not.",
+ "type": "boolean"
+ },
+ "operator": {
+ "description": "The comparison operator.",
+ "type": "string",
+ "enum": [
+ "EqualTo",
+ "GreaterThan",
+ "GreaterThanOrEqualTo"
+ ],
+ "x-ms-enum": {
+ "name": "OperatorType",
+ "modelAsString": true
+ }
+ },
+ "threshold": {
+ "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.",
+ "type": "number",
+ "format": "decimal"
+ },
+ "contactEmails": {
+ "description": "Email addresses to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 50
+ },
+ "contactRoles": {
+ "description": "Contact roles to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "contactGroups": {
+ "description": "Action groups to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 50
+ }
+ },
+ "required": [
+ "enabled",
+ "operator",
+ "threshold",
+ "contactEmails"
+ ]
+ },
+ "PriceSheetResult": {
+ "description": "An pricesheet resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PriceSheetModel",
+ "title": "Price sheet properties"
+ }
+ }
+ },
+ "PriceSheetModel": {
+ "description": "price sheet result. It contains the pricesheet associated with billing period",
+ "properties": {
+ "pricesheets": {
+ "description": "Price sheet",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/PriceSheetProperties"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PriceSheetProperties": {
+ "description": "The properties of the price sheet.",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the usage belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID)",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "meterDetails": {
+ "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.",
+ "$ref": "#/definitions/MeterDetails",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "Unit of measure",
+ "type": "string",
+ "readOnly": true
+ },
+ "includedQuantity": {
+ "description": "Included quality for an offer",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "partNumber": {
+ "description": "Part Number",
+ "type": "string",
+ "readOnly": true
+ },
+ "unitPrice": {
+ "description": "Unit Price",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currencyCode": {
+ "description": "Currency Code",
+ "type": "string",
+ "readOnly": true
+ },
+ "offerId": {
+ "description": "Offer Id",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Forecast": {
+ "description": "A forecast resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ForecastProperties",
+ "title": "Forecast properties"
+ }
+ }
+ },
+ "ForecastsListResult": {
+ "description": "Result of listing forecasts. It contains a list of available forecasts.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of forecasts.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Forecast"
+ }
+ }
+ }
+ },
+ "ForecastProperties": {
+ "description": "The properties of the forecast charge.",
+ "type": "object",
+ "properties": {
+ "usageDate": {
+ "description": "The usage date of the forecast.",
+ "type": "string",
+ "readOnly": true
+ },
+ "grain": {
+ "description": "The granularity of forecast.",
+ "type": "string",
+ "enum": [
+ "Daily",
+ "Monthly",
+ "Yearly"
+ ],
+ "x-ms-enum": {
+ "name": "Grain",
+ "modelAsString": true
+ }
+ },
+ "charge": {
+ "description": "The amount of charge",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "chargeType": {
+ "description": "The type of the charge. Could be actual or forecast",
+ "type": "string",
+ "enum": [
+ "Actual",
+ "Forecast"
+ ],
+ "x-ms-enum": {
+ "name": "ChargeType",
+ "modelAsString": true
+ }
+ },
+ "confidenceLevels": {
+ "description": "The details about the forecast confidence levels. This is populated only when chargeType is Forecast.",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "percentage": {
+ "description": "The percentage level of the confidence",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "bound": {
+ "description": "The boundary of the percentage, values could be 'Upper' or 'Lower'",
+ "type": "string",
+ "enum": [
+ "Upper",
+ "Lower"
+ ],
+ "x-ms-enum": {
+ "name": "Bound",
+ "modelAsString": true
+ }
+ },
+ "value": {
+ "description": "The amount of forecast within the percentage level",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ManagementGroupAggregatedCostResult": {
+ "description": "A management group aggregated cost resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ManagementGroupAggregatedCostProperties",
+ "title": "Management Group Aggregated Cost properties"
+ }
+ }
+ },
+ "ManagementGroupAggregatedCostProperties": {
+ "description": "The properties of the Management Group Aggregated Cost.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the aggregated cost belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "The start of the date time range covered by aggregated cost.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": "The end of the date time range covered by the aggregated cost.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "azureCharges": {
+ "description": "Azure Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "marketplaceCharges": {
+ "description": "Marketplace Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed Separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "children": {
+ "description": "Children of a management group",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "includedSubscriptions": {
+ "description": "List of subscription Guids included in the calculation of aggregated cost",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "excludedSubscriptions": {
+ "description": "List of subscription Guids excluded from the calculation of aggregated cost",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ChargesListResult": {
+ "description": "Result of listing charge summary.",
+ "properties": {
+ "value": {
+ "description": "The list of charge summary",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ChargeSummary"
+ }
+ }
+ }
+ },
+ "ChargeSummary": {
+ "description": "A charge summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ChargeSummaryProperties",
+ "title": "Charge summary properties"
+ }
+ }
+ },
+ "ChargeSummaryProperties": {
+ "description": "The properties of the charge summary.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the charge belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "Usage start date.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": " Usage end date.",
+ "type": "string",
+ "readOnly": true
+ },
+ "azureCharges": {
+ "description": "Azure Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "marketplaceCharges": {
+ "description": "Marketplace Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "Currency Code",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MeterDetailsResponse": {
+ "description": "The properties of the meter detail.",
+ "properties": {
+ "meterName": {
+ "description": "The name of the meter, within the given meter category",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterCategory": {
+ "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterSubCategory": {
+ "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceFamily": {
+ "description": "The service family.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The details of the error.",
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "Operation": {
+ "description": "A Consumption REST API operation.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.Consumption.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: UsageDetail, etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "description": "List of consumption operations supported by the Microsoft.Consumption resource provider.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "tags": {
+ "readOnly": true,
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ResourceAttributes": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource location"
+ },
+ "sku": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource sku"
+ }
+ }
+ },
+ "ProxyResource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "eTag": {
+ "type": "string",
+ "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not."
+ }
+ },
+ "x-ms-azure-resource": true
+ }
+ },
+ "parameters": {
+ "scopeChargesParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with usage details operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope. For department and enrollment accounts, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeUsageDetailsParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeMarketplaceParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with marketplace operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and ManagementGroup, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeBudgetParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeTagsParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with tags operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope..",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. The current version is 2019-05-01-preview."
+ },
+ "billingAccountIdParameter": {
+ "name": "billingAccountId",
+ "in": "path",
+ "description": "BillingAccount ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "departmentIdParameter": {
+ "name": "departmentId",
+ "in": "path",
+ "description": "Department ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "enrollmentAccountIdParameter": {
+ "name": "enrollmentAccountId",
+ "in": "path",
+ "description": "EnrollmentAccount ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Azure Subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "Azure Resource Group Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "budgetNameParameter": {
+ "name": "budgetName",
+ "in": "path",
+ "description": "Budget Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "billingPeriodNameParameter": {
+ "name": "billingPeriodName",
+ "in": "path",
+ "description": "Billing Period Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "reservationOrderIdParameter": {
+ "name": "reservationOrderId",
+ "in": "path",
+ "description": "Order Id of the reservation",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "reservationIdParameter": {
+ "name": "reservationId",
+ "in": "path",
+ "description": "Id of the reservation",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "grainParameter": {
+ "name": "grain",
+ "description": "Can be daily or monthly",
+ "x-ms-parameter-location": "method",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "daily",
+ "monthly"
+ ],
+ "x-ms-enum": {
+ "name": "datagrain",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "daily",
+ "description": "Daily grain of data",
+ "name": "DailyGrain"
+ },
+ {
+ "value": "monthly",
+ "description": "Monthly grain of data",
+ "name": "MonthlyGrain"
+ }
+ ]
+ }
+ },
+ "managementGroupIdParameter": {
+ "name": "managementGroupId",
+ "in": "path",
+ "description": "Azure Management Group ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "billingProfileIdParameter": {
+ "name": "billingProfileId",
+ "in": "path",
+ "description": "Azure Billing Profile ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "invoiceSectionIdParameter": {
+ "name": "invoiceSectionId",
+ "in": "path",
+ "description": "Azure Invoice Section ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "metricParameter": {
+ "name": "metric",
+ "in": "query",
+ "description": "Allows to select different type of cost/usage records.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "enum": [
+ "actualcost",
+ "amortizedcost",
+ "usage"
+ ],
+ "x-ms-enum": {
+ "name": "metrictype",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "actualcost",
+ "description": "Actual cost data.",
+ "name": "ActualCostMetricType"
+ },
+ {
+ "value": "amortizedcost",
+ "description": "Amortized cost data.",
+ "name": "AmortizedCostMetricType"
+ },
+ {
+ "value": "usage",
+ "description": "Usage data.",
+ "name": "UsageMetricType"
+ }
+ ]
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json
new file mode 100644
index 000000000000..9f9c465f48e3
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "1caaa5a3-2b66-438e-8ab4-bce37d518c5d"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2019-04-01T00:00:00.0000000Z",
+ "usageEnd": "2018-10-31T00:00:00.0000000Z",
+ "azureCharges": 250.9876,
+ "marketplaceCharges": 150.786,
+ "chargesBilledSeparately": 120.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "c349567d-c83a-48c9-ab0e-578c69dc97a4"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2019-04-01T00:00:00.0000000Z",
+ "usageEnd": "2018-10-31T00:00:00.0000000Z",
+ "azureCharges": 150.0,
+ "marketplaceCharges": 50.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json
new file mode 100644
index 000000000000..0f971f3d8cc3
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "$filter": "usageStart ge '2018-08-15' and properties/usageStart le '2018-08-31'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "1caaa5a3-2b66-438e-8ab4-bce37d518c5d"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2018-08-15T00:00:00.0000000Z",
+ "usageEnd": "2018-08-31T00:00:00.0000000Z",
+ "azureCharges": 150.9876,
+ "marketplaceCharges": 80.786,
+ "chargesBilledSeparately": 90.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "c349567d-c83a-48c9-ab0e-578c69dc97a4"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2018-08-15T00:00:00.0000000Z",
+ "usageEnd": "2018-08-31T00:00:00.0000000Z",
+ "azureCharges": 50.0,
+ "marketplaceCharges": 10.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json
new file mode 100644
index 000000000000..c68f3cfd81ab
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201807"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "usageStart": "2018-07-01T00:00:00.0000000Z",
+ "usageEnd": "2018-07-31T00:00:00.0000000Z",
+ "azureCharges": 250.9876,
+ "marketplaceCharges": 150.786,
+ "chargesBilledSeparately": 120.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "usageStart": "2018-07-01T00:00:00.0000000Z",
+ "usageEnd": "2018-07-31T00:00:00.0000000Z",
+ "azureCharges": 150.0,
+ "marketplaceCharges": 50.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json
new file mode 100644
index 000000000000..ab76190c11f9
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1",
+ "name": "balanceId1",
+ "type": "Microsoft.Consumption/balances",
+ "properties": {
+ "currency": "USD ",
+ "beginningBalance": 3396469.19,
+ "endingBalance": 2922371.02,
+ "newPurchases": 0,
+ "adjustments": 0,
+ "utilized": 474098.17,
+ "serviceOverage": 0,
+ "chargesBilledSeparately": 0,
+ "totalOverage": 0,
+ "totalUsage": 474098.17,
+ "azureMarketplaceServiceCharges": 609.82,
+ "billingFrequency": "Month",
+ "priceHidden": false,
+ "newPurchasesDetails": [
+ {
+ "name": "Promo Purchase",
+ "value": 1
+ }
+ ],
+ "adjustmentDetails": [
+ {
+ "name": "Promo Credit",
+ "value": 1.1
+ },
+ {
+ "name": "SIE Credit",
+ "value": 1.0
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json
new file mode 100644
index 000000000000..d27546e238e7
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "123456",
+ "billingPeriodName": "201702"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1",
+ "name": "balanceId1",
+ "type": "Microsoft.Consumption/balances",
+ "properties": {
+ "currency": "USD ",
+ "beginningBalance": 3396469.19,
+ "endingBalance": 2922371.02,
+ "newPurchases": 0,
+ "adjustments": 0,
+ "utilized": 474098.17,
+ "serviceOverage": 0,
+ "chargesBilledSeparately": 0,
+ "totalOverage": 0,
+ "totalUsage": 474098.17,
+ "azureMarketplaceServiceCharges": 609.82,
+ "billingFrequency": "Month",
+ "priceHidden": false,
+ "newPurchasesDetails": [
+ {
+ "name": "Promo Purchase",
+ "value": 1
+ }
+ ],
+ "adjustmentDetails": [
+ {
+ "name": "Promo Credit",
+ "value": 1.1
+ },
+ {
+ "name": "SIE Credit",
+ "value": 1.0
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json
new file mode 100644
index 000000000000..9d4ee2f7731b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MSVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json
new file mode 100644
index 000000000000..a3434af41381
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json
@@ -0,0 +1,160 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ]
+ },
+ "Actual_GreaterThanOrEqualTo_90_Percent": {
+ "enabled": true,
+ "operator": "GreaterThanOrEqualTo",
+ "threshold": 90,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 600.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 120.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_40_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 40,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ]
+ },
+ "Actual_GreaterThanOrEqualTo_60_Percent": {
+ "enabled": true,
+ "operator": "GreaterThanOrEqualTo",
+ "threshold": 60,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json
new file mode 100644
index 000000000000..1eb2d5ecaab5
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "1234",
+ "departmentId": "42425",
+ "billingPeriodName": "201804",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
+ "name": "chargeSummaryId1",
+ "type": "Microsoft.Consumption/charges",
+ "properties": {
+ "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
+ "usageStart": "2018-04-01",
+ "usageEnd": "2018-04-30",
+ "azureCharges": 5000.00,
+ "chargesBilledSeparately": 60.90,
+ "marketplaceCharges": 100.00,
+ "currency": "USD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json
new file mode 100644
index 000000000000..f9b47775197a
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "1234",
+ "enrollmentAccountId": "42425",
+ "billingPeriodName": "201804",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
+ "name": "chargeSummaryId1",
+ "type": "Microsoft.Consumption/charges",
+ "properties": {
+ "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
+ "usageStart": "2018-04-01",
+ "usageEnd": "2018-04-30",
+ "azureCharges": 5000.00,
+ "chargesBilledSeparately": 60.90,
+ "marketplaceCharges": 100.00,
+ "currency": "USD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json
new file mode 100644
index 000000000000..4e9962dbf6ff
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json
@@ -0,0 +1,185 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "parameters": {
+ "eTag": "\"1d34d016a593709\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json
new file mode 100644
index 000000000000..3bb1f870f51e
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json
new file mode 100644
index 000000000000..54a5de15adf0
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Daily",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-02",
+ "grain": "Daily",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json
new file mode 100644
index 000000000000..f35dff045b7d
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "usagedate ge '2018-04-01' AND usagedate le '2018-04-02'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Daily",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-02",
+ "grain": "Daily",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json
new file mode 100644
index 000000000000..465b9a365a70
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "Grain eq 'Monthly'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Monthly",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-05-01",
+ "grain": "Monthly",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json
new file mode 100644
index 000000000000..fd8d3cbe3f8b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplaceId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan1",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json
new file mode 100644
index 000000000000..848e7d740c10
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json
new file mode 100644
index 000000000000..fb7335bd3e48
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "departmentId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/departments/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json
new file mode 100644
index 000000000000..fb7335bd3e48
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "departmentId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/departments/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json
new file mode 100644
index 000000000000..83cfe3b4ef72
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "enrollmentAccountId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json
new file mode 100644
index 000000000000..83cfe3b4ef72
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "enrollmentAccountId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json
new file mode 100644
index 000000000000..2a33d09cc5a5
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-10-13T00:00:00Z",
+ "usageEnd": "2018-10-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ },
+ {
+ "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId2",
+ "name": "marketplacesId2",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account2",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center2",
+ "departmentName": "Department2",
+ "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-10-13T00:00:00Z",
+ "usageEnd": "2018-10-13T23:59:59Z",
+ "instanceName": "shared2",
+ "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "11111111-1111-1111-1111-111111111111",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "11111111-1111-1111-1111-111111111111",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json
new file mode 100644
index 000000000000..bc96c08f7021
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json
@@ -0,0 +1,86 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201808",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808",
+ "usageStart": "2018-08-13T00:00:00Z",
+ "usageEnd": "2018-08-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ },
+ {
+ "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId2",
+ "name": "marketplacesId2",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account2",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center2",
+ "departmentName": "Department2",
+ "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-08-13T00:00:00Z",
+ "usageEnd": "2018-08-13T23:59:59Z",
+ "instanceName": "shared2",
+ "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "11111111-1111-1111-1111-111111111111",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "11111111-1111-1111-1111-111111111111",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json
new file mode 100644
index 000000000000..60be50130611
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplaceId1",
+ "name": "marketplaceId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan1",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json
new file mode 100644
index 000000000000..c60d1cc958df
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplacesId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json
new file mode 100644
index 000000000000..dec92bedea1c
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json
new file mode 100644
index 000000000000..24064c1b5825
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801",
+ "$expand": "meterDetails"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D&$expand=properties/pricesheets/meterDetails",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1",
+ "meterDetails": {
+ "meterName": "Data Transfer Out (GB)",
+ "meterCategory": "Networking",
+ "unit": "GB",
+ "meterLocation": "Zone 2",
+ "totalIncludedQuantity": 0,
+ "pretaxStandardRate": 0.138
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json
new file mode 100644
index 000000000000..5ff07dec369b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json
new file mode 100644
index 000000000000..aa4872c6c42b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129",
+ "type": "Microsoft.Consumption/reservationDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "usageDate": "2017-11-29T00:00:00Z",
+ "skuName": "Standard_D2_v2",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/abc-sql2014sp33",
+ "totalReservedQuantity": 1.000000000000000,
+ "reservedHours": 24.000000000000000,
+ "usedHours": 24.000000000000000
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json
new file mode 100644
index 000000000000..0a210f3ce5f2
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129",
+ "type": "Microsoft.Consumption/reservationDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "usageDate": "2017-11-29T00:00:00Z",
+ "skuName": "Standard_D2_v2",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/wvn-sql2014sp33",
+ "totalReservedQuantity": 1.000000000000000,
+ "reservedHours": 24.000000000000000,
+ "usedHours": 24.000000000000000
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json
new file mode 100644
index 000000000000..36b30157a817
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/scope eq 'Single' AND properties/lookBackPeriod eq 'Last7Days'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1",
+ "name": "reservationRecommendations1",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 4.634521202630137,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2",
+ "name": "reservationRecommendations2",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P3Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 7.2893157231780812,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$filter=properties/scope+eq+'Single'+AND+properties/lookBackPeriod+eq+'Last7Days'&$skiptoken=AQAAAA%3D%3D&"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json
new file mode 100644
index 000000000000..8e0d68ff5ff5
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1",
+ "name": "reservationRecommendations1",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 4.634521202630137,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2",
+ "name": "reservationRecommendations2",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P3Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 7.2893157231780812,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$skiptoken=AQAAAA%3D%3D&"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json
new file mode 100644
index 000000000000..286de40a0a90
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "grain": "daily",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationsummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json
new file mode 100644
index 000000000000..d0193527db59
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "grain": "daily",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationsummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json
new file mode 100644
index 000000000000..814eaa7f4b9f
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "grain": "monthly"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationsummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json
new file mode 100644
index 000000000000..a989b8ab82a0
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "grain": "monthly"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationsummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json
new file mode 100644
index 000000000000..a1dea0076566
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "12345",
+ "scope": "providers/Microsoft.CostManagement/billingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.CostManagement/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/tags/tags1",
+ "name": "tags1",
+ "type": "Microsoft.Consumption/tags",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "tags": [
+ {
+ "key": "Department"
+ },
+ {
+ "key": "CostCenter"
+ },
+ {
+ "key": "Portal"
+ },
+ {
+ "key": "OrgName"
+ },
+ {
+ "key": "Namespace"
+ },
+ {
+ "key": "resourceType"
+ },
+ {
+ "key": "Subsystem"
+ },
+ {
+ "key": "Environment"
+ },
+ {
+ "key": "clusterName"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json
new file mode 100644
index 000000000000..f7501c385ac2
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/billingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "properties": {
+ "downloadUrl": "https://account.blob.core.windows.net/usageReports/20190409/00000000-0000-0000-0000-000000000000?sv=2016-05-31&sr=b&st=2019-04-10T00%3A04%3A27Z&se=2019-04-10T06%3A09%3A27Z&sp=r",
+ "validTill": "03/05/2019 20:13:06"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationResults/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview",
+ "Retry-After": "10",
+ "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json
new file mode 100644
index 000000000000..26dc8a3658d4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "usage"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "properties": {
+ "downloadUrl": "https://account.blob.core.windows.net/usageReports/20190409/00000000-0000-0000-0000-000000000000?sv=2016-05-31&sr=b&st=2019-04-10T00%3A04%3A27Z&se=2019-04-10T06%3A09%3A27Z&sp=r",
+ "validTill": "03/05/2019 20:13:06"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationResults/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview",
+ "Retry-After": "10",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json
new file mode 100644
index 000000000000..da3b085112b4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903",
+ "$expand": "meterDetails,additionalInfo",
+ "$filter": "tags eq 'dev:tools'",
+ "$top": 1
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": {
+ "meterName": "Data Transfer Out (GB)",
+ "meterCategory": "Networking",
+ "meterSubCategory": "ExpressRoute",
+ "unitOfMeasure": "GB",
+ "serviceFamily": "Compute"
+ },
+ "quantity": 0.8234,
+ "effectivePrice": 0.010464556322455,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.54,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased",
+ "additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json
new file mode 100644
index 000000000000..c91c1bfd48db
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693034210767,
+ "cost": 0.000001980949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json
new file mode 100644
index 000000000000..8cfcd69aafdd
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json
new file mode 100644
index 000000000000..64fb2442c745
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/Departments/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json
new file mode 100644
index 000000000000..d70160f5c3e7
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json
new file mode 100644
index 000000000000..435f9c35b2a0
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201903",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ },
+ {
+ "id": "/scope/providers/Microsoft.Billing/billingPeriods/20180801/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2",
+ "name": "usageDetails_Id2",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 2",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 2",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 2",
+ "partNumber": "Part Number 2",
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2",
+ "resourceName": "Resource Name 2",
+ "invoiceSection": "Invoice Section 2",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 2",
+ "offerId": "Offer Id 2",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json
new file mode 100644
index 000000000000..9eeed12f0b59
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "actualcost",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json
new file mode 100644
index 000000000000..9897d7cf78c4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "amortizedcost",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json
new file mode 100644
index 000000000000..745a163e8817
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "usage",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json
new file mode 100644
index 000000000000..6e1e1d30dddb
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "$filter": "tags eq 'dev:tools'",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json
new file mode 100644
index 000000000000..3d412576d2e3
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json
new file mode 100644
index 000000000000..9b18a420e1fe
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json
new file mode 100644
index 000000000000..63cdff469fa2
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/Departments/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json
new file mode 100644
index 000000000000..844a6b00171c
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json
new file mode 100644
index 000000000000..5abcace4e978
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201903",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ },
+ {
+ "id": "/scope/providers/Microsoft.Billing/billingPeriods/billingPeriodName/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2",
+ "name": "usageDetails_Id2",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 2",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 2",
+ "accountName": "Account Name 2",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 2",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 2",
+ "partNumber": "Part Number 2",
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "meterDetails": null,
+ "quantity": 0.4759,
+ "effectivePrice": 0.073488920944598,
+ "cost": 0.000821821271948,
+ "unitPrice": 5.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2",
+ "resourceName": "Resource Name 2",
+ "invoiceSection": "Invoice Section 2",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 2",
+ "offerId": "Offer Id 2",
+ "isAzureCreditEligible": false,
+ "chargeType": "UnusedReservation"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md
index f28b7a4e49e5..4c7c4d7b0727 100644
--- a/specification/consumption/resource-manager/readme.md
+++ b/specification/consumption/resource-manager/readme.md
@@ -26,18 +26,27 @@ These are the global settings for the Consumption API.
``` yaml
openapi-type: arm
-tag: package-preview-2019-04
+tag: package-preview-2019-05
```
+### Tag: package-preview-2019-05
+
+These settings apply only when `--tag=package-preview-2019-05` is specified on the command line.
+
+```yaml $(tag) == 'package-preview-2019-05'
+input-file:
+ - Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
+```
### Tag: package-preview-2019-04
These settings apply only when `--tag=package-preview-2019-04` is specified on the command line.
-```yaml $(tag) == 'package-preview-2019-04'
+``` yaml $(tag) == 'package-preview-2019-04'
input-file:
- Microsoft.Consumption/preview/2019-04-01-preview/consumption.json
```
+
### Tag: package-preview-2018-11
These settings apply only when `--tag=package-preview-2018-11` is specified on the command line.
@@ -365,4 +374,4 @@ java:
output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2019_01_01
regenerate-manager: true
generate-interface: true
-```
\ No newline at end of file
+```
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json
index e9e84199b40f..d6b9e854eb3e 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json
@@ -972,4 +972,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/RegistryGenerateCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/RegistryGenerateCredentials.json
index 0065a3d5f394..1a7c8cb8e0cb 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/RegistryGenerateCredentials.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/RegistryGenerateCredentials.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "generateCredentialsParameters": {
- "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
- "expiry": "2020-12-31T15:59:59.0707808Z"
- }
- },
- "responses": {
- "200": {
- "body": {
- "username": "myToken",
- "passwords": [
- {
- "expiry": "2020-12-31T15:59:59.0707808Z",
- "name": "password1",
- "value": "00000000000000000000000000000000"
- },
- {
- "expiry": "2020-12-31T15:59:59.0707808Z",
- "name": "password2",
- "value": "00000000000000000000000000000000"
- }
- ]
- }
- },
- "202": {}
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "generateCredentialsParameters": {
+ "tokenId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
+ "expiry": "2020-12-31T15:59:59.0707808Z"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "username": "myToken",
+ "passwords": [
+ {
+ "expiry": "2020-12-31T15:59:59.0707808Z",
+ "name": "password1",
+ "value": "00000000000000000000000000000000"
+ },
+ {
+ "expiry": "2020-12-31T15:59:59.0707808Z",
+ "name": "password2",
+ "value": "00000000000000000000000000000000"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapCreate.json
index 943f0c70cc6f..af105d443b7a 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapCreate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapCreate.json
@@ -1,52 +1,52 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "scopeMapName": "myScopeMap",
- "scopeMapCreateParameters": {
- "properties": {
- "description": "Developer Scopes",
- "actions": [
- "repositories/myrepository/contentWrite",
- "repositories/myrepository/delete"
- ]
- }
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "scopeMapName": "myScopeMap",
+ "scopeMapCreateParameters": {
+ "properties": {
+ "description": "Developer Scopes",
+ "actions": [
+ "repositories/myrepository/contentWrite",
+ "repositories/myrepository/delete"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "name": "myScopeMap",
+ "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "type": "IsUserDefined",
+ "actions": [
+ "repositories/myrepository/contentWrite",
+ "repositories/myrepository/delete"
+ ],
+ "provisioningState": "Succeeded"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "name": "myScopeMap",
- "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "type": "IsUserDefined",
- "actions": [
- "repositories/myrepository/contentWrite",
- "repositories/myrepository/delete"
- ],
- "provisioningState": "Succeeded"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "name": "myScopeMap",
- "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "type": "IsUserDefined",
- "actions": [
- "repositories/myrepository/contentWrite",
- "repositories/myrepository/delete"
- ],
- "provisioningState": "Succeeded"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "name": "myScopeMap",
+ "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "type": "IsUserDefined",
+ "actions": [
+ "repositories/myrepository/contentWrite",
+ "repositories/myrepository/delete"
+ ],
+ "provisioningState": "Succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapDelete.json
index 37c19232e25d..4383cfa7308e 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapDelete.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapDelete.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "scopeMapName": "myScopeMap"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "scopeMapName": "myScopeMap"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapGet.json
index 87e29454892c..a4c9936c1443 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapGet.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapGet.json
@@ -1,27 +1,27 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "scopeMapName": "myScopeMap"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "name": "myScopeMap",
- "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "type": "IsUserDefined",
- "actions": [
- "repositories/myrepository/contentWrite",
- "repositories/myrepository/delete"
- ],
- "provisioningState": "Succeeded"
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "scopeMapName": "myScopeMap"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "name": "myScopeMap",
+ "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "type": "IsUserDefined",
+ "actions": [
+ "repositories/myrepository/contentWrite",
+ "repositories/myrepository/delete"
+ ],
+ "provisioningState": "Succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapList.json
index ad075f5d99c9..33368ccd6f24 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapList.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapList.json
@@ -1,30 +1,30 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "name": "myScopeMap",
- "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "type": "IsUserDefined",
- "actions": [
- "repositories/myrepository/contentWrite",
- "repositories/myrepository/delete"
- ],
- "provisioningState": "Succeeded"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "name": "myScopeMap",
+ "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "type": "IsUserDefined",
+ "actions": [
+ "repositories/myrepository/contentWrite",
+ "repositories/myrepository/delete"
+ ],
+ "provisioningState": "Succeeded"
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapUpdate.json
index 1d7251182953..970a48998836 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapUpdate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/ScopeMapUpdate.json
@@ -1,52 +1,52 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "scopeMapName": "myScopeMap",
- "scopeMapUpdateParameters": {
- "properties": {
- "description": "Developer Scopes",
- "actions": [
- "repositories/myrepository/contentWrite",
- "repositories/myrepository/contentRead"
- ]
- }
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "scopeMapName": "myScopeMap",
+ "scopeMapUpdateParameters": {
+ "properties": {
+ "description": "Developer Scopes",
+ "actions": [
+ "repositories/myrepository/contentWrite",
+ "repositories/myrepository/contentRead"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "name": "myScopeMap",
+ "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "type": "IsUserDefined",
+ "actions": [
+ "repositories/myrepository/contentWrite",
+ "repositories/myrepository/contentRead"
+ ],
+ "provisioningState": "Succeeded"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "name": "myScopeMap",
- "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "type": "IsUserDefined",
- "actions": [
- "repositories/myrepository/contentWrite",
- "repositories/myrepository/contentRead"
- ],
- "provisioningState": "Succeeded"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "name": "myScopeMap",
- "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "type": "IsUserDefined",
- "actions": [
- "repositories/myrepository/contentWrite",
- "repositories/myrepository/contentRead"
- ],
- "provisioningState": "Succeeded"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "name": "myScopeMap",
+ "type": "Microsoft.ContainerRegistry/registries/scopeMaps",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "type": "IsUserDefined",
+ "actions": [
+ "repositories/myrepository/contentWrite",
+ "repositories/myrepository/contentRead"
+ ],
+ "provisioningState": "Succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenCreate.json
index 0167853f3d3e..ab71b8bbe14a 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenCreate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenCreate.json
@@ -1,69 +1,69 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "tokenName": "myToken",
- "tokenCreateParameters": {
- "properties": {
- "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "status": "disabled",
- "credentials": {
- "certificates": [
- {
- "name": "certificate1",
- "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
- }
- ]
- }
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "tokenName": "myToken",
+ "tokenCreateParameters": {
+ "properties": {
+ "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "status": "disabled",
+ "credentials": {
+ "certificates": [
+ {
+ "name": "certificate1",
+ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
}
+ ]
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
+ "name": "myToken",
+ "type": "Microsoft.ContainerRegistry/registries/tokens",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "provisioningState": "Succeeded",
+ "status": "disabled",
+ "credentials": {
+ "certificates": [
+ {
+ "name": "certificate1",
+ "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7",
+ "expiry": "2020-12-04T15:32:48.0707808Z"
+ }
+ ]
+ }
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
- "name": "myToken",
- "type": "Microsoft.ContainerRegistry/registries/tokens",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "provisioningState": "Succeeded",
- "status": "disabled",
- "credentials": {
- "certificates": [
- {
- "name": "certificate1",
- "thumbprint":"feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7",
- "expiry":"2020-12-04T15:32:48.0707808Z"
- }
- ]
- }
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
- "name": "myToken",
- "type": "Microsoft.ContainerRegistry/registries/tokens",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "provisioningState": "Succeeded",
- "status": "disabled",
- "credentials": {
- "certificates": [
- {
- "name": "certificate1",
- "thumbprint":"feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7",
- "expiry":"2020-12-04T15:32:48.0707808Z"
- }
- ]
- }
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
+ "name": "myToken",
+ "type": "Microsoft.ContainerRegistry/registries/tokens",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "provisioningState": "Succeeded",
+ "status": "disabled",
+ "credentials": {
+ "certificates": [
+ {
+ "name": "certificate1",
+ "thumbprint": "feeb79a888bf1415f8e17c4965a2a5bb5c8a2ff7",
+ "expiry": "2020-12-04T15:32:48.0707808Z"
+ }
+ ]
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenDelete.json
index 16a75c5c98a3..73187182a3c9 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenDelete.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenDelete.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "tokenName": "myToken"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "tokenName": "myToken"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenGet.json
index cdc64b423794..46ee35e9719c 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenGet.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenGet.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "tokenName": "myToken"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
- "name": "myToken",
- "type": "Microsoft.ContainerRegistry/registries/tokens",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "provisioningState": "Succeeded",
- "status": "enabled"
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "tokenName": "myToken"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
+ "name": "myToken",
+ "type": "Microsoft.ContainerRegistry/registries/tokens",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "provisioningState": "Succeeded",
+ "status": "enabled"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenList.json
index 4ac04229390d..5427d8764cea 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenList.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenList.json
@@ -1,27 +1,27 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
- "name": "myToken",
- "type": "Microsoft.ContainerRegistry/registries/tokens",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
- "provisioningState": "Succeeded",
- "status": "enabled"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
+ "name": "myToken",
+ "type": "Microsoft.ContainerRegistry/registries/tokens",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myScopeMap",
+ "provisioningState": "Succeeded",
+ "status": "enabled"
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenUpdate.json
index 915edaa9fe19..613f35f8a7fb 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenUpdate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/examples/TokenUpdate.json
@@ -1,66 +1,66 @@
{
- "parameters": {
- "api-version": "2019-05-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "tokenName": "myToken",
- "tokenUpdateParameters": {
- "properties": {
- "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap",
- "credentials": {
- "certificates": [
- {
- "name": "certificate1",
- "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
- }
- ]
- }
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "tokenName": "myToken",
+ "tokenUpdateParameters": {
+ "properties": {
+ "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap",
+ "credentials": {
+ "certificates": [
+ {
+ "name": "certificate1",
+ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
}
+ ]
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
+ "name": "myToken",
+ "type": "Microsoft.ContainerRegistry/registries/tokens",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap",
+ "provisioningState": "Succeeded",
+ "status": "enabled",
+ "credentials": {
+ "certificates": [
+ {
+ "name": "certificate1",
+ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
+ }
+ ]
+ }
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
- "name": "myToken",
- "type": "Microsoft.ContainerRegistry/registries/tokens",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap",
- "provisioningState": "Succeeded",
- "status": "enabled",
- "credentials": {
- "certificates": [
- {
- "name": "certificate1",
- "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
- }
- ]
- }
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
- "name": "myToken",
- "type": "Microsoft.ContainerRegistry/registries/tokens",
- "properties": {
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap",
- "provisioningState": "Succeeded",
- "status": "enabled",
- "credentials": {
- "certificates": [
- {
- "name": "certificate1",
- "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
- }
- ]
- }
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/myToken",
+ "name": "myToken",
+ "type": "Microsoft.ContainerRegistry/registries/tokens",
+ "properties": {
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "scopeMapId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/scopeMaps/myNewScopeMap",
+ "provisioningState": "Succeeded",
+ "status": "enabled",
+ "credentials": {
+ "certificates": [
+ {
+ "name": "certificate1",
+ "encodedPemCertificate": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUc3akNDQk5hZ0F3SUJBZ0lURmdBQlR3UVpyZGdmdmhxdzBnQUFBQUZQQkRBTkJna3Foa2lHOXcwQkFRc0YKQURDQml6RUxNQWtHQTFVRUJoTUNWVk14RXpBUkJnTlZCQWdUQ2xkaGMyaHBibWQwYjI0eEVEQU9CZ05WQkFjVApCMUpsWkcxdmJtUXhIakFjQmdOVkJBb1RGVTFwWTNKdmMyOW1kQ0JEYjNKd2IzSmhkR2x2YmpFVk1CTUdBMVVFCkN4TU1UV2xqY205emIyWjBJRWxVTVI0d0hBWURWUVFERXhWTmFXTnliM052Wm5RZ1NWUWdWRXhUSUVOQklEUXcKSGhjTk1UZ3dOREV5TWpJek1qUTRXaGNOTWpBd05ERXlNakl6TWpRNFdqQTVNVGN3TlFZRFZRUURFeTV6WlhKMgphV05sWTJ4cFpXNTBZMlZ5ZEMxd1lYSjBibVZ5TG0xaGJtRm5aVzFsYm5RdVlYcDFjbVV1WTI5dE1JSUJJakFOCkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQTBSYjdJcHpxMmR4emhhbVpyS1ZDakMzeTQyYlYKUnNIY2pCUTFuSDBHZ1puUDhXeDZDSE1mWThybkVJQzRLeVRRYkJXVzhnNXlmc3NSQ0ZXbFpxYjR6SkRXS0pmTgpGSmNMUm9LNnhwTktZYVZVTkVlT25IdUxHYTM0ZlA0VjBFRjZybzdvbkRLME5zanhjY1dZVzRNVXVzc0xrQS94CkUrM2RwU1REdk1KcjJoWUpsVnFDcVR6blQvbmZaVUZzQUVEQnp5MUpOOHZiZDlIR2czc2Myd0x4dk95cFJOc0gKT1V3V2pmN2xzWWZleEVlcWkzY29EeHc2alpLVWEyVkdsUnBpTkowMjhBQitYSi9TU1FVNVBsd0JBbU9TT3ovRApGY0NKdGpPZlBqU1NKckFIQVV3SHU3RzlSV05JTFBwYU9zQ1J5eitETE5zNGpvNlEvUUg4d1lManJRSURBUUFCCm80SUNtakNDQXBZd0N3WURWUjBQQkFRREFnU3dNQjBHQTFVZEpRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUYKQlFjREFUQWRCZ05WSFE0RUZnUVVlbEdkVVJrZzJoSFFOWEQ4WUc4L3drdjJVT0F3SHdZRFZSMGpCQmd3Rm9BVQplbnVNd2Mvbm9Nb2MxR3Y2KytFend3OGFvcDB3Z2F3R0ExVWRId1NCcERDQm9UQ0JucUNCbTZDQm1JWkxhSFIwCmNEb3ZMMjF6WTNKc0xtMXBZM0p2YzI5bWRDNWpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjAKSlRJd1NWUWxNakJVVEZNbE1qQkRRU1V5TURRdVkzSnNoa2xvZEhSd09pOHZZM0pzTG0xcFkzSnZjMjltZEM1agpiMjB2Y0d0cEwyMXpZMjl5Y0M5amNtd3ZUV2xqY205emIyWjBKVEl3U1ZRbE1qQlVURk1sTWpCRFFTVXlNRFF1ClkzSnNNSUdGQmdnckJnRUZCUWNCQVFSNU1IY3dVUVlJS3dZQkJRVUhNQUtHUldoMGRIQTZMeTkzZDNjdWJXbGoKY205emIyWjBMbU52YlM5d2Eya3ZiWE5qYjNKd0wwMXBZM0p2YzI5bWRDVXlNRWxVSlRJd1ZFeFRKVEl3UTBFbApNakEwTG1OeWREQWlCZ2dyQmdFRkJRY3dBWVlXYUhSMGNEb3ZMMjlqYzNBdWJYTnZZM053TG1OdmJUQStCZ2tyCkJnRUVBWUkzRlFjRU1UQXZCaWNyQmdFRUFZSTNGUWlIMm9aMWcrN1pBWUxKaFJ1QnRaNWhoZlRyWUlGZGhOTGYKUW9Mbmszb0NBV1FDQVIwd1RRWURWUjBnQkVZd1JEQkNCZ2tyQmdFRUFZSTNLZ0V3TlRBekJnZ3JCZ0VGQlFjQwpBUlluYUhSMGNEb3ZMM2QzZHk1dGFXTnliM052Wm5RdVkyOXRMM0JyYVM5dGMyTnZjbkF2WTNCek1DY0dDU3NHCkFRUUJnamNWQ2dRYU1CZ3dDZ1lJS3dZQkJRVUhBd0l3Q2dZSUt3WUJCUVVIQXdFd09RWURWUjBSQkRJd01JSXUKYzJWeWRtbGpaV05zYVdWdWRHTmxjblF0Y0dGeWRHNWxjaTV0WVc1aFoyVnRaVzUwTG1GNmRYSmxMbU52YlRBTgpCZ2txaGtpRzl3MEJBUXNGQUFPQ0FnRUFIVXIzbk1vdUI5WWdDUlRWYndUTllIS2RkWGJkSW1GUXNDYys4T1g1CjE5c0N6dFFSR05iSXEwVW1Ba01MbFVvWTIxckh4ZXdxU2hWczFhL2RwaFh5Tk1pcUdaU2QzU1BtYzZscitqUFQKNXVEREs0MUlWeXN0K2VUNlpyazFvcCtMVmdkeS9EU2lyNzVqcWZFY016bS82bU8rNnFNeWRLTWtVYmM5K3JHVwphUkpUcjRWUUdIRmEwNEIwZVZpNUd4MG9pL2RpZDNSaXg2aXJMMjFJSGEwYjN6c1hzZHpHU0R2K3hqL2Q2S0l4Ckdrd2FhYmZvU1NoQnFqaFNlQ0VyZXFlb1RpYjljdGw0MGRVdUp3THl4bjhHS2N6K3AvMEJUOEIxU3lYK01OQ2wKY0pkMjVtMjhLajY2TGUxOEVyeFlJYXZJVGVGa3Y2eGZjdkEvcHladDdPaU41QTlGQk1IUmpQK1kyZ2tvdjMrcQpISFRUZG4xNnlRajduNit3YlFHNGVleXc0YisyQkRLcUxNVFU2ZmlSQ3ZPM2FPZVBLSFVNN3R4b1FidWl6Z3NzCkNiMzl3QnJOTEZsMkJLQ1RkSCtkSU9oZVJiSkZvbmlwOGRPOUVFZWdSSG9lQW54ZUlYTFBrdXMzTzEvZjRhNkIKWHQ3RG5BUm8xSzJmeEp3VXRaU2MvR3dFSjU5NzlnRXlEa3pDZEVsLzdpWE9QZXVjTXhlM2xVM2pweUtsNERUaApjSkJqQytqNGpLWTFrK1U4b040aGdqYnJISUx6Vnd2eU15OU5KS290U3BMSjQxeHdPOHlGangxalFTT3Bxc0N1ClFhUFUvTjhSZ0hxWjBGTkFzS3dNUmZ6WmdXanRCNzRzYUVEdk5jVmNuNFhCQnFNSG0ydHo2Uzk3d3kxZGt0cTgKSE5BPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
+ }
+ ]
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
new file mode 100644
index 000000000000..f3362eb1fe81
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
@@ -0,0 +1,2646 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-01-preview",
+ "title": "ContainerRegistryManagementClient"
+ },
+ "host": "management.azure.com",
+ "basePath": "/",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun": {
+ "post": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Schedules a new run based on the request parameters and add it to the run queue.",
+ "operationId": "Registries_ScheduleRun",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runRequest",
+ "in": "body",
+ "description": "The parameters of a run that needs to scheduled.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RunRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "202": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Registries_ScheduleRun": {
+ "$ref": "./examples/RegistriesScheduleRun.json"
+ },
+ "Registries_ScheduleRun_EncodedTaskRun": {
+ "$ref": "./examples/RegistriesScheduleRun_EncodedTaskRun.json"
+ },
+ "Registries_ScheduleRun_FileTaskRun": {
+ "$ref": "./examples/RegistriesScheduleRun_FileTaskRun.json"
+ },
+ "Registries_ScheduleRun_Task": {
+ "$ref": "./examples/RegistriesScheduleRun_Task.json"
+ },
+ "Registries_ScheduleRun_Task_WithCustomCredentials": {
+ "$ref": "./examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json"
+ },
+ "Registries_ScheduleRun_WithCustomCredentials": {
+ "$ref": "./examples/RegistriesScheduleRun_WithCustomCredentials.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl": {
+ "post": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Get the upload location for the user to be able to upload the source.",
+ "operationId": "Registries_GetBuildSourceUploadUrl",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/SourceUploadDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Registries_GetBuildSourceUploadUrl": {
+ "$ref": "./examples/RegistriesGetBuildSourceUploadUrl.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs": {
+ "get": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Gets all the runs for a registry.",
+ "operationId": "Runs_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "$top is supported for get list of runs, which limits the maximum number of runs to return.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/RunListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-odata": "#/definitions/RunFilter",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Runs_List": {
+ "$ref": "./examples/RunsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}": {
+ "get": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Gets the detailed information for a given run.",
+ "operationId": "Runs_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The run ID.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Runs_Get": {
+ "$ref": "./examples/RunsGet.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Patch the run properties.",
+ "operationId": "Runs_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The run ID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runUpdateParameters",
+ "in": "body",
+ "description": "The run update properties.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RunUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "201": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/build doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Runs_Update": {
+ "$ref": "./examples/RunsUpdate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl": {
+ "post": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Gets a link to download the run logs.",
+ "operationId": "Runs_GetLogSasUrl",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The run ID.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/RunGetLogResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Runs_GetLogSasUrl": {
+ "$ref": "./examples/RunsGetLogSasUrl.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel": {
+ "post": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Cancel an existing run.",
+ "operationId": "Runs_Cancel",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The run ID.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Runs_Cancel": {
+ "$ref": "./examples/RunsCancel.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks": {
+ "get": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Lists all the tasks for a specified container registry.",
+ "operationId": "Tasks_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/TaskListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Tasks_List": {
+ "$ref": "./examples/TasksList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}": {
+ "get": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Get the properties of a specified task.",
+ "operationId": "Tasks_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Tasks_Get": {
+ "$ref": "./examples/TasksGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Creates a task for a container registry with the specified parameters.",
+ "operationId": "Tasks_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ },
+ {
+ "name": "taskCreateParameters",
+ "in": "body",
+ "description": "The parameters for creating a task.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "201": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Tasks_Create": {
+ "$ref": "./examples/TasksCreate.json"
+ },
+ "Tasks_Create_WithSystemAndUserIdentities": {
+ "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json"
+ },
+ "Tasks_Create_WithUserIdentities_WithSystemIdentity": {
+ "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json"
+ },
+ "Tasks_Create_WithUserIdentities": {
+ "$ref": "./examples/ManagedIdentity/TasksCreate_WithUserIdentities.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Deletes a specified task.",
+ "operationId": "Tasks_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content - the specified resource was not found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Tasks_Delete": {
+ "$ref": "./examples/TasksDelete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Updates a task with the specified parameters.",
+ "operationId": "Tasks_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ },
+ {
+ "name": "taskUpdateParameters",
+ "in": "body",
+ "description": "The parameters for updating a task.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TaskUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "201": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Tasks_Update": {
+ "$ref": "./examples/TasksUpdate.json"
+ },
+ "Tasks_Update_WithKeyVaultCustomCredentials": {
+ "$ref": "./examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json"
+ },
+ "Tasks_Update_WithMSICustomCredentials": {
+ "$ref": "./examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json"
+ },
+ "Tasks_Update_WithOpaqueCustomCredentials": {
+ "$ref": "./examples/TasksUpdate_WithOpaqueCustomCredentials.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails": {
+ "post": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Returns a task with extended information that includes all secrets.",
+ "operationId": "Tasks_GetDetails",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Tasks_GetDetails": {
+ "$ref": "./examples/TasksGetDetails.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RunRequest": {
+ "description": "The request parameters for scheduling a run.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the run request.",
+ "type": "string"
+ },
+ "isArchiveEnabled": {
+ "description": "The value that indicates whether archiving is enabled for the run or not.",
+ "default": false,
+ "type": "boolean"
+ }
+ },
+ "discriminator": "type"
+ },
+ "Run": {
+ "description": "Run resource properties",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/RunProperties",
+ "description": "The properties of a run.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "RunProperties": {
+ "description": "The properties for a run.",
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "The unique identifier for the run.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The current status of the run.",
+ "enum": [
+ "Queued",
+ "Started",
+ "Running",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Error",
+ "Timeout"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RunStatus",
+ "modelAsString": true
+ }
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "The last updated time for the run.",
+ "type": "string"
+ },
+ "runType": {
+ "description": "The type of run.",
+ "enum": [
+ "QuickBuild",
+ "QuickRun",
+ "AutoBuild",
+ "AutoRun"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RunType",
+ "modelAsString": true
+ }
+ },
+ "createTime": {
+ "format": "date-time",
+ "description": "The time the run was scheduled.",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The time the run started.",
+ "type": "string"
+ },
+ "finishTime": {
+ "format": "date-time",
+ "description": "The time the run finished.",
+ "type": "string"
+ },
+ "outputImages": {
+ "description": "The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDescriptor"
+ }
+ },
+ "task": {
+ "description": "The task against which run was scheduled.",
+ "type": "string"
+ },
+ "imageUpdateTrigger": {
+ "$ref": "#/definitions/ImageUpdateTrigger",
+ "description": "The image update trigger that caused the run. This is applicable if the task has base image trigger configured."
+ },
+ "sourceTrigger": {
+ "$ref": "#/definitions/SourceTriggerDescriptor",
+ "description": "The source trigger that caused the run."
+ },
+ "timerTrigger": {
+ "$ref": "#/definitions/TimerTriggerDescriptor",
+ "description": "The timer trigger that caused the run."
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run will happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "sourceRegistryAuth": {
+ "description": "The scope of the credentials that were used to login to the source registry during this run.",
+ "type": "string"
+ },
+ "customRegistries": {
+ "description": "The list of custom registries that were logged in during this run.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "runErrorMessage": {
+ "description": "The error message received from backend systems after the run is scheduled.",
+ "type": "string",
+ "readOnly": true
+ },
+ "updateTriggerToken": {
+ "description": "The update trigger token passed for the Run.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "The provisioning state of a run.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "isArchiveEnabled": {
+ "description": "The value that indicates whether archiving is enabled or not.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ "ImageDescriptor": {
+ "description": "Properties for a registry image.",
+ "type": "object",
+ "properties": {
+ "registry": {
+ "description": "The registry login server.",
+ "type": "string"
+ },
+ "repository": {
+ "description": "The repository name.",
+ "type": "string"
+ },
+ "tag": {
+ "description": "The tag name.",
+ "type": "string"
+ },
+ "digest": {
+ "description": "The sha256-based digest of the image manifest.",
+ "type": "string"
+ }
+ }
+ },
+ "ImageUpdateTrigger": {
+ "description": "The image update trigger that caused a build.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique ID of the trigger.",
+ "type": "string"
+ },
+ "timestamp": {
+ "format": "date-time",
+ "description": "The timestamp when the image update happened.",
+ "type": "string"
+ },
+ "images": {
+ "description": "The list of image updates that caused the build.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDescriptor"
+ }
+ }
+ }
+ },
+ "SourceTriggerDescriptor": {
+ "description": "The source trigger that caused a run.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique ID of the trigger.",
+ "type": "string"
+ },
+ "eventType": {
+ "description": "The event type of the trigger.",
+ "type": "string"
+ },
+ "commitId": {
+ "description": "The unique ID that identifies a commit.",
+ "type": "string"
+ },
+ "pullRequestId": {
+ "description": "The unique ID that identifies pull request.",
+ "type": "string"
+ },
+ "repositoryUrl": {
+ "description": "The repository URL.",
+ "type": "string"
+ },
+ "branchName": {
+ "description": "The branch name in the repository.",
+ "type": "string"
+ },
+ "providerType": {
+ "description": "The source control provider type.",
+ "type": "string"
+ }
+ }
+ },
+ "TimerTriggerDescriptor": {
+ "type": "object",
+ "properties": {
+ "timerTriggerName": {
+ "description": "The timer trigger name that caused the run.",
+ "type": "string"
+ },
+ "scheduleOccurrence": {
+ "description": "The occurrence that triggered the run.",
+ "type": "string"
+ }
+ }
+ },
+ "PlatformProperties": {
+ "description": "The platform properties against which the run has to happen.",
+ "required": [
+ "os"
+ ],
+ "type": "object",
+ "properties": {
+ "os": {
+ "description": "The operating system type required for the run.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OS",
+ "modelAsString": true
+ }
+ },
+ "architecture": {
+ "description": "The OS architecture.",
+ "enum": [
+ "amd64",
+ "x86",
+ "386",
+ "arm",
+ "arm64"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Architecture",
+ "modelAsString": true
+ }
+ },
+ "variant": {
+ "description": "Variant of the CPU.",
+ "enum": [
+ "v6",
+ "v7",
+ "v8"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Variant",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AgentProperties": {
+ "description": "The properties that determine the run agent configuration.",
+ "type": "object",
+ "properties": {
+ "cpu": {
+ "format": "int32",
+ "description": "The CPU configuration in terms of number of cores required for the run.",
+ "type": "integer"
+ }
+ }
+ },
+ "SourceUploadDefinition": {
+ "description": "The properties of a response to source upload request.",
+ "type": "object",
+ "properties": {
+ "uploadUrl": {
+ "description": "The URL where the client can upload the source.",
+ "type": "string"
+ },
+ "relativePath": {
+ "description": "The relative path to the source. This is used to submit the subsequent queue build request.",
+ "type": "string"
+ }
+ }
+ },
+ "RunListResult": {
+ "description": "Collection of runs.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection value.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next set of paged results.",
+ "type": "string"
+ }
+ }
+ },
+ "RunFilter": {
+ "description": "Properties that are enabled for Odata querying on runs.",
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "The unique identifier for the run.",
+ "type": "string"
+ },
+ "runType": {
+ "description": "The type of run.",
+ "enum": [
+ "QuickBuild",
+ "QuickRun",
+ "AutoBuild",
+ "AutoRun"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RunType",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The current status of the run.",
+ "enum": [
+ "Queued",
+ "Started",
+ "Running",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Error",
+ "Timeout"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RunStatus",
+ "modelAsString": true
+ }
+ },
+ "createTime": {
+ "format": "date-time",
+ "description": "The create time for a run.",
+ "type": "string"
+ },
+ "finishTime": {
+ "format": "date-time",
+ "description": "The time the run finished.",
+ "type": "string"
+ },
+ "outputImageManifests": {
+ "description": "The list of comma-separated image manifests that were generated from the run. This is applicable if the run is of\r\nbuild type.",
+ "type": "string"
+ },
+ "isArchiveEnabled": {
+ "description": "The value that indicates whether archiving is enabled or not.",
+ "type": "boolean"
+ },
+ "taskName": {
+ "description": "The name of the task that the run corresponds to.",
+ "type": "string"
+ }
+ }
+ },
+ "RunUpdateParameters": {
+ "description": "The set of run properties that can be updated.",
+ "type": "object",
+ "properties": {
+ "isArchiveEnabled": {
+ "description": "The value that indicates whether archiving is enabled or not.",
+ "type": "boolean"
+ }
+ }
+ },
+ "RunGetLogResult": {
+ "description": "The result of get log link operation.",
+ "type": "object",
+ "properties": {
+ "logLink": {
+ "description": "The link to logs for a run on a azure container registry.",
+ "type": "string"
+ }
+ }
+ },
+ "TaskListResult": {
+ "description": "The collection of tasks.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection value.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next set of paged results.",
+ "type": "string"
+ }
+ }
+ },
+ "Task": {
+ "description": "The task that has the ARM resource and task properties. \r\nThe task will have all information to schedule a run against it.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/IdentityProperties",
+ "description": "Identity for the resource."
+ },
+ "properties": {
+ "$ref": "#/definitions/TaskProperties",
+ "description": "The properties of a task.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "IdentityProperties": {
+ "description": "Managed identity for the resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "The principal ID of resource identity.",
+ "type": "string"
+ },
+ "tenantId": {
+ "description": "The tenant ID of resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The identity type.",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/UserIdentityProperties"
+ }
+ }
+ }
+ },
+ "TaskProperties": {
+ "description": "The properties of a task.",
+ "required": [
+ "platform",
+ "step"
+ ],
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the task.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The creation date of task.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The current status of task.",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TaskStatus",
+ "modelAsString": true
+ }
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "default": 3600,
+ "maximum": 28800,
+ "minimum": 300,
+ "type": "integer"
+ },
+ "step": {
+ "$ref": "#/definitions/TaskStepProperties",
+ "description": "The properties of a task step."
+ },
+ "trigger": {
+ "$ref": "#/definitions/TriggerProperties",
+ "description": "The properties that describe all triggers for the task."
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The properties that describes a set of credentials that will be used when this run is invoked."
+ }
+ }
+ },
+ "UserIdentityProperties": {
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "The principal id of user assigned identity.",
+ "type": "string"
+ },
+ "clientId": {
+ "description": "The client id of user assigned identity.",
+ "type": "string"
+ }
+ }
+ },
+ "TaskStepProperties": {
+ "description": "Base properties for any task step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the step.",
+ "enum": [
+ "Docker",
+ "FileTask",
+ "EncodedTask"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StepType",
+ "modelAsString": true
+ }
+ },
+ "baseImageDependencies": {
+ "description": "List of base image dependencies for a step.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BaseImageDependency"
+ },
+ "readOnly": true
+ },
+ "contextPath": {
+ "description": "The URL(absolute or relative) of the source context for the task step.",
+ "type": "string"
+ },
+ "contextAccessToken": {
+ "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step.",
+ "type": "string"
+ }
+ },
+ "discriminator": "type"
+ },
+ "TriggerProperties": {
+ "description": "The properties of a trigger.",
+ "type": "object",
+ "properties": {
+ "timerTriggers": {
+ "description": "The collection of timer triggers.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TimerTrigger"
+ }
+ },
+ "sourceTriggers": {
+ "description": "The collection of triggers based on source code repository.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SourceTrigger"
+ }
+ },
+ "baseImageTrigger": {
+ "$ref": "#/definitions/BaseImageTrigger",
+ "description": "The trigger based on base image dependencies."
+ }
+ }
+ },
+ "Credentials": {
+ "description": "The parameters that describes a set of credentials that will be used when a run is invoked.",
+ "type": "object",
+ "properties": {
+ "sourceRegistry": {
+ "$ref": "#/definitions/SourceRegistryCredentials",
+ "description": "Describes the credential parameters for accessing the source registry."
+ },
+ "customRegistries": {
+ "description": "Describes the credential parameters for accessing other custom registries. The key\r\nfor the dictionary item will be the registry login server (myregistry.azurecr.io) and\r\nthe value of the item will be the registry credentials for accessing the registry.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/CustomRegistryCredentials"
+ }
+ }
+ }
+ },
+ "BaseImageDependency": {
+ "description": "Properties that describe a base image dependency.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the base image dependency.",
+ "enum": [
+ "BuildTime",
+ "RunTime"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BaseImageDependencyType",
+ "modelAsString": true
+ }
+ },
+ "registry": {
+ "description": "The registry login server.",
+ "type": "string"
+ },
+ "repository": {
+ "description": "The repository name.",
+ "type": "string"
+ },
+ "tag": {
+ "description": "The tag name.",
+ "type": "string"
+ },
+ "digest": {
+ "description": "The sha256-based digest of the image manifest.",
+ "type": "string"
+ }
+ }
+ },
+ "TimerTrigger": {
+ "description": "The properties of a timer trigger.",
+ "required": [
+ "schedule",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "schedule": {
+ "description": "The CRON expression for the task schedule",
+ "type": "string"
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceTrigger": {
+ "description": "The properties of a source based trigger.",
+ "required": [
+ "sourceRepository",
+ "sourceTriggerEvents",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "sourceRepository": {
+ "$ref": "#/definitions/SourceProperties",
+ "description": "The properties that describes the source(code) for the task."
+ },
+ "sourceTriggerEvents": {
+ "description": "The source event corresponding to the trigger.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "commit",
+ "pullrequest"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceTriggerEvent",
+ "modelAsString": true
+ }
+ }
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "BaseImageTrigger": {
+ "description": "The trigger based on base image dependency.",
+ "required": [
+ "baseImageTriggerType",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "baseImageTriggerType": {
+ "description": "The type of the auto trigger for base image dependency updates.",
+ "enum": [
+ "All",
+ "Runtime"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BaseImageTriggerType",
+ "modelAsString": true
+ }
+ },
+ "updateTriggerEndpoint": {
+ "description": "The endpoint URL for receiving update triggers.",
+ "type": "string"
+ },
+ "updateTriggerPayloadType": {
+ "description": "Type of Payload body for Base image update triggers.",
+ "enum": [
+ "Default",
+ "Token"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "UpdateTriggerPayloadType",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceRegistryCredentials": {
+ "description": "Describes the credential parameters for accessing the source registry.",
+ "type": "object",
+ "properties": {
+ "loginMode": {
+ "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\r\nwill be generated using the given scope. These credentials will be used to login to\r\nthe source registry during the run.",
+ "enum": [
+ "None",
+ "Default"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceRegistryLoginMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "CustomRegistryCredentials": {
+ "description": "Describes the credentials that will be used to access a custom registry during a run.",
+ "type": "object",
+ "properties": {
+ "userName": {
+ "$ref": "#/definitions/SecretObject",
+ "description": "The username for logging into the custom registry."
+ },
+ "password": {
+ "$ref": "#/definitions/SecretObject",
+ "description": "The password for logging into the custom registry. The password is a secret \r\nobject that allows multiple ways of providing the value for it."
+ },
+ "identity": {
+ "description": "Indicates the managed identity assigned to the custom credential. If a user-assigned identity\r\nthis value is the Client ID. If a system-assigned identity, the value will be `system`. In\r\nthe case of a system-assigned identity, the Client ID will be determined by the runner. This\r\nidentity may be used to authenticate to key vault to retrieve credentials or it may be the only \r\nsource of authentication used for accessing the registry.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceProperties": {
+ "description": "The properties of the source code repository.",
+ "required": [
+ "sourceControlType",
+ "repositoryUrl"
+ ],
+ "type": "object",
+ "properties": {
+ "sourceControlType": {
+ "description": "The type of source control service.",
+ "enum": [
+ "Github",
+ "VisualStudioTeamService"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceControlType",
+ "modelAsString": true
+ }
+ },
+ "repositoryUrl": {
+ "description": "The full URL to the source code repository",
+ "type": "string"
+ },
+ "branch": {
+ "description": "The branch name of the source code.",
+ "type": "string"
+ },
+ "sourceControlAuthProperties": {
+ "$ref": "#/definitions/AuthInfo",
+ "description": "The authorization properties for accessing the source code repository and to set up\r\nwebhooks for notifications."
+ }
+ }
+ },
+ "SecretObject": {
+ "description": "Describes the properties of a secret object value.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value of the secret. The format of this value will be determined\r\nbased on the type of the secret object. If the type is Opaque, the value will be\r\nused as is without any modification.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the secret object which determines how the value of the secret object has to be\r\ninterpreted.",
+ "enum": [
+ "Opaque",
+ "Vaultsecret"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SecretObjectType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AuthInfo": {
+ "description": "The authorization properties for accessing the source code repository.",
+ "required": [
+ "tokenType",
+ "token"
+ ],
+ "type": "object",
+ "properties": {
+ "tokenType": {
+ "description": "The type of Auth token.",
+ "enum": [
+ "PAT",
+ "OAuth"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TokenType",
+ "modelAsString": true
+ }
+ },
+ "token": {
+ "description": "The access token used to access the source control provider.",
+ "type": "string"
+ },
+ "refreshToken": {
+ "description": "The refresh token used to refresh the access token.",
+ "type": "string"
+ },
+ "scope": {
+ "description": "The scope of the access token.",
+ "type": "string"
+ },
+ "expiresIn": {
+ "format": "int32",
+ "description": "Time in seconds that the token remains valid",
+ "type": "integer"
+ }
+ }
+ },
+ "TaskUpdateParameters": {
+ "description": "The parameters for updating a task.",
+ "type": "object",
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/IdentityProperties",
+ "description": "Identity for the resource."
+ },
+ "properties": {
+ "$ref": "#/definitions/TaskPropertiesUpdateParameters",
+ "description": "The properties for updating a task.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "description": "The ARM resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "TaskPropertiesUpdateParameters": {
+ "description": "The properties for updating a task.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The current status of task.",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TaskStatus",
+ "modelAsString": true
+ }
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformUpdateParameters",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "type": "integer"
+ },
+ "step": {
+ "$ref": "#/definitions/TaskStepUpdateParameters",
+ "description": "The properties for updating a task step."
+ },
+ "trigger": {
+ "$ref": "#/definitions/TriggerUpdateParameters",
+ "description": "The properties for updating trigger properties."
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The parameters that describes a set of credentials that will be used when this run is invoked."
+ }
+ }
+ },
+ "PlatformUpdateParameters": {
+ "description": "The properties for updating the platform configuration.",
+ "type": "object",
+ "properties": {
+ "os": {
+ "description": "The operating system type required for the run.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OS",
+ "modelAsString": true
+ }
+ },
+ "architecture": {
+ "description": "The OS architecture.",
+ "enum": [
+ "amd64",
+ "x86",
+ "386",
+ "arm",
+ "arm64"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Architecture",
+ "modelAsString": true
+ }
+ },
+ "variant": {
+ "description": "Variant of the CPU.",
+ "enum": [
+ "v6",
+ "v7",
+ "v8"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Variant",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "TaskStepUpdateParameters": {
+ "description": "Base properties for updating any task step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the step.",
+ "enum": [
+ "Docker",
+ "FileTask",
+ "EncodedTask"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StepType",
+ "modelAsString": true
+ }
+ },
+ "contextPath": {
+ "description": "The URL(absolute or relative) of the source context for the task step.",
+ "type": "string"
+ },
+ "contextAccessToken": {
+ "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step.",
+ "type": "string"
+ }
+ },
+ "discriminator": "type"
+ },
+ "TriggerUpdateParameters": {
+ "description": "The properties for updating triggers.",
+ "type": "object",
+ "properties": {
+ "timerTriggers": {
+ "description": "The collection of timer triggers.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TimerTriggerUpdateParameters"
+ }
+ },
+ "sourceTriggers": {
+ "description": "The collection of triggers based on source code repository.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SourceTriggerUpdateParameters"
+ }
+ },
+ "baseImageTrigger": {
+ "$ref": "#/definitions/BaseImageTriggerUpdateParameters",
+ "description": "The trigger based on base image dependencies."
+ }
+ }
+ },
+ "TimerTriggerUpdateParameters": {
+ "description": "The properties for updating a timer trigger.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "schedule": {
+ "description": "The CRON expression for the task schedule",
+ "type": "string"
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceTriggerUpdateParameters": {
+ "description": "The properties for updating a source based trigger.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "sourceRepository": {
+ "$ref": "#/definitions/SourceUpdateParameters",
+ "description": "The properties that describes the source(code) for the task."
+ },
+ "sourceTriggerEvents": {
+ "description": "The source event corresponding to the trigger.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "commit",
+ "pullrequest"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceTriggerEvent",
+ "modelAsString": true
+ }
+ }
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "BaseImageTriggerUpdateParameters": {
+ "description": "The properties for updating base image dependency trigger.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "baseImageTriggerType": {
+ "description": "The type of the auto trigger for base image dependency updates.",
+ "enum": [
+ "All",
+ "Runtime"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BaseImageTriggerType",
+ "modelAsString": true
+ }
+ },
+ "updateTriggerEndpoint": {
+ "description": "The endpoint URL for receiving update triggers.",
+ "type": "string"
+ },
+ "updateTriggerPayloadType": {
+ "description": "Type of Payload body for Base image update triggers.",
+ "enum": [
+ "Default",
+ "Token"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "UpdateTriggerPayloadType",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceUpdateParameters": {
+ "description": "The properties for updating the source code repository.",
+ "type": "object",
+ "properties": {
+ "sourceControlType": {
+ "description": "The type of source control service.",
+ "enum": [
+ "Github",
+ "VisualStudioTeamService"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceControlType",
+ "modelAsString": true
+ }
+ },
+ "repositoryUrl": {
+ "description": "The full URL to the source code repository",
+ "type": "string"
+ },
+ "branch": {
+ "description": "The branch name of the source code.",
+ "type": "string"
+ },
+ "sourceControlAuthProperties": {
+ "$ref": "#/definitions/AuthInfoUpdateParameters",
+ "description": "The authorization properties for accessing the source code repository and to set up\r\nwebhooks for notifications."
+ }
+ }
+ },
+ "AuthInfoUpdateParameters": {
+ "description": "The authorization properties for accessing the source code repository.",
+ "type": "object",
+ "properties": {
+ "tokenType": {
+ "description": "The type of Auth token.",
+ "enum": [
+ "PAT",
+ "OAuth"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TokenType",
+ "modelAsString": true
+ }
+ },
+ "token": {
+ "description": "The access token used to access the source control provider.",
+ "type": "string"
+ },
+ "refreshToken": {
+ "description": "The refresh token used to refresh the access token.",
+ "type": "string"
+ },
+ "scope": {
+ "description": "The scope of the access token.",
+ "type": "string"
+ },
+ "expiresIn": {
+ "format": "int32",
+ "description": "Time in seconds that the token remains valid",
+ "type": "integer"
+ }
+ }
+ },
+ "Resource": {
+ "description": "An Azure resource.",
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "The location of the resource. This cannot be changed after the resource is created.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "The tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.",
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the resource.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "DockerBuildRequest": {
+ "description": "The parameters for a docker quick build.",
+ "required": [
+ "type",
+ "dockerFilePath",
+ "platform"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunRequest"
+ }
+ ],
+ "properties": {
+ "imageNames": {
+ "description": "The fully qualified image names including the repository and tag.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "isPushEnabled": {
+ "description": "The value of this property indicates whether the image built should be pushed to the registry or not.",
+ "default": true,
+ "type": "boolean"
+ },
+ "noCache": {
+ "description": "The value of this property indicates whether the image cache is enabled or not.",
+ "default": false,
+ "type": "boolean"
+ },
+ "dockerFilePath": {
+ "description": "The Docker file path relative to the source location.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The name of the target build stage for the docker build.",
+ "type": "string"
+ },
+ "arguments": {
+ "description": "The collection of override arguments to be used when executing the run.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Argument"
+ }
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "default": 3600,
+ "maximum": 28800,
+ "minimum": 300,
+ "type": "integer"
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "sourceLocation": {
+ "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.",
+ "type": "string"
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The properties that describes a set of credentials that will be used when this run is invoked."
+ }
+ },
+ "x-ms-discriminator-value": "DockerBuildRequest"
+ },
+ "Argument": {
+ "description": "The properties of a run argument.",
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the argument.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the argument.",
+ "type": "string"
+ },
+ "isSecret": {
+ "description": "Flag to indicate whether the argument represents a secret and want to be removed from build logs.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ "FileTaskRunRequest": {
+ "description": "The request parameters for a scheduling run against a task file.",
+ "required": [
+ "type",
+ "taskFilePath",
+ "platform"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunRequest"
+ }
+ ],
+ "properties": {
+ "taskFilePath": {
+ "description": "The template/definition file path relative to the source.",
+ "type": "string"
+ },
+ "valuesFilePath": {
+ "description": "The values/parameters file path relative to the source.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "default": 3600,
+ "maximum": 28800,
+ "minimum": 300,
+ "type": "integer"
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "sourceLocation": {
+ "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.",
+ "type": "string"
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The properties that describes a set of credentials that will be used when this run is invoked."
+ }
+ },
+ "x-ms-discriminator-value": "FileTaskRunRequest"
+ },
+ "SetValue": {
+ "description": "The properties of a overridable value that can be passed to a task template.",
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the overridable value.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The overridable value.",
+ "type": "string"
+ },
+ "isSecret": {
+ "description": "Flag to indicate whether the value represents a secret or not.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ "TaskRunRequest": {
+ "description": "The parameters for a task run request.",
+ "required": [
+ "type",
+ "taskId"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunRequest"
+ }
+ ],
+ "properties": {
+ "taskId": {
+ "description": "The resource ID of task against which run has to be queued.",
+ "type": "string"
+ },
+ "overrideTaskStepProperties": {
+ "$ref": "#/definitions/OverrideTaskStepProperties",
+ "description": "Set of overridable parameters that can be passed when running a Task."
+ }
+ },
+ "x-ms-discriminator-value": "TaskRunRequest"
+ },
+ "OverrideTaskStepProperties": {
+ "type": "object",
+ "properties": {
+ "contextPath": {
+ "description": "The source context against which run has to be queued.",
+ "type": "string"
+ },
+ "file": {
+ "description": "The file against which run has to be queued.",
+ "type": "string"
+ },
+ "arguments": {
+ "description": "Gets or sets the collection of override arguments to be used when\r\nexecuting a build step.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Argument"
+ }
+ },
+ "target": {
+ "description": "The name of the target build stage for the docker build.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a Task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ },
+ "updateTriggerToken": {
+ "description": "Base64 encoded update trigger token that will be attached with the base image trigger webhook.",
+ "type": "string"
+ }
+ }
+ },
+ "EncodedTaskRunRequest": {
+ "description": "The parameters for a quick task run request.",
+ "required": [
+ "type",
+ "encodedTaskContent",
+ "platform"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunRequest"
+ }
+ ],
+ "properties": {
+ "encodedTaskContent": {
+ "description": "Base64 encoded value of the template/definition file content.",
+ "type": "string"
+ },
+ "encodedValuesContent": {
+ "description": "Base64 encoded value of the parameters/values file content.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "default": 3600,
+ "maximum": 28800,
+ "minimum": 300,
+ "type": "integer"
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "sourceLocation": {
+ "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.",
+ "type": "string"
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The properties that describes a set of credentials that will be used when this run is invoked."
+ }
+ },
+ "x-ms-discriminator-value": "EncodedTaskRunRequest"
+ },
+ "DockerBuildStep": {
+ "description": "The Docker build step.",
+ "required": [
+ "dockerFilePath",
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepProperties"
+ }
+ ],
+ "properties": {
+ "imageNames": {
+ "description": "The fully qualified image names including the repository and tag.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "isPushEnabled": {
+ "description": "The value of this property indicates whether the image built should be pushed to the registry or not.",
+ "default": true,
+ "type": "boolean"
+ },
+ "noCache": {
+ "description": "The value of this property indicates whether the image cache is enabled or not.",
+ "default": false,
+ "type": "boolean"
+ },
+ "dockerFilePath": {
+ "description": "The Docker file path relative to the source context.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The name of the target build stage for the docker build.",
+ "type": "string"
+ },
+ "arguments": {
+ "description": "The collection of override arguments to be used when executing this build step.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Argument"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "Docker"
+ },
+ "FileTaskStep": {
+ "description": "The properties of a task step.",
+ "required": [
+ "taskFilePath",
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepProperties"
+ }
+ ],
+ "properties": {
+ "taskFilePath": {
+ "description": "The task template/definition file path relative to the source context.",
+ "type": "string"
+ },
+ "valuesFilePath": {
+ "description": "The task values/parameters file path relative to the source context.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "FileTask"
+ },
+ "EncodedTaskStep": {
+ "description": "The properties of a encoded task step.",
+ "required": [
+ "encodedTaskContent",
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepProperties"
+ }
+ ],
+ "properties": {
+ "encodedTaskContent": {
+ "description": "Base64 encoded value of the template/definition file content.",
+ "type": "string"
+ },
+ "encodedValuesContent": {
+ "description": "Base64 encoded value of the parameters/values file content.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "EncodedTask"
+ },
+ "DockerBuildStepUpdateParameters": {
+ "description": "The properties for updating a docker build step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepUpdateParameters"
+ }
+ ],
+ "properties": {
+ "imageNames": {
+ "description": "The fully qualified image names including the repository and tag.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "isPushEnabled": {
+ "description": "The value of this property indicates whether the image built should be pushed to the registry or not.",
+ "type": "boolean"
+ },
+ "noCache": {
+ "description": "The value of this property indicates whether the image cache is enabled or not.",
+ "type": "boolean"
+ },
+ "dockerFilePath": {
+ "description": "The Docker file path relative to the source context.",
+ "type": "string"
+ },
+ "arguments": {
+ "description": "The collection of override arguments to be used when executing this build step.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Argument"
+ }
+ },
+ "target": {
+ "description": "The name of the target build stage for the docker build.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "Docker"
+ },
+ "FileTaskStepUpdateParameters": {
+ "description": "The properties of updating a task step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepUpdateParameters"
+ }
+ ],
+ "properties": {
+ "taskFilePath": {
+ "description": "The task template/definition file path relative to the source context.",
+ "type": "string"
+ },
+ "valuesFilePath": {
+ "description": "The values/parameters file path relative to the source context.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "FileTask"
+ },
+ "EncodedTaskStepUpdateParameters": {
+ "description": "The properties for updating encoded task step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepUpdateParameters"
+ }
+ ],
+ "properties": {
+ "encodedTaskContent": {
+ "description": "Base64 encoded value of the template/definition file content.",
+ "type": "string"
+ },
+ "encodedValuesContent": {
+ "description": "Base64 encoded value of the parameters/values file content.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "EncodedTask"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Microsoft Azure subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group to which the container registry belongs.",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "x-ms-parameter-location": "method"
+ },
+ "RegistryNameParameter": {
+ "name": "registryName",
+ "in": "path",
+ "description": "The name of the container registry.",
+ "required": true,
+ "type": "string",
+ "maxLength": 50,
+ "minLength": 5,
+ "pattern": "^[a-zA-Z0-9]*$",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The client API version.",
+ "required": true,
+ "type": "string"
+ },
+ "TaskNameParameter": {
+ "name": "taskName",
+ "in": "path",
+ "description": "The name of the container registry task.",
+ "required": true,
+ "type": "string",
+ "maxLength": 50,
+ "minLength": 5,
+ "pattern": "^[a-zA-Z0-9-_]*$",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json
new file mode 100644
index 000000000000..98a8d6b98259
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json
@@ -0,0 +1,248 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "mytTask",
+ "taskCreateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned, UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {}
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30",
+ "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
+ "type": "SystemAssigned, UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
+ "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
+ "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a"
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Creating",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30",
+ "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
+ "type": "SystemAssigned, UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
+ "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
+ "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a"
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json
new file mode 100644
index 000000000000..eeeb532c2556
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json
@@ -0,0 +1,227 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "mytTask",
+ "taskCreateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "baseImageTriggerType": "Runtime"
+ }
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Creating",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json
new file mode 100644
index 000000000000..06577bf137e2
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json
@@ -0,0 +1,253 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "mytTask",
+ "taskCreateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {},
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {}
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
+ "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e",
+ "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466"
+ },
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
+ "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
+ "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a"
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Creating",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
+ "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e",
+ "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466"
+ },
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
+ "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
+ "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a"
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json
new file mode 100644
index 000000000000..edbd95c29df8
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json
@@ -0,0 +1,222 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask",
+ "taskUpdateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile"
+ },
+ "trigger": {
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ]
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Vaultsecret",
+ "value": "https://myacbvault.vault.azure.net/secrets/username"
+ },
+ "password": {
+ "type": "Vaultsecret",
+ "value": "https://myacbvault.vault.azure.net/secrets/password"
+ },
+ "identity": "[system]"
+ }
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Token"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Token"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json
new file mode 100644
index 000000000000..fc5ca27f5bcd
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json
@@ -0,0 +1,210 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask",
+ "taskUpdateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile"
+ },
+ "trigger": {
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ]
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "identity": "[system]"
+ }
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json
new file mode 100644
index 000000000000..1c20d1f9e6d1
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "relativePath": "source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz",
+ "uploadUrl": "https://registrystorageaccount.blob.core.windows.net/registrycontainer/source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json
new file mode 100644
index 000000000000..0c308e07a823
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "DockerBuildRequest",
+ "isArchiveEnabled": true,
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "noCache": true,
+ "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D",
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "isPushEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "dockerFilePath": "DockerFile"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json
new file mode 100644
index 000000000000..785f9cb290f7
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "EncodedTaskRunRequest",
+ "values": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "platform": {
+ "os": "Linux"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==",
+ "encodedValuesContent": "ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ=="
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json
new file mode 100644
index 000000000000..6decf05e3486
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "FileTaskRunRequest",
+ "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D",
+ "values": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "platform": {
+ "os": "Linux"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "taskFilePath": "acb.yaml",
+ "valuesFilePath": "prod-values.yaml"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json
new file mode 100644
index 000000000000..1deef75f4cce
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "FileTaskRunRequest",
+ "values": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "platform": {
+ "os": "Linux"
+ },
+ "taskFilePath": "acb.yaml",
+ "credentials": {
+ "sourceRegistry": {
+ "loginMode": "Default"
+ },
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "reg1"
+ },
+ "password": {
+ "type": "Opaque",
+ "value": "***"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json
new file mode 100644
index 000000000000..574b28d7c3ff
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "TaskRunRequest",
+ "overrideTaskStepProperties": {
+ "file": "overriddenDockerfile",
+ "target": "build",
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "values": [
+ {
+ "name": "mytestname",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestname",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "updateTriggerToken": "aGVsbG8gd29ybGQ="
+ },
+ "taskId": "myTask"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json
new file mode 100644
index 000000000000..b5efffdaa698
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "DockerBuildRequest",
+ "isArchiveEnabled": true,
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "noCache": true,
+ "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D",
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "isPushEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "dockerFilePath": "DockerFile",
+ "target": "stage1",
+ "credentials": {
+ "sourceRegistry": {
+ "loginMode": "Default"
+ },
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "reg1"
+ },
+ "password": {
+ "type": "Opaque",
+ "value": "***"
+ }
+ },
+ "myregistry2.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "reg2"
+ },
+ "password": {
+ "type": "Opaque",
+ "value": "***"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json
new file mode 100644
index 000000000000..f996e9d12bcf
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json
new file mode 100644
index 000000000000..cd6d56392ffd
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z",
+ "runType": "AutoBuild",
+ "createTime": "2018-01-25T05:13:51.618Z",
+ "startTime": "2018-01-25T05:50:51.618Z",
+ "finishTime": "2018-01-25T06:13:51.618Z",
+ "outputImages": [
+ {
+ "registry": "myregistry.azurecr.io",
+ "repository": "myimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ],
+ "task": "myTask",
+ "imageUpdateTrigger": {
+ "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88",
+ "timestamp": "2018-01-25T05:13:51.618Z",
+ "images": [
+ {
+ "registry": "registry.hub.docker.com",
+ "repository": "mybaseimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ]
+ },
+ "isArchiveEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/runs"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json
new file mode 100644
index 000000000000..545fa7324b18
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "logLink": "https://registrystorageaccount.blob.core.windows.net/sascontainer/logs/0accec26-d6de-4757-8e74-d080f38eaaab/rawtext.log?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json
new file mode 100644
index 000000000000..08cf3291f7c3
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "$filter": "",
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z",
+ "runType": "AutoBuild",
+ "createTime": "2018-01-25T05:13:51.618Z",
+ "startTime": "2018-01-25T05:50:51.618Z",
+ "finishTime": "2018-01-25T06:13:51.618Z",
+ "outputImages": [
+ {
+ "registry": "myregistry.azurecr.io",
+ "repository": "myimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ],
+ "task": "myTask",
+ "imageUpdateTrigger": {
+ "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88",
+ "timestamp": "2018-01-25T05:13:51.618Z",
+ "images": [
+ {
+ "registry": "registry.hub.docker.com",
+ "repository": "mybaseimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ]
+ },
+ "isArchiveEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/runs"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json
new file mode 100644
index 000000000000..67554f360bd5
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json
@@ -0,0 +1,106 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "runUpdateParameters": {
+ "isArchiveEnabled": true
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z",
+ "runType": "AutoBuild",
+ "createTime": "2018-01-25T05:13:51.618Z",
+ "startTime": "2018-01-25T05:50:51.618Z",
+ "finishTime": "2018-01-25T06:13:51.618Z",
+ "outputImages": [
+ {
+ "registry": "myregistry.azurecr.io",
+ "repository": "myimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ],
+ "task": "myTask",
+ "imageUpdateTrigger": {
+ "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88",
+ "timestamp": "2018-01-25T05:13:51.618Z",
+ "images": [
+ {
+ "registry": "registry.hub.docker.com",
+ "repository": "mybaseimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ]
+ },
+ "isArchiveEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/runs"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Updating",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z",
+ "runType": "AutoBuild",
+ "createTime": "2018-01-25T05:13:51.618Z",
+ "startTime": "2018-01-25T05:50:51.618Z",
+ "finishTime": "2018-01-25T06:13:51.618Z",
+ "outputImages": [
+ {
+ "registry": "myregistry.azurecr.io",
+ "repository": "myimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ],
+ "task": "myTask",
+ "imageUpdateTrigger": {
+ "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88",
+ "timestamp": "2018-01-25T05:13:51.618Z",
+ "images": [
+ {
+ "registry": "registry.hub.docker.com",
+ "repository": "mybaseimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ]
+ },
+ "isArchiveEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/runs"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json
new file mode 100644
index 000000000000..6200b73c0b1e
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json
@@ -0,0 +1,233 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "mytTask",
+ "taskCreateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Token"
+ }
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Token"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Creating",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Token"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json
new file mode 100644
index 000000000000..7d7f0ee06428
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json
new file mode 100644
index 000000000000..35233c27670d
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Token"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json
new file mode 100644
index 000000000000..a68531461844
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json
@@ -0,0 +1,106 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Token"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure-test.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "username"
+ },
+ "password": {
+ "type": "Vaultsecret",
+ "value": "https://myacbvault.vault.azure.net/secrets/username"
+ },
+ "identity": "[system]"
+ }
+ },
+ "sourceRegistry": null
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json
new file mode 100644
index 000000000000..f76332bc0790
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json
@@ -0,0 +1,95 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myRegistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json
new file mode 100644
index 000000000000..fb0e6621cb2e
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json
@@ -0,0 +1,222 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask",
+ "taskUpdateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile"
+ },
+ "trigger": {
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ]
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "username"
+ },
+ "password": {
+ "type": "Vaultsecret",
+ "value": "https://myacbvault.vault.azure.net/secrets/password"
+ },
+ "identity": "[system]"
+ }
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json
new file mode 100644
index 000000000000..8072e5b19b6e
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json
@@ -0,0 +1,217 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask",
+ "taskUpdateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile"
+ },
+ "trigger": {
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ]
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "username"
+ },
+ "password": {
+ "type": "Opaque",
+ "value": "***"
+ }
+ }
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json
index e5058fb8c3f3..117f409b1b66 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json
@@ -228,7 +228,7 @@
},
"Runs_Get_WithTimerTrigger": {
"$ref": "./examples/RunsGet_WithTimerTrigger.json"
- }
+ }
}
},
"patch": {
@@ -2559,4 +2559,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByManifestDigest.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByManifestDigest.json
index ec649f51a16a..8fb58f959c71 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByManifestDigest.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByManifestDigest.json
@@ -1,25 +1,25 @@
{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
"parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "parameters": {
- "source": {
- "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry",
- "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000"
- },
- "targetTags": [
- "targetRepository:targetTag"
- ],
- "untaggedTargetRepositories": [
- "targetRepository1"
- ],
- "mode": "Force"
- }
- },
- "responses": {
- "200": {},
- "202": {}
+ "source": {
+ "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry",
+ "sourceImage": "sourceRepository@sha256:0000000000000000000000000000000000000000000000000000000000000000"
+ },
+ "targetTags": [
+ "targetRepository:targetTag"
+ ],
+ "untaggedTargetRepositories": [
+ "targetRepository1"
+ ],
+ "mode": "Force"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByTag.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByTag.json
index 0dd0bfa0bd2d..670ea3ad7868 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByTag.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageByTag.json
@@ -1,25 +1,25 @@
{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
"parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "parameters": {
- "source": {
- "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry",
- "sourceImage": "sourceRepository:sourceTag"
- },
- "targetTags": [
- "targetRepository:targetTag"
- ],
- "untaggedTargetRepositories": [
- "targetRepository1"
- ],
- "mode": "Force"
- }
- },
- "responses": {
- "200": {},
- "202": {}
+ "source": {
+ "resourceId": "/subscriptions/10000000-0000-0000-0000-000000000000/resourceGroups/sourceResourceGroup/providers/Microsoft.ContainerRegistry/registries/sourceRegistry",
+ "sourceImage": "sourceRepository:sourceTag"
+ },
+ "targetTags": [
+ "targetRepository:targetTag"
+ ],
+ "untaggedTargetRepositories": [
+ "targetRepository1"
+ ],
+ "mode": "Force"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageFromPublicRegistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageFromPublicRegistry.json
index 28af584fe5c6..cf238912668d 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageFromPublicRegistry.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ImportImageFromPublicRegistry.json
@@ -1,25 +1,25 @@
{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
"parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "parameters": {
- "source": {
- "registryUri": "registry.hub.docker.com",
- "sourceImage":"library/hello-world"
- },
- "targetTags": [
- "targetRepository:targetTag"
- ],
- "untaggedTargetRepositories": [
- "targetRepository1"
- ],
- "mode": "Force"
- }
- },
- "responses": {
- "200": {},
- "202": {}
+ "source": {
+ "registryUri": "registry.hub.docker.com",
+ "sourceImage": "library/hello-world"
+ },
+ "targetTags": [
+ "targetRepository:targetTag"
+ ],
+ "untaggedTargetRepositories": [
+ "targetRepository1"
+ ],
+ "mode": "Force"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameAvailable.json
index ad298cef632c..d7190c1848e8 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameAvailable.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameAvailable.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "registryNameCheckRequest": {
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": true
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "registryNameCheckRequest": {
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameNotAvailable.json
index 0e37ea5b913c..862323839355 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameNotAvailable.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCheckNameNotAvailable.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "registryNameCheckRequest": {
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": false,
- "reason": "AlreadyExists",
- "message": "The registry myRegistry is already in use."
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "registryNameCheckRequest": {
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": "The registry myRegistry is already in use."
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCreate.json
index 9603d0895614..fbc63f844933 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCreate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryCreate.json
@@ -1,74 +1,74 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "registry": {
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard"
- },
- "properties": {
- "adminUserEnabled": true
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "registry": {
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "adminUserEnabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard",
- "tier": "Standard"
- },
- "properties": {
- "loginServer": "myregistry.azurecr.io",
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The registry is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- },
- "adminUserEnabled": true
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard",
- "tier": "Standard"
- },
- "properties": {
- "loginServer": "myregistry.azurecr.io",
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "provisioningState": "Creating",
- "status": {
- "displayStatus": "Provisioning",
- "message": "The registry is provisioning.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- },
- "adminUserEnabled": true
- }
- }
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Creating",
+ "status": {
+ "displayStatus": "Provisioning",
+ "message": "The registry is provisioning.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryDelete.json
index e5ac6a1503dc..323c7928bad7 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryDelete.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryGet.json
index bf200514f342..d68238abd360 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryGet.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryGet.json
@@ -1,36 +1,36 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard",
- "tier": "Standard"
- },
- "properties": {
- "loginServer": "myregistry.azurecr.io",
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The registry is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- },
- "adminUserEnabled": true
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryList.json
index 8bf9da0812b0..cfdd1c1ebf56 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryList.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryList.json
@@ -1,38 +1,38 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard",
- "tier": "Standard"
- },
- "properties": {
- "loginServer": "myregistry.azurecr.io",
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The registry is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- },
- "adminUserEnabled": true
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListByResourceGroup.json
index 7cf5bd248328..10207c29d4c5 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListByResourceGroup.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListByResourceGroup.json
@@ -1,39 +1,39 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard",
- "tier": "Standard"
- },
- "properties": {
- "loginServer": "myregistry.azurecr.io",
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The registry is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- },
- "adminUserEnabled": true
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListCredentials.json
index 4cdd541af9e8..544697dfe180 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListCredentials.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListCredentials.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry"
- },
- "responses": {
- "200": {
- "body": {
- "username": "myRegistry",
- "passwords": [
- {
- "name": "password",
- "value": "00000000000000000000000000000000"
- },
- {
- "name": "password2",
- "value": "00000000000000000000000000000000"
- }
- ]
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "username": "myRegistry",
+ "passwords": [
+ {
+ "name": "password",
+ "value": "00000000000000000000000000000000"
+ },
+ {
+ "name": "password2",
+ "value": "00000000000000000000000000000000"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListUsages.json
index c0af4318b531..14afdc63e930 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListUsages.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryListUsages.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "Size",
- "limit": 107374182400,
- "currentValue": 12345678,
- "unit": "Bytes"
- },
- {
- "name": "Webhooks",
- "limit": 10,
- "currentValue": 2,
- "unit": "Count"
- }
- ]
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Size",
+ "limit": 107374182400,
+ "currentValue": 12345678,
+ "unit": "Bytes"
+ },
+ {
+ "name": "Webhooks",
+ "limit": 10,
+ "currentValue": 2,
+ "unit": "Count"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryRegenerateCredential.json
index 424711d9d97e..9eadc9e2938d 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryRegenerateCredential.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryRegenerateCredential.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "regenerateCredentialParameters": {
- "name": "password"
- }
- },
- "responses": {
- "200": {
- "body": {
- "username": "myRegistry",
- "passwords": [
- {
- "name": "password",
- "value": "00000000000000000000000000000000"
- },
- {
- "name": "password2",
- "value": "00000000000000000000000000000000"
- }
- ]
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "regenerateCredentialParameters": {
+ "name": "password"
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "username": "myRegistry",
+ "passwords": [
+ {
+ "name": "password",
+ "value": "00000000000000000000000000000000"
+ },
+ {
+ "name": "password2",
+ "value": "00000000000000000000000000000000"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryUpdate.json
index a602000be9c6..72641187057f 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryUpdate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/RegistryUpdate.json
@@ -1,73 +1,73 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "registryUpdateParameters": {
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard"
- },
- "properties": {
- "adminUserEnabled": true
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "registryUpdateParameters": {
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "adminUserEnabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
+ },
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The registry is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard",
- "tier": "Standard"
- },
- "properties": {
- "loginServer": "myregistry.azurecr.io",
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The registry is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- },
- "adminUserEnabled": true
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
+ "name": "myRegistry",
+ "type": "Microsoft.ContainerRegistry/registries",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard"
},
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry",
- "name": "myRegistry",
- "type": "Microsoft.ContainerRegistry/registries",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "Standard",
- "tier": "Standard"
- },
- "properties": {
- "loginServer": "myregistry.azurecr.io",
- "creationDate": "2017-03-01T23:14:37.0707808Z",
- "provisioningState": "Updating",
- "status": {
- "displayStatus": "Provisioning",
- "message": "The registry is provisioning.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- },
- "adminUserEnabled": true
- }
- }
+ "properties": {
+ "loginServer": "myregistry.azurecr.io",
+ "creationDate": "2017-03-01T23:14:37.0707808Z",
+ "provisioningState": "Updating",
+ "status": {
+ "displayStatus": "Provisioning",
+ "message": "The registry is provisioning.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ },
+ "adminUserEnabled": true
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationCreate.json
index 8b691b02dbf8..97a64ae171ca 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationCreate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationCreate.json
@@ -1,55 +1,55 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "replicationName": "myReplication",
- "replication": {
- "location": "eastus",
- "tags": {
- "key": "value"
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "replicationName": "myReplication",
+ "replication": {
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The replication is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
- "name": "myReplication",
- "type": "Microsoft.ContainerRegistry/registries/replications",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The replication is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- }
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
},
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
- "name": "myReplication",
- "type": "Microsoft.ContainerRegistry/registries/replications",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "provisioningState": "Creating",
- "status": {
- "displayStatus": "Provisioning",
- "message": "The replication is provisioning.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- }
- }
- }
+ "properties": {
+ "provisioningState": "Creating",
+ "status": {
+ "displayStatus": "Provisioning",
+ "message": "The replication is provisioning.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationDelete.json
index 290be3489404..3f854c0cf3f3 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationDelete.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationDelete.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "replicationName": "myReplication"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "replicationName": "myReplication"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationGet.json
index 86ff0864fc73..abcd2a356b3f 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationGet.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationGet.json
@@ -1,30 +1,30 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "replicationName": "myReplication"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
- "name": "myReplication",
- "type": "Microsoft.ContainerRegistry/registries/replications",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The replication is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- }
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "replicationName": "myReplication"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The replication is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationList.json
index 10a6b9050d97..11fb205b06fb 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationList.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationList.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
- "name": "myReplication",
- "type": "Microsoft.ContainerRegistry/registries/replications",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The replication is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- }
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The replication is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationUpdate.json
index 2d8b5d797fb7..5fc8147ce36f 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationUpdate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/ReplicationUpdate.json
@@ -1,54 +1,54 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "replicationName": "myReplication",
- "replicationUpdateParameters": {
- "tags": {
- "key": "value"
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "replicationName": "myReplication",
+ "replicationUpdateParameters": {
+ "tags": {
+ "key": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": {
+ "displayStatus": "Ready",
+ "message": "The replication is ready.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
- "name": "myReplication",
- "type": "Microsoft.ContainerRegistry/registries/replications",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "status": {
- "displayStatus": "Ready",
- "message": "The replication is ready.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- }
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
+ "name": "myReplication",
+ "type": "Microsoft.ContainerRegistry/registries/replications",
+ "location": "eastus",
+ "tags": {
+ "key": "value"
},
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/replications/myReplication",
- "name": "myReplication",
- "type": "Microsoft.ContainerRegistry/registries/replications",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "provisioningState": "Updating",
- "status": {
- "displayStatus": "Provisioning",
- "message": "The replication is provisioning.",
- "timestamp": "2017-03-01T23:15:37.0707808Z"
- }
- }
- }
+ "properties": {
+ "provisioningState": "Updating",
+ "status": {
+ "displayStatus": "Provisioning",
+ "message": "The replication is provisioning.",
+ "timestamp": "2017-03-01T23:15:37.0707808Z"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookCreate.json
index 26db9e36f611..7594d809ac47 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookCreate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookCreate.json
@@ -1,66 +1,66 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "webhookName": "myWebhook",
- "webhookCreateParameters": {
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "serviceUri": "http://myservice.com",
- "customHeaders": {
- "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
- },
- "status": "enabled",
- "scope": "myRepository",
- "actions": [
- "push"
- ]
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook",
+ "webhookCreateParameters": {
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "serviceUri": "http://myservice.com",
+ "customHeaders": {
+ "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
+ },
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Succeeded"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
- "name": "myWebhook",
- "type": "Microsoft.ContainerRegistry/registries/webhooks",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "status": "enabled",
- "scope": "myRepository",
- "actions": [
- "push"
- ],
- "provisioningState": "Succeeded"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
},
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
- "name": "myWebhook",
- "type": "Microsoft.ContainerRegistry/registries/webhooks",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "status": "enabled",
- "scope": "myRepository",
- "actions": [
- "push"
- ],
- "provisioningState": "Creating"
- }
- }
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Creating"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookDelete.json
index a38e8a439f52..d9b0af73c561 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookDelete.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookDelete.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "webhookName": "myWebhook"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGet.json
index 85d93fae47d5..b7c3e74ed61c 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGet.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGet.json
@@ -1,30 +1,30 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "webhookName": "myWebhook"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
- "name": "myWebhook",
- "type": "Microsoft.ContainerRegistry/registries/webhooks",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "status": "enabled",
- "scope": "myRepository",
- "actions": [
- "push"
- ],
- "provisioningState": "Succeeded"
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGetCallbackConfig.json
index 15a80e75ced1..6b2e413ebfe5 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGetCallbackConfig.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookGetCallbackConfig.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "webhookName": "myWebhook"
- },
- "responses": {
- "200": {
- "body": {
- "serviceUri": "http://myservice.com",
- "customHeaders": {
- "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "serviceUri": "http://myservice.com",
+ "customHeaders": {
+ "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookList.json
index 3ae308d41b93..57b8c6237c1c 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookList.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookList.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
- "name": "myWebhook",
- "type": "Microsoft.ContainerRegistry/registries/webhooks",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "status": "enabled",
- "scope": "myRepository",
- "actions": [
- "push"
- ],
- "provisioningState": "Succeeded"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Succeeded"
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookListEvents.json
index 5d0cf2d5a9b3..3647332ac821 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookListEvents.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookListEvents.json
@@ -1,63 +1,63 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "webhookName": "myWebhook"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "00000000-0000-0000-0000-000000000000",
- "eventRequestMessage": {
- "content": {
- "id": "00000000-0000-0000-0000-000000000000",
- "timestamp": "2017-03-01T23:14:37.0707808Z",
- "action": "push",
- "target": {
- "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
- "size": 708,
- "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf",
- "length": 708,
- "repository": "hello-world",
- "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf",
- "tag": "latest"
- },
- "request": {
- "id": "00000000-0000-0000-0000-000000000000",
- "addr": "192.168.64.11:42961",
- "host": "192.168.100.227:5000",
- "method": "GET",
- "useragent": "curl/7.38.0"
- },
- "actor": {},
- "source": {
- "addr": "xtal.local:5000",
- "instanceID": "00000000-0000-0000-0000-000000000000"
- }
- },
- "headers": {
- "Content-Type": "application/json",
- "Content-Length": "719",
- "Authorization": "******"
- },
- "method": "POST",
- "requestUri": "http://myservice.com",
- "version": "1.1"
- },
- "eventResponseMessage": {
- "headers": {
- "Content-Length": "0"
- },
- "statusCode": "200",
- "version": "1.1"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "eventRequestMessage": {
+ "content": {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "timestamp": "2017-03-01T23:14:37.0707808Z",
+ "action": "push",
+ "target": {
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "size": 708,
+ "digest": "sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf",
+ "length": 708,
+ "repository": "hello-world",
+ "url": "http://192.168.100.227:5000/v2/hello-world/manifests/sha256:fea8895f450959fa676bcc1df0611ea93823a735a01205fd8622846041d0c7cf",
+ "tag": "latest"
+ },
+ "request": {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "addr": "192.168.64.11:42961",
+ "host": "192.168.100.227:5000",
+ "method": "GET",
+ "useragent": "curl/7.38.0"
+ },
+ "actor": {},
+ "source": {
+ "addr": "xtal.local:5000",
+ "instanceID": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ "headers": {
+ "Content-Type": "application/json",
+ "Content-Length": "719",
+ "Authorization": "******"
+ },
+ "method": "POST",
+ "requestUri": "http://myservice.com",
+ "version": "1.1"
+ },
+ "eventResponseMessage": {
+ "headers": {
+ "Content-Length": "0"
+ },
+ "statusCode": "200",
+ "version": "1.1"
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookPing.json
index 61db2c63803d..a3ce1406b29a 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookPing.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookPing.json
@@ -1,16 +1,16 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "webhookName": "myWebhook"
- },
- "responses": {
- "200": {
- "body": {
- "id": "00000000-0000-0000-0000-000000000000"
- }
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "00000000-0000-0000-0000-000000000000"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookUpdate.json
index 06c7f3cc7a3e..89a4118a2134 100644
--- a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookUpdate.json
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/examples/WebhookUpdate.json
@@ -1,65 +1,65 @@
{
- "parameters": {
- "api-version": "2019-05-01",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "registryName": "myRegistry",
- "webhookName": "myWebhook",
- "webhookUpdateParameters": {
- "tags": {
- "key": "value"
- },
- "properties": {
- "serviceUri": "http://myservice.com",
- "customHeaders": {
- "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
- },
- "status": "enabled",
- "scope": "myRepository",
- "actions": [
- "push"
- ]
- }
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "webhookName": "myWebhook",
+ "webhookUpdateParameters": {
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "serviceUri": "http://myservice.com",
+ "customHeaders": {
+ "Authorization": "Basic 000000000000000000000000000000000000000000000000000"
+ },
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Succeeded"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
- "name": "myWebhook",
- "type": "Microsoft.ContainerRegistry/registries/webhooks",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "status": "enabled",
- "scope": "myRepository",
- "actions": [
- "push"
- ],
- "provisioningState": "Succeeded"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
+ "name": "myWebhook",
+ "type": "Microsoft.ContainerRegistry/registries/webhooks",
+ "location": "westus",
+ "tags": {
+ "key": "value"
},
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/webhooks/myWebhook",
- "name": "myWebhook",
- "type": "Microsoft.ContainerRegistry/registries/webhooks",
- "location": "westus",
- "tags": {
- "key": "value"
- },
- "properties": {
- "status": "enabled",
- "scope": "myRepository",
- "actions": [
- "push"
- ],
- "provisioningState": "Updating"
- }
- }
+ "properties": {
+ "status": "enabled",
+ "scope": "myRepository",
+ "actions": [
+ "push"
+ ],
+ "provisioningState": "Updating"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/containerregistry/resource-manager/readme.go.md b/specification/containerregistry/resource-manager/readme.go.md
index 5b94af21f1cc..85f4c0eb0e79 100644
--- a/specification/containerregistry/resource-manager/readme.go.md
+++ b/specification/containerregistry/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-06-preview
- tag: package-2019-05
- tag: package-2019-05-preview
- tag: package-2019-04
@@ -24,6 +25,15 @@ batch:
- tag: package-2016-06-preview
```
+### Tag: package-2019-06-preview and go
+
+These settings apply only when `--tag=package-2019-06-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01-preview/$(namespace)
+```
+
### Tag: package-2018-05 and go
These settings apply only when `--tag=package-2019-05 --go` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.java.md b/specification/containerregistry/resource-manager/readme.java.md
index 5dde66ea9609..d91b48cab2e5 100644
--- a/specification/containerregistry/resource-manager/readme.java.md
+++ b/specification/containerregistry/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-06-preview-only
- tag: package-2019-04-only
- tag: package-2019-04
- tag: package-2018-09
@@ -26,6 +27,19 @@ batch:
- tag: package-2016-06-preview
```
+### Tag: package-2019-06-preview-only and java
+
+These settings apply only when `--tag=package-2019-06-preview-only --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-preview-only' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerregistry.v2019_06_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2019_06_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-04-only and java
These settings apply only when `--tag=package-2019-04-only --java` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md
index 0b21b2c74848..f2bb8eaf83ea 100644
--- a/specification/containerregistry/resource-manager/readme.md
+++ b/specification/containerregistry/resource-manager/readme.md
@@ -26,7 +26,26 @@ These are the global settings for the ContainerRegistry API.
``` yaml
openapi-type: arm
-tag: package-2019-05
+tag: package-2019-06-preview
+```
+
+### Tag: package-2019-06-preview
+
+These settings apply only when `--tag=package-2019-06-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-06-preview'
+input-file:
+- Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
+- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
+```
+
+### Tag: package-2019-06-preview-only
+
+These settings apply only when `--tag=package-2019-06-preview-only` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-06-preview-only'
+input-file:
+- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
```
### Tag: package-2019-05
@@ -140,7 +159,7 @@ swagger-to-sdk:
autorest_options:
use: "@microsoft.azure/autorest.python@4.0.70"
after_scripts:
- - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry
+ - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry --default-api-version=2017-10-01
- python ./scripts/trim_aio.py ./sdk/containerregistry/azure-mgmt-containerregistry
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
diff --git a/specification/containerregistry/resource-manager/readme.nodejs.md b/specification/containerregistry/resource-manager/readme.nodejs.md
index 3a94e64e04ca..7ab8e1d2785e 100644
--- a/specification/containerregistry/resource-manager/readme.nodejs.md
+++ b/specification/containerregistry/resource-manager/readme.nodejs.md
@@ -13,6 +13,6 @@ nodejs:
generate-readme-md: true
input-file:
- Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
-- Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json
+- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
- Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json
```
diff --git a/specification/containerregistry/resource-manager/readme.python.md b/specification/containerregistry/resource-manager/readme.python.md
index 8c14c4b13c47..35505275362d 100644
--- a/specification/containerregistry/resource-manager/readme.python.md
+++ b/specification/containerregistry/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-06-preview
- tag: package-2019-05
- tag: package-2019-05-preview
- tag: package-2019-04
@@ -27,6 +28,17 @@ batch:
- tag: package-2017-03
```
+### Tag: package-2019-06-preview and python
+
+These settings apply only when `--tag=package-2019-06-preview --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-preview' && $(python)
+python:
+ namespace: azure.mgmt.containerregistry.v2019_06_01_preview
+ output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview
+```
+
### Tag: package-2019-05 and python
These settings apply only when `--tag=package-2019-05 --python` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.typescript.md b/specification/containerregistry/resource-manager/readme.typescript.md
index 5ad53f281574..b532cf90e05c 100644
--- a/specification/containerregistry/resource-manager/readme.typescript.md
+++ b/specification/containerregistry/resource-manager/readme.typescript.md
@@ -6,7 +6,7 @@ Please also specify `--typescript-sdks-folder=`.
+
+``` yaml $(tag)=='package-2019-06' && $(go)
+namespace: containerservice
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace)
+```
+
### Tag: package-2019-04 and go
These settings apply only when `--package-2019-04 --go` is specified on the command line.
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index a175cd52b33e..7dd13f349048 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -34,7 +34,20 @@ These are the global settings for the ContainerServices API.
``` yaml
openapi-type: arm
-tag: package-2019-04
+tag: package-2019-06
+```
+
+
+### Tag: package-2019-06
+
+These settings apply only when `--tag=package-2019-06` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-06'
+input-file:
+ - Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
+ - Microsoft.ContainerService/stable/2017-07-01/containerService.json
+ - Microsoft.ContainerService/stable/2019-06-01/location.json
+ - Microsoft.ContainerService/stable/2019-06-01/managedClusters.json
```
### Tag: package-2019-04
@@ -126,11 +139,20 @@ input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
```
+### Tag: package-2019-06-01-only
+
+These settings apply only when `--tag=package-2019-06-01-only` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-06-01-only'
+input-file:
+- Microsoft.ContainerService/stable/2019-06-01/managedClusters.json
+```
+
### Tag: package-2019-04-30-only
These settings apply only when `--tag=package-2019-04-30-only` is specified on the command line.
-```yaml $(tag) == 'package-2019-04-30-only'
+``` yaml $(tag) == 'package-2019-04-30-only'
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
```
@@ -139,7 +161,7 @@ input-file:
These settings apply only when `--tag=package-2019-04-01-only` is specified on the command line.
-```yaml $(tag) == 'package-2019-04-01-only'
+``` yaml $(tag) == 'package-2019-04-01-only'
input-file:
- Microsoft.ContainerService/stable/2019-04-01/managedClusters.json
```
diff --git a/specification/containerservice/resource-manager/readme.python.md b/specification/containerservice/resource-manager/readme.python.md
index 2bc6bd783221..1b10b8c9525f 100644
--- a/specification/containerservice/resource-manager/readme.python.md
+++ b/specification/containerservice/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-06-01-only
- tag: package-2019-04-30-only
- tag: package-2019-04-01-only
- tag: package-2019-02-only
@@ -27,6 +28,17 @@ batch:
- tag: package-2017-07-only-extended
```
+### Tag: package-2019-06-01-only and python
+
+These settings apply only when `--tag=package-2019-06-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-01-only' && $(python)
+python:
+ namespace: azure.mgmt.containerservice.v2019_06_01
+ output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01
+```
+
### Tag: package-2019-04-30-only and python
These settings apply only when `--tag=package-2019-04-30-only --python` is specified on the command line.
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
index c8ff3ace7b12..b1f3a328b89f 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
@@ -1601,7 +1601,9 @@
"get": {
"operationId": "DatabaseAccounts_GetSqlDatabaseThroughput",
"x-ms-examples": {
- "CosmosDBSqlDatabaseThroughputGet": { "$ref": "./examples/CosmosDBSqlDatabaseThroughputGet.json" }
+ "CosmosDBSqlDatabaseThroughputGet": {
+ "$ref": "./examples/CosmosDBSqlDatabaseThroughputGet.json"
+ }
},
"description": "Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.",
"parameters": [
@@ -1633,7 +1635,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateSqlDatabaseThroughput",
"x-ms-examples": {
- "CosmosDBSqlDatabaseThroughputUpdate": { "$ref": "./examples/CosmosDBSqlDatabaseThroughputUpdate.json" }
+ "CosmosDBSqlDatabaseThroughputUpdate": {
+ "$ref": "./examples/CosmosDBSqlDatabaseThroughputUpdate.json"
+ }
},
"description": "Update RUs per second of an Azure Cosmos DB SQL database",
"x-ms-long-running-operation": true,
@@ -1846,7 +1850,9 @@
"get": {
"operationId": "DatabaseAccounts_GetSqlContainerThroughput",
"x-ms-examples": {
- "CosmosDBSqlContainerThroughputGet": { "$ref": "./examples/CosmosDBSqlContainerThroughputGet.json" }
+ "CosmosDBSqlContainerThroughputGet": {
+ "$ref": "./examples/CosmosDBSqlContainerThroughputGet.json"
+ }
},
"description": "Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.",
"parameters": [
@@ -1881,7 +1887,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateSqlContainerThroughput",
"x-ms-examples": {
- "CosmosDBSqlContainerThroughputUpdate": { "$ref": "./examples/CosmosDBSqlContainerThroughputUpdate.json" }
+ "CosmosDBSqlContainerThroughputUpdate": {
+ "$ref": "./examples/CosmosDBSqlContainerThroughputUpdate.json"
+ }
},
"description": "Update RUs per second of an Azure Cosmos DB SQL container",
"x-ms-long-running-operation": true,
@@ -2085,7 +2093,9 @@
"get": {
"operationId": "DatabaseAccounts_GetMongoDBDatabaseThroughput",
"x-ms-examples": {
- "CosmosDBMongoDBDatabaseThroughputGet": { "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputGet.json" }
+ "CosmosDBMongoDBDatabaseThroughputGet": {
+ "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputGet.json"
+ }
},
"description": "Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name.",
"parameters": [
@@ -2117,7 +2127,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateMongoDBDatabaseThroughput",
"x-ms-examples": {
- "CosmosDBMongoDBDatabaseThroughputUpdate": { "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputUpdate.json" }
+ "CosmosDBMongoDBDatabaseThroughputUpdate": {
+ "$ref": "./examples/CosmosDBMongoDBDatabaseThroughputUpdate.json"
+ }
},
"description": "Update RUs per second of the an Azure Cosmos DB MongoDB database",
"x-ms-long-running-operation": true,
@@ -2330,7 +2342,9 @@
"get": {
"operationId": "DatabaseAccounts_GetMongoDBCollectionThroughput",
"x-ms-examples": {
- "CosmosDBMongoDBCollectionThroughputGet": { "$ref": "./examples/CosmosDBMongoDBCollectionThroughputGet.json" }
+ "CosmosDBMongoDBCollectionThroughputGet": {
+ "$ref": "./examples/CosmosDBMongoDBCollectionThroughputGet.json"
+ }
},
"description": "Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name.",
"parameters": [
@@ -2365,7 +2379,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateMongoDBCollectionThroughput",
"x-ms-examples": {
- "CosmosDBMongoDBCollectionThroughputUpdate": { "$ref": "./examples/CosmosDBMongoDBCollectionThroughputUpdate.json" }
+ "CosmosDBMongoDBCollectionThroughputUpdate": {
+ "$ref": "./examples/CosmosDBMongoDBCollectionThroughputUpdate.json"
+ }
},
"description": "Update the RUs per second of an Azure Cosmos DB MongoDB collection",
"x-ms-long-running-operation": true,
@@ -2532,7 +2548,9 @@
"delete": {
"operationId": "DatabaseAccounts_DeleteTable",
"x-ms-examples": {
- "CosmosDBTableDelete": { "$ref": "./examples/CosmosDBTableDelete.json" }
+ "CosmosDBTableDelete": {
+ "$ref": "./examples/CosmosDBTableDelete.json"
+ }
},
"description": "Deletes an existing Azure Cosmos DB Table.",
"x-ms-long-running-operation": true,
@@ -2567,7 +2585,9 @@
"get": {
"operationId": "DatabaseAccounts_GetTableThroughput",
"x-ms-examples": {
- "CosmosDBTableThroughputGet": { "$ref": "./examples/CosmosDBTableThroughputGet.json" }
+ "CosmosDBTableThroughputGet": {
+ "$ref": "./examples/CosmosDBTableThroughputGet.json"
+ }
},
"description": "Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.",
"parameters": [
@@ -2599,7 +2619,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateTableThroughput",
"x-ms-examples": {
- "CosmosDBTableThroughputUpdate": { "$ref": "./examples/CosmosDBTableThroughputUpdate.json" }
+ "CosmosDBTableThroughputUpdate": {
+ "$ref": "./examples/CosmosDBTableThroughputUpdate.json"
+ }
},
"description": "Update RUs per second of an Azure Cosmos DB Table",
"x-ms-long-running-operation": true,
@@ -2800,7 +2822,9 @@
"get": {
"operationId": "DatabaseAccounts_GetCassandraKeyspaceThroughput",
"x-ms-examples": {
- "CosmosDBCassandraKeyspaceThroughputGet": { "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputGet.json" }
+ "CosmosDBCassandraKeyspaceThroughputGet": {
+ "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputGet.json"
+ }
},
"description": "Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.",
"parameters": [
@@ -2832,7 +2856,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateCassandraKeyspaceThroughput",
"x-ms-examples": {
- "CosmosDBCassandraKeyspaceThroughputUpdate": { "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputUpdate.json" }
+ "CosmosDBCassandraKeyspaceThroughputUpdate": {
+ "$ref": "./examples/CosmosDBCassandraKeyspaceThroughputUpdate.json"
+ }
},
"description": "Update RUs per second of an Azure Cosmos DB Cassandra Keyspace",
"x-ms-long-running-operation": true,
@@ -3045,7 +3071,9 @@
"get": {
"operationId": "DatabaseAccounts_GetCassandraTableThroughput",
"x-ms-examples": {
- "CosmosDBCassandraTableThroughputGet": { "$ref": "./examples/CosmosDBCassandraTableThroughputGet.json" }
+ "CosmosDBCassandraTableThroughputGet": {
+ "$ref": "./examples/CosmosDBCassandraTableThroughputGet.json"
+ }
},
"description": "Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.",
"parameters": [
@@ -3080,7 +3108,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateCassandraTableThroughput",
"x-ms-examples": {
- "CosmosDBCassandraTableThroughputUpdate": { "$ref": "./examples/CosmosDBCassandraTableThroughputUpdate.json" }
+ "CosmosDBCassandraTableThroughputUpdate": {
+ "$ref": "./examples/CosmosDBCassandraTableThroughputUpdate.json"
+ }
},
"description": "Update RUs per second of an Azure Cosmos DB Cassandra table",
"x-ms-long-running-operation": true,
@@ -3284,7 +3314,9 @@
"get": {
"operationId": "DatabaseAccounts_GetGremlinDatabaseThroughput",
"x-ms-examples": {
- "CosmosDBGremlinDatabaseThroughputGet": { "$ref": "./examples/CosmosDBGremlinDatabaseThroughputGet.json" }
+ "CosmosDBGremlinDatabaseThroughputGet": {
+ "$ref": "./examples/CosmosDBGremlinDatabaseThroughputGet.json"
+ }
},
"description": "Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name.",
"parameters": [
@@ -3316,7 +3348,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateGremlinDatabaseThroughput",
"x-ms-examples": {
- "CosmosDBGremlinDatabaseThroughputUpdate": { "$ref": "./examples/CosmosDBGremlinDatabaseThroughputUpdate.json" }
+ "CosmosDBGremlinDatabaseThroughputUpdate": {
+ "$ref": "./examples/CosmosDBGremlinDatabaseThroughputUpdate.json"
+ }
},
"description": "Update RUs per second of an Azure Cosmos DB Gremlin database",
"x-ms-long-running-operation": true,
@@ -3529,7 +3563,9 @@
"get": {
"operationId": "DatabaseAccounts_GetGremlinGraphThroughput",
"x-ms-examples": {
- "CosmosDBGremlinGraphThroughputGet": { "$ref": "./examples/CosmosDBGremlinGraphThroughputGet.json" }
+ "CosmosDBGremlinGraphThroughputGet": {
+ "$ref": "./examples/CosmosDBGremlinGraphThroughputGet.json"
+ }
},
"description": "Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name.",
"parameters": [
@@ -3564,7 +3600,9 @@
"put": {
"operationId": "DatabaseAccounts_UpdateGremlinGraphThroughput",
"x-ms-examples": {
- "CosmosDBGremlinGraphThroughputUpdate": { "$ref": "./examples/CosmosDBGremlinGraphThroughputUpdate.json" }
+ "CosmosDBGremlinGraphThroughputUpdate": {
+ "$ref": "./examples/CosmosDBGremlinGraphThroughputUpdate.json"
+ }
},
"description": "Update RUs per second of an Azure Cosmos DB Gremlin graph",
"x-ms-long-running-operation": true,
@@ -4305,6 +4343,14 @@
"enableMultipleWriteLocations": {
"description": "Enables the account to write in multiple locations",
"type": "boolean"
+ },
+ "enableCassandraConnector": {
+ "description": "Enables the cassandra connector on the Cosmos DB C* account",
+ "type": "boolean"
+ },
+ "connectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB database C* account.",
+ "$ref": "#/definitions/ConnectorOffer"
}
}
},
@@ -4369,6 +4415,14 @@
"enableMultipleWriteLocations": {
"description": "Enables the account to write in multiple locations",
"type": "boolean"
+ },
+ "enableCassandraConnector": {
+ "description": "Enables the cassandra connector on the Cosmos DB C* account",
+ "type": "boolean"
+ },
+ "connectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB database C* account.",
+ "$ref": "#/definitions/ConnectorOffer"
}
},
"required": [
@@ -4448,12 +4502,13 @@
"readOnly": true,
"type": "string",
"description": "Base 64 encoded value of the secondary read-write key."
- },
- "properties": {
- "x-ms-client-flatten": true,
+ }
+ },
+ "allOf": [
+ {
"$ref": "#/definitions/DatabaseAccountListReadOnlyKeysResult"
}
- }
+ ]
},
"DatabaseAccountConnectionString": {
"description": "Connection string for the Cosmos DB account",
@@ -5830,6 +5885,17 @@
"modelAsString": true,
"name": "UnitType"
}
+ },
+ "ConnectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB C* database account.",
+ "type": "string",
+ "enum": [
+ "Small"
+ ],
+ "x-ms-enum": {
+ "name": "ConnectorOffer",
+ "modelAsString": true
+ }
}
},
"parameters": {
@@ -5866,7 +5932,8 @@
"x-ms-parameter-location": "method",
"description": "Cosmos DB database account name.",
"minLength": 3,
- "maxLength": 50
+ "maxLength": 50,
+ "pattern": "^[a-z0-9]+(-[a-z0-9]+)*"
},
"filterParameter": {
"name": "$filter",
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputGet.json
index 5a86e118769e..d6513db457ef 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputGet.json
@@ -7,7 +7,7 @@
"keyspaceName": "keyspaceName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
index aac7340b2f1e..3b7ed4e7dec5 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
@@ -7,21 +7,20 @@
"keyspaceName": "keyspaceName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputGet.json
index f0aa5b1fec73..137c8b94232f 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputGet.json
@@ -8,7 +8,7 @@
"tableName": "tableName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputUpdate.json
index 4b6f0c3dceab..682176b33863 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBCassandraTableThroughputUpdate.json
@@ -8,21 +8,20 @@
"tableName": "tableName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json
index f04f6c904308..05a9097380c6 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json
@@ -10,10 +10,8 @@
"body": {
"primaryMasterKey": "primaryMasterKey",
"secondaryMasterKey": "secondaryMasterKey",
- "properties": {
- "primaryReadonlyMasterKey": "primaryReadonlyMasterKey",
- "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey"
- }
+ "primaryReadonlyMasterKey": "primaryReadonlyMasterKey",
+ "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey"
}
}
}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputGet.json
index dbfd10f51b75..328856c5e287 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputGet.json
@@ -7,7 +7,7 @@
"databaseName": "databaseName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
index fccc5d0b54a2..6ea123a4cea4 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinDatabaseThroughputUpdate.json
@@ -7,21 +7,20 @@
"databaseName": "databaseName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json
index de71a97b73df..980202f358ed 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphCreateUpdate.json
@@ -115,4 +115,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputGet.json
index 562bc9278e3a..9519f738f1b0 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputGet.json
@@ -8,7 +8,7 @@
"graphName": "graphName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputUpdate.json
index fec92102e657..5cc03188bbee 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBGremlinGraphThroughputUpdate.json
@@ -8,21 +8,20 @@
"graphName": "graphName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputGet.json
index 0a8e5178c79b..a41553610b88 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputGet.json
@@ -8,7 +8,7 @@
"collectionName": "collectionName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
index db68904e6b62..68f363d15609 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBCollectionThroughputUpdate.json
@@ -8,21 +8,20 @@
"collectionName": "collectionName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputGet.json
index dbfd10f51b75..328856c5e287 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputGet.json
@@ -7,7 +7,7 @@
"databaseName": "databaseName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
index fccc5d0b54a2..6ea123a4cea4 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json
@@ -7,21 +7,20 @@
"databaseName": "databaseName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputGet.json
index c7db86070d33..0540d939e11e 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputGet.json
@@ -8,7 +8,7 @@
"containerName": "containerName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputUpdate.json
index 2a0daea68441..3102e219c0b7 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlContainerThroughputUpdate.json
@@ -8,21 +8,20 @@
"containerName": "containerName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputGet.json
index dbfd10f51b75..328856c5e287 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputGet.json
@@ -7,7 +7,7 @@
"databaseName": "databaseName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputUpdate.json
index fccc5d0b54a2..6ea123a4cea4 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBSqlDatabaseThroughputUpdate.json
@@ -7,21 +7,20 @@
"databaseName": "databaseName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputGet.json
index 35e81fdbd273..d25b45d96489 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputGet.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputGet.json
@@ -7,7 +7,7 @@
"tableName": "tableName"
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputUpdate.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputUpdate.json
index f144d340e965..fc68f008605e 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputUpdate.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBTableThroughputUpdate.json
@@ -7,21 +7,20 @@
"tableName": "tableName",
"updateThroughputParameters": {
"properties": {
- "resource": {
- "throughput": 400
- }
+ "resource": {
+ "throughput": 400
+ }
}
}
},
"responses": {
- "200": {
+ "200": {
"body": {
"properties": {
"throughput": 400
}
}
},
- "202": {
- }
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ExternalBillingAccountForecast.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ExternalBillingAccountForecast.json
index 1d863cba74b1..6de290d23a14 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ExternalBillingAccountForecast.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ExternalBillingAccountForecast.json
@@ -125,4 +125,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRuleGet.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRuleGet.json
index f843a9ed4cd8..c5b6f5444c38 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRuleGet.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRuleGet.json
@@ -21,7 +21,9 @@
"scopes": null,
"details": {
"pricesheet": "Pay-As-You-Go (0003P)",
- "benefits": ["None"],
+ "benefits": [
+ "None"
+ ],
"markups": null
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json
index f2dacd00423c..010f490e8cea 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json
@@ -18,7 +18,9 @@
],
"details": {
"pricesheet": "Pay-As-You-Go (0003P)",
- "benefits": ["None"],
+ "benefits": [
+ "None"
+ ],
"markups": [
{
"percentage": "1.1"
@@ -45,7 +47,9 @@
"scopes": null,
"details": {
"pricesheet": "Pay-As-You-Go (0003P)",
- "benefits": ["None"],
+ "benefits": [
+ "None"
+ ],
"markups": [
{
"percentage": "1.1"
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json
index 1e5451776912..96e0fdf81b92 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json
@@ -22,7 +22,9 @@
"scopes": null,
"details": {
"pricesheet": "Pay-As-You-Go (0003P)",
- "benefits": ["None"],
+ "benefits": [
+ "None"
+ ],
"markups": null
}
}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json
index 397b890a02ae..6ee1ded63ee5 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json
@@ -32,7 +32,7 @@
}
}
},
- "paths": {
+ "paths": {
"/providers/Microsoft.CostManagement/views": {
"get": {
"tags": [
@@ -378,10 +378,12 @@
}
}
}
- },
+ },
"/{scope}/providers/Microsoft.CostManagement/budgets": {
"get": {
- "tags": ["Budgets"],
+ "tags": [
+ "Budgets"
+ ],
"operationId": "Budgets_List",
"description": "Lists all budgets for the defined scope.",
"externalDocs": {
@@ -421,7 +423,9 @@
},
"/{scope}/providers/Microsoft.CostManagement/budgets/{budgetName}": {
"get": {
- "tags": ["Budgets"],
+ "tags": [
+ "Budgets"
+ ],
"operationId": "Budget_Get",
"description": "Gets the budget for the scope by budget name.",
"externalDocs": {
@@ -459,7 +463,9 @@
}
},
"put": {
- "tags": ["Budgets"],
+ "tags": [
+ "Budgets"
+ ],
"operationId": "Budget_CreateOrUpdate",
"description": "The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.",
"externalDocs": {
@@ -512,7 +518,9 @@
}
},
"delete": {
- "tags": ["Budgets"],
+ "tags": [
+ "Budgets"
+ ],
"operationId": "Budget_Delete",
"description": "The operation to delete a budget.",
"externalDocs": {
@@ -1136,14 +1144,14 @@
"type": "array",
"items": {
"$ref": "#/definitions/KpiProperties"
- }
+ }
},
"pivots": {
"description": "Configuration of 3 sub-views in the Cost Analysis UI.",
"type": "array",
"items": {
"$ref": "#/definitions/PivotProperties"
- }
+ }
}
}
},
@@ -1234,7 +1242,10 @@
"category": {
"description": "The category of the budget, whether the budget tracks cost or usage.",
"type": "string",
- "enum": ["Cost", "Usage"],
+ "enum": [
+ "Cost",
+ "Usage"
+ ],
"x-ms-enum": {
"name": "CategoryType",
"modelAsString": true
@@ -1248,7 +1259,11 @@
"timeGrain": {
"description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain.",
"type": "string",
- "enum": ["Monthly", "Quarterly", "Annually"],
+ "enum": [
+ "Monthly",
+ "Quarterly",
+ "Annually"
+ ],
"x-ms-enum": {
"name": "TimeGrainType",
"modelAsString": true
@@ -1278,7 +1293,12 @@
"maxItems": 5
}
},
- "required": ["category", "amount", "timeGrain", "timePeriod"]
+ "required": [
+ "category",
+ "amount",
+ "timeGrain",
+ "timePeriod"
+ ]
},
"BudgetTimePeriod": {
"description": "The start and end date for a budget.",
@@ -1294,7 +1314,9 @@
"format": "date-time"
}
},
- "required": ["startDate"]
+ "required": [
+ "startDate"
+ ]
},
"CurrentSpend": {
"description": "The current amount of cost which is being tracked for a budget.",
@@ -1322,7 +1344,11 @@
"operator": {
"description": "The comparison operator.",
"type": "string",
- "enum": ["EqualTo", "GreaterThan", "GreaterThanOrEqualTo"],
+ "enum": [
+ "EqualTo",
+ "GreaterThan",
+ "GreaterThanOrEqualTo"
+ ],
"x-ms-enum": {
"name": "NotificationOperatorType",
"modelAsString": true
@@ -1359,7 +1385,12 @@
"maxItems": 50
}
},
- "required": ["enabled", "operator", "threshold", "contactEmails"]
+ "required": [
+ "enabled",
+ "operator",
+ "threshold",
+ "contactEmails"
+ ]
}
},
"parameters": {
@@ -1451,4 +1482,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/Budget.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/Budget.json
index c50ca3a07656..fd2bacba9ef7 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/Budget.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/Budget.json
@@ -27,7 +27,9 @@
"dimension": {
"name": "ResourceGroupName",
"operator": "In",
- "values": ["MYDEVTESTRG"]
+ "values": [
+ "MYDEVTESTRG"
+ ]
}
},
{
@@ -44,14 +46,18 @@
"dimension": {
"name": "Meter",
"operator": "In",
- "values": ["00000000-0000-0000-0000-000000000000"]
+ "values": [
+ "00000000-0000-0000-0000-000000000000"
+ ]
}
},
{
"tag": {
"name": "Dev",
"operator": "In",
- "values": ["engineering"]
+ "values": [
+ "engineering"
+ ]
}
}
]
@@ -65,8 +71,14 @@
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
- "contactEmails": ["johndoe@contoso.com", "janesmith@contoso.com"],
- "contactRoles": ["Contributor", "Reader"],
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
"contactGroups": [
"/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
]
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/BudgetsList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/BudgetsList.json
index b7f50ea34103..805e150c0edf 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/BudgetsList.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/BudgetsList.json
@@ -28,7 +28,9 @@
"dimension": {
"name": "ResourceGroupName",
"operator": "In",
- "values": ["MYDEVTESTRG"]
+ "values": [
+ "MYDEVTESTRG"
+ ]
}
},
{
@@ -45,14 +47,18 @@
"dimension": {
"name": "Meter",
"operator": "In",
- "values": ["00000000-0000-0000-0000-000000000000"]
+ "values": [
+ "00000000-0000-0000-0000-000000000000"
+ ]
}
},
{
"tag": {
"name": "Dev",
"operator": "In",
- "values": ["engineering"]
+ "values": [
+ "engineering"
+ ]
}
}
]
@@ -70,7 +76,10 @@
"johndoe@contoso.com",
"janesmith@contoso.com"
],
- "contactRoles": ["Contributor", "Reader"]
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ]
},
"Actual_GreaterThanOrEqualTo_90_Percent": {
"enabled": true,
@@ -80,7 +89,10 @@
"johndoe@contoso.com",
"janesmith@contoso.com"
],
- "contactRoles": ["Contributor", "Reader"],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
"contactGroups": [
"/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
]
@@ -107,7 +119,9 @@
"dimension": {
"name": "ResourceGroupName",
"operator": "In",
- "values": ["MYDEVTESTRG"]
+ "values": [
+ "MYDEVTESTRG"
+ ]
}
},
{
@@ -124,14 +138,18 @@
"dimension": {
"name": "Meter",
"operator": "In",
- "values": ["00000000-0000-0000-0000-000000000000"]
+ "values": [
+ "00000000-0000-0000-0000-000000000000"
+ ]
}
},
{
"tag": {
"name": "Dev",
"operator": "In",
- "values": ["engineering"]
+ "values": [
+ "engineering"
+ ]
}
}
]
@@ -149,7 +167,10 @@
"johndoe@contoso.com",
"janesmith@contoso.com"
],
- "contactRoles": ["Contributor", "Reader"]
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ]
},
"Actual_GreaterThanOrEqualTo_60_Percent": {
"enabled": true,
@@ -159,7 +180,10 @@
"johndoe@contoso.com",
"janesmith@contoso.com"
],
- "contactRoles": ["Contributor", "Reader"],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
"contactGroups": [
"/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
]
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/CreateOrUpdateBudget.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/CreateOrUpdateBudget.json
index 0b7f288364e0..e71edf730de5 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/CreateOrUpdateBudget.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/CreateOrUpdateBudget.json
@@ -21,7 +21,9 @@
"dimension": {
"name": "ResourceGroupName",
"operator": "In",
- "values": ["MYDEVTESTRG"]
+ "values": [
+ "MYDEVTESTRG"
+ ]
}
},
{
@@ -38,14 +40,18 @@
"dimension": {
"name": "Meter",
"operator": "In",
- "values": ["00000000-0000-0000-0000-000000000000"]
+ "values": [
+ "00000000-0000-0000-0000-000000000000"
+ ]
}
},
{
"tag": {
"name": "Dev",
"operator": "In",
- "values": ["engineering"]
+ "values": [
+ "engineering"
+ ]
}
}
]
@@ -55,8 +61,14 @@
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
- "contactEmails": ["johndoe@contoso.com", "janesmith@contoso.com"],
- "contactRoles": ["Contributor", "Reader"],
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
"contactGroups": [
"/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
]
@@ -86,7 +98,9 @@
"dimension": {
"name": "ResourceGroupName",
"operator": "In",
- "values": ["MYDEVTESTRG"]
+ "values": [
+ "MYDEVTESTRG"
+ ]
}
},
{
@@ -103,14 +117,18 @@
"dimension": {
"name": "Meter",
"operator": "In",
- "values": ["00000000-0000-0000-0000-000000000000"]
+ "values": [
+ "00000000-0000-0000-0000-000000000000"
+ ]
}
},
{
"tag": {
"name": "Dev",
"operator": "In",
- "values": ["engineering"]
+ "values": [
+ "engineering"
+ ]
}
}
]
@@ -124,8 +142,14 @@
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
- "contactEmails": ["johndoe@contoso.com", "janesmith@contoso.com"],
- "contactRoles": ["Contributor", "Reader"],
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
"contactGroups": [
"/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
]
@@ -154,7 +178,9 @@
"dimension": {
"name": "ResourceGroupName",
"operator": "In",
- "values": ["MYDEVTESTRG"]
+ "values": [
+ "MYDEVTESTRG"
+ ]
}
},
{
@@ -171,14 +197,18 @@
"dimension": {
"name": "Meter",
"operator": "In",
- "values": ["00000000-0000-0000-0000-000000000000"]
+ "values": [
+ "00000000-0000-0000-0000-000000000000"
+ ]
}
},
{
"tag": {
"name": "Dev",
"operator": "In",
- "values": ["engineering"]
+ "values": [
+ "engineering"
+ ]
}
}
]
@@ -192,8 +222,14 @@
"enabled": true,
"operator": "GreaterThan",
"threshold": 80,
- "contactEmails": ["johndoe@contoso.com", "janesmith@contoso.com"],
- "contactRoles": ["Contributor", "Reader"],
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
"contactGroups": [
"/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
]
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/DeleteBudget.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/DeleteBudget.json
index 7eb6ba84133e..53d0c16c522f 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/DeleteBudget.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/DeleteBudget.json
@@ -7,9 +7,7 @@
"scope": "subscriptions/00000000-0000-0000-0000-000000000000"
},
"responses": {
- "200": {
- },
- "204": {
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateView.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateView.json
index e0ac14277f1f..e96ebb9fdf7c 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateView.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateView.json
@@ -62,8 +62,8 @@
"name": "swaggerTagKey"
}
]
- }
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewCreateOrUpdate.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewCreateOrUpdate.json
index d75cd493745e..85d18a6d302d 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewCreateOrUpdate.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewCreateOrUpdate.json
@@ -117,7 +117,7 @@
"name": "swaggerTagKey"
}
]
- }
+ }
}
},
"200": {
@@ -178,8 +178,8 @@
"name": "swaggerTagKey"
}
]
- }
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewDelete.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewDelete.json
index 6098335e58e9..12a0239b9dc5 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewDelete.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewDelete.json
@@ -4,9 +4,7 @@
"viewName": "TestView"
},
"responses": {
- "200": {
- },
- "204": {
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewList.json
index 1657fec91760..86eb6ee3b68b 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewList.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/PrivateViewList.json
@@ -128,4 +128,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewByResourceGroup.json
index 3bac24905b23..4a76a9b898a0 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewByResourceGroup.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewByResourceGroup.json
@@ -63,8 +63,8 @@
"name": "swaggerTagKey"
}
]
- }
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewCreateOrUpdateByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewCreateOrUpdateByResourceGroup.json
index 7956c8df6773..1edc69822cad 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewCreateOrUpdateByResourceGroup.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewCreateOrUpdateByResourceGroup.json
@@ -118,7 +118,7 @@
"name": "swaggerTagKey"
}
]
- }
+ }
}
},
"200": {
@@ -179,8 +179,8 @@
"name": "swaggerTagKey"
}
]
- }
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewDeleteByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewDeleteByResourceGroup.json
index be29fdb7591c..3a9f210abf3e 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewDeleteByResourceGroup.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewDeleteByResourceGroup.json
@@ -5,9 +5,7 @@
"viewName": "TestView"
},
"responses": {
- "200": {
- },
- "204": {
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewListByResourceGroup.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewListByResourceGroup.json
index 736a3a074cdb..39edbdffbdea 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewListByResourceGroup.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-04-01-preview/examples/ViewListByResourceGroup.json
@@ -129,4 +129,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json
index b7dbe1c0dc05..254541ce9660 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json
@@ -1224,7 +1224,7 @@
]
},
"ExportDeliveryDestination": {
- "description": "The destination information for the delivery of the export.",
+ "description": "The destination information for the delivery of the export. To allow access to a storage account, you must register the account's subscription with the Microsoft.CostManagementExports resource provider. This is required once per subscription. When creating an export in the Azure portal, it is done automatically. However, API users need to register the subscription. For more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services .",
"properties": {
"resourceId": {
"description": "The resource id of the storage account where exports will be delivered.",
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json
index 22675f81ce9d..70a68c885d6f 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json
@@ -5697,4 +5697,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json
index 14d860ac082b..e30b0f50550a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json
@@ -2,14 +2,16 @@
"parameters": {
"hubName": "azSdkTestHub",
"resourceGroupName": "TestHubRG",
- "authorizationPolicyName": "testPolicy4222",
+ "authorizationPolicyName": "testPolicy4222",
"api-version": "2016-01-01",
"subscriptionId": "subid",
"parameters": {
"properties": {
- "permissions": ["Read",
- "Write",
- "Manage"]
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ]
}
}
},
@@ -20,12 +22,14 @@
"name": "testPolicy4222",
"type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies",
"properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4222",
- "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4222",
+ "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
}
}
},
@@ -35,14 +39,16 @@
"name": "testPolicy4222",
"type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies",
"properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4222",
- "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4222",
+ "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json
index 2cfbc82731a6..4e59c0c29c69 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesGet.json
@@ -1,26 +1,28 @@
{
- "parameters": {
- "hubName": "azSdkTestHub",
- "resourceGroupName": "TestHubRG",
- "authorizationPolicyName": "testPolicy4222",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222",
- "name": "azSdkTestHub/testPolicy4222",
- "properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4222",
- "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
- },
- "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "azSdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "authorizationPolicyName": "testPolicy4222",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222",
+ "name": "azSdkTestHub/testPolicy4222",
+ "properties": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4222",
+ "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ },
+ "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json
index c0af0c058ab2..7bb7493fa7e2 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesListByHub.json
@@ -1,40 +1,46 @@
{
- "parameters": {
- "hubName": "azSdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey",
- "name": "azSdkTestHub/RootManageSharedAccessKey",
- "properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "RootManageSharedAccessKey",
- "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=",
- "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ="
- },
- "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
- },
- {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125",
- "name": "azSdkTestHub/testPolicy1125",
- "properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy1125",
- "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
- },
- "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "azSdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey",
+ "name": "azSdkTestHub/RootManageSharedAccessKey",
+ "properties": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "RootManageSharedAccessKey",
+ "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=",
+ "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ="
+ },
+ "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
+ },
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125",
+ "name": "azSdkTestHub/testPolicy1125",
+ "properties": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy1125",
+ "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ },
+ "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json
index 4fd4b5c2c94e..547425739bef 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json
@@ -1,21 +1,23 @@
{
- "parameters": {
- "hubName": "azSdkTestHub",
- "resourceGroupName": "TestHubRG",
- "authorizationPolicyName": "testPolicy4222",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4009",
- "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "azSdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "authorizationPolicyName": "testPolicy4222",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4009",
+ "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json
index 4fd4b5c2c94e..547425739bef 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json
@@ -1,21 +1,23 @@
{
- "parameters": {
- "hubName": "azSdkTestHub",
- "resourceGroupName": "TestHubRG",
- "authorizationPolicyName": "testPolicy4222",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4009",
- "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "azSdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "authorizationPolicyName": "testPolicy4222",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4009",
+ "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json
index a618ef8e989b..ded66bd2a2a2 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json
@@ -1,159 +1,165 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector8858",
- "mappingName": "testMapping12491",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "displayName": "testMapping12491",
- "description": "Test mapping",
- "mappingProperties": {
- "folderPath": "http://sample.dne/file",
- "fileFilter": "unknown",
- "hasHeader": false,
- "errorManagement": {
- "errorManagementType": "StopImport",
- "errorLimit": 10
- },
- "format": {
- "formatType": "TextFormat",
- "columnDelimiter": "|"
- },
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "structure": [{
- "propertyName": "unknwon1",
- "columnName": "unknown1",
- "isEncrypted": false
- },
- {
- "propertyName": "unknwon2",
- "columnName": "unknown2",
- "isEncrypted": true
- }],
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
- "name": "sdkTestHub/testConnector8858/testMapping12491",
- "properties": {
- "connectorMappingName": "testMapping12491",
- "connectorName": "testConnector8858",
- "connectorType": "AzureBlob",
- "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
- "description": "Test mapping",
- "displayName": "testMapping12491",
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "mappingProperties": {
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- },
- "errorManagement": {
- "errorLimit": 10,
- "errorManagementType": "StopImport"
- },
- "fileFilter": "unknown",
- "folderPath": "http://sample.dne/file",
- "format": {
- "columnDelimiter": "|",
- "acceptLanguage": "",
- "quoteCharacter": "\\\"",
- "quoteEscapeCharacter": "\\\"",
- "formatType": "TextFormat",
- "arraySeparator": ";"
- },
- "hasHeader": false,
- "structure": [{
- "columnName": "unknown1",
- "isEncrypted": false,
- "propertyName": "unknwon1"
- },
- {
- "columnName": "unknown2",
- "isEncrypted": true,
- "propertyName": "unknwon2"
- }]
- },
- "state": "Created",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
- "name": "sdkTestHub/testConnector8858/testMapping12491",
- "properties": {
- "connectorMappingName": "testMapping12491",
- "connectorName": "testConnector8858",
- "connectorType": "AzureBlob",
- "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
- "description": "Test mapping",
- "displayName": "testMapping12491",
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "mappingProperties": {
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- },
- "errorManagement": {
- "errorLimit": 10,
- "errorManagementType": "StopImport"
- },
- "fileFilter": "unknown",
- "folderPath": "http://sample.dne/file",
- "format": {
- "columnDelimiter": "|",
- "acceptLanguage": "",
- "quoteCharacter": "\\\"",
- "quoteEscapeCharacter": "\\\"",
- "formatType": "TextFormat",
- "arraySeparator": ";"
- },
- "hasHeader": false,
- "structure": [{
- "columnName": "unknown1",
- "isEncrypted": false,
- "propertyName": "unknwon1"
- },
- {
- "columnName": "unknown2",
- "isEncrypted": true,
- "propertyName": "unknwon2"
- }]
- },
- "state": "Created",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector8858",
+ "mappingName": "testMapping12491",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "displayName": "testMapping12491",
+ "description": "Test mapping",
+ "mappingProperties": {
+ "folderPath": "http://sample.dne/file",
+ "fileFilter": "unknown",
+ "hasHeader": false,
+ "errorManagement": {
+ "errorManagementType": "StopImport",
+ "errorLimit": 10
+ },
+ "format": {
+ "formatType": "TextFormat",
+ "columnDelimiter": "|"
+ },
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "structure": [
+ {
+ "propertyName": "unknwon1",
+ "columnName": "unknown1",
+ "isEncrypted": false
+ },
+ {
+ "propertyName": "unknwon2",
+ "columnName": "unknown2",
+ "isEncrypted": true
+ }
+ ],
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
+ "name": "sdkTestHub/testConnector8858/testMapping12491",
+ "properties": {
+ "connectorMappingName": "testMapping12491",
+ "connectorName": "testConnector8858",
+ "connectorType": "AzureBlob",
+ "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
+ "description": "Test mapping",
+ "displayName": "testMapping12491",
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "mappingProperties": {
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ },
+ "errorManagement": {
+ "errorLimit": 10,
+ "errorManagementType": "StopImport"
+ },
+ "fileFilter": "unknown",
+ "folderPath": "http://sample.dne/file",
+ "format": {
+ "columnDelimiter": "|",
+ "acceptLanguage": "",
+ "quoteCharacter": "\\\"",
+ "quoteEscapeCharacter": "\\\"",
+ "formatType": "TextFormat",
+ "arraySeparator": ";"
+ },
+ "hasHeader": false,
+ "structure": [
+ {
+ "columnName": "unknown1",
+ "isEncrypted": false,
+ "propertyName": "unknwon1"
+ },
+ {
+ "columnName": "unknown2",
+ "isEncrypted": true,
+ "propertyName": "unknwon2"
+ }
+ ]
+ },
+ "state": "Created",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
+ "name": "sdkTestHub/testConnector8858/testMapping12491",
+ "properties": {
+ "connectorMappingName": "testMapping12491",
+ "connectorName": "testConnector8858",
+ "connectorType": "AzureBlob",
+ "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
+ "description": "Test mapping",
+ "displayName": "testMapping12491",
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "mappingProperties": {
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ },
+ "errorManagement": {
+ "errorLimit": 10,
+ "errorManagementType": "StopImport"
+ },
+ "fileFilter": "unknown",
+ "folderPath": "http://sample.dne/file",
+ "format": {
+ "columnDelimiter": "|",
+ "acceptLanguage": "",
+ "quoteCharacter": "\\\"",
+ "quoteEscapeCharacter": "\\\"",
+ "formatType": "TextFormat",
+ "arraySeparator": ";"
+ },
+ "hasHeader": false,
+ "structure": [
+ {
+ "columnName": "unknown1",
+ "isEncrypted": false,
+ "propertyName": "unknwon1"
+ },
+ {
+ "columnName": "unknown2",
+ "isEncrypted": true,
+ "propertyName": "unknwon2"
+ }
+ ]
+ },
+ "state": "Created",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json
index 0d7f1846761c..924976644b8e 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsDelete.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector8858",
- "mappingName": "testMapping12491",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector8858",
+ "mappingName": "testMapping12491",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json
index 3bda377203e7..cf626302e2b8 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsGet.json
@@ -1,66 +1,68 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector8858",
- "mappingName": "testMapping12491",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
- "name": "sdkTestHub/testConnector8858/testMapping12491",
- "properties": {
- "connectorMappingName": "testMapping12491",
- "connectorName": "testConnector8858",
- "connectorType": "AzureBlob",
- "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
- "description": "Test mapping",
- "displayName": "testMapping12491",
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "mappingProperties": {
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- },
- "errorManagement": {
- "errorLimit": 10,
- "errorManagementType": "StopImport"
- },
- "fileFilter": "unknown",
- "folderPath": "http://sample.dne/file",
- "format": {
- "columnDelimiter": "|",
- "acceptLanguage": "",
- "quoteCharacter": "\\\"",
- "quoteEscapeCharacter": "\\\"",
- "formatType": "TextFormat",
- "arraySeparator": ";"
- },
- "hasHeader": false,
- "structure": [{
- "columnName": "unknown1",
- "isEncrypted": false,
- "propertyName": "unknwon1"
- },
- {
- "columnName": "unknown2",
- "isEncrypted": true,
- "propertyName": "unknwon2"
- }]
- },
- "state": "Created",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector8858",
+ "mappingName": "testMapping12491",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
+ "name": "sdkTestHub/testConnector8858/testMapping12491",
+ "properties": {
+ "connectorMappingName": "testMapping12491",
+ "connectorName": "testConnector8858",
+ "connectorType": "AzureBlob",
+ "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
+ "description": "Test mapping",
+ "displayName": "testMapping12491",
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "mappingProperties": {
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ },
+ "errorManagement": {
+ "errorLimit": 10,
+ "errorManagementType": "StopImport"
+ },
+ "fileFilter": "unknown",
+ "folderPath": "http://sample.dne/file",
+ "format": {
+ "columnDelimiter": "|",
+ "acceptLanguage": "",
+ "quoteCharacter": "\\\"",
+ "quoteEscapeCharacter": "\\\"",
+ "formatType": "TextFormat",
+ "arraySeparator": ";"
+ },
+ "hasHeader": false,
+ "structure": [
+ {
+ "columnName": "unknown1",
+ "isEncrypted": false,
+ "propertyName": "unknwon1"
+ },
+ {
+ "columnName": "unknown2",
+ "isEncrypted": true,
+ "propertyName": "unknwon2"
+ }
+ ]
+ },
+ "state": "Created",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json
index 5259745619e4..e3c7c8a6f67f 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorMappingsListByConnector.json
@@ -1,67 +1,71 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector8858",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
- "name": "sdkTestHub/testConnector8858/testMapping12491",
- "properties": {
- "connectorMappingName": "testMapping12491",
- "connectorName": "testConnector8858",
- "connectorType": "AzureBlob",
- "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
- "description": "Test mapping",
- "displayName": "testMapping12491",
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "mappingProperties": {
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- },
- "errorManagement": {
- "errorLimit": 10,
- "errorManagementType": "StopImport"
- },
- "fileFilter": "unknown",
- "folderPath": "http://sample.dne/file",
- "format": {
- "columnDelimiter": "|",
- "acceptLanguage": "",
- "quoteCharacter": "\\\"",
- "quoteEscapeCharacter": "\\\"",
- "formatType": "TextFormat",
- "arraySeparator": ";"
- },
- "hasHeader": false,
- "structure": [{
- "columnName": "unknown1",
- "isEncrypted": false,
- "propertyName": "unknwon1"
- },
- {
- "columnName": "unknown2",
- "isEncrypted": true,
- "propertyName": "unknwon2"
- }]
- },
- "state": "Created",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector8858",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
+ "name": "sdkTestHub/testConnector8858/testMapping12491",
+ "properties": {
+ "connectorMappingName": "testMapping12491",
+ "connectorName": "testConnector8858",
+ "connectorType": "AzureBlob",
+ "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
+ "description": "Test mapping",
+ "displayName": "testMapping12491",
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "mappingProperties": {
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ },
+ "errorManagement": {
+ "errorLimit": 10,
+ "errorManagementType": "StopImport"
+ },
+ "fileFilter": "unknown",
+ "folderPath": "http://sample.dne/file",
+ "format": {
+ "columnDelimiter": "|",
+ "acceptLanguage": "",
+ "quoteCharacter": "\\\"",
+ "quoteEscapeCharacter": "\\\"",
+ "formatType": "TextFormat",
+ "arraySeparator": ";"
+ },
+ "hasHeader": false,
+ "structure": [
+ {
+ "columnName": "unknown1",
+ "isEncrypted": false,
+ "propertyName": "unknwon1"
+ },
+ {
+ "columnName": "unknown2",
+ "isEncrypted": true,
+ "propertyName": "unknwon2"
+ }
+ ]
+ },
+ "state": "Created",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json
index 20c3288aa55f..93af22e94dac 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsCreateOrUpdate.json
@@ -1,49 +1,47 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "connectorType": "AzureBlob",
- "displayName": "testConnector",
- "description": "Test connector",
- "connectorProperties": {
- "connectionKeyVaultUrl": {
- "organizationId": "XXX",
- "organizationUrl": "https://XXX.crmlivetie.com/"
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
- "name": "sdkTestHub/testConnector",
- "properties": {
- "connectorId": 0,
- "connectorName": "testConnector",
- "connectorType": "AzureBlob",
- "description": "Test connector",
- "displayName": "testConnector",
- "state": "Creating",
- "tenantId": "sdktesthub",
- "connectorProperties": {
- "connectionKeyVaultUrl": {
- "organizationId": "XXX",
- "organizationUrl": "https://XXX.crmlivetie.com/"
- }
- }
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "connectorType": "AzureBlob",
+ "displayName": "testConnector",
+ "description": "Test connector",
+ "connectorProperties": {
+ "connectionKeyVaultUrl": {
+ "organizationId": "XXX",
+ "organizationUrl": "https://XXX.crmlivetie.com/"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
+ "name": "sdkTestHub/testConnector",
+ "properties": {
+ "connectorId": 0,
+ "connectorName": "testConnector",
+ "connectorType": "AzureBlob",
+ "description": "Test connector",
+ "displayName": "testConnector",
+ "state": "Creating",
+ "tenantId": "sdktesthub",
+ "connectorProperties": {
+ "connectionKeyVaultUrl": {
+ "organizationId": "XXX",
+ "organizationUrl": "https://XXX.crmlivetie.com/"
+ }
+ }
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json
index 223bbe751413..c9d4054fe03a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsDelete.json
@@ -1,20 +1,14 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- },
- "204": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json
index 8eb04134ad71..cd50e4833616 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsGet.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
- "name": "sdkTestHub/testConnector",
- "properties": {
- "connectorId": 0,
- "connectorName": "testConnector",
- "connectorType": "AzureBlob",
- "description": "Test connector",
- "displayName": "testConnector",
- "state": "Creating",
- "tenantId": "sdktesthub",
- "connectorProperties": {
- "connectionKeyVaultUrl": {
- "organizationId": "XXX",
- "organizationUrl": "https://XXX.crmlivetie.com/"
- }
- }
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
+ "name": "sdkTestHub/testConnector",
+ "properties": {
+ "connectorId": 0,
+ "connectorName": "testConnector",
+ "connectorType": "AzureBlob",
+ "description": "Test connector",
+ "displayName": "testConnector",
+ "state": "Creating",
+ "tenantId": "sdktesthub",
+ "connectorProperties": {
+ "connectionKeyVaultUrl": {
+ "organizationId": "XXX",
+ "organizationUrl": "https://XXX.crmlivetie.com/"
+ }
+ }
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json
index 13f587390507..5dbcbb24dabc 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ConnectorsListByHub.json
@@ -1,34 +1,36 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
- "name": "sdkTestHub/testConnector",
- "properties": {
- "connectorId": 0,
- "connectorName": "testConnector",
- "connectorType": "AzureBlob",
- "description": "Test connector",
- "displayName": "testConnector",
- "state": "Creating",
- "tenantId": "sdktesthub",
- "connectorProperties": {
- "connectionKeyVaultUrl": {
- "organizationId": "XXX",
- "organizationUrl": "https://XXX.crmlivetie.com/"
- }
- }
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
+ "name": "sdkTestHub/testConnector",
+ "properties": {
+ "connectorId": 0,
+ "connectorName": "testConnector",
+ "connectorType": "AzureBlob",
+ "description": "Test connector",
+ "displayName": "testConnector",
+ "state": "Creating",
+ "tenantId": "sdktesthub",
+ "connectorProperties": {
+ "connectionKeyVaultUrl": {
+ "organizationId": "XXX",
+ "organizationUrl": "https://XXX.crmlivetie.com/"
+ }
+ }
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json
index db43dc6f6242..5b6b170d8388 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json
@@ -289,4 +289,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json
index af90ced06152..d26a46e6c2dc 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsCreateOrUpdate.json
@@ -1,64 +1,60 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "location": "West US",
- "properties": {
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- }
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
- "location": "West US",
- "name": "testHub2839",
- "properties": {
- "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
- "provisioningState": "Creating",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
- "location": "East US",
- "name": "testHub2839",
- "properties": {
- "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
- "provisioningState": "Creating",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
+ "location": "West US",
+ "name": "testHub2839",
+ "properties": {
+ "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
+ "provisioningState": "Creating",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
+ "location": "East US",
+ "name": "testHub2839",
+ "properties": {
+ "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
+ "provisioningState": "Creating",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json
index 6afd4d1b4ddc..447e31547e47 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json
index ae0885c10cfa..75f252eaef7a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsGet.json
@@ -1,32 +1,30 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
- "location": "East US",
- "name": "testHub2839",
- "properties": {
- "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
- "provisioningState": "Creating",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
+ "location": "East US",
+ "name": "testHub2839",
+ "properties": {
+ "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
+ "provisioningState": "Creating",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json
index d86c96e024f6..4b5b14c95d5a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsList.json
@@ -1,52 +1,50 @@
{
- "parameters": {
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub",
- "location": "East US",
- "name": "azSdkTestHub",
- "properties": {
- "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net",
- "provisioningState": "Succeeded",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 1
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- },
- {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058",
- "location": "East US",
- "name": "testHub1058",
- "properties": {
- "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net",
- "provisioningState": "Succeeded",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub",
+ "location": "East US",
+ "name": "azSdkTestHub",
+ "properties": {
+ "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net",
+ "provisioningState": "Succeeded",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 1
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ },
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058",
+ "location": "East US",
+ "name": "testHub1058",
+ "properties": {
+ "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net",
+ "provisioningState": "Succeeded",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json
index ea16b5f3e3c9..4d7946a2a372 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsListByResourceGroup.json
@@ -1,53 +1,51 @@
{
- "parameters": {
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "resourceGroupName": "TestHubRG"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub",
- "location": "East US",
- "name": "azSdkTestHub",
- "properties": {
- "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net",
- "provisioningState": "Succeeded",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 1
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- },
- {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058",
- "location": "East US",
- "name": "testHub1058",
- "properties": {
- "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net",
- "provisioningState": "Succeeded",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "TestHubRG"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub",
+ "location": "East US",
+ "name": "azSdkTestHub",
+ "properties": {
+ "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net",
+ "provisioningState": "Succeeded",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 1
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ },
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058",
+ "location": "East US",
+ "name": "testHub1058",
+ "properties": {
+ "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net",
+ "provisioningState": "Succeeded",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json
index 3adb220f2dc6..068afee45e73 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/HubsUpdate.json
@@ -1,42 +1,40 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "location": "West US",
- "properties": {
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
- "location": "East US",
- "name": "testHub2839",
- "properties": {
- "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
- "provisioningState": "Created",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
+ "location": "East US",
+ "name": "testHub2839",
+ "properties": {
+ "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
+ "provisioningState": "Created",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json
index 454860d5e639..3a252dda2637 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForData.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "entityType": "Profile",
- "entityTypeName": "Contact",
- "relativePath": "images/profile1.png"
- }
- },
- "responses": {
- "200": {
- "body": {
- "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw",
- "relativePath": "images/profile1.png",
- "imageExists": false
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "entityType": "Profile",
+ "entityTypeName": "Contact",
+ "relativePath": "images/profile1.png"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw",
+ "relativePath": "images/profile1.png",
+ "imageExists": false
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json
index 454860d5e639..3a252dda2637 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "entityType": "Profile",
- "entityTypeName": "Contact",
- "relativePath": "images/profile1.png"
- }
- },
- "responses": {
- "200": {
- "body": {
- "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw",
- "relativePath": "images/profile1.png",
- "imageExists": false
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "entityType": "Profile",
+ "entityTypeName": "Contact",
+ "relativePath": "images/profile1.png"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw",
+ "relativePath": "images/profile1.png",
+ "imageExists": false
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json
index 160b21a30088..ce7c21837094 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsCreateOrUpdate.json
@@ -1,80 +1,86 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "interactionName": "TestProfileType396",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "idPropertyNames": ["TestInteractionType6358"],
- "primaryParticipantProfilePropertyName": "profile1",
- "apiEntitySetName": "TestInteractionType6358",
- "fields": [{
- "fieldName": "TestInteractionType6358",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "profile1",
- "fieldType": "Edm.String"
- }],
- "smallImage": "\\\\Images\\\\smallImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "largeImage": "\\\\Images\\\\LargeImage",
- "isActivity": false
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
- "name": "azSdkTestHub/TestInteractionType6358",
- "properties": {
- "idPropertyNames": ["TestInteractionType6358"],
- "primaryParticipantProfilePropertyName": "profile1",
- "apiEntitySetName": "TestInteractionType6358",
- "entityType": "Interaction",
- "fields": [{
- "fieldName": "TestInteractionType6358",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "profile1",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "tenantId": "azsdktesthub",
- "typeName": "TestInteractionType6358",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage",
- "isActivity": false
- },
- "type": "Microsoft.CustomerInsights/hubs/interactions"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "interactionName": "TestProfileType396",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "idPropertyNames": [
+ "TestInteractionType6358"
+ ],
+ "primaryParticipantProfilePropertyName": "profile1",
+ "apiEntitySetName": "TestInteractionType6358",
+ "fields": [
+ {
+ "fieldName": "TestInteractionType6358",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "profile1",
+ "fieldType": "Edm.String"
+ }
+ ],
+ "smallImage": "\\\\Images\\\\smallImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "isActivity": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
+ "name": "azSdkTestHub/TestInteractionType6358",
+ "properties": {
+ "idPropertyNames": [
+ "TestInteractionType6358"
+ ],
+ "primaryParticipantProfilePropertyName": "profile1",
+ "apiEntitySetName": "TestInteractionType6358",
+ "entityType": "Interaction",
+ "fields": [
+ {
+ "fieldName": "TestInteractionType6358",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "profile1",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestInteractionType6358",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage",
+ "isActivity": false
+ },
+ "type": "Microsoft.CustomerInsights/hubs/interactions"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json
index 0aac643643d4..b77a19b39052 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsGet.json
@@ -1,88 +1,92 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "interactionName": "TestInteractionType6358",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
- "name": "azSdkTestHub/TestInteractionType6358",
- "properties": {
- "idPropertyNames": ["TestInteractionType6358"],
- "primaryParticipantProfilePropertyName": "profile1",
- "apiEntitySetName": "TestInteractionType6358",
- "entityType": "Interaction",
- "fields": [{
- "fieldName": "TestInteractionType6358",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1",
- "dataSourcePrecedenceRules": []
- },
- {
- "fieldName": "profile1",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1",
- "dataSourcePrecedenceRules": [
- {
- "dataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "precedence": 50
- }
- ]
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "tenantId": "azsdktesthub",
- "typeName": "TestInteractionType6358",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage",
- "defaultDataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "dataSourcePrecedenceRules": [
- {
- "dataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "precedence": 50
- }
- ],
- "isActivity": true
- },
- "type": "Microsoft.CustomerInsights/hubs/interactions"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "interactionName": "TestInteractionType6358",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
+ "name": "azSdkTestHub/TestInteractionType6358",
+ "properties": {
+ "idPropertyNames": [
+ "TestInteractionType6358"
+ ],
+ "primaryParticipantProfilePropertyName": "profile1",
+ "apiEntitySetName": "TestInteractionType6358",
+ "entityType": "Interaction",
+ "fields": [
+ {
+ "fieldName": "TestInteractionType6358",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1",
+ "dataSourcePrecedenceRules": []
+ },
+ {
+ "fieldName": "profile1",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1",
+ "dataSourcePrecedenceRules": [
+ {
+ "dataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "precedence": 50
+ }
+ ]
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestInteractionType6358",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage",
+ "defaultDataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "dataSourcePrecedenceRules": [
+ {
+ "dataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "precedence": 50
+ }
+ ],
+ "isActivity": true
+ },
+ "type": "Microsoft.CustomerInsights/hubs/interactions"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json
index ebb489a5b2dd..f532a73c7d85 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsListByHub.json
@@ -1,89 +1,95 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
- "name": "azSdkTestHub/TestInteractionType6358",
- "properties": {
- "idPropertyNames": ["TestInteractionType6358"],
- "primaryParticipantProfilePropertyName": "profile1",
- "apiEntitySetName": "TestInteractionType6358",
- "entityType": "Interaction",
- "fields": [{
- "fieldName": "TestInteractionType6358",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1",
- "dataSourcePrecedenceRules": []
- },
- {
- "fieldName": "profile1",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1",
- "dataSourcePrecedenceRules": [
- {
- "dataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "precedence": 50
- }
- ]
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "tenantId": "azsdktesthub",
- "typeName": "TestInteractionType6358",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage",
- "defaultDataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "dataSourcePrecedenceRules": [
- {
- "dataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "precedence": 50
- }
- ],
- "isActivity": true
- },
- "type": "Microsoft.CustomerInsights/hubs/interactions"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
+ "name": "azSdkTestHub/TestInteractionType6358",
+ "properties": {
+ "idPropertyNames": [
+ "TestInteractionType6358"
+ ],
+ "primaryParticipantProfilePropertyName": "profile1",
+ "apiEntitySetName": "TestInteractionType6358",
+ "entityType": "Interaction",
+ "fields": [
+ {
+ "fieldName": "TestInteractionType6358",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1",
+ "dataSourcePrecedenceRules": []
+ },
+ {
+ "fieldName": "profile1",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1",
+ "dataSourcePrecedenceRules": [
+ {
+ "dataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "precedence": 50
+ }
+ ]
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestInteractionType6358",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage",
+ "defaultDataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "dataSourcePrecedenceRules": [
+ {
+ "dataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "precedence": 50
+ }
+ ],
+ "isActivity": true
+ },
+ "type": "Microsoft.CustomerInsights/hubs/interactions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json
index 504cb8b9d223..8fa2f3ab4138 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json
@@ -1,40 +1,50 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "interactionName": "Deposit",
- "api-version": "2017-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "interactionName": "Deposit",
- "suggestedRelationships": [{
- "profileName": "Branch",
- "profilePropertyReferences": [{
- "interactionPropertyName": "BranchId",
- "profilePropertyName": "BranchId"
- }],
- "relatedProfileName": "Contact",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "ContactId",
- "profilePropertyName": "ContactId"
- }]
- },
- {
- "profileName": "Contact",
- "profilePropertyReferences": [{
- "interactionPropertyName": "ContactId",
- "profilePropertyName": "ContactId"
- }],
- "relatedProfileName": "Branch",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "BranchId",
- "profilePropertyName": "BranchId"
- }]
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "interactionName": "Deposit",
+ "api-version": "2017-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "interactionName": "Deposit",
+ "suggestedRelationships": [
+ {
+ "profileName": "Branch",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "BranchId",
+ "profilePropertyName": "BranchId"
+ }
+ ],
+ "relatedProfileName": "Contact",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "ContactId",
+ "profilePropertyName": "ContactId"
+ }
+ ]
+ },
+ {
+ "profileName": "Contact",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "ContactId",
+ "profilePropertyName": "ContactId"
+ }
+ ],
+ "relatedProfileName": "Branch",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "BranchId",
+ "profilePropertyName": "BranchId"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json
index bc06a79c3e8a..25f7bf4e8e5d 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiCreateOrUpdate.json
@@ -1,74 +1,80 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "kpiName": "kpiTest45453647",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "entityType": "Profile",
- "entityTypeName": "testProfile2327128",
- "displayName": {
- "en-us": "Kpi DisplayName"
- },
- "description": {
- "en-us": "Kpi Description"
- },
- "calculationWindow": "Day",
- "function": "Sum",
- "expression": "SavingAccountBalance",
- "unit": "unit",
- "groupBy": ["SavingAccountBalance"],
- "thresHolds": {
- "lowerLimit": 5.0,
- "upperLimit": 50.0,
- "increasingKpi": true
- },
- "aliases": [{
- "aliasName": "alias",
- "expression": "Id+4"
- }]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
- "name": "sdkTestHub/kpiTest45453647",
- "properties": {
- "aliases": [{
- "aliasName": "alias",
- "expression": "Id+4"
- }],
- "calculationWindow": "Day",
- "description": {
- "en-us": "Kpi Description"
- },
- "displayName": {
- "en-us": "Kpi DisplayName"
- },
- "entityType": "Profile",
- "entityTypeName": "testProfile2327128",
- "expression": "SavingAccountBalance",
- "function": "Sum",
- "groupBy": ["SavingAccountBalance"],
- "kpiName": "kpiTest45453647",
- "provisioningState": "Provisioning",
- "tenantId": "sdktesthub",
- "thresHolds": {
- "increasingKpi": true,
- "lowerLimit": 5.0,
- "upperLimit": 50.0
- },
- "unit": "unit"
- },
- "type": "Microsoft.CustomerInsights/hubs/kpi"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "kpiName": "kpiTest45453647",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "entityType": "Profile",
+ "entityTypeName": "testProfile2327128",
+ "displayName": {
+ "en-us": "Kpi DisplayName"
+ },
+ "description": {
+ "en-us": "Kpi Description"
+ },
+ "calculationWindow": "Day",
+ "function": "Sum",
+ "expression": "SavingAccountBalance",
+ "unit": "unit",
+ "groupBy": [
+ "SavingAccountBalance"
+ ],
+ "thresHolds": {
+ "lowerLimit": 5.0,
+ "upperLimit": 50.0,
+ "increasingKpi": true
+ },
+ "aliases": [
+ {
+ "aliasName": "alias",
+ "expression": "Id+4"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
+ "name": "sdkTestHub/kpiTest45453647",
+ "properties": {
+ "aliases": [
+ {
+ "aliasName": "alias",
+ "expression": "Id+4"
+ }
+ ],
+ "calculationWindow": "Day",
+ "description": {
+ "en-us": "Kpi Description"
+ },
+ "displayName": {
+ "en-us": "Kpi DisplayName"
+ },
+ "entityType": "Profile",
+ "entityTypeName": "testProfile2327128",
+ "expression": "SavingAccountBalance",
+ "function": "Sum",
+ "groupBy": [
+ "SavingAccountBalance"
+ ],
+ "kpiName": "kpiTest45453647",
+ "provisioningState": "Provisioning",
+ "tenantId": "sdktesthub",
+ "thresHolds": {
+ "increasingKpi": true,
+ "lowerLimit": 5.0,
+ "upperLimit": 50.0
+ },
+ "unit": "unit"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/kpi"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json
index 493a641b7260..79bcb779b69b 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "kpiName": "kpiTest45453647",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {},
- "202": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "kpiName": "kpiTest45453647",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json
index 262b6a9ebfa0..150e0c4ecde8 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiGet.json
@@ -1,45 +1,49 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "kpiName": "kpiTest45453647",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
- "name": "sdkTestHub/kpiTest45453647",
- "properties": {
- "aliases": [{
- "aliasName": "alias",
- "expression": "Id+4"
- }],
- "calculationWindow": "Day",
- "description": {
- "en-us": "Kpi Description"
- },
- "displayName": {
- "en-us": "Kpi DisplayName"
- },
- "entityType": "Profile",
- "entityTypeName": "testProfile2327128",
- "expression": "SavingAccountBalance",
- "function": "Sum",
- "groupBy": ["SavingAccountBalance"],
- "kpiName": "kpiTest45453647",
- "provisioningState": "Provisioning",
- "tenantId": "sdktesthub",
- "thresHolds": {
- "increasingKpi": true,
- "lowerLimit": 5.0,
- "upperLimit": 50.0
- },
- "unit": "unit"
- },
- "type": "Microsoft.CustomerInsights/hubs/kpi"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "kpiName": "kpiTest45453647",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
+ "name": "sdkTestHub/kpiTest45453647",
+ "properties": {
+ "aliases": [
+ {
+ "aliasName": "alias",
+ "expression": "Id+4"
+ }
+ ],
+ "calculationWindow": "Day",
+ "description": {
+ "en-us": "Kpi Description"
+ },
+ "displayName": {
+ "en-us": "Kpi DisplayName"
+ },
+ "entityType": "Profile",
+ "entityTypeName": "testProfile2327128",
+ "expression": "SavingAccountBalance",
+ "function": "Sum",
+ "groupBy": [
+ "SavingAccountBalance"
+ ],
+ "kpiName": "kpiTest45453647",
+ "provisioningState": "Provisioning",
+ "tenantId": "sdktesthub",
+ "thresHolds": {
+ "increasingKpi": true,
+ "lowerLimit": 5.0,
+ "upperLimit": 50.0
+ },
+ "unit": "unit"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/kpi"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json
index 91c607454f85..d746eea2c4e1 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiListByHub.json
@@ -1,46 +1,52 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
- "name": "sdkTestHub/kpiTest45453647",
- "properties": {
- "aliases": [{
- "aliasName": "alias",
- "expression": "Id+4"
- }],
- "calculationWindow": "Day",
- "description": {
- "en-us": "Kpi Description"
- },
- "displayName": {
- "en-us": "Kpi DisplayName"
- },
- "entityType": "Profile",
- "entityTypeName": "testProfile2327128",
- "expression": "SavingAccountBalance",
- "function": "Sum",
- "groupBy": ["SavingAccountBalance"],
- "kpiName": "kpiTest45453647",
- "provisioningState": "Provisioning",
- "tenantId": "sdktesthub",
- "thresHolds": {
- "increasingKpi": true,
- "lowerLimit": 5.0,
- "upperLimit": 50.0
- },
- "unit": "unit"
- },
- "type": "Microsoft.CustomerInsights/hubs/kpi"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
+ "name": "sdkTestHub/kpiTest45453647",
+ "properties": {
+ "aliases": [
+ {
+ "aliasName": "alias",
+ "expression": "Id+4"
+ }
+ ],
+ "calculationWindow": "Day",
+ "description": {
+ "en-us": "Kpi Description"
+ },
+ "displayName": {
+ "en-us": "Kpi DisplayName"
+ },
+ "entityType": "Profile",
+ "entityTypeName": "testProfile2327128",
+ "expression": "SavingAccountBalance",
+ "function": "Sum",
+ "groupBy": [
+ "SavingAccountBalance"
+ ],
+ "kpiName": "kpiTest45453647",
+ "provisioningState": "Provisioning",
+ "tenantId": "sdktesthub",
+ "thresHolds": {
+ "increasingKpi": true,
+ "lowerLimit": 5.0,
+ "upperLimit": 50.0
+ },
+ "unit": "unit"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/kpi"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json
index 659260336127..83bd69594f4b 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/KpiReprocess.json
@@ -1,14 +1,12 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "kpiName": "kpiTest45453647",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "kpiName": "kpiTest45453647",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json
index c4d0e4d550f2..5c066853432c 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksCreateOrUpdate.json
@@ -1,74 +1,74 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "linkName": "linkTest4806",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "linkName": "linkTest4806",
- "sourceInteractionType": "testInteraction1949",
- "targetProfileType": "testProfile1446",
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "description": {
- "en-us": "Link Description"
- },
- "mappings": [
- {
- "interactionTypePropertyName": "testInteraction1949",
- "profileTypePropertyName": "testProfile1446",
- "isProfileTypeId": true,
- "linkType": "UpdateAlways"
- }
- ],
- "participantPropertyReferences": [
- {
- "interactionPropertyName": "testInteraction1949",
- "profilePropertyName": "ProfileId"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
- "name": "azSdkTestHub/linkTest4806",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "linkName": "linkTest4806",
- "mappings": [
- {
- "interactionTypePropertyName": "testInteraction1949",
- "isProfileTypeId": true,
- "linkType": "UpdateAlways",
- "profileTypePropertyName": "testProfile1446"
- }
- ],
- "participantPropertyReferences": [
- {
- "interactionPropertyName": "testInteraction1949",
- "profilePropertyName": "ProfileId"
- }
- ],
- "provisioningState": "Provisioning",
- "sourceInteractionType": "testInteraction1949",
- "targetProfileType": "testProfile1446",
- "tenantId": "azsdktesthub",
- "referenceOnly": false
- },
- "type": "Microsoft.CustomerInsights/hubs/links"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "linkName": "linkTest4806",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "linkName": "linkTest4806",
+ "sourceInteractionType": "testInteraction1949",
+ "targetProfileType": "testProfile1446",
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "description": {
+ "en-us": "Link Description"
+ },
+ "mappings": [
+ {
+ "interactionTypePropertyName": "testInteraction1949",
+ "profileTypePropertyName": "testProfile1446",
+ "isProfileTypeId": true,
+ "linkType": "UpdateAlways"
+ }
+ ],
+ "participantPropertyReferences": [
+ {
+ "interactionPropertyName": "testInteraction1949",
+ "profilePropertyName": "ProfileId"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
+ "name": "azSdkTestHub/linkTest4806",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "linkName": "linkTest4806",
+ "mappings": [
+ {
+ "interactionTypePropertyName": "testInteraction1949",
+ "isProfileTypeId": true,
+ "linkType": "UpdateAlways",
+ "profileTypePropertyName": "testProfile1446"
+ }
+ ],
+ "participantPropertyReferences": [
+ {
+ "interactionPropertyName": "testInteraction1949",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "sourceInteractionType": "testInteraction1949",
+ "targetProfileType": "testProfile1446",
+ "tenantId": "azsdktesthub",
+ "referenceOnly": false
+ },
+ "type": "Microsoft.CustomerInsights/hubs/links"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json
index 2b41c5cb20f7..ad139857a18a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "linkName": "linkTest4806",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {},
- "202": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "linkName": "linkTest4806",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json
index 6b84b5b5dff4..7129fda53189 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksGet.json
@@ -1,42 +1,46 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "linkName": "linkTest4806",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
- "name": "azSdkTestHub/linkTest4806",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "linkName": "linkTest4806",
- "mappings": [{
- "interactionTypePropertyName": "testInteraction1949",
- "isProfileTypeId": true,
- "linkType": "UpdateAlways",
- "profileTypePropertyName": "testProfile1446"
- }],
- "participantPropertyReferences": [{
- "interactionPropertyName": "testInteraction1949",
- "profilePropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "sourceInteractionType": "testInteraction1949",
- "targetProfileType": "testProfile1446",
- "tenantId": "azsdktesthub",
- "referenceOnly": false
- },
- "type": "Microsoft.CustomerInsights/hubs/links"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "linkName": "linkTest4806",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
+ "name": "azSdkTestHub/linkTest4806",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "linkName": "linkTest4806",
+ "mappings": [
+ {
+ "interactionTypePropertyName": "testInteraction1949",
+ "isProfileTypeId": true,
+ "linkType": "UpdateAlways",
+ "profileTypePropertyName": "testProfile1446"
+ }
+ ],
+ "participantPropertyReferences": [
+ {
+ "interactionPropertyName": "testInteraction1949",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "sourceInteractionType": "testInteraction1949",
+ "targetProfileType": "testProfile1446",
+ "tenantId": "azsdktesthub",
+ "referenceOnly": false
+ },
+ "type": "Microsoft.CustomerInsights/hubs/links"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json
index 18017f91ed58..5db0d75f8a65 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/LinksListByHub.json
@@ -1,43 +1,49 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
- "name": "azSdkTestHub/linkTest4806",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "linkName": "linkTest4806",
- "mappings": [{
- "interactionTypePropertyName": "testInteraction1949",
- "isProfileTypeId": true,
- "linkType": "UpdateAlways",
- "profileTypePropertyName": "testProfile1446"
- }],
- "participantPropertyReferences": [{
- "interactionPropertyName": "testInteraction1949",
- "profilePropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "sourceInteractionType": "testInteraction1949",
- "targetProfileType": "testProfile1446",
- "tenantId": "azsdktesthub",
- "referenceOnly": false
- },
- "type": "Microsoft.CustomerInsights/hubs/links"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
+ "name": "azSdkTestHub/linkTest4806",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "linkName": "linkTest4806",
+ "mappings": [
+ {
+ "interactionTypePropertyName": "testInteraction1949",
+ "isProfileTypeId": true,
+ "linkType": "UpdateAlways",
+ "profileTypePropertyName": "testProfile1446"
+ }
+ ],
+ "participantPropertyReferences": [
+ {
+ "interactionPropertyName": "testInteraction1949",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "sourceInteractionType": "testInteraction1949",
+ "targetProfileType": "testProfile1446",
+ "tenantId": "azsdktesthub",
+ "referenceOnly": false
+ },
+ "type": "Microsoft.CustomerInsights/hubs/links"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json
index 511cb1608d8d..3f137fc75b31 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfileGetEnrichingKpis.json
@@ -1,75 +1,81 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "profileName": "TestProfileType396",
- "api-version": "2017-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": [{
- "calculationWindow": "Month",
- "calculationWindowFieldName": "",
- "description": {
- "en-us": "MonthlyDeposits"
- },
- "entityType": "Interaction",
- "entityTypeName": "Deposit",
- "expression": "Amount",
- "filter": "",
- "function": "Sum",
- "groupBy": ["AccountType",
- "BranchId",
- "ContactId",
- "Location",
- "Type"],
- "groupByMetadata": [{
- "displayName": {
- "en-us": "AccountType"
- },
- "fieldName": "AccountType",
- "fieldType": "Edm.String"
- },
- {
- "displayName": {
- "en-us": "BranchId"
- },
- "fieldName": "BranchId",
- "fieldType": "Edm.Int32"
- },
- {
- "displayName": {
- "en-us": "ContactId"
- },
- "fieldName": "ContactId",
- "fieldType": "Edm.Int32"
- },
- {
- "displayName": {
- "en-us": "Location"
- },
- "fieldName": "Location",
- "fieldType": "Edm.String"
- },
- {
- "displayName": {
- "en-us": "Type"
- },
- "fieldName": "Type",
- "fieldType": "Edm.String"
- }],
- "kpiName": "MonthlyDeposits",
- "participantProfilesMetadata": [],
- "provisioningState": "Succeeded",
- "tenantId": "sdkTestHub",
- "thresHolds": {
- "increasingKpi": true,
- "lowerLimit": 0,
- "upperLimit": 0
- },
- "unit": ""
- }]
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "profileName": "TestProfileType396",
+ "api-version": "2017-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "calculationWindow": "Month",
+ "calculationWindowFieldName": "",
+ "description": {
+ "en-us": "MonthlyDeposits"
+ },
+ "entityType": "Interaction",
+ "entityTypeName": "Deposit",
+ "expression": "Amount",
+ "filter": "",
+ "function": "Sum",
+ "groupBy": [
+ "AccountType",
+ "BranchId",
+ "ContactId",
+ "Location",
+ "Type"
+ ],
+ "groupByMetadata": [
+ {
+ "displayName": {
+ "en-us": "AccountType"
+ },
+ "fieldName": "AccountType",
+ "fieldType": "Edm.String"
+ },
+ {
+ "displayName": {
+ "en-us": "BranchId"
+ },
+ "fieldName": "BranchId",
+ "fieldType": "Edm.Int32"
+ },
+ {
+ "displayName": {
+ "en-us": "ContactId"
+ },
+ "fieldName": "ContactId",
+ "fieldType": "Edm.Int32"
+ },
+ {
+ "displayName": {
+ "en-us": "Location"
+ },
+ "fieldName": "Location",
+ "fieldType": "Edm.String"
+ },
+ {
+ "displayName": {
+ "en-us": "Type"
+ },
+ "fieldName": "Type",
+ "fieldType": "Edm.String"
+ }
+ ],
+ "kpiName": "MonthlyDeposits",
+ "participantProfilesMetadata": [],
+ "provisioningState": "Succeeded",
+ "tenantId": "sdkTestHub",
+ "thresHolds": {
+ "increasingKpi": true,
+ "lowerLimit": 0,
+ "upperLimit": 0
+ },
+ "unit": ""
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json
index 601cc85f3181..3fad518ca871 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesCreateOrUpdate.json
@@ -1,156 +1,172 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "profileName": "TestProfileType396",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "strongIds": [{
- "keyPropertyNames": ["Id",
- "SavingAccountBalance"],
- "strongIdName": "Id"
- },
- {
- "keyPropertyNames": ["ProfileId",
- "LastName"],
- "strongIdName": "ProfileId"
- }],
- "apiEntitySetName": "TestProfileType396",
- "fields": [{
- "fieldName": "Id",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "ProfileId",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "LastName",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "TestProfileType396",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "SavingAccountBalance",
- "fieldType": "Edm.Int32",
- "isArray": false,
- "isRequired": true
- }],
- "schemaItemTypeLink": "SchemaItemTypeLink",
- "smallImage": "\\\\Images\\\\smallImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "largeImage": "\\\\Images\\\\LargeImage"
- }
- }
- },
- "responses": {
- "202": {
-
- },
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
- "name": "azSdkTestHub/TestProfileType396",
- "properties": {
- "strongIds": [{
- "keyPropertyNames": ["Id",
- "savingAccountBalance"],
- "strongIdName": "Id"
- },
- {
- "keyPropertyNames": ["ProfileId",
- "LastName"],
- "strongIdName": "ProfileId"
- },
- {
- "keyPropertyNames": ["ProfileId"],
- "strongIdName": "ProfileId"
- }],
- "apiEntitySetName": "TestProfileType396",
- "entityType": "Profile",
- "fields": [{
- "fieldName": "Id",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "ProfileId",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "LastName",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "TestProfileType396",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "SavingAccountBalance",
- "fieldType": "Edm.Int32",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "schemaItemTypeLink": "SchemaItemTypeLink",
- "tenantId": "azsdktesthub",
- "typeName": "TestProfileType396",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage"
- },
- "type": "Microsoft.CustomerInsights/hubs/profiles"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "profileName": "TestProfileType396",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "strongIds": [
+ {
+ "keyPropertyNames": [
+ "Id",
+ "SavingAccountBalance"
+ ],
+ "strongIdName": "Id"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId",
+ "LastName"
+ ],
+ "strongIdName": "ProfileId"
+ }
+ ],
+ "apiEntitySetName": "TestProfileType396",
+ "fields": [
+ {
+ "fieldName": "Id",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "ProfileId",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "LastName",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "TestProfileType396",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "SavingAccountBalance",
+ "fieldType": "Edm.Int32",
+ "isArray": false,
+ "isRequired": true
+ }
+ ],
+ "schemaItemTypeLink": "SchemaItemTypeLink",
+ "smallImage": "\\\\Images\\\\smallImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "largeImage": "\\\\Images\\\\LargeImage"
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
+ "name": "azSdkTestHub/TestProfileType396",
+ "properties": {
+ "strongIds": [
+ {
+ "keyPropertyNames": [
+ "Id",
+ "savingAccountBalance"
+ ],
+ "strongIdName": "Id"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId",
+ "LastName"
+ ],
+ "strongIdName": "ProfileId"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId"
+ ],
+ "strongIdName": "ProfileId"
+ }
+ ],
+ "apiEntitySetName": "TestProfileType396",
+ "entityType": "Profile",
+ "fields": [
+ {
+ "fieldName": "Id",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "ProfileId",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "LastName",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "TestProfileType396",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "SavingAccountBalance",
+ "fieldType": "Edm.Int32",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "schemaItemTypeLink": "SchemaItemTypeLink",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestProfileType396",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/profiles"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json
index ff9486f362a3..17435c69ab85 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesDelete.json
@@ -1,20 +1,14 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "profileName": "TestProfileType396",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- },
- "204": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "profileName": "TestProfileType396",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json
index ffeeb1edc348..0fca793d9440 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesGet.json
@@ -1,104 +1,114 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "profileName": "TestProfileType396",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
- "name": "azSdkTestHub/TestProfileType396",
- "properties": {
- "strongIds": [{
- "keyPropertyNames": ["Id",
- "savingAccountBalance"],
- "strongIdName": "Id"
- },
- {
- "keyPropertyNames": ["ProfileId",
- "LastName"],
- "strongIdName": "ProfileId"
- },
- {
- "keyPropertyNames": ["ProfileId"],
- "strongIdName": "ProfileId"
- }],
- "apiEntitySetName": "TestProfileType396",
- "entityType": "Profile",
- "fields": [{
- "fieldName": "Id",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "ProfileId",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "LastName",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "TestProfileType396",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "SavingAccountBalance",
- "fieldType": "Edm.Int32",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "schemaItemTypeLink": "SchemaItemTypeLink",
- "tenantId": "azsdktesthub",
- "typeName": "TestProfileType396",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage"
- },
- "type": "Microsoft.CustomerInsights/hubs/profiles"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "profileName": "TestProfileType396",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
+ "name": "azSdkTestHub/TestProfileType396",
+ "properties": {
+ "strongIds": [
+ {
+ "keyPropertyNames": [
+ "Id",
+ "savingAccountBalance"
+ ],
+ "strongIdName": "Id"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId",
+ "LastName"
+ ],
+ "strongIdName": "ProfileId"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId"
+ ],
+ "strongIdName": "ProfileId"
+ }
+ ],
+ "apiEntitySetName": "TestProfileType396",
+ "entityType": "Profile",
+ "fields": [
+ {
+ "fieldName": "Id",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "ProfileId",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "LastName",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "TestProfileType396",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "SavingAccountBalance",
+ "fieldType": "Edm.Int32",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "schemaItemTypeLink": "SchemaItemTypeLink",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestProfileType396",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/profiles"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json
index 4442c3826d5d..5afff68434b9 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json
@@ -1,106 +1,118 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
- "name": "azSdkTestHub/TestProfileType396",
- "properties": {
- "strongIds": [{
- "keyPropertyNames": ["Id",
- "savingAccountBalance"],
- "strongIdName": "Id"
- },
- {
- "keyPropertyNames": ["ProfileId",
- "LastName"],
- "strongIdName": "ProfileId"
- },
- {
- "keyPropertyNames": ["ProfileId"],
- "strongIdName": "ProfileId"
- }],
- "apiEntitySetName": "TestProfileType396",
- "entityType": "Profile",
- "fields": [{
- "fieldName": "Id",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "ProfileId",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "LastName",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "TestProfileType396",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "SavingAccountBalance",
- "fieldType": "Edm.Int32",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "schemaItemTypeLink": "SchemaItemTypeLink",
- "tenantId": "azsdktesthub",
- "typeName": "TestProfileType396",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage"
- },
- "type": "Microsoft.CustomerInsights/hubs/profiles"
- }],
- "nextLink": ""
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
+ "name": "azSdkTestHub/TestProfileType396",
+ "properties": {
+ "strongIds": [
+ {
+ "keyPropertyNames": [
+ "Id",
+ "savingAccountBalance"
+ ],
+ "strongIdName": "Id"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId",
+ "LastName"
+ ],
+ "strongIdName": "ProfileId"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId"
+ ],
+ "strongIdName": "ProfileId"
+ }
+ ],
+ "apiEntitySetName": "TestProfileType396",
+ "entityType": "Profile",
+ "fields": [
+ {
+ "fieldName": "Id",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "ProfileId",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "LastName",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "TestProfileType396",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "SavingAccountBalance",
+ "fieldType": "Edm.Int32",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "schemaItemTypeLink": "SchemaItemTypeLink",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestProfileType396",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/profiles"
+ }
+ ],
+ "nextLink": ""
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json
index 49c778ee9665..75acab7d4914 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json
@@ -1,63 +1,69 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipLinkName": "Somelink",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "description": {
- "en-us": "Link Description"
- },
- "interactionType": "testInteraction4332",
- "linkName": "Somelink",
- "profilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relationshipName": "testProfile2326994"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
- "name": "sdkTestHub/Somelink",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "interactionType": "testInteraction4332",
- "linkName": "Somelink",
- "profilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relationshipName": "testProfile2326994",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipLinkName": "Somelink",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "description": {
+ "en-us": "Link Description"
+ },
+ "interactionType": "testInteraction4332",
+ "linkName": "Somelink",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relationshipName": "testProfile2326994"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
+ "name": "sdkTestHub/Somelink",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "interactionType": "testInteraction4332",
+ "linkName": "Somelink",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relationshipName": "testProfile2326994",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json
index 373fd21aa152..0760121175c2 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksDelete.json
@@ -1,17 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipLinkName": "Somelink",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipLinkName": "Somelink",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json
index b19354bee869..193231fc3666 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksGet.json
@@ -1,39 +1,43 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipLinkName": "Somelink",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
- "name": "sdkTestHub/Somelink",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "interactionType": "testInteraction4332",
- "linkName": "Somelink",
- "profilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relationshipName": "testProfile2326994",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipLinkName": "Somelink",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
+ "name": "sdkTestHub/Somelink",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "interactionType": "testInteraction4332",
+ "linkName": "Somelink",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relationshipName": "testProfile2326994",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json
index 220b1adccf7f..d9d63564955c 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipLinksListByHub.json
@@ -1,40 +1,46 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
- "name": "sdkTestHub/Somelink",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "interactionType": "testInteraction4332",
- "linkName": "Somelink",
- "profilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relationshipName": "testProfile2326994",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
+ "name": "sdkTestHub/Somelink",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "interactionType": "testInteraction4332",
+ "linkName": "Somelink",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relationshipName": "testProfile2326994",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json
index d6db25d0de72..7dda783d91f0 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsCreateOrUpdate.json
@@ -1,51 +1,49 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipName": "SomeRelationship",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "cardinality": "OneToOne",
- "displayName": {
- "en-us": "Relationship DisplayName"
- },
- "description": {
- "en-us": "Relationship Description"
- },
- "fields": [],
- "profileType": "testProfile2326994",
- "relatedProfileType": "testProfile2326994"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
- "name": "sdkTestHub/testProfile2326994",
- "properties": {
- "cardinality": "OneToOne",
- "description": {
- "en-us": "Relationship Description"
- },
- "displayName": {
- "en-us": "Relationship DisplayName"
- },
- "fields": [],
- "lookupMappings": [],
- "profileType": "testProfile2326994",
- "provisioningState": "Provisioning",
- "relatedProfileType": "testProfile2326994",
- "relationshipName": "SomeRelationship",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationships"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipName": "SomeRelationship",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "cardinality": "OneToOne",
+ "displayName": {
+ "en-us": "Relationship DisplayName"
+ },
+ "description": {
+ "en-us": "Relationship Description"
+ },
+ "fields": [],
+ "profileType": "testProfile2326994",
+ "relatedProfileType": "testProfile2326994"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
+ "name": "sdkTestHub/testProfile2326994",
+ "properties": {
+ "cardinality": "OneToOne",
+ "description": {
+ "en-us": "Relationship Description"
+ },
+ "displayName": {
+ "en-us": "Relationship DisplayName"
+ },
+ "fields": [],
+ "lookupMappings": [],
+ "profileType": "testProfile2326994",
+ "provisioningState": "Provisioning",
+ "relatedProfileType": "testProfile2326994",
+ "relationshipName": "SomeRelationship",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationships"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json
index a28259d3e262..b988c9aebeb2 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsDelete.json
@@ -1,17 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipName": "SomeRelationship",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipName": "SomeRelationship",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json
index 7135827b9b34..33b86ccb1608 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsGet.json
@@ -1,34 +1,34 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipName": "SomeRelationship",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
- "name": "sdkTestHub/testProfile2326994",
- "properties": {
- "cardinality": "OneToOne",
- "description": {
- "en-us": "Relationship Description"
- },
- "displayName": {
- "en-us": "Relationship DisplayName"
- },
- "fields": [],
- "lookupMappings": [],
- "profileType": "testProfile2326994",
- "provisioningState": "Provisioning",
- "relatedProfileType": "testProfile2326994",
- "relationshipName": "SomeRelationship",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationships"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipName": "SomeRelationship",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
+ "name": "sdkTestHub/testProfile2326994",
+ "properties": {
+ "cardinality": "OneToOne",
+ "description": {
+ "en-us": "Relationship Description"
+ },
+ "displayName": {
+ "en-us": "Relationship DisplayName"
+ },
+ "fields": [],
+ "lookupMappings": [],
+ "profileType": "testProfile2326994",
+ "provisioningState": "Provisioning",
+ "relatedProfileType": "testProfile2326994",
+ "relationshipName": "SomeRelationship",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationships"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json
index 67ab7fdf6074..9ed418bd4c8a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RelationshipsListByHub.json
@@ -1,35 +1,37 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
- "name": "sdkTestHub/testProfile2326994",
- "properties": {
- "cardinality": "OneToOne",
- "description": {
- "en-us": "Relationship Description"
- },
- "displayName": {
- "en-us": "Relationship DisplayName"
- },
- "fields": [],
- "lookupMappings": [],
- "profileType": "testProfile2326994",
- "provisioningState": "Provisioning",
- "relatedProfileType": "testProfile2326994",
- "relationshipName": "SomeRelationship",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationships"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
+ "name": "sdkTestHub/testProfile2326994",
+ "properties": {
+ "cardinality": "OneToOne",
+ "description": {
+ "en-us": "Relationship Description"
+ },
+ "displayName": {
+ "en-us": "Relationship DisplayName"
+ },
+ "fields": [],
+ "lookupMappings": [],
+ "profileType": "testProfile2326994",
+ "provisioningState": "Provisioning",
+ "relatedProfileType": "testProfile2326994",
+ "relationshipName": "SomeRelationship",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationships"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json
index eaab4cf33e00..a01f09cae88d 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json
@@ -1,48 +1,50 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "assignmentName": "assignmentName8976",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "role": "Admin",
- "principals": [{
- "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e",
- "principalType": "User"
- },
- {
- "principalId": "93061d15a5054f2b9948ae25724cf9d5",
- "principalType": "User"
- }]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
- "name": "azSdkTestHub/assignmentName8976",
- "properties": {
- "assignmentName": "assignmentName8976",
- "principals": [{
- "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
- "principalType": "User"
- },
- {
- "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
- "principalType": "User"
- }],
- "provisioningState": "Provisioning",
- "role": "Admin",
- "tenantId": "azsdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "assignmentName": "assignmentName8976",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "role": "Admin",
+ "principals": [
+ {
+ "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e",
+ "principalType": "User"
+ },
+ {
+ "principalId": "93061d15a5054f2b9948ae25724cf9d5",
+ "principalType": "User"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
+ "name": "azSdkTestHub/assignmentName8976",
+ "properties": {
+ "assignmentName": "assignmentName8976",
+ "principals": [
+ {
+ "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
+ "principalType": "User"
+ },
+ {
+ "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
+ "principalType": "User"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "role": "Admin",
+ "tenantId": "azsdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json
index 3d09176089b2..b1c07bb61fa7 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsDelete.json
@@ -1,20 +1,14 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "assignmentName": "assignmentName8976",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- },
- "204": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "assignmentName": "assignmentName8976",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json
index a31f046442b8..fe43bff10e94 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsGet.json
@@ -1,32 +1,34 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "assignmentName": "assignmentName8976",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
- "name": "azSdkTestHub/assignmentName8976",
- "properties": {
- "assignmentName": "assignmentName8976",
- "principals": [{
- "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
- "principalType": "User"
- },
- {
- "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
- "principalType": "User"
- }],
- "provisioningState": "Provisioning",
- "role": "Admin",
- "tenantId": "azsdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "assignmentName": "assignmentName8976",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
+ "name": "azSdkTestHub/assignmentName8976",
+ "properties": {
+ "assignmentName": "assignmentName8976",
+ "principals": [
+ {
+ "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
+ "principalType": "User"
+ },
+ {
+ "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
+ "principalType": "User"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "role": "Admin",
+ "tenantId": "azsdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json
index c126a24df81b..692b169a1337 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RoleAssignmentsListByHub.json
@@ -1,33 +1,37 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
- "name": "azSdkTestHub/assignmentName8976",
- "properties": {
- "assignmentName": "assignmentName8976",
- "principals": [{
- "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
- "principalType": "User"
- },
- {
- "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
- "principalType": "User"
- }],
- "provisioningState": "Provisioning",
- "role": "Admin",
- "tenantId": "azsdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
+ "name": "azSdkTestHub/assignmentName8976",
+ "properties": {
+ "assignmentName": "assignmentName8976",
+ "principals": [
+ {
+ "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
+ "principalType": "User"
+ },
+ {
+ "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
+ "principalType": "User"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "role": "Admin",
+ "tenantId": "azsdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json
index 183fc0add0b4..d2a7e225ad6f 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/RolesListByHub.json
@@ -1,23 +1,25 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin",
- "name": "azSdkTestHub/Admin",
- "properties": {
- "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.",
- "roleName": "Admin"
- },
- "type": "Microsoft.CustomerInsights/hubs/Roles"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin",
+ "name": "azSdkTestHub/Admin",
+ "properties": {
+ "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.",
+ "roleName": "Admin"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/Roles"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json
index 983262206e7e..e0f701096211 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsCreateOrUpdate.json
@@ -1,36 +1,36 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "viewName": "testView",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "userId": "testUser",
- "displayName": {
- "en": "some name"
- },
- "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
- "name": "sdkTestHub/testView",
- "properties": {
- "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
- "displayName": {
- "en": "some name"
- },
- "tenantId": "sdktesthub",
- "userId": "*",
- "viewName": "testView"
- },
- "type": "Microsoft.CustomerInsights/hubs/views"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "viewName": "testView",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "userId": "testUser",
+ "displayName": {
+ "en": "some name"
+ },
+ "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
+ "name": "sdkTestHub/testView",
+ "properties": {
+ "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
+ "displayName": {
+ "en": "some name"
+ },
+ "tenantId": "sdktesthub",
+ "userId": "*",
+ "viewName": "testView"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/views"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json
index 6cbd4c997f21..1466e13530a0 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsDelete.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "viewName": "testView",
- "userId": "*",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "viewName": "testView",
+ "userId": "*",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json
index 63a648684119..c824b00d4dd9 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsGet.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "viewName": "testView",
- "userId": "*",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
- "name": "sdkTestHub/testView",
- "properties": {
- "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
- "displayName": {
- "en": "some name"
- },
- "tenantId": "sdktesthub",
- "userId": "*",
- "viewName": "testView"
- },
- "type": "Microsoft.CustomerInsights/hubs/views"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "viewName": "testView",
+ "userId": "*",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
+ "name": "sdkTestHub/testView",
+ "properties": {
+ "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
+ "displayName": {
+ "en": "some name"
+ },
+ "tenantId": "sdktesthub",
+ "userId": "*",
+ "viewName": "testView"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/views"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json
index 949fd4c32c86..34613c9b814f 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ViewsListByHub.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "userId": "*",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
- "name": "sdkTestHub/testView",
- "properties": {
- "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
- "displayName": {
- "en": "some name"
- },
- "tenantId": "sdktesthub",
- "userId": "*",
- "viewName": "testView"
- },
- "type": "Microsoft.CustomerInsights/hubs/views"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "userId": "*",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
+ "name": "sdkTestHub/testView",
+ "properties": {
+ "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
+ "displayName": {
+ "en": "some name"
+ },
+ "tenantId": "sdktesthub",
+ "userId": "*",
+ "viewName": "testView"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/views"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json
index 35507b6bd9ee..31edc695e598 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesGet.json
@@ -1,26 +1,26 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "widgetTypeName": "ActivityGauge",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge",
- "name": "sdkTestHub/ActivityGauge",
- "properties": {
- "widgetTypeName": "ActivityGauge",
- "tenantId": "*",
- "description": "",
- "definition": "",
- "imageUrl": "",
- "widgetVersion": "2016-01-01"
- },
- "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "widgetTypeName": "ActivityGauge",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge",
+ "name": "sdkTestHub/ActivityGauge",
+ "properties": {
+ "widgetTypeName": "ActivityGauge",
+ "tenantId": "*",
+ "description": "",
+ "definition": "",
+ "imageUrl": "",
+ "widgetVersion": "2016-01-01"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json
index 9796c694033c..0a778bb5d1f3 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/WidgetTypesListByHub.json
@@ -1,40 +1,42 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge",
- "name": "sdkTestHub/ActivityGauge",
- "properties": {
- "widgetTypeName": "ActivityGauge",
- "tenantId": "*",
- "description": "",
- "definition": "",
- "imageUrl": "",
- "widgetVersion": "2016-01-01"
- },
- "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
- },
- {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart",
- "name": "sdkTestHub/AsterChart",
- "properties": {
- "widgetTypeName": "AsterChart",
- "tenantId": "*",
- "description": "",
- "definition": "",
- "imageUrl": "",
- "widgetVersion": "2016-01-01"
- },
- "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge",
+ "name": "sdkTestHub/ActivityGauge",
+ "properties": {
+ "widgetTypeName": "ActivityGauge",
+ "tenantId": "*",
+ "description": "",
+ "definition": "",
+ "imageUrl": "",
+ "widgetVersion": "2016-01-01"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
+ },
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart",
+ "name": "sdkTestHub/AsterChart",
+ "properties": {
+ "widgetTypeName": "AsterChart",
+ "tenantId": "*",
+ "description": "",
+ "definition": "",
+ "imageUrl": "",
+ "widgetVersion": "2016-01-01"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json
index 3c0353f8a491..3fd7162a8e9e 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json
@@ -44,7 +44,9 @@
],
"operationId": "Operations_List",
"x-ms-examples": {
- "DCIOperations_List": { "$ref": "./examples/DCIOperations_List.json" }
+ "DCIOperations_List": {
+ "$ref": "./examples/DCIOperations_List.json"
+ }
},
"description": "Lists all of the available Customer Insights REST API operations.",
"parameters": [
@@ -6517,4 +6519,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json
index 14d860ac082b..e30b0f50550a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json
@@ -2,14 +2,16 @@
"parameters": {
"hubName": "azSdkTestHub",
"resourceGroupName": "TestHubRG",
- "authorizationPolicyName": "testPolicy4222",
+ "authorizationPolicyName": "testPolicy4222",
"api-version": "2016-01-01",
"subscriptionId": "subid",
"parameters": {
"properties": {
- "permissions": ["Read",
- "Write",
- "Manage"]
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ]
}
}
},
@@ -20,12 +22,14 @@
"name": "testPolicy4222",
"type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies",
"properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4222",
- "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4222",
+ "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
}
}
},
@@ -35,14 +39,16 @@
"name": "testPolicy4222",
"type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies",
"properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4222",
- "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4222",
+ "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json
index 2cfbc82731a6..4e59c0c29c69 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesGet.json
@@ -1,26 +1,28 @@
{
- "parameters": {
- "hubName": "azSdkTestHub",
- "resourceGroupName": "TestHubRG",
- "authorizationPolicyName": "testPolicy4222",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222",
- "name": "azSdkTestHub/testPolicy4222",
- "properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4222",
- "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
- },
- "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "azSdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "authorizationPolicyName": "testPolicy4222",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy4222",
+ "name": "azSdkTestHub/testPolicy4222",
+ "properties": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4222",
+ "primaryKey": "cHJpbWFyeVRlc3RSZWFk",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ },
+ "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json
index c0af0c058ab2..7bb7493fa7e2 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesListByHub.json
@@ -1,40 +1,46 @@
{
- "parameters": {
- "hubName": "azSdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey",
- "name": "azSdkTestHub/RootManageSharedAccessKey",
- "properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "RootManageSharedAccessKey",
- "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=",
- "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ="
- },
- "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
- },
- {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125",
- "name": "azSdkTestHub/testPolicy1125",
- "properties": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy1125",
- "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
- },
- "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "azSdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/RootManageSharedAccessKey",
+ "name": "azSdkTestHub/RootManageSharedAccessKey",
+ "properties": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "RootManageSharedAccessKey",
+ "primaryKey": "KEvPnaBbDbEdSch27GhFx/D5Smu1bZC8bCmG33fHyi4=",
+ "secondaryKey": "wvOahlAtWZh9127MVr1yYX2pPgioqFWGEUtp1ADbfcQ="
+ },
+ "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
+ },
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/AuthorizationPolicies/testPolicy1125",
+ "name": "azSdkTestHub/testPolicy1125",
+ "properties": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy1125",
+ "primaryKey": "3Nk5Yce0eQXHY3S+KDuUPKFS5NkOWLqtzNYEadh1WeI=",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ },
+ "type": "Microsoft.CustomerInsights/hubs/AuthorizationPolicies"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json
index 4fd4b5c2c94e..547425739bef 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json
@@ -1,21 +1,23 @@
{
- "parameters": {
- "hubName": "azSdkTestHub",
- "resourceGroupName": "TestHubRG",
- "authorizationPolicyName": "testPolicy4222",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4009",
- "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "azSdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "authorizationPolicyName": "testPolicy4222",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4009",
+ "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json
index 4fd4b5c2c94e..547425739bef 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json
@@ -1,21 +1,23 @@
{
- "parameters": {
- "hubName": "azSdkTestHub",
- "resourceGroupName": "TestHubRG",
- "authorizationPolicyName": "testPolicy4222",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "permissions": ["Read",
- "Write",
- "Manage"],
- "policyName": "testPolicy4009",
- "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=",
- "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "azSdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "authorizationPolicyName": "testPolicy4222",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "permissions": [
+ "Read",
+ "Write",
+ "Manage"
+ ],
+ "policyName": "testPolicy4009",
+ "primaryKey": "UXZMQlt3kbcUc7Mx6WMVsNWj5rTmG6/cg9UrTY9YuoY=",
+ "secondaryKey": "c2Vjb25kYXJ5VGVzdFJlYWQ="
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json
index a618ef8e989b..ded66bd2a2a2 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json
@@ -1,159 +1,165 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector8858",
- "mappingName": "testMapping12491",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "displayName": "testMapping12491",
- "description": "Test mapping",
- "mappingProperties": {
- "folderPath": "http://sample.dne/file",
- "fileFilter": "unknown",
- "hasHeader": false,
- "errorManagement": {
- "errorManagementType": "StopImport",
- "errorLimit": 10
- },
- "format": {
- "formatType": "TextFormat",
- "columnDelimiter": "|"
- },
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "structure": [{
- "propertyName": "unknwon1",
- "columnName": "unknown1",
- "isEncrypted": false
- },
- {
- "propertyName": "unknwon2",
- "columnName": "unknown2",
- "isEncrypted": true
- }],
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
- "name": "sdkTestHub/testConnector8858/testMapping12491",
- "properties": {
- "connectorMappingName": "testMapping12491",
- "connectorName": "testConnector8858",
- "connectorType": "AzureBlob",
- "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
- "description": "Test mapping",
- "displayName": "testMapping12491",
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "mappingProperties": {
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- },
- "errorManagement": {
- "errorLimit": 10,
- "errorManagementType": "StopImport"
- },
- "fileFilter": "unknown",
- "folderPath": "http://sample.dne/file",
- "format": {
- "columnDelimiter": "|",
- "acceptLanguage": "",
- "quoteCharacter": "\\\"",
- "quoteEscapeCharacter": "\\\"",
- "formatType": "TextFormat",
- "arraySeparator": ";"
- },
- "hasHeader": false,
- "structure": [{
- "columnName": "unknown1",
- "isEncrypted": false,
- "propertyName": "unknwon1"
- },
- {
- "columnName": "unknown2",
- "isEncrypted": true,
- "propertyName": "unknwon2"
- }]
- },
- "state": "Created",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
- "name": "sdkTestHub/testConnector8858/testMapping12491",
- "properties": {
- "connectorMappingName": "testMapping12491",
- "connectorName": "testConnector8858",
- "connectorType": "AzureBlob",
- "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
- "description": "Test mapping",
- "displayName": "testMapping12491",
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "mappingProperties": {
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- },
- "errorManagement": {
- "errorLimit": 10,
- "errorManagementType": "StopImport"
- },
- "fileFilter": "unknown",
- "folderPath": "http://sample.dne/file",
- "format": {
- "columnDelimiter": "|",
- "acceptLanguage": "",
- "quoteCharacter": "\\\"",
- "quoteEscapeCharacter": "\\\"",
- "formatType": "TextFormat",
- "arraySeparator": ";"
- },
- "hasHeader": false,
- "structure": [{
- "columnName": "unknown1",
- "isEncrypted": false,
- "propertyName": "unknwon1"
- },
- {
- "columnName": "unknown2",
- "isEncrypted": true,
- "propertyName": "unknwon2"
- }]
- },
- "state": "Created",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector8858",
+ "mappingName": "testMapping12491",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "displayName": "testMapping12491",
+ "description": "Test mapping",
+ "mappingProperties": {
+ "folderPath": "http://sample.dne/file",
+ "fileFilter": "unknown",
+ "hasHeader": false,
+ "errorManagement": {
+ "errorManagementType": "StopImport",
+ "errorLimit": 10
+ },
+ "format": {
+ "formatType": "TextFormat",
+ "columnDelimiter": "|"
+ },
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "structure": [
+ {
+ "propertyName": "unknwon1",
+ "columnName": "unknown1",
+ "isEncrypted": false
+ },
+ {
+ "propertyName": "unknwon2",
+ "columnName": "unknown2",
+ "isEncrypted": true
+ }
+ ],
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
+ "name": "sdkTestHub/testConnector8858/testMapping12491",
+ "properties": {
+ "connectorMappingName": "testMapping12491",
+ "connectorName": "testConnector8858",
+ "connectorType": "AzureBlob",
+ "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
+ "description": "Test mapping",
+ "displayName": "testMapping12491",
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "mappingProperties": {
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ },
+ "errorManagement": {
+ "errorLimit": 10,
+ "errorManagementType": "StopImport"
+ },
+ "fileFilter": "unknown",
+ "folderPath": "http://sample.dne/file",
+ "format": {
+ "columnDelimiter": "|",
+ "acceptLanguage": "",
+ "quoteCharacter": "\\\"",
+ "quoteEscapeCharacter": "\\\"",
+ "formatType": "TextFormat",
+ "arraySeparator": ";"
+ },
+ "hasHeader": false,
+ "structure": [
+ {
+ "columnName": "unknown1",
+ "isEncrypted": false,
+ "propertyName": "unknwon1"
+ },
+ {
+ "columnName": "unknown2",
+ "isEncrypted": true,
+ "propertyName": "unknwon2"
+ }
+ ]
+ },
+ "state": "Created",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
+ "name": "sdkTestHub/testConnector8858/testMapping12491",
+ "properties": {
+ "connectorMappingName": "testMapping12491",
+ "connectorName": "testConnector8858",
+ "connectorType": "AzureBlob",
+ "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
+ "description": "Test mapping",
+ "displayName": "testMapping12491",
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "mappingProperties": {
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ },
+ "errorManagement": {
+ "errorLimit": 10,
+ "errorManagementType": "StopImport"
+ },
+ "fileFilter": "unknown",
+ "folderPath": "http://sample.dne/file",
+ "format": {
+ "columnDelimiter": "|",
+ "acceptLanguage": "",
+ "quoteCharacter": "\\\"",
+ "quoteEscapeCharacter": "\\\"",
+ "formatType": "TextFormat",
+ "arraySeparator": ";"
+ },
+ "hasHeader": false,
+ "structure": [
+ {
+ "columnName": "unknown1",
+ "isEncrypted": false,
+ "propertyName": "unknwon1"
+ },
+ {
+ "columnName": "unknown2",
+ "isEncrypted": true,
+ "propertyName": "unknwon2"
+ }
+ ]
+ },
+ "state": "Created",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json
index 0d7f1846761c..924976644b8e 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsDelete.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector8858",
- "mappingName": "testMapping12491",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector8858",
+ "mappingName": "testMapping12491",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json
index 3bda377203e7..cf626302e2b8 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsGet.json
@@ -1,66 +1,68 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector8858",
- "mappingName": "testMapping12491",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
- "name": "sdkTestHub/testConnector8858/testMapping12491",
- "properties": {
- "connectorMappingName": "testMapping12491",
- "connectorName": "testConnector8858",
- "connectorType": "AzureBlob",
- "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
- "description": "Test mapping",
- "displayName": "testMapping12491",
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "mappingProperties": {
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- },
- "errorManagement": {
- "errorLimit": 10,
- "errorManagementType": "StopImport"
- },
- "fileFilter": "unknown",
- "folderPath": "http://sample.dne/file",
- "format": {
- "columnDelimiter": "|",
- "acceptLanguage": "",
- "quoteCharacter": "\\\"",
- "quoteEscapeCharacter": "\\\"",
- "formatType": "TextFormat",
- "arraySeparator": ";"
- },
- "hasHeader": false,
- "structure": [{
- "columnName": "unknown1",
- "isEncrypted": false,
- "propertyName": "unknwon1"
- },
- {
- "columnName": "unknown2",
- "isEncrypted": true,
- "propertyName": "unknwon2"
- }]
- },
- "state": "Created",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector8858",
+ "mappingName": "testMapping12491",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
+ "name": "sdkTestHub/testConnector8858/testMapping12491",
+ "properties": {
+ "connectorMappingName": "testMapping12491",
+ "connectorName": "testConnector8858",
+ "connectorType": "AzureBlob",
+ "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
+ "description": "Test mapping",
+ "displayName": "testMapping12491",
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "mappingProperties": {
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ },
+ "errorManagement": {
+ "errorLimit": 10,
+ "errorManagementType": "StopImport"
+ },
+ "fileFilter": "unknown",
+ "folderPath": "http://sample.dne/file",
+ "format": {
+ "columnDelimiter": "|",
+ "acceptLanguage": "",
+ "quoteCharacter": "\\\"",
+ "quoteEscapeCharacter": "\\\"",
+ "formatType": "TextFormat",
+ "arraySeparator": ";"
+ },
+ "hasHeader": false,
+ "structure": [
+ {
+ "columnName": "unknown1",
+ "isEncrypted": false,
+ "propertyName": "unknwon1"
+ },
+ {
+ "columnName": "unknown2",
+ "isEncrypted": true,
+ "propertyName": "unknwon2"
+ }
+ ]
+ },
+ "state": "Created",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json
index 5259745619e4..e3c7c8a6f67f 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorMappingsListByConnector.json
@@ -1,67 +1,71 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector8858",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
- "name": "sdkTestHub/testConnector8858/testMapping12491",
- "properties": {
- "connectorMappingName": "testMapping12491",
- "connectorName": "testConnector8858",
- "connectorType": "AzureBlob",
- "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
- "description": "Test mapping",
- "displayName": "testMapping12491",
- "entityType": "Interaction",
- "entityTypeName": "TestInteractionType2967",
- "mappingProperties": {
- "availability": {
- "frequency": "Hour",
- "interval": 5
- },
- "completeOperation": {
- "completionOperationType": "DeleteFile",
- "destinationFolder": "fakePath"
- },
- "errorManagement": {
- "errorLimit": 10,
- "errorManagementType": "StopImport"
- },
- "fileFilter": "unknown",
- "folderPath": "http://sample.dne/file",
- "format": {
- "columnDelimiter": "|",
- "acceptLanguage": "",
- "quoteCharacter": "\\\"",
- "quoteEscapeCharacter": "\\\"",
- "formatType": "TextFormat",
- "arraySeparator": ";"
- },
- "hasHeader": false,
- "structure": [{
- "columnName": "unknown1",
- "isEncrypted": false,
- "propertyName": "unknwon1"
- },
- {
- "columnName": "unknown2",
- "isEncrypted": true,
- "propertyName": "unknwon2"
- }]
- },
- "state": "Created",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector8858",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector8858/mappings/testMapping12491",
+ "name": "sdkTestHub/testConnector8858/testMapping12491",
+ "properties": {
+ "connectorMappingName": "testMapping12491",
+ "connectorName": "testConnector8858",
+ "connectorType": "AzureBlob",
+ "dataFormatId": "4619d4e7e8a64c1e9bc34907f9f46505",
+ "description": "Test mapping",
+ "displayName": "testMapping12491",
+ "entityType": "Interaction",
+ "entityTypeName": "TestInteractionType2967",
+ "mappingProperties": {
+ "availability": {
+ "frequency": "Hour",
+ "interval": 5
+ },
+ "completeOperation": {
+ "completionOperationType": "DeleteFile",
+ "destinationFolder": "fakePath"
+ },
+ "errorManagement": {
+ "errorLimit": 10,
+ "errorManagementType": "StopImport"
+ },
+ "fileFilter": "unknown",
+ "folderPath": "http://sample.dne/file",
+ "format": {
+ "columnDelimiter": "|",
+ "acceptLanguage": "",
+ "quoteCharacter": "\\\"",
+ "quoteEscapeCharacter": "\\\"",
+ "formatType": "TextFormat",
+ "arraySeparator": ";"
+ },
+ "hasHeader": false,
+ "structure": [
+ {
+ "columnName": "unknown1",
+ "isEncrypted": false,
+ "propertyName": "unknwon1"
+ },
+ {
+ "columnName": "unknown2",
+ "isEncrypted": true,
+ "propertyName": "unknwon2"
+ }
+ ]
+ },
+ "state": "Created",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors/mappings"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json
index 20c3288aa55f..93af22e94dac 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsCreateOrUpdate.json
@@ -1,49 +1,47 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "connectorType": "AzureBlob",
- "displayName": "testConnector",
- "description": "Test connector",
- "connectorProperties": {
- "connectionKeyVaultUrl": {
- "organizationId": "XXX",
- "organizationUrl": "https://XXX.crmlivetie.com/"
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
- "name": "sdkTestHub/testConnector",
- "properties": {
- "connectorId": 0,
- "connectorName": "testConnector",
- "connectorType": "AzureBlob",
- "description": "Test connector",
- "displayName": "testConnector",
- "state": "Creating",
- "tenantId": "sdktesthub",
- "connectorProperties": {
- "connectionKeyVaultUrl": {
- "organizationId": "XXX",
- "organizationUrl": "https://XXX.crmlivetie.com/"
- }
- }
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "connectorType": "AzureBlob",
+ "displayName": "testConnector",
+ "description": "Test connector",
+ "connectorProperties": {
+ "connectionKeyVaultUrl": {
+ "organizationId": "XXX",
+ "organizationUrl": "https://XXX.crmlivetie.com/"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
+ "name": "sdkTestHub/testConnector",
+ "properties": {
+ "connectorId": 0,
+ "connectorName": "testConnector",
+ "connectorType": "AzureBlob",
+ "description": "Test connector",
+ "displayName": "testConnector",
+ "state": "Creating",
+ "tenantId": "sdktesthub",
+ "connectorProperties": {
+ "connectionKeyVaultUrl": {
+ "organizationId": "XXX",
+ "organizationUrl": "https://XXX.crmlivetie.com/"
+ }
+ }
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json
index 223bbe751413..c9d4054fe03a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsDelete.json
@@ -1,20 +1,14 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- },
- "204": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json
index 8eb04134ad71..cd50e4833616 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsGet.json
@@ -1,33 +1,33 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "connectorName": "testConnector",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
- "name": "sdkTestHub/testConnector",
- "properties": {
- "connectorId": 0,
- "connectorName": "testConnector",
- "connectorType": "AzureBlob",
- "description": "Test connector",
- "displayName": "testConnector",
- "state": "Creating",
- "tenantId": "sdktesthub",
- "connectorProperties": {
- "connectionKeyVaultUrl": {
- "organizationId": "XXX",
- "organizationUrl": "https://XXX.crmlivetie.com/"
- }
- }
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "connectorName": "testConnector",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
+ "name": "sdkTestHub/testConnector",
+ "properties": {
+ "connectorId": 0,
+ "connectorName": "testConnector",
+ "connectorType": "AzureBlob",
+ "description": "Test connector",
+ "displayName": "testConnector",
+ "state": "Creating",
+ "tenantId": "sdktesthub",
+ "connectorProperties": {
+ "connectionKeyVaultUrl": {
+ "organizationId": "XXX",
+ "organizationUrl": "https://XXX.crmlivetie.com/"
+ }
+ }
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json
index 13f587390507..5dbcbb24dabc 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ConnectorsListByHub.json
@@ -1,34 +1,36 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
- "name": "sdkTestHub/testConnector",
- "properties": {
- "connectorId": 0,
- "connectorName": "testConnector",
- "connectorType": "AzureBlob",
- "description": "Test connector",
- "displayName": "testConnector",
- "state": "Creating",
- "tenantId": "sdktesthub",
- "connectorProperties": {
- "connectionKeyVaultUrl": {
- "organizationId": "XXX",
- "organizationUrl": "https://XXX.crmlivetie.com/"
- }
- }
- },
- "type": "Microsoft.CustomerInsights/hubs/connectors"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/connectors/testConnector",
+ "name": "sdkTestHub/testConnector",
+ "properties": {
+ "connectorId": 0,
+ "connectorName": "testConnector",
+ "connectorType": "AzureBlob",
+ "description": "Test connector",
+ "displayName": "testConnector",
+ "state": "Creating",
+ "tenantId": "sdktesthub",
+ "connectorProperties": {
+ "connectionKeyVaultUrl": {
+ "organizationId": "XXX",
+ "organizationUrl": "https://XXX.crmlivetie.com/"
+ }
+ }
+ },
+ "type": "Microsoft.CustomerInsights/hubs/connectors"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json
index db43dc6f6242..5b6b170d8388 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json
@@ -289,4 +289,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json
index af90ced06152..d26a46e6c2dc 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsCreateOrUpdate.json
@@ -1,64 +1,60 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "location": "West US",
- "properties": {
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- }
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
- "location": "West US",
- "name": "testHub2839",
- "properties": {
- "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
- "provisioningState": "Creating",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
- "location": "East US",
- "name": "testHub2839",
- "properties": {
- "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
- "provisioningState": "Creating",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
+ "location": "West US",
+ "name": "testHub2839",
+ "properties": {
+ "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
+ "provisioningState": "Creating",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
+ "location": "East US",
+ "name": "testHub2839",
+ "properties": {
+ "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
+ "provisioningState": "Creating",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json
index 6afd4d1b4ddc..447e31547e47 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json
index ae0885c10cfa..75f252eaef7a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsGet.json
@@ -1,32 +1,30 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
- "location": "East US",
- "name": "testHub2839",
- "properties": {
- "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
- "provisioningState": "Creating",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
+ "location": "East US",
+ "name": "testHub2839",
+ "properties": {
+ "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
+ "provisioningState": "Creating",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json
index d86c96e024f6..4b5b14c95d5a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsList.json
@@ -1,52 +1,50 @@
{
- "parameters": {
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub",
- "location": "East US",
- "name": "azSdkTestHub",
- "properties": {
- "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net",
- "provisioningState": "Succeeded",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 1
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- },
- {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058",
- "location": "East US",
- "name": "testHub1058",
- "properties": {
- "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net",
- "provisioningState": "Succeeded",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub",
+ "location": "East US",
+ "name": "azSdkTestHub",
+ "properties": {
+ "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net",
+ "provisioningState": "Succeeded",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 1
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ },
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058",
+ "location": "East US",
+ "name": "testHub1058",
+ "properties": {
+ "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net",
+ "provisioningState": "Succeeded",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json
index ea16b5f3e3c9..4d7946a2a372 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsListByResourceGroup.json
@@ -1,53 +1,51 @@
{
- "parameters": {
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "resourceGroupName": "TestHubRG"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub",
- "location": "East US",
- "name": "azSdkTestHub",
- "properties": {
- "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net",
- "provisioningState": "Succeeded",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 1
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- },
- {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058",
- "location": "East US",
- "name": "testHub1058",
- "properties": {
- "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net",
- "provisioningState": "Succeeded",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "TestHubRG"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub",
+ "location": "East US",
+ "name": "azSdkTestHub",
+ "properties": {
+ "apiEndpoint": "https://azSdkTestHub.dfd.projectuic-int.net",
+ "provisioningState": "Succeeded",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 1
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://azSdkTestHub.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ },
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub1058",
+ "location": "East US",
+ "name": "testHub1058",
+ "properties": {
+ "apiEndpoint": "https://testHub1058.dfd.projectuic-int.net",
+ "provisioningState": "Succeeded",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub1058.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json
index 3adb220f2dc6..068afee45e73 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/HubsUpdate.json
@@ -1,42 +1,40 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "location": "West US",
- "properties": {
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
- "location": "East US",
- "name": "testHub2839",
- "properties": {
- "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
- "provisioningState": "Created",
- "hubBillingInfo": {
- "skuName": "B0",
- "minUnits": 1,
- "maxUnits": 5
- },
- "tenantFeatures": 0,
- "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
- },
- "tags": {
-
- },
- "type": "Microsoft.CustomerInsights/hubs"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "location": "West US",
+ "properties": {
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/testHub2839",
+ "location": "East US",
+ "name": "testHub2839",
+ "properties": {
+ "apiEndpoint": "https://testHub2839.dfd.projectuic-int.net",
+ "provisioningState": "Created",
+ "hubBillingInfo": {
+ "skuName": "B0",
+ "minUnits": 1,
+ "maxUnits": 5
+ },
+ "tenantFeatures": 0,
+ "webEndpoint": "https://testHub2839.dfdapps.projectuic-int.net"
+ },
+ "tags": {},
+ "type": "Microsoft.CustomerInsights/hubs"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json
index 454860d5e639..3a252dda2637 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForData.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "entityType": "Profile",
- "entityTypeName": "Contact",
- "relativePath": "images/profile1.png"
- }
- },
- "responses": {
- "200": {
- "body": {
- "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw",
- "relativePath": "images/profile1.png",
- "imageExists": false
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "entityType": "Profile",
+ "entityTypeName": "Contact",
+ "relativePath": "images/profile1.png"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw",
+ "relativePath": "images/profile1.png",
+ "imageExists": false
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json
index 454860d5e639..3a252dda2637 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "entityType": "Profile",
- "entityTypeName": "Contact",
- "relativePath": "images/profile1.png"
- }
- },
- "responses": {
- "200": {
- "body": {
- "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw",
- "relativePath": "images/profile1.png",
- "imageExists": false
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "entityType": "Profile",
+ "entityTypeName": "Contact",
+ "relativePath": "images/profile1.png"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "contentUrl": "https://ucidfdbl2001img.blob.core.windows.net/images/3ac3a97a5e3246ffb41812f60fd9f83c/EntityTypeImage/Profile/Contact/images/profile1.png?sv=2015-04-05&sr=b&sig=yIt7DGVRTyNl15%2BPc0kO%2FDITJ2cExnBPVvvh6p86qdc%3D&se=2017-01-06T01%3A56%3A43Z&sp=cw",
+ "relativePath": "images/profile1.png",
+ "imageExists": false
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json
index aa4b51c848bb..62b75de081ee 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsCreateOrUpdate.json
@@ -1,78 +1,84 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "interactionName": "TestProfileType396",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "idPropertyNames": ["TestInteractionType6358"],
- "primaryParticipantProfilePropertyName": "profile1",
- "apiEntitySetName": "TestInteractionType6358",
- "fields": [{
- "fieldName": "TestInteractionType6358",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "profile1",
- "fieldType": "Edm.String"
- }],
- "smallImage": "\\\\Images\\\\smallImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "largeImage": "\\\\Images\\\\LargeImage"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
- "name": "azSdkTestHub/TestInteractionType6358",
- "properties": {
- "idPropertyNames": ["TestInteractionType6358"],
- "primaryParticipantProfilePropertyName": "profile1",
- "apiEntitySetName": "TestInteractionType6358",
- "entityType": "Interaction",
- "fields": [{
- "fieldName": "TestInteractionType6358",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "profile1",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "tenantId": "azsdktesthub",
- "typeName": "TestInteractionType6358",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage"
- },
- "type": "Microsoft.CustomerInsights/hubs/interactions"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "interactionName": "TestProfileType396",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "idPropertyNames": [
+ "TestInteractionType6358"
+ ],
+ "primaryParticipantProfilePropertyName": "profile1",
+ "apiEntitySetName": "TestInteractionType6358",
+ "fields": [
+ {
+ "fieldName": "TestInteractionType6358",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "profile1",
+ "fieldType": "Edm.String"
+ }
+ ],
+ "smallImage": "\\\\Images\\\\smallImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "largeImage": "\\\\Images\\\\LargeImage"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
+ "name": "azSdkTestHub/TestInteractionType6358",
+ "properties": {
+ "idPropertyNames": [
+ "TestInteractionType6358"
+ ],
+ "primaryParticipantProfilePropertyName": "profile1",
+ "apiEntitySetName": "TestInteractionType6358",
+ "entityType": "Interaction",
+ "fields": [
+ {
+ "fieldName": "TestInteractionType6358",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "profile1",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestInteractionType6358",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/interactions"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json
index 0aac643643d4..b77a19b39052 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsGet.json
@@ -1,88 +1,92 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "interactionName": "TestInteractionType6358",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
- "name": "azSdkTestHub/TestInteractionType6358",
- "properties": {
- "idPropertyNames": ["TestInteractionType6358"],
- "primaryParticipantProfilePropertyName": "profile1",
- "apiEntitySetName": "TestInteractionType6358",
- "entityType": "Interaction",
- "fields": [{
- "fieldName": "TestInteractionType6358",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1",
- "dataSourcePrecedenceRules": []
- },
- {
- "fieldName": "profile1",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1",
- "dataSourcePrecedenceRules": [
- {
- "dataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "precedence": 50
- }
- ]
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "tenantId": "azsdktesthub",
- "typeName": "TestInteractionType6358",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage",
- "defaultDataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "dataSourcePrecedenceRules": [
- {
- "dataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "precedence": 50
- }
- ],
- "isActivity": true
- },
- "type": "Microsoft.CustomerInsights/hubs/interactions"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "interactionName": "TestInteractionType6358",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
+ "name": "azSdkTestHub/TestInteractionType6358",
+ "properties": {
+ "idPropertyNames": [
+ "TestInteractionType6358"
+ ],
+ "primaryParticipantProfilePropertyName": "profile1",
+ "apiEntitySetName": "TestInteractionType6358",
+ "entityType": "Interaction",
+ "fields": [
+ {
+ "fieldName": "TestInteractionType6358",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1",
+ "dataSourcePrecedenceRules": []
+ },
+ {
+ "fieldName": "profile1",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1",
+ "dataSourcePrecedenceRules": [
+ {
+ "dataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "precedence": 50
+ }
+ ]
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestInteractionType6358",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage",
+ "defaultDataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "dataSourcePrecedenceRules": [
+ {
+ "dataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "precedence": 50
+ }
+ ],
+ "isActivity": true
+ },
+ "type": "Microsoft.CustomerInsights/hubs/interactions"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json
index 2d16aa54cef4..f532a73c7d85 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsListByHub.json
@@ -1,89 +1,95 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
- "name": "azSdkTestHub/TestInteractionType6358",
- "properties": {
- "idPropertyNames": ["TestInteractionType6358"],
- "primaryParticipantProfilePropertyName": "profile1",
- "apiEntitySetName": "TestInteractionType6358",
- "entityType": "Interaction",
- "fields": [{
- "fieldName": "TestInteractionType6358",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1",
- "dataSourcePrecedenceRules": []
- },
- {
- "fieldName": "profile1",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1",
- "dataSourcePrecedenceRules": [
- {
- "dataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "precedence": 50
- }
- ]
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "tenantId": "azsdktesthub",
- "typeName": "TestInteractionType6358",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage",
- "defaultDataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "dataSourcePrecedenceRules": [
- {
- "dataSource": {
- "dataSourceReferenceId": "70",
- "dataSourceType": "Connector",
- "name": "crm2",
- "status": "Active",
- "id": 1
- },
- "precedence": 50
- }
- ],
- "isActivity": true
- },
- "type": "Microsoft.CustomerInsights/hubs/interactions"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/interactions/TestInteractionType6358",
+ "name": "azSdkTestHub/TestInteractionType6358",
+ "properties": {
+ "idPropertyNames": [
+ "TestInteractionType6358"
+ ],
+ "primaryParticipantProfilePropertyName": "profile1",
+ "apiEntitySetName": "TestInteractionType6358",
+ "entityType": "Interaction",
+ "fields": [
+ {
+ "fieldName": "TestInteractionType6358",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1",
+ "dataSourcePrecedenceRules": []
+ },
+ {
+ "fieldName": "profile1",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1",
+ "dataSourcePrecedenceRules": [
+ {
+ "dataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "precedence": 50
+ }
+ ]
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestInteractionType6358",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage",
+ "defaultDataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "dataSourcePrecedenceRules": [
+ {
+ "dataSource": {
+ "dataSourceReferenceId": "70",
+ "dataSourceType": "Connector",
+ "name": "crm2",
+ "status": "Active",
+ "id": 1
+ },
+ "precedence": 50
+ }
+ ],
+ "isActivity": true
+ },
+ "type": "Microsoft.CustomerInsights/hubs/interactions"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json
index 504cb8b9d223..8fa2f3ab4138 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json
@@ -1,40 +1,50 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "interactionName": "Deposit",
- "api-version": "2017-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "interactionName": "Deposit",
- "suggestedRelationships": [{
- "profileName": "Branch",
- "profilePropertyReferences": [{
- "interactionPropertyName": "BranchId",
- "profilePropertyName": "BranchId"
- }],
- "relatedProfileName": "Contact",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "ContactId",
- "profilePropertyName": "ContactId"
- }]
- },
- {
- "profileName": "Contact",
- "profilePropertyReferences": [{
- "interactionPropertyName": "ContactId",
- "profilePropertyName": "ContactId"
- }],
- "relatedProfileName": "Branch",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "BranchId",
- "profilePropertyName": "BranchId"
- }]
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "interactionName": "Deposit",
+ "api-version": "2017-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "interactionName": "Deposit",
+ "suggestedRelationships": [
+ {
+ "profileName": "Branch",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "BranchId",
+ "profilePropertyName": "BranchId"
+ }
+ ],
+ "relatedProfileName": "Contact",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "ContactId",
+ "profilePropertyName": "ContactId"
+ }
+ ]
+ },
+ {
+ "profileName": "Contact",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "ContactId",
+ "profilePropertyName": "ContactId"
+ }
+ ],
+ "relatedProfileName": "Branch",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "BranchId",
+ "profilePropertyName": "BranchId"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json
index bc06a79c3e8a..25f7bf4e8e5d 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiCreateOrUpdate.json
@@ -1,74 +1,80 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "kpiName": "kpiTest45453647",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "entityType": "Profile",
- "entityTypeName": "testProfile2327128",
- "displayName": {
- "en-us": "Kpi DisplayName"
- },
- "description": {
- "en-us": "Kpi Description"
- },
- "calculationWindow": "Day",
- "function": "Sum",
- "expression": "SavingAccountBalance",
- "unit": "unit",
- "groupBy": ["SavingAccountBalance"],
- "thresHolds": {
- "lowerLimit": 5.0,
- "upperLimit": 50.0,
- "increasingKpi": true
- },
- "aliases": [{
- "aliasName": "alias",
- "expression": "Id+4"
- }]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
- "name": "sdkTestHub/kpiTest45453647",
- "properties": {
- "aliases": [{
- "aliasName": "alias",
- "expression": "Id+4"
- }],
- "calculationWindow": "Day",
- "description": {
- "en-us": "Kpi Description"
- },
- "displayName": {
- "en-us": "Kpi DisplayName"
- },
- "entityType": "Profile",
- "entityTypeName": "testProfile2327128",
- "expression": "SavingAccountBalance",
- "function": "Sum",
- "groupBy": ["SavingAccountBalance"],
- "kpiName": "kpiTest45453647",
- "provisioningState": "Provisioning",
- "tenantId": "sdktesthub",
- "thresHolds": {
- "increasingKpi": true,
- "lowerLimit": 5.0,
- "upperLimit": 50.0
- },
- "unit": "unit"
- },
- "type": "Microsoft.CustomerInsights/hubs/kpi"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "kpiName": "kpiTest45453647",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "entityType": "Profile",
+ "entityTypeName": "testProfile2327128",
+ "displayName": {
+ "en-us": "Kpi DisplayName"
+ },
+ "description": {
+ "en-us": "Kpi Description"
+ },
+ "calculationWindow": "Day",
+ "function": "Sum",
+ "expression": "SavingAccountBalance",
+ "unit": "unit",
+ "groupBy": [
+ "SavingAccountBalance"
+ ],
+ "thresHolds": {
+ "lowerLimit": 5.0,
+ "upperLimit": 50.0,
+ "increasingKpi": true
+ },
+ "aliases": [
+ {
+ "aliasName": "alias",
+ "expression": "Id+4"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
+ "name": "sdkTestHub/kpiTest45453647",
+ "properties": {
+ "aliases": [
+ {
+ "aliasName": "alias",
+ "expression": "Id+4"
+ }
+ ],
+ "calculationWindow": "Day",
+ "description": {
+ "en-us": "Kpi Description"
+ },
+ "displayName": {
+ "en-us": "Kpi DisplayName"
+ },
+ "entityType": "Profile",
+ "entityTypeName": "testProfile2327128",
+ "expression": "SavingAccountBalance",
+ "function": "Sum",
+ "groupBy": [
+ "SavingAccountBalance"
+ ],
+ "kpiName": "kpiTest45453647",
+ "provisioningState": "Provisioning",
+ "tenantId": "sdktesthub",
+ "thresHolds": {
+ "increasingKpi": true,
+ "lowerLimit": 5.0,
+ "upperLimit": 50.0
+ },
+ "unit": "unit"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/kpi"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json
index 493a641b7260..79bcb779b69b 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "kpiName": "kpiTest45453647",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {},
- "202": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "kpiName": "kpiTest45453647",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json
index 262b6a9ebfa0..150e0c4ecde8 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiGet.json
@@ -1,45 +1,49 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "kpiName": "kpiTest45453647",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
- "name": "sdkTestHub/kpiTest45453647",
- "properties": {
- "aliases": [{
- "aliasName": "alias",
- "expression": "Id+4"
- }],
- "calculationWindow": "Day",
- "description": {
- "en-us": "Kpi Description"
- },
- "displayName": {
- "en-us": "Kpi DisplayName"
- },
- "entityType": "Profile",
- "entityTypeName": "testProfile2327128",
- "expression": "SavingAccountBalance",
- "function": "Sum",
- "groupBy": ["SavingAccountBalance"],
- "kpiName": "kpiTest45453647",
- "provisioningState": "Provisioning",
- "tenantId": "sdktesthub",
- "thresHolds": {
- "increasingKpi": true,
- "lowerLimit": 5.0,
- "upperLimit": 50.0
- },
- "unit": "unit"
- },
- "type": "Microsoft.CustomerInsights/hubs/kpi"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "kpiName": "kpiTest45453647",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
+ "name": "sdkTestHub/kpiTest45453647",
+ "properties": {
+ "aliases": [
+ {
+ "aliasName": "alias",
+ "expression": "Id+4"
+ }
+ ],
+ "calculationWindow": "Day",
+ "description": {
+ "en-us": "Kpi Description"
+ },
+ "displayName": {
+ "en-us": "Kpi DisplayName"
+ },
+ "entityType": "Profile",
+ "entityTypeName": "testProfile2327128",
+ "expression": "SavingAccountBalance",
+ "function": "Sum",
+ "groupBy": [
+ "SavingAccountBalance"
+ ],
+ "kpiName": "kpiTest45453647",
+ "provisioningState": "Provisioning",
+ "tenantId": "sdktesthub",
+ "thresHolds": {
+ "increasingKpi": true,
+ "lowerLimit": 5.0,
+ "upperLimit": 50.0
+ },
+ "unit": "unit"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/kpi"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json
index 91c607454f85..d746eea2c4e1 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiListByHub.json
@@ -1,46 +1,52 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
- "name": "sdkTestHub/kpiTest45453647",
- "properties": {
- "aliases": [{
- "aliasName": "alias",
- "expression": "Id+4"
- }],
- "calculationWindow": "Day",
- "description": {
- "en-us": "Kpi Description"
- },
- "displayName": {
- "en-us": "Kpi DisplayName"
- },
- "entityType": "Profile",
- "entityTypeName": "testProfile2327128",
- "expression": "SavingAccountBalance",
- "function": "Sum",
- "groupBy": ["SavingAccountBalance"],
- "kpiName": "kpiTest45453647",
- "provisioningState": "Provisioning",
- "tenantId": "sdktesthub",
- "thresHolds": {
- "increasingKpi": true,
- "lowerLimit": 5.0,
- "upperLimit": 50.0
- },
- "unit": "unit"
- },
- "type": "Microsoft.CustomerInsights/hubs/kpi"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/kpi/kpiTest45453647",
+ "name": "sdkTestHub/kpiTest45453647",
+ "properties": {
+ "aliases": [
+ {
+ "aliasName": "alias",
+ "expression": "Id+4"
+ }
+ ],
+ "calculationWindow": "Day",
+ "description": {
+ "en-us": "Kpi Description"
+ },
+ "displayName": {
+ "en-us": "Kpi DisplayName"
+ },
+ "entityType": "Profile",
+ "entityTypeName": "testProfile2327128",
+ "expression": "SavingAccountBalance",
+ "function": "Sum",
+ "groupBy": [
+ "SavingAccountBalance"
+ ],
+ "kpiName": "kpiTest45453647",
+ "provisioningState": "Provisioning",
+ "tenantId": "sdktesthub",
+ "thresHolds": {
+ "increasingKpi": true,
+ "lowerLimit": 5.0,
+ "upperLimit": 50.0
+ },
+ "unit": "unit"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/kpi"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json
index 659260336127..83bd69594f4b 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/KpiReprocess.json
@@ -1,14 +1,12 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "kpiName": "kpiTest45453647",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "kpiName": "kpiTest45453647",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json
index 8f3c75f69ebe..e9b99509b62d 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksCreateOrUpdate.json
@@ -1,76 +1,76 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "linkName": "linkTest4806",
- "api-version": "2017-04-26",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "linkName": "linkTest4806",
- "sourceEntityTypeName": "testInteraction1949",
- "targetEntityTypeName": "testProfile1446",
- "sourceEntityType": "Interaction",
- "targetEntityType": "Profile",
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "description": {
- "en-us": "Link Description"
- },
- "mappings": [
- {
- "sourcePropertyName": "testInteraction1949",
- "targetPropertyName": "testProfile1446",
- "linkType": "UpdateAlways"
- }
- ],
- "participantPropertyReferences": [
- {
- "sourcePropertyName": "testInteraction1949",
- "targetPropertyName": "ProfileId"
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
- "name": "azSdkTestHub/linkTest4806",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "linkName": "linkTest4806",
- "mappings": [
- {
- "sourcePropertyName": "testInteraction1949",
- "targetPropertyName": "testProfile1446",
- "linkType": "UpdateAlways"
- }
- ],
- "participantPropertyReferences": [
- {
- "sourcePropertyName": "testInteraction1949",
- "targetPropertyName": "ProfileId"
- }
- ],
- "provisioningState": "Provisioning",
- "sourceEntityTypeName": "testInteraction1949",
- "targetEntityTypeName": "testProfile1446",
- "sourceEntityType": "Interaction",
- "targetEntityType": "Profile",
- "tenantId": "azsdktesthub",
- "referenceOnly": false
- },
- "type": "Microsoft.CustomerInsights/hubs/links"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "linkName": "linkTest4806",
+ "api-version": "2017-04-26",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "linkName": "linkTest4806",
+ "sourceEntityTypeName": "testInteraction1949",
+ "targetEntityTypeName": "testProfile1446",
+ "sourceEntityType": "Interaction",
+ "targetEntityType": "Profile",
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "description": {
+ "en-us": "Link Description"
+ },
+ "mappings": [
+ {
+ "sourcePropertyName": "testInteraction1949",
+ "targetPropertyName": "testProfile1446",
+ "linkType": "UpdateAlways"
+ }
+ ],
+ "participantPropertyReferences": [
+ {
+ "sourcePropertyName": "testInteraction1949",
+ "targetPropertyName": "ProfileId"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
+ "name": "azSdkTestHub/linkTest4806",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "linkName": "linkTest4806",
+ "mappings": [
+ {
+ "sourcePropertyName": "testInteraction1949",
+ "targetPropertyName": "testProfile1446",
+ "linkType": "UpdateAlways"
+ }
+ ],
+ "participantPropertyReferences": [
+ {
+ "sourcePropertyName": "testInteraction1949",
+ "targetPropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "sourceEntityTypeName": "testInteraction1949",
+ "targetEntityTypeName": "testProfile1446",
+ "sourceEntityType": "Interaction",
+ "targetEntityType": "Profile",
+ "tenantId": "azsdktesthub",
+ "referenceOnly": false
+ },
+ "type": "Microsoft.CustomerInsights/hubs/links"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json
index 2b41c5cb20f7..ad139857a18a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "linkName": "linkTest4806",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {},
- "202": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "linkName": "linkTest4806",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json
index 3721c651a7c8..985e1060bdbb 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksGet.json
@@ -1,43 +1,47 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "linkName": "linkTest4806",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
- "name": "azSdkTestHub/linkTest4806",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "linkName": "linkTest4806",
- "mappings": [{
- "sourcePropertyName": "testInteraction1949",
- "targetPropertyName": "testProfile1446",
- "linkType": "UpdateAlways"
- }],
- "participantPropertyReferences": [{
- "sourcePropertyName": "testInteraction1949",
- "targetPropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "sourceEntityTypeName": "testInteraction1949",
- "targetEntityTypeName": "testProfile1446",
- "sourceEntityType": "Interaction",
- "targetEntityType": "Profile",
- "tenantId": "azsdktesthub",
- "referenceOnly": false
- },
- "type": "Microsoft.CustomerInsights/hubs/links"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "linkName": "linkTest4806",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
+ "name": "azSdkTestHub/linkTest4806",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "linkName": "linkTest4806",
+ "mappings": [
+ {
+ "sourcePropertyName": "testInteraction1949",
+ "targetPropertyName": "testProfile1446",
+ "linkType": "UpdateAlways"
+ }
+ ],
+ "participantPropertyReferences": [
+ {
+ "sourcePropertyName": "testInteraction1949",
+ "targetPropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "sourceEntityTypeName": "testInteraction1949",
+ "targetEntityTypeName": "testProfile1446",
+ "sourceEntityType": "Interaction",
+ "targetEntityType": "Profile",
+ "tenantId": "azsdktesthub",
+ "referenceOnly": false
+ },
+ "type": "Microsoft.CustomerInsights/hubs/links"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json
index 335f4831167c..1454f17de1c4 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/LinksListByHub.json
@@ -1,44 +1,50 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
- "name": "azSdkTestHub/linkTest4806",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "linkName": "linkTest4806",
- "mappings": [{
- "sourcePropertyName": "testInteraction1949",
- "targetPropertyName": "testProfile1446",
- "linkType": "UpdateAlways"
- }],
- "participantPropertyReferences": [{
- "sourcePropertyName": "testInteraction1949",
- "targetPropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "sourceEntityTypeName": "testInteraction1949",
- "targetEntityTypeName": "testProfile1446",
- "sourceEntityType": "Interaction",
- "targetEntityType": "Profile",
- "tenantId": "azsdktesthub",
- "referenceOnly": false
- },
- "type": "Microsoft.CustomerInsights/hubs/links"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/links/linkTest4806",
+ "name": "azSdkTestHub/linkTest4806",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "linkName": "linkTest4806",
+ "mappings": [
+ {
+ "sourcePropertyName": "testInteraction1949",
+ "targetPropertyName": "testProfile1446",
+ "linkType": "UpdateAlways"
+ }
+ ],
+ "participantPropertyReferences": [
+ {
+ "sourcePropertyName": "testInteraction1949",
+ "targetPropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "sourceEntityTypeName": "testInteraction1949",
+ "targetEntityTypeName": "testProfile1446",
+ "sourceEntityType": "Interaction",
+ "targetEntityType": "Profile",
+ "tenantId": "azsdktesthub",
+ "referenceOnly": false
+ },
+ "type": "Microsoft.CustomerInsights/hubs/links"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json
index b8b9807b3fd7..931d3030920f 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsCreateOrUpdate.json
@@ -82,4 +82,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json
index 2e1ef40f66da..a2b44064352b 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsDelete.json
@@ -10,4 +10,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json
index c63804a35307..9771bffad8a0 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGet.json
@@ -55,4 +55,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json
index 19c41c9321ba..00ea06999ac8 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetModelStatus.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json
index f0e0ee24bf8c..52bda73adf40 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsGetTrainingResults.json
@@ -56,4 +56,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json
index a8cc5f567df6..52038c2fc053 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsListByHub.json
@@ -58,4 +58,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json
index 134f5f5b6ddb..13bb2388dc7b 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/PredictionsModelStatus.json
@@ -12,4 +12,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json
index 511cb1608d8d..3f137fc75b31 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfileGetEnrichingKpis.json
@@ -1,75 +1,81 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "profileName": "TestProfileType396",
- "api-version": "2017-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": [{
- "calculationWindow": "Month",
- "calculationWindowFieldName": "",
- "description": {
- "en-us": "MonthlyDeposits"
- },
- "entityType": "Interaction",
- "entityTypeName": "Deposit",
- "expression": "Amount",
- "filter": "",
- "function": "Sum",
- "groupBy": ["AccountType",
- "BranchId",
- "ContactId",
- "Location",
- "Type"],
- "groupByMetadata": [{
- "displayName": {
- "en-us": "AccountType"
- },
- "fieldName": "AccountType",
- "fieldType": "Edm.String"
- },
- {
- "displayName": {
- "en-us": "BranchId"
- },
- "fieldName": "BranchId",
- "fieldType": "Edm.Int32"
- },
- {
- "displayName": {
- "en-us": "ContactId"
- },
- "fieldName": "ContactId",
- "fieldType": "Edm.Int32"
- },
- {
- "displayName": {
- "en-us": "Location"
- },
- "fieldName": "Location",
- "fieldType": "Edm.String"
- },
- {
- "displayName": {
- "en-us": "Type"
- },
- "fieldName": "Type",
- "fieldType": "Edm.String"
- }],
- "kpiName": "MonthlyDeposits",
- "participantProfilesMetadata": [],
- "provisioningState": "Succeeded",
- "tenantId": "sdkTestHub",
- "thresHolds": {
- "increasingKpi": true,
- "lowerLimit": 0,
- "upperLimit": 0
- },
- "unit": ""
- }]
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "profileName": "TestProfileType396",
+ "api-version": "2017-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "calculationWindow": "Month",
+ "calculationWindowFieldName": "",
+ "description": {
+ "en-us": "MonthlyDeposits"
+ },
+ "entityType": "Interaction",
+ "entityTypeName": "Deposit",
+ "expression": "Amount",
+ "filter": "",
+ "function": "Sum",
+ "groupBy": [
+ "AccountType",
+ "BranchId",
+ "ContactId",
+ "Location",
+ "Type"
+ ],
+ "groupByMetadata": [
+ {
+ "displayName": {
+ "en-us": "AccountType"
+ },
+ "fieldName": "AccountType",
+ "fieldType": "Edm.String"
+ },
+ {
+ "displayName": {
+ "en-us": "BranchId"
+ },
+ "fieldName": "BranchId",
+ "fieldType": "Edm.Int32"
+ },
+ {
+ "displayName": {
+ "en-us": "ContactId"
+ },
+ "fieldName": "ContactId",
+ "fieldType": "Edm.Int32"
+ },
+ {
+ "displayName": {
+ "en-us": "Location"
+ },
+ "fieldName": "Location",
+ "fieldType": "Edm.String"
+ },
+ {
+ "displayName": {
+ "en-us": "Type"
+ },
+ "fieldName": "Type",
+ "fieldType": "Edm.String"
+ }
+ ],
+ "kpiName": "MonthlyDeposits",
+ "participantProfilesMetadata": [],
+ "provisioningState": "Succeeded",
+ "tenantId": "sdkTestHub",
+ "thresHolds": {
+ "increasingKpi": true,
+ "lowerLimit": 0,
+ "upperLimit": 0
+ },
+ "unit": ""
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json
index 601cc85f3181..3fad518ca871 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesCreateOrUpdate.json
@@ -1,156 +1,172 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "profileName": "TestProfileType396",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "strongIds": [{
- "keyPropertyNames": ["Id",
- "SavingAccountBalance"],
- "strongIdName": "Id"
- },
- {
- "keyPropertyNames": ["ProfileId",
- "LastName"],
- "strongIdName": "ProfileId"
- }],
- "apiEntitySetName": "TestProfileType396",
- "fields": [{
- "fieldName": "Id",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "ProfileId",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "LastName",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "TestProfileType396",
- "fieldType": "Edm.String",
- "isArray": false,
- "isRequired": true
- },
- {
- "fieldName": "SavingAccountBalance",
- "fieldType": "Edm.Int32",
- "isArray": false,
- "isRequired": true
- }],
- "schemaItemTypeLink": "SchemaItemTypeLink",
- "smallImage": "\\\\Images\\\\smallImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "largeImage": "\\\\Images\\\\LargeImage"
- }
- }
- },
- "responses": {
- "202": {
-
- },
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
- "name": "azSdkTestHub/TestProfileType396",
- "properties": {
- "strongIds": [{
- "keyPropertyNames": ["Id",
- "savingAccountBalance"],
- "strongIdName": "Id"
- },
- {
- "keyPropertyNames": ["ProfileId",
- "LastName"],
- "strongIdName": "ProfileId"
- },
- {
- "keyPropertyNames": ["ProfileId"],
- "strongIdName": "ProfileId"
- }],
- "apiEntitySetName": "TestProfileType396",
- "entityType": "Profile",
- "fields": [{
- "fieldName": "Id",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "ProfileId",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "LastName",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "TestProfileType396",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "SavingAccountBalance",
- "fieldType": "Edm.Int32",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "schemaItemTypeLink": "SchemaItemTypeLink",
- "tenantId": "azsdktesthub",
- "typeName": "TestProfileType396",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage"
- },
- "type": "Microsoft.CustomerInsights/hubs/profiles"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "profileName": "TestProfileType396",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "strongIds": [
+ {
+ "keyPropertyNames": [
+ "Id",
+ "SavingAccountBalance"
+ ],
+ "strongIdName": "Id"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId",
+ "LastName"
+ ],
+ "strongIdName": "ProfileId"
+ }
+ ],
+ "apiEntitySetName": "TestProfileType396",
+ "fields": [
+ {
+ "fieldName": "Id",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "ProfileId",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "LastName",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "TestProfileType396",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isRequired": true
+ },
+ {
+ "fieldName": "SavingAccountBalance",
+ "fieldType": "Edm.Int32",
+ "isArray": false,
+ "isRequired": true
+ }
+ ],
+ "schemaItemTypeLink": "SchemaItemTypeLink",
+ "smallImage": "\\\\Images\\\\smallImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "largeImage": "\\\\Images\\\\LargeImage"
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
+ "name": "azSdkTestHub/TestProfileType396",
+ "properties": {
+ "strongIds": [
+ {
+ "keyPropertyNames": [
+ "Id",
+ "savingAccountBalance"
+ ],
+ "strongIdName": "Id"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId",
+ "LastName"
+ ],
+ "strongIdName": "ProfileId"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId"
+ ],
+ "strongIdName": "ProfileId"
+ }
+ ],
+ "apiEntitySetName": "TestProfileType396",
+ "entityType": "Profile",
+ "fields": [
+ {
+ "fieldName": "Id",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "ProfileId",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "LastName",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "TestProfileType396",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "SavingAccountBalance",
+ "fieldType": "Edm.Int32",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "schemaItemTypeLink": "SchemaItemTypeLink",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestProfileType396",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/profiles"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json
index ff9486f362a3..17435c69ab85 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesDelete.json
@@ -1,20 +1,14 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "profileName": "TestProfileType396",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- },
- "204": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "profileName": "TestProfileType396",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json
index ffeeb1edc348..0fca793d9440 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesGet.json
@@ -1,104 +1,114 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "profileName": "TestProfileType396",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
- "name": "azSdkTestHub/TestProfileType396",
- "properties": {
- "strongIds": [{
- "keyPropertyNames": ["Id",
- "savingAccountBalance"],
- "strongIdName": "Id"
- },
- {
- "keyPropertyNames": ["ProfileId",
- "LastName"],
- "strongIdName": "ProfileId"
- },
- {
- "keyPropertyNames": ["ProfileId"],
- "strongIdName": "ProfileId"
- }],
- "apiEntitySetName": "TestProfileType396",
- "entityType": "Profile",
- "fields": [{
- "fieldName": "Id",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "ProfileId",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "LastName",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "TestProfileType396",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "SavingAccountBalance",
- "fieldType": "Edm.Int32",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "schemaItemTypeLink": "SchemaItemTypeLink",
- "tenantId": "azsdktesthub",
- "typeName": "TestProfileType396",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage"
- },
- "type": "Microsoft.CustomerInsights/hubs/profiles"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "profileName": "TestProfileType396",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
+ "name": "azSdkTestHub/TestProfileType396",
+ "properties": {
+ "strongIds": [
+ {
+ "keyPropertyNames": [
+ "Id",
+ "savingAccountBalance"
+ ],
+ "strongIdName": "Id"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId",
+ "LastName"
+ ],
+ "strongIdName": "ProfileId"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId"
+ ],
+ "strongIdName": "ProfileId"
+ }
+ ],
+ "apiEntitySetName": "TestProfileType396",
+ "entityType": "Profile",
+ "fields": [
+ {
+ "fieldName": "Id",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "ProfileId",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "LastName",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "TestProfileType396",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "SavingAccountBalance",
+ "fieldType": "Edm.Int32",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "schemaItemTypeLink": "SchemaItemTypeLink",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestProfileType396",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/profiles"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json
index 4442c3826d5d..5afff68434b9 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json
@@ -1,106 +1,118 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
- "name": "azSdkTestHub/TestProfileType396",
- "properties": {
- "strongIds": [{
- "keyPropertyNames": ["Id",
- "savingAccountBalance"],
- "strongIdName": "Id"
- },
- {
- "keyPropertyNames": ["ProfileId",
- "LastName"],
- "strongIdName": "ProfileId"
- },
- {
- "keyPropertyNames": ["ProfileId"],
- "strongIdName": "ProfileId"
- }],
- "apiEntitySetName": "TestProfileType396",
- "entityType": "Profile",
- "fields": [{
- "fieldName": "Id",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "ProfileId",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "LastName",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "TestProfileType396",
- "fieldType": "Edm.String",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- },
- {
- "fieldName": "SavingAccountBalance",
- "fieldType": "Edm.Int32",
- "isArray": false,
- "isEnum": false,
- "isFlagEnum": false,
- "isImage": false,
- "isLocalizedString": false,
- "isName": false,
- "isRequired": true,
- "propertyId": "id1"
- }],
- "instancesCount": 0,
- "provisioningState": "Provisioning",
- "schemaItemTypeLink": "SchemaItemTypeLink",
- "tenantId": "azsdktesthub",
- "typeName": "TestProfileType396",
- "largeImage": "\\\\Images\\\\LargeImage",
- "mediumImage": "\\\\Images\\\\MediumImage",
- "smallImage": "\\\\Images\\\\smallImage"
- },
- "type": "Microsoft.CustomerInsights/hubs/profiles"
- }],
- "nextLink": ""
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/profiles/TestProfileType396",
+ "name": "azSdkTestHub/TestProfileType396",
+ "properties": {
+ "strongIds": [
+ {
+ "keyPropertyNames": [
+ "Id",
+ "savingAccountBalance"
+ ],
+ "strongIdName": "Id"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId",
+ "LastName"
+ ],
+ "strongIdName": "ProfileId"
+ },
+ {
+ "keyPropertyNames": [
+ "ProfileId"
+ ],
+ "strongIdName": "ProfileId"
+ }
+ ],
+ "apiEntitySetName": "TestProfileType396",
+ "entityType": "Profile",
+ "fields": [
+ {
+ "fieldName": "Id",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "ProfileId",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "LastName",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "TestProfileType396",
+ "fieldType": "Edm.String",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ },
+ {
+ "fieldName": "SavingAccountBalance",
+ "fieldType": "Edm.Int32",
+ "isArray": false,
+ "isEnum": false,
+ "isFlagEnum": false,
+ "isImage": false,
+ "isLocalizedString": false,
+ "isName": false,
+ "isRequired": true,
+ "propertyId": "id1"
+ }
+ ],
+ "instancesCount": 0,
+ "provisioningState": "Provisioning",
+ "schemaItemTypeLink": "SchemaItemTypeLink",
+ "tenantId": "azsdktesthub",
+ "typeName": "TestProfileType396",
+ "largeImage": "\\\\Images\\\\LargeImage",
+ "mediumImage": "\\\\Images\\\\MediumImage",
+ "smallImage": "\\\\Images\\\\smallImage"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/profiles"
+ }
+ ],
+ "nextLink": ""
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json
index 49c778ee9665..75acab7d4914 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json
@@ -1,63 +1,69 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipLinkName": "Somelink",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "description": {
- "en-us": "Link Description"
- },
- "interactionType": "testInteraction4332",
- "linkName": "Somelink",
- "profilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relationshipName": "testProfile2326994"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
- "name": "sdkTestHub/Somelink",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "interactionType": "testInteraction4332",
- "linkName": "Somelink",
- "profilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relationshipName": "testProfile2326994",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipLinkName": "Somelink",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "description": {
+ "en-us": "Link Description"
+ },
+ "interactionType": "testInteraction4332",
+ "linkName": "Somelink",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relationshipName": "testProfile2326994"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
+ "name": "sdkTestHub/Somelink",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "interactionType": "testInteraction4332",
+ "linkName": "Somelink",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relationshipName": "testProfile2326994",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json
index 373fd21aa152..0760121175c2 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksDelete.json
@@ -1,17 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipLinkName": "Somelink",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipLinkName": "Somelink",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json
index b19354bee869..193231fc3666 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksGet.json
@@ -1,39 +1,43 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipLinkName": "Somelink",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
- "name": "sdkTestHub/Somelink",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "interactionType": "testInteraction4332",
- "linkName": "Somelink",
- "profilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relationshipName": "testProfile2326994",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipLinkName": "Somelink",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
+ "name": "sdkTestHub/Somelink",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "interactionType": "testInteraction4332",
+ "linkName": "Somelink",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relationshipName": "testProfile2326994",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json
index 220b1adccf7f..d9d63564955c 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipLinksListByHub.json
@@ -1,40 +1,46 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
- "name": "sdkTestHub/Somelink",
- "properties": {
- "description": {
- "en-us": "Link Description"
- },
- "displayName": {
- "en-us": "Link DisplayName"
- },
- "interactionType": "testInteraction4332",
- "linkName": "Somelink",
- "profilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "provisioningState": "Provisioning",
- "relatedProfilePropertyReferences": [{
- "interactionPropertyName": "profile1",
- "profilePropertyName": "ProfileId"
- }],
- "relationshipName": "testProfile2326994",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationshipLinks/Somelink",
+ "name": "sdkTestHub/Somelink",
+ "properties": {
+ "description": {
+ "en-us": "Link Description"
+ },
+ "displayName": {
+ "en-us": "Link DisplayName"
+ },
+ "interactionType": "testInteraction4332",
+ "linkName": "Somelink",
+ "profilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "relatedProfilePropertyReferences": [
+ {
+ "interactionPropertyName": "profile1",
+ "profilePropertyName": "ProfileId"
+ }
+ ],
+ "relationshipName": "testProfile2326994",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationshipLinks"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json
index d6db25d0de72..7dda783d91f0 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsCreateOrUpdate.json
@@ -1,51 +1,49 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipName": "SomeRelationship",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "cardinality": "OneToOne",
- "displayName": {
- "en-us": "Relationship DisplayName"
- },
- "description": {
- "en-us": "Relationship Description"
- },
- "fields": [],
- "profileType": "testProfile2326994",
- "relatedProfileType": "testProfile2326994"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
- "name": "sdkTestHub/testProfile2326994",
- "properties": {
- "cardinality": "OneToOne",
- "description": {
- "en-us": "Relationship Description"
- },
- "displayName": {
- "en-us": "Relationship DisplayName"
- },
- "fields": [],
- "lookupMappings": [],
- "profileType": "testProfile2326994",
- "provisioningState": "Provisioning",
- "relatedProfileType": "testProfile2326994",
- "relationshipName": "SomeRelationship",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationships"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipName": "SomeRelationship",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "cardinality": "OneToOne",
+ "displayName": {
+ "en-us": "Relationship DisplayName"
+ },
+ "description": {
+ "en-us": "Relationship Description"
+ },
+ "fields": [],
+ "profileType": "testProfile2326994",
+ "relatedProfileType": "testProfile2326994"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
+ "name": "sdkTestHub/testProfile2326994",
+ "properties": {
+ "cardinality": "OneToOne",
+ "description": {
+ "en-us": "Relationship Description"
+ },
+ "displayName": {
+ "en-us": "Relationship DisplayName"
+ },
+ "fields": [],
+ "lookupMappings": [],
+ "profileType": "testProfile2326994",
+ "provisioningState": "Provisioning",
+ "relatedProfileType": "testProfile2326994",
+ "relationshipName": "SomeRelationship",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationships"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json
index a28259d3e262..b988c9aebeb2 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsDelete.json
@@ -1,17 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipName": "SomeRelationship",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipName": "SomeRelationship",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json
index 7135827b9b34..33b86ccb1608 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsGet.json
@@ -1,34 +1,34 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "relationshipName": "SomeRelationship",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
- "name": "sdkTestHub/testProfile2326994",
- "properties": {
- "cardinality": "OneToOne",
- "description": {
- "en-us": "Relationship Description"
- },
- "displayName": {
- "en-us": "Relationship DisplayName"
- },
- "fields": [],
- "lookupMappings": [],
- "profileType": "testProfile2326994",
- "provisioningState": "Provisioning",
- "relatedProfileType": "testProfile2326994",
- "relationshipName": "SomeRelationship",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationships"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "relationshipName": "SomeRelationship",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
+ "name": "sdkTestHub/testProfile2326994",
+ "properties": {
+ "cardinality": "OneToOne",
+ "description": {
+ "en-us": "Relationship Description"
+ },
+ "displayName": {
+ "en-us": "Relationship DisplayName"
+ },
+ "fields": [],
+ "lookupMappings": [],
+ "profileType": "testProfile2326994",
+ "provisioningState": "Provisioning",
+ "relatedProfileType": "testProfile2326994",
+ "relationshipName": "SomeRelationship",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationships"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json
index 67ab7fdf6074..9ed418bd4c8a 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RelationshipsListByHub.json
@@ -1,35 +1,37 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
- "name": "sdkTestHub/testProfile2326994",
- "properties": {
- "cardinality": "OneToOne",
- "description": {
- "en-us": "Relationship Description"
- },
- "displayName": {
- "en-us": "Relationship DisplayName"
- },
- "fields": [],
- "lookupMappings": [],
- "profileType": "testProfile2326994",
- "provisioningState": "Provisioning",
- "relatedProfileType": "testProfile2326994",
- "relationshipName": "SomeRelationship",
- "tenantId": "sdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/relationships"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/relationships/SomeRelationship",
+ "name": "sdkTestHub/testProfile2326994",
+ "properties": {
+ "cardinality": "OneToOne",
+ "description": {
+ "en-us": "Relationship Description"
+ },
+ "displayName": {
+ "en-us": "Relationship DisplayName"
+ },
+ "fields": [],
+ "lookupMappings": [],
+ "profileType": "testProfile2326994",
+ "provisioningState": "Provisioning",
+ "relatedProfileType": "testProfile2326994",
+ "relationshipName": "SomeRelationship",
+ "tenantId": "sdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/relationships"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json
index eaab4cf33e00..a01f09cae88d 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json
@@ -1,48 +1,50 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "assignmentName": "assignmentName8976",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "role": "Admin",
- "principals": [{
- "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e",
- "principalType": "User"
- },
- {
- "principalId": "93061d15a5054f2b9948ae25724cf9d5",
- "principalType": "User"
- }]
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
- "name": "azSdkTestHub/assignmentName8976",
- "properties": {
- "assignmentName": "assignmentName8976",
- "principals": [{
- "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
- "principalType": "User"
- },
- {
- "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
- "principalType": "User"
- }],
- "provisioningState": "Provisioning",
- "role": "Admin",
- "tenantId": "azsdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
- }
- },
- "202": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "assignmentName": "assignmentName8976",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "role": "Admin",
+ "principals": [
+ {
+ "principalId": "4c54c38ffa9b416ba5a6d6c8a20cbe7e",
+ "principalType": "User"
+ },
+ {
+ "principalId": "93061d15a5054f2b9948ae25724cf9d5",
+ "principalType": "User"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
+ "name": "azSdkTestHub/assignmentName8976",
+ "properties": {
+ "assignmentName": "assignmentName8976",
+ "principals": [
+ {
+ "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
+ "principalType": "User"
+ },
+ {
+ "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
+ "principalType": "User"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "role": "Admin",
+ "tenantId": "azsdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json
index 3d09176089b2..b1c07bb61fa7 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsDelete.json
@@ -1,20 +1,14 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "assignmentName": "assignmentName8976",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- },
- "202": {
-
- },
- "204": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "assignmentName": "assignmentName8976",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json
index a31f046442b8..fe43bff10e94 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsGet.json
@@ -1,32 +1,34 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "assignmentName": "assignmentName8976",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
- "name": "azSdkTestHub/assignmentName8976",
- "properties": {
- "assignmentName": "assignmentName8976",
- "principals": [{
- "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
- "principalType": "User"
- },
- {
- "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
- "principalType": "User"
- }],
- "provisioningState": "Provisioning",
- "role": "Admin",
- "tenantId": "azsdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "assignmentName": "assignmentName8976",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
+ "name": "azSdkTestHub/assignmentName8976",
+ "properties": {
+ "assignmentName": "assignmentName8976",
+ "principals": [
+ {
+ "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
+ "principalType": "User"
+ },
+ {
+ "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
+ "principalType": "User"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "role": "Admin",
+ "tenantId": "azsdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json
index c126a24df81b..692b169a1337 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RoleAssignmentsListByHub.json
@@ -1,33 +1,37 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
- "name": "azSdkTestHub/assignmentName8976",
- "properties": {
- "assignmentName": "assignmentName8976",
- "principals": [{
- "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
- "principalType": "User"
- },
- {
- "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
- "principalType": "User"
- }],
- "provisioningState": "Provisioning",
- "role": "Admin",
- "tenantId": "azsdktesthub"
- },
- "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/RoleAssignments/assignmentName8976",
+ "name": "azSdkTestHub/assignmentName8976",
+ "properties": {
+ "assignmentName": "assignmentName8976",
+ "principals": [
+ {
+ "principalId": "4c54c38f-fa9b-416b-a5a6-d6c8a20cbe7e",
+ "principalType": "User"
+ },
+ {
+ "principalId": "93061d15-a505-4f2b-9948-ae25724cf9d5",
+ "principalType": "User"
+ }
+ ],
+ "provisioningState": "Provisioning",
+ "role": "Admin",
+ "tenantId": "azsdktesthub"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/RoleAssignments"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json
index 183fc0add0b4..d2a7e225ad6f 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/RolesListByHub.json
@@ -1,23 +1,25 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin",
- "name": "azSdkTestHub/Admin",
- "properties": {
- "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.",
- "roleName": "Admin"
- },
- "type": "Microsoft.CustomerInsights/hubs/Roles"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/azSdkTestHub/Roles/Admin",
+ "name": "azSdkTestHub/Admin",
+ "properties": {
+ "description": "When a role assignment is created for the Admin Role on certain scopes (selected profiles, interactions, Kpis etc.), it authorizes the users/groups selected in the assignment for ALL operations at the tenant endpoint on the selected scopes.",
+ "roleName": "Admin"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/Roles"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json
index 983262206e7e..e0f701096211 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsCreateOrUpdate.json
@@ -1,36 +1,36 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "viewName": "testView",
- "api-version": "2016-01-01",
- "subscriptionId": "subid",
- "parameters": {
- "properties": {
- "userId": "testUser",
- "displayName": {
- "en": "some name"
- },
- "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
- "name": "sdkTestHub/testView",
- "properties": {
- "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
- "displayName": {
- "en": "some name"
- },
- "tenantId": "sdktesthub",
- "userId": "*",
- "viewName": "testView"
- },
- "type": "Microsoft.CustomerInsights/hubs/views"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "viewName": "testView",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "userId": "testUser",
+ "displayName": {
+ "en": "some name"
+ },
+ "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
+ "name": "sdkTestHub/testView",
+ "properties": {
+ "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
+ "displayName": {
+ "en": "some name"
+ },
+ "tenantId": "sdktesthub",
+ "userId": "*",
+ "viewName": "testView"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/views"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json
index 6cbd4c997f21..1466e13530a0 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsDelete.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "viewName": "testView",
- "userId": "*",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "viewName": "testView",
+ "userId": "*",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json
index 63a648684119..c824b00d4dd9 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsGet.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "viewName": "testView",
- "userId": "*",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
- "name": "sdkTestHub/testView",
- "properties": {
- "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
- "displayName": {
- "en": "some name"
- },
- "tenantId": "sdktesthub",
- "userId": "*",
- "viewName": "testView"
- },
- "type": "Microsoft.CustomerInsights/hubs/views"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "viewName": "testView",
+ "userId": "*",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
+ "name": "sdkTestHub/testView",
+ "properties": {
+ "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
+ "displayName": {
+ "en": "some name"
+ },
+ "tenantId": "sdktesthub",
+ "userId": "*",
+ "viewName": "testView"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/views"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json
index 949fd4c32c86..34613c9b814f 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ViewsListByHub.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "userId": "*",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
- "name": "sdkTestHub/testView",
- "properties": {
- "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
- "displayName": {
- "en": "some name"
- },
- "tenantId": "sdktesthub",
- "userId": "*",
- "viewName": "testView"
- },
- "type": "Microsoft.CustomerInsights/hubs/views"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "userId": "*",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/views/testView",
+ "name": "sdkTestHub/testView",
+ "properties": {
+ "definition": "{\\\"isProfileType\\\":false,\\\"profileTypes\\\":[],\\\"widgets\\\":[],\\\"style\\\":[]}",
+ "displayName": {
+ "en": "some name"
+ },
+ "tenantId": "sdktesthub",
+ "userId": "*",
+ "viewName": "testView"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/views"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json
index 35507b6bd9ee..31edc695e598 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesGet.json
@@ -1,26 +1,26 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "widgetTypeName": "ActivityGauge",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge",
- "name": "sdkTestHub/ActivityGauge",
- "properties": {
- "widgetTypeName": "ActivityGauge",
- "tenantId": "*",
- "description": "",
- "definition": "",
- "imageUrl": "",
- "widgetVersion": "2016-01-01"
- },
- "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "widgetTypeName": "ActivityGauge",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge",
+ "name": "sdkTestHub/ActivityGauge",
+ "properties": {
+ "widgetTypeName": "ActivityGauge",
+ "tenantId": "*",
+ "description": "",
+ "definition": "",
+ "imageUrl": "",
+ "widgetVersion": "2016-01-01"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
+ }
+ }
+ }
+}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json
index 9796c694033c..0a778bb5d1f3 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/WidgetTypesListByHub.json
@@ -1,40 +1,42 @@
{
- "parameters": {
- "hubName": "sdkTestHub",
- "resourceGroupName": "TestHubRG",
- "api-version": "2016-01-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge",
- "name": "sdkTestHub/ActivityGauge",
- "properties": {
- "widgetTypeName": "ActivityGauge",
- "tenantId": "*",
- "description": "",
- "definition": "",
- "imageUrl": "",
- "widgetVersion": "2016-01-01"
- },
- "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
- },
- {
- "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart",
- "name": "sdkTestHub/AsterChart",
- "properties": {
- "widgetTypeName": "AsterChart",
- "tenantId": "*",
- "description": "",
- "definition": "",
- "imageUrl": "",
- "widgetVersion": "2016-01-01"
- },
- "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
- }]
- }
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "hubName": "sdkTestHub",
+ "resourceGroupName": "TestHubRG",
+ "api-version": "2016-01-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/ActivityGauge",
+ "name": "sdkTestHub/ActivityGauge",
+ "properties": {
+ "widgetTypeName": "ActivityGauge",
+ "tenantId": "*",
+ "description": "",
+ "definition": "",
+ "imageUrl": "",
+ "widgetVersion": "2016-01-01"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
+ },
+ {
+ "id": "/subscriptions/c909e979-ef71-4def-a970-bc7c154db8c5/resourceGroups/TestHubRG/providers/Microsoft.CustomerInsights/hubs/sdkTestHub/widgetTypes/AsterChart",
+ "name": "sdkTestHub/AsterChart",
+ "properties": {
+ "widgetTypeName": "AsterChart",
+ "tenantId": "*",
+ "description": "",
+ "definition": "",
+ "imageUrl": "",
+ "widgetVersion": "2016-01-01"
+ },
+ "type": "Microsoft.CustomerInsights/hubs/widgetTypes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json
index c68e3403dd21..24b22825f4ca 100644
--- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json
+++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json
@@ -500,7 +500,7 @@
}
},
"produces": [
- "application/json"
+ "application/json"
]
},
"get": {
@@ -552,9 +552,9 @@
"application/json"
]
}
- },
- "/{scope}/providers/Microsoft.CustomProviders/associations": {
- "get": {
+ },
+ "/{scope}/providers/Microsoft.CustomProviders/associations": {
+ "get": {
"tags": [
"Associations"
],
diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/createOrUpdateAssociation.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/createOrUpdateAssociation.json
index 2560751e4e0c..1d88fb32e139 100644
--- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/createOrUpdateAssociation.json
+++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/createOrUpdateAssociation.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/deleteAssociation.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/deleteAssociation.json
index 200e6d59922b..1a56b7fbd74b 100644
--- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/deleteAssociation.json
+++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/deleteAssociation.json
@@ -9,4 +9,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAllAssociations.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAllAssociations.json
index 907b0171dd50..5de1d45ef8ee 100644
--- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAllAssociations.json
+++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAllAssociations.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAssociation.json b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAssociation.json
index 6791d0eb6c17..46662be81ac8 100644
--- a/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAssociation.json
+++ b/specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/examples/getAssociation.json
@@ -18,4 +18,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json
index 9545d1d9b568..4a5c289f87f6 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json
@@ -2716,4 +2716,4 @@
]
}
]
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/AvailableSkusPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/AvailableSkusPost.json
index edb90016b3de..52a44f69a196 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/AvailableSkusPost.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/AvailableSkusPost.json
@@ -224,4 +224,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/BookShipmentPickupPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/BookShipmentPickupPost.json
index 09ce8ab47d5a..86cffaf3b40b 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/BookShipmentPickupPost.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/BookShipmentPickupPost.json
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json
index c71352be1d9e..27d6c0b10ee1 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json
@@ -30,4 +30,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json
index 65eb998c1695..a8d3fce74ad3 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json
@@ -65,22 +65,22 @@
},
"200": {
"body": {
- "properties": {
- "isCancellable": true,
- "isDeletable": false,
- "isShippingAddressEditable": true,
- "status": "DeviceOrdered",
- "startTime": "2018-09-11T17:58:36.6886059+05:30"
- },
- "location": "westus",
- "tags": {},
- "sku": {
- "name": "DataBox"
- },
- "name": "SdkJob8367",
- "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9836/providers/Microsoft.DataBox/jobs/SdkJob8367",
- "type": "Microsoft.DataBox/jobs"
- }
+ "properties": {
+ "isCancellable": true,
+ "isDeletable": false,
+ "isShippingAddressEditable": true,
+ "status": "DeviceOrdered",
+ "startTime": "2018-09-11T17:58:36.6886059+05:30"
+ },
+ "location": "westus",
+ "tags": {},
+ "sku": {
+ "name": "DataBox"
+ },
+ "name": "SdkJob8367",
+ "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9836/providers/Microsoft.DataBox/jobs/SdkJob8367",
+ "type": "Microsoft.DataBox/jobs"
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json
index 8b481e5adb1b..c6e0b8f29e28 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json
@@ -24,4 +24,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet.json
index bef4a96185f2..a1d11d207fed 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet1.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet1.json
index c784056a566b..4748e6807443 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet1.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet1.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet2.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet2.json
index d970464ffdbf..93e257f4622a 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet2.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet2.json
@@ -156,4 +156,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet3.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet3.json
index e2c23b5e3497..18711c0a4618 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet3.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet3.json
@@ -156,4 +156,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet4.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet4.json
index bf3086f81943..331fe0fea23d 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet4.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet4.json
@@ -128,4 +128,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet5.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet5.json
index 4f8570c50369..659ae9d83f67 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet5.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsGet5.json
@@ -101,4 +101,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsList.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsList.json
index b4e79f598e19..dfc3286b7a71 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsList.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsList.json
@@ -24,7 +24,7 @@
"isDeletable": false,
"isShippingAddressEditable": true,
"status": "DeviceOrdered",
- "startTime": "2018-08-30T14:44:39.77401+05:30"
+ "startTime": "2018-08-30T14:44:39.77401+05:30"
},
"location": "australiaeast",
"tags": {},
@@ -499,4 +499,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListByResourceGroup.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListByResourceGroup.json
index c72f92c28222..6caf68e9601a 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListByResourceGroup.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListByResourceGroup.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListCredentials.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListCredentials.json
index 3871bbbc49cf..da9551e1912e 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListCredentials.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsListCredentials.json
@@ -83,6 +83,6 @@
}
]
}
- }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json
index c4bd40281503..75d9a8fa2cd4 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json
@@ -52,22 +52,22 @@
},
"200": {
"body": {
- "properties": {
- "isCancellable": true,
- "isDeletable": false,
- "isShippingAddressEditable": true,
- "status": "DeviceOrdered",
- "startTime": "2018-09-11T17:58:36.6886059+05:30"
- },
- "location": "westus",
- "tags": {},
- "sku": {
- "name": "DataBox"
- },
- "name": "SdkJob8367",
- "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9836/providers/Microsoft.DataBox/jobs/SdkJob8367",
- "type": "Microsoft.DataBox/jobs"
- }
+ "properties": {
+ "isCancellable": true,
+ "isDeletable": false,
+ "isShippingAddressEditable": true,
+ "status": "DeviceOrdered",
+ "startTime": "2018-09-11T17:58:36.6886059+05:30"
+ },
+ "location": "westus",
+ "tags": {},
+ "sku": {
+ "name": "DataBox"
+ },
+ "name": "SdkJob8367",
+ "id": "/subscriptions/fa68082f-8ff7-4a25-95c7-ce9da541242f/resourceGroups/SdkRg9836/providers/Microsoft.DataBox/jobs/SdkJob8367",
+ "type": "Microsoft.DataBox/jobs"
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/OperationsGet.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/OperationsGet.json
index 9d38e7506c0b..bd86f8e89e59 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/OperationsGet.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/OperationsGet.json
@@ -108,4 +108,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/ValidateAddressPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/ValidateAddressPost.json
index 864fd09dd723..a45ddf504dfd 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/ValidateAddressPost.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/ValidateAddressPost.json
@@ -54,4 +54,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json
index 4450974be30d..4c51aad52d49 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json
@@ -2448,1454 +2448,1454 @@
}
}
},
- "definitions": {
- "Resource": {
- "x-ms-azure-resource": true,
- "description": "Azure Data Factory top-level resource.",
- "properties": {
- "id": {
- "type": "string",
- "description": "The resource identifier.",
- "readOnly": true
- },
- "name": {
- "type": "string",
- "description": "The resource name.",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "description": "The resource type.",
- "readOnly": true
+ "definitions": {
+ "Resource": {
+ "x-ms-azure-resource": true,
+ "description": "Azure Data Factory top-level resource.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The resource identifier.",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The resource name.",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The resource type.",
+ "readOnly": true
+ },
+ "location": {
+ "type": "string",
+ "description": "The resource location.",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
},
- "location": {
- "type": "string",
- "description": "The resource location.",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "The resource tags."
- }
+ "description": "The resource tags."
}
- },
- "SubResource": {
- "description": "Azure Data Factory nested resource, which belongs to a factory.",
- "properties": {
- "id": {
- "type": "string",
- "description": "The resource identifier.",
- "readOnly": true
- },
- "name": {
- "type": "string",
- "description": "The resource name.",
- "readOnly": true
- },
- "type": {
- "type": "string",
- "description": "The resource type.",
- "readOnly": true
- },
- "etag": {
- "type": "string",
- "description": "Etag identifies change in the resource.",
- "readOnly": true
- }
- },
- "x-ms-azure-resource": true
- },
- "Expression": {
- "description": "Azure Data Factory expression definition.",
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "description": "Expression type.",
- "enum": [
- "Expression"
- ]
- },
- "value": {
- "type": "string",
- "description": "Expression value."
- }
- },
- "required": [
- "type",
- "value"
- ]
- },
- "SecureString": {
- "x-ms-discriminator-value": "SecureString",
- "description": "Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/SecretBase"
- }
- ],
+ }
+ },
+ "SubResource": {
+ "description": "Azure Data Factory nested resource, which belongs to a factory.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The resource identifier.",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The resource name.",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The resource type.",
+ "readOnly": true
+ },
+ "etag": {
+ "type": "string",
+ "description": "Etag identifies change in the resource.",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "Expression": {
+ "description": "Azure Data Factory expression definition.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Expression type.",
+ "enum": [
+ "Expression"
+ ]
+ },
+ "value": {
+ "type": "string",
+ "description": "Expression value."
+ }
+ },
+ "required": [
+ "type",
+ "value"
+ ]
+ },
+ "SecureString": {
+ "x-ms-discriminator-value": "SecureString",
+ "description": "Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SecretBase"
+ }
+ ],
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "Value of secure string."
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "AzureKeyVaultSecretReference": {
+ "x-ms-discriminator-value": "AzureKeyVaultSecret",
+ "description": "Azure Key Vault secret reference.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SecretBase"
+ }
+ ],
+ "properties": {
+ "store": {
+ "description": "The Azure Key Vault linked service reference.",
+ "$ref": "#/definitions/LinkedServiceReference"
+ },
+ "secretName": {
+ "type": "object",
+ "description": "The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string)."
+ },
+ "secretVersion": {
+ "type": "object",
+ "description": "The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "store",
+ "secretName"
+ ]
+ },
+ "SecretBase": {
+ "description": "The base definition of a secret type.",
+ "discriminator": "type",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Type of the secret."
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "FactoryListResponse": {
+ "description": "A list of factory resources.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of factories.",
+ "items": {
+ "$ref": "#/definitions/Factory"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "IntegrationRuntimeListResponse": {
+ "description": "A list of integration runtime resources.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of integration runtimes.",
+ "items": {
+ "$ref": "#/definitions/IntegrationRuntimeResource"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "IntegrationRuntimeReference": {
+ "description": "Integration runtime reference type.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Type of integration runtime.",
+ "enum": [
+ "IntegrationRuntimeReference"
+ ]
+ },
+ "referenceName": {
+ "type": "string",
+ "description": "Reference integration runtime name."
+ },
+ "parameters": {
+ "$ref": "#/definitions/ParameterValueSpecification",
+ "description": "Arguments for integration runtime."
+ }
+ },
+ "required": [
+ "type",
+ "referenceName"
+ ]
+ },
+ "IntegrationRuntimeResource": {
+ "description": "Integration runtime resource type.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "properties": {
"properties": {
- "value": {
- "type": "string",
- "description": "Value of secure string."
- }
- },
- "required": [
- "value"
- ]
+ "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntime",
+ "description": "Integration runtime properties."
+ }
},
- "AzureKeyVaultSecretReference": {
- "x-ms-discriminator-value": "AzureKeyVaultSecret",
- "description": "Azure Key Vault secret reference.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/SecretBase"
- }
- ],
- "properties": {
- "store": {
- "description": "The Azure Key Vault linked service reference.",
- "$ref": "#/definitions/LinkedServiceReference"
- },
- "secretName": {
- "type": "object",
- "description": "The name of the secret in Azure Key Vault. Type: string (or Expression with resultType string)."
- },
- "secretVersion": {
- "type": "object",
- "description": "The version of the secret in Azure Key Vault. The default value is the latest version of the secret. Type: string (or Expression with resultType string)."
- }
+ "required": [
+ "properties"
+ ]
+ },
+ "IntegrationRuntimeStatusResponse": {
+ "description": "Integration runtime status response.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The integration runtime name.",
+ "readOnly": true
},
- "required": [
- "store",
- "secretName"
- ]
- },
- "SecretBase": {
- "description": "The base definition of a secret type.",
- "discriminator": "type",
- "type": "object",
"properties": {
- "type": {
- "type": "string",
- "description": "Type of the secret."
- }
- },
- "required": [
- "type"
- ]
+ "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntimeStatus",
+ "description": "Integration runtime properties."
+ }
},
- "FactoryListResponse": {
- "description": "A list of factory resources.",
- "type": "object",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of factories.",
- "items": {
- "$ref": "#/definitions/Factory"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
- "type": "string"
- }
+ "required": [
+ "properties"
+ ]
+ },
+ "IntegrationRuntimeStatusListResponse": {
+ "description": "A list of integration runtime status.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of integration runtime status.",
+ "items": {
+ "$ref": "#/definitions/IntegrationRuntimeStatusResponse"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "UpdateIntegrationRuntimeRequest": {
+ "description": "Update integration runtime request.",
+ "type": "object",
+ "properties": {
+ "autoUpdate": {
+ "description": "Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189.",
+ "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntimeAutoUpdate"
+ },
+ "updateDelayOffset": {
+ "description": "The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time.",
+ "type": "string"
+ }
+ }
+ },
+ "UpdateIntegrationRuntimeNodeRequest": {
+ "description": "Update integration runtime node request.",
+ "type": "object",
+ "properties": {
+ "concurrentJobsLimit": {
+ "description": "The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed.",
+ "type": "integer",
+ "minimum": 1
+ }
+ }
+ },
+ "LinkedServiceListResponse": {
+ "description": "A list of linked service resources.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of linked services.",
+ "items": {
+ "$ref": "#/definitions/LinkedServiceResource"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "DatasetListResponse": {
+ "description": "A list of dataset resources.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of datasets.",
+ "items": {
+ "$ref": "#/definitions/DatasetResource"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "PipelineListResponse": {
+ "description": "A list of pipeline resources.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of pipelines.",
+ "items": {
+ "$ref": "#/definitions/PipelineResource"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "TriggerListResponse": {
+ "description": "A list of trigger resources.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of triggers.",
+ "items": {
+ "$ref": "#/definitions/TriggerResource"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "CreateRunResponse": {
+ "description": "Response body with a run identifier.",
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "Identifier of a run.",
+ "type": "string"
}
},
- "IntegrationRuntimeListResponse": {
- "description": "A list of integration runtime resources.",
- "type": "object",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of integration runtimes.",
- "items": {
- "$ref": "#/definitions/IntegrationRuntimeResource"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
- "type": "string"
+ "required": [
+ "runId"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "The object that defines the structure of an Azure Data Factory response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "Property name/path in request associated with error.",
+ "type": "string"
+ },
+ "details": {
+ "description": "Array with additional error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorResponse"
}
}
},
- "IntegrationRuntimeReference": {
- "description": "Integration runtime reference type.",
- "properties": {
- "type": {
- "type": "string",
- "description": "Type of integration runtime.",
- "enum": [
- "IntegrationRuntimeReference"
- ]
- },
- "referenceName": {
- "type": "string",
- "description": "Reference integration runtime name."
- },
- "parameters": {
- "$ref": "#/definitions/ParameterValueSpecification",
- "description": "Arguments for integration runtime."
- }
+ "required": [
+ "code",
+ "message"
+ ]
+ },
+ "ParameterDefinitionSpecification": {
+ "description": "Definition of all parameters for an entity.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ParameterSpecification"
+ }
+ },
+ "ParameterSpecification": {
+ "description": "Definition of a single parameter for an entity.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Parameter type.",
+ "enum": [
+ "Object",
+ "String",
+ "Int",
+ "Float",
+ "Bool",
+ "Array",
+ "SecureString"
+ ],
+ "x-ms-enum": {
+ "name": "ParameterType",
+ "modelAsString": true
+ }
+ },
+ "defaultValue": {
+ "type": "object",
+ "description": "Default value of parameter."
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "ParameterValueSpecification": {
+ "description": "An object mapping parameter names to argument values.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "FactoryVSTSConfiguration": {
+ "description": "Factory's VSTS repo information.",
+ "properties": {
+ "accountName": {
+ "description": "VSTS account name.",
+ "type": "string"
},
- "required": [
- "type",
- "referenceName"
- ]
- },
- "IntegrationRuntimeResource": {
- "description": "Integration runtime resource type.",
- "allOf": [
- {
- "$ref": "#/definitions/SubResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntime",
- "description": "Integration runtime properties."
- }
+ "projectName": {
+ "description": "VSTS project name.",
+ "type": "string"
},
- "required": [
- "properties"
- ]
- },
- "IntegrationRuntimeStatusResponse": {
- "description": "Integration runtime status response.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The integration runtime name.",
- "readOnly": true
- },
- "properties": {
- "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntimeStatus",
- "description": "Integration runtime properties."
- }
+ "repositoryName": {
+ "description": "VSTS repository name.",
+ "type": "string"
},
- "required": [
- "properties"
- ]
- },
- "IntegrationRuntimeStatusListResponse": {
- "description": "A list of integration runtime status.",
- "type": "object",
- "required": [
- "value"
- ],
+ "collaborationBranch": {
+ "description": "VSTS collaboration branch.",
+ "type": "string"
+ },
+ "rootFolder": {
+ "description": "VSTS root folder.",
+ "type": "string"
+ },
+ "lastCommitId": {
+ "description": "VSTS last commit id.",
+ "type": "string"
+ },
+ "tenantId": {
+ "description": "VSTS tenant id.",
+ "type": "string"
+ }
+ }
+ },
+ "FactoryRepoUpdate": {
+ "description": "Factory's VSTS repo information.",
+ "properties": {
+ "factoryResourceId": {
+ "description": "The factory resource id.",
+ "type": "string"
+ },
+ "resourceGroupName": {
+ "description": "The resource group name.",
+ "type": "string"
+ },
+ "vstsConfiguration": {
+ "$ref": "#/definitions/FactoryVSTSConfiguration",
+ "description": "VSTS repo information of the factory."
+ }
+ }
+ },
+ "FactoryProperties": {
+ "description": "Factory resource properties.",
+ "properties": {
+ "provisioningState": {
+ "description": "Factory provisioning state, example Succeeded.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createTime": {
+ "description": "Time the factory was created in ISO8601 format.",
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time"
+ },
+ "version": {
+ "description": "Version of the factory.",
+ "type": "string",
+ "readOnly": true
+ },
+ "vstsConfiguration": {
+ "$ref": "#/definitions/FactoryVSTSConfiguration",
+ "description": "VSTS repo information of the factory."
+ }
+ }
+ },
+ "PipelineResource": {
+ "description": "Pipeline resource type.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "properties": {
"properties": {
- "value": {
- "type": "array",
- "description": "List of integration runtime status.",
- "items": {
- "$ref": "#/definitions/IntegrationRuntimeStatusResponse"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
- "type": "string"
- }
+ "x-ms-client-flatten": true,
+ "$ref": "./entityTypes/Pipeline.json#/definitions/Pipeline",
+ "description": "Properties of the pipeline."
}
},
- "UpdateIntegrationRuntimeRequest": {
- "description": "Update integration runtime request.",
- "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ },
+ "required": [
+ "properties"
+ ]
+ },
+ "PipelineReference": {
+ "description": "Pipeline reference type.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Pipeline reference type.",
+ "enum": [
+ "PipelineReference"
+ ]
+ },
+ "referenceName": {
+ "type": "string",
+ "description": "Reference pipeline name."
+ },
+ "name": {
+ "type": "string",
+ "description": "Reference name."
+ }
+ },
+ "required": [
+ "type",
+ "referenceName"
+ ]
+ },
+ "TriggerPipelineReference": {
+ "description": "Pipeline that needs to be triggered with the given parameters.",
+ "properties": {
+ "pipelineReference": {
+ "description": "Pipeline reference.",
+ "$ref": "#/definitions/PipelineReference"
+ },
+ "parameters": {
+ "description": "Pipeline parameters.",
+ "$ref": "#/definitions/ParameterValueSpecification"
+ }
+ }
+ },
+ "TriggerResource": {
+ "description": "Trigger resource type.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "properties": {
"properties": {
- "autoUpdate": {
- "description": "Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189.",
- "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntimeAutoUpdate"
- },
- "updateDelayOffset": {
- "description": "The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time.",
- "type": "string"
- }
+ "$ref": "./entityTypes/Trigger.json#/definitions/Trigger",
+ "description": "Properties of the trigger."
}
},
- "UpdateIntegrationRuntimeNodeRequest": {
- "description": "Update integration runtime node request.",
- "type": "object",
+ "required": [
+ "properties"
+ ]
+ },
+ "Factory": {
+ "description": "Factory resource type.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/FactoryIdentity",
+ "description": "Managed service identity of the factory."
+ },
"properties": {
- "concurrentJobsLimit": {
- "description": "The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed.",
- "type": "integer",
- "minimum": 1
- }
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FactoryProperties",
+ "description": "Properties of the factory."
}
},
- "LinkedServiceListResponse": {
- "description": "A list of linked service resources.",
- "type": "object",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of linked services.",
- "items": {
- "$ref": "#/definitions/LinkedServiceResource"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "FactoryUpdateParameters": {
+ "description": "Parameters for updating a factory resource.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
"type": "string"
- }
+ },
+ "description": "The resource tags."
+ },
+ "identity": {
+ "$ref": "#/definitions/FactoryIdentity",
+ "description": "Managed service identity of the factory."
}
- },
- "DatasetListResponse": {
- "description": "A list of dataset resources.",
- "type": "object",
- "required": [
- "value"
- ],
+ }
+ },
+ "FactoryIdentity": {
+ "description": "Identity properties of the factory resource.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The identity type. Currently the only supported type is 'SystemAssigned'.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "FactoryIdentityType",
+ "modelAsString": false
+ }
+ },
+ "principalId": {
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true,
+ "description": "The principal id of the identity."
+ },
+ "tenantId": {
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true,
+ "description": "The client tenant id of the identity."
+ }
+ },
+ "required": [
+ "type"
+ ]
+ },
+ "DatasetReference": {
+ "description": "Dataset reference type.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Dataset reference type.",
+ "enum": [
+ "DatasetReference"
+ ]
+ },
+ "referenceName": {
+ "type": "string",
+ "description": "Reference dataset name."
+ },
+ "parameters": {
+ "$ref": "#/definitions/ParameterValueSpecification",
+ "description": "Arguments for dataset."
+ }
+ },
+ "required": [
+ "type",
+ "referenceName"
+ ]
+ },
+ "DatasetResource": {
+ "description": "Dataset resource type.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "properties": {
"properties": {
- "value": {
- "type": "array",
- "description": "List of datasets.",
- "items": {
- "$ref": "#/definitions/DatasetResource"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
- "type": "string"
- }
+ "$ref": "./entityTypes/Dataset.json#/definitions/Dataset",
+ "description": "Dataset properties."
}
},
- "PipelineListResponse": {
- "description": "A list of pipeline resources.",
- "type": "object",
- "required": [
- "value"
- ],
+ "required": [
+ "properties"
+ ]
+ },
+ "LinkedServiceReference": {
+ "description": "Linked service reference type.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "Linked service reference type.",
+ "enum": [
+ "LinkedServiceReference"
+ ]
+ },
+ "referenceName": {
+ "type": "string",
+ "description": "Reference LinkedService name."
+ },
+ "parameters": {
+ "$ref": "#/definitions/ParameterValueSpecification",
+ "description": "Arguments for LinkedService."
+ }
+ },
+ "required": [
+ "type",
+ "referenceName"
+ ]
+ },
+ "LinkedServiceResource": {
+ "description": "Linked service resource type.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SubResource"
+ }
+ ],
+ "properties": {
"properties": {
- "value": {
- "type": "array",
- "description": "List of pipelines.",
- "items": {
- "$ref": "#/definitions/PipelineResource"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
- "type": "string"
- }
+ "$ref": "./entityTypes/LinkedService.json#/definitions/LinkedService",
+ "description": "Properties of linked service."
}
},
- "TriggerListResponse": {
- "description": "A list of trigger resources.",
- "type": "object",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of triggers.",
- "items": {
- "$ref": "#/definitions/TriggerResource"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
+ "required": [
+ "properties"
+ ]
+ },
+ "PipelineRunFilterParameters": {
+ "description": "Query parameters for listing pipeline runs.",
+ "type": "object",
+ "properties": {
+ "continuationToken": {
+ "description": "The continuation token for getting the next page of results. Null for first page.",
+ "type": "string"
+ },
+ "lastUpdatedAfter": {
+ "description": "The time at or after which the pipeline run event was updated in 'ISO 8601' format.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "lastUpdatedBefore": {
+ "description": "The time at or before which the pipeline run event was updated in 'ISO 8601' format.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "filters": {
+ "type": "array",
+ "description": "List of filters.",
+ "items": {
+ "$ref": "#/definitions/PipelineRunQueryFilter"
+ }
+ },
+ "orderBy": {
+ "type": "array",
+ "description": "List of OrderBy option.",
+ "items": {
+ "$ref": "#/definitions/PipelineRunQueryOrderBy"
+ }
+ }
+ },
+ "required": [
+ "lastUpdatedAfter",
+ "lastUpdatedBefore"
+ ]
+ },
+ "PipelineRunQueryFilter": {
+ "description": "Query filter option for listing pipeline runs.",
+ "type": "object",
+ "properties": {
+ "operand": {
+ "description": "Parameter name to be used for filter.",
+ "type": "string",
+ "enum": [
+ "PipelineName",
+ "Status",
+ "RunStart",
+ "RunEnd"
+ ],
+ "x-ms-enum": {
+ "name": "PipelineRunQueryFilterOperand",
+ "modelAsString": true
+ }
+ },
+ "operator": {
+ "description": "Operator to be used for filter.",
+ "type": "string",
+ "enum": [
+ "Equals",
+ "NotEquals",
+ "In",
+ "NotIn"
+ ],
+ "x-ms-enum": {
+ "name": "PipelineRunQueryFilterOperator",
+ "modelAsString": true
+ }
+ },
+ "values": {
+ "type": "array",
+ "description": "List of filter values.",
+ "items": {
"type": "string"
}
}
},
- "CreateRunResponse": {
- "description": "Response body with a run identifier.",
- "type": "object",
- "properties": {
- "runId": {
- "description": "Identifier of a run.",
+ "required": [
+ "operand",
+ "operator",
+ "values"
+ ]
+ },
+ "PipelineRunQueryOrderBy": {
+ "description": "An object to provide order by options for listing pipeline runs.",
+ "type": "object",
+ "properties": {
+ "orderBy": {
+ "description": "Parameter name to be used for order by.",
+ "type": "string",
+ "enum": [
+ "RunStart",
+ "RunEnd"
+ ],
+ "x-ms-enum": {
+ "name": "PipelineRunQueryOrderByField",
+ "modelAsString": true
+ }
+ },
+ "order": {
+ "description": "Sorting order of the parameter.",
+ "type": "string",
+ "enum": [
+ "ASC",
+ "DESC"
+ ],
+ "x-ms-enum": {
+ "name": "PipelineRunQueryOrder",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "orderBy",
+ "order"
+ ]
+ },
+ "PipelineRunQueryResponse": {
+ "description": "A list pipeline runs.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of pipeline runs.",
+ "items": {
+ "$ref": "#/definitions/PipelineRun"
+ }
+ },
+ "continuationToken": {
+ "description": "The continuation token for getting the next page of results, if any remaining results exist, null otherwise.",
+ "type": "string"
+ }
+ }
+ },
+ "PipelineRun": {
+ "description": "Information about a pipeline run.",
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "Identifier of a run.",
+ "type": "string",
+ "readOnly": true
+ },
+ "pipelineName": {
+ "description": "The pipeline name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "parameters": {
+ "description": "The full or partial list of parameter name, value pair used in the pipeline run.",
+ "type": "object",
+ "additionalProperties": {
"type": "string"
- }
+ },
+ "readOnly": true
+ },
+ "invokedBy": {
+ "description": "Entity that started the pipeline run.",
+ "$ref": "#/definitions/PipelineRunInvokedBy",
+ "readOnly": true
+ },
+ "lastUpdated": {
+ "description": "The last updated timestamp for the pipeline run event in ISO8601 format.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "runStart": {
+ "description": "The start time of a pipeline run in ISO8601 format.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "runEnd": {
+ "description": "The end time of a pipeline run in ISO8601 format.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "durationInMs": {
+ "description": "The duration of a pipeline run.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of a pipeline run.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "The message from a pipeline run.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "PipelineRunInvokedBy": {
+ "description": "Provides entity name and id that started the pipeline run.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the entity that started the pipeline run.",
+ "type": "string",
+ "readOnly": true
+ },
+ "id": {
+ "description": "The ID of the entity that started the run.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ActivityRunsListResponse": {
+ "description": "A list activity runs.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of activity runs.",
+ "items": {
+ "$ref": "#/definitions/ActivityRun"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "ActivityRun": {
+ "description": "Information about an activity run in a pipeline.",
+ "type": "object",
+ "properties": {
+ "pipelineName": {
+ "description": "The name of the pipeline.",
+ "type": "string",
+ "readOnly": true
+ },
+ "pipelineRunId": {
+ "description": "The id of the pipeline run.",
+ "type": "string",
+ "readOnly": true
+ },
+ "activityName": {
+ "description": "The name of the activity.",
+ "type": "string",
+ "readOnly": true
+ },
+ "activityType": {
+ "description": "The type of the activity.",
+ "type": "string",
+ "readOnly": true
+ },
+ "activityRunId": {
+ "description": "The id of the activity run.",
+ "type": "string",
+ "readOnly": true
+ },
+ "linkedServiceName": {
+ "description": "The name of the compute linked service.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The status of the activity run.",
+ "type": "string",
+ "readOnly": true
+ },
+ "activityRunStart": {
+ "description": "The start time of the activity run in 'ISO 8601' format.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "activityRunEnd": {
+ "description": "The end time of the activity run in 'ISO 8601' format.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "durationInMs": {
+ "description": "The duration of the activity run.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "input": {
+ "description": "The input for the activity.",
+ "type": "object",
+ "readOnly": true
+ },
+ "output": {
+ "description": "The output for the activity.",
+ "type": "object",
+ "readOnly": true
+ },
+ "error": {
+ "description": "The error if any from the activity run.",
+ "type": "object",
+ "readOnly": true
+ }
+ },
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "TriggerRunListResponse": {
+ "description": "A list of trigger runs.",
+ "type": "object",
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of trigger runs.",
+ "items": {
+ "$ref": "#/definitions/TriggerRun"
+ }
+ },
+ "nextLink": {
+ "description": "The link to the next page of results, if any remaining results exist.",
+ "type": "string"
+ }
+ }
+ },
+ "TriggerRun": {
+ "description": "Trigger runs.",
+ "type": "object",
+ "properties": {
+ "triggerRunId": {
+ "type": "string",
+ "description": "Trigger run id.",
+ "readOnly": true
+ },
+ "triggerName": {
+ "type": "string",
+ "description": "Trigger name.",
+ "readOnly": true
+ },
+ "triggerType": {
+ "type": "string",
+ "description": "Trigger type.",
+ "readOnly": true
+ },
+ "triggerRunTimestamp": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Trigger run start time.",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Inprogress"
+ ],
+ "x-ms-enum": {
+ "name": "TriggerRunStatus",
+ "modelAsString": true
+ },
+ "description": "Trigger run status.",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Trigger error message.",
+ "readOnly": true
},
- "required": [
- "runId"
- ]
- },
- "ErrorResponse": {
- "description": "The object that defines the structure of an Azure Data Factory response.",
- "type": "object",
"properties": {
- "code": {
- "description": "Error code.",
- "type": "string"
- },
- "message": {
- "description": "Error message.",
+ "description": "List of property name and value related to trigger run. Name, value pair depends on type of trigger.",
+ "type": "object",
+ "additionalProperties": {
"type": "string"
},
- "target": {
- "description": "Property name/path in request associated with error.",
+ "readOnly": true
+ },
+ "triggeredPipelines": {
+ "description": "List of pipeline name and run Id triggered by the trigger run.",
+ "type": "object",
+ "additionalProperties": {
"type": "string"
},
- "details": {
- "description": "Array with additional error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "required": [
- "code",
- "message"
- ]
- },
- "ParameterDefinitionSpecification": {
- "description": "Definition of all parameters for an entity.",
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ParameterSpecification"
+ "readOnly": true
}
},
- "ParameterSpecification": {
- "description": "Definition of a single parameter for an entity.",
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "description": "Parameter type.",
- "enum": [
- "Object",
- "String",
- "Int",
- "Float",
- "Bool",
- "Array",
- "SecureString"
- ],
- "x-ms-enum": {
- "name": "ParameterType",
- "modelAsString": true
- }
- },
- "defaultValue": {
- "type": "object",
- "description": "Default value of parameter."
- }
- },
- "required": [
- "type"
- ]
- },
- "ParameterValueSpecification": {
- "description": "An object mapping parameter names to argument values.",
- "type": "object",
- "additionalProperties": {
- "type": "object"
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "OperationListResponse": {
+ "description": "A list of operations that can be performed by the Data Factory service.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Data Factory operations supported by the Data Factory resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The link to the next page of results, if any remaining results exist."
}
- },
- "FactoryVSTSConfiguration": {
- "description": "Factory's VSTS repo information.",
- "properties": {
- "accountName": {
- "description": "VSTS account name.",
- "type": "string"
- },
- "projectName": {
- "description": "VSTS project name.",
- "type": "string"
- },
- "repositoryName": {
- "description": "VSTS repository name.",
- "type": "string"
- },
- "collaborationBranch": {
- "description": "VSTS collaboration branch.",
- "type": "string"
- },
- "rootFolder": {
- "description": "VSTS root folder.",
- "type": "string"
- },
- "lastCommitId": {
- "description": "VSTS last commit id.",
- "type": "string"
- },
- "tenantId": {
- "description": "VSTS tenant id.",
- "type": "string"
- }
- }
- },
- "FactoryRepoUpdate": {
- "description": "Factory's VSTS repo information.",
- "properties": {
- "factoryResourceId": {
- "description": "The factory resource id.",
- "type": "string"
- },
- "resourceGroupName": {
- "description": "The resource group name.",
- "type": "string"
- },
- "vstsConfiguration": {
- "$ref": "#/definitions/FactoryVSTSConfiguration",
- "description": "VSTS repo information of the factory."
- }
- }
- },
- "FactoryProperties": {
- "description": "Factory resource properties.",
- "properties": {
- "provisioningState": {
- "description": "Factory provisioning state, example Succeeded.",
- "type": "string",
- "readOnly": true
- },
- "createTime": {
- "description": "Time the factory was created in ISO8601 format.",
- "type": "string",
- "readOnly": true,
- "format": "date-time"
- },
- "version": {
- "description": "Version of the factory.",
- "type": "string",
- "readOnly": true
- },
- "vstsConfiguration": {
- "$ref": "#/definitions/FactoryVSTSConfiguration",
- "description": "VSTS repo information of the factory."
- }
- }
- },
- "PipelineResource": {
- "description": "Pipeline resource type.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/SubResource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "./entityTypes/Pipeline.json#/definitions/Pipeline",
- "description": "Properties of the pipeline."
- }
- },
- "additionalProperties": {
- "type": "object"
- },
- "required": [
- "properties"
- ]
- },
- "PipelineReference": {
- "description": "Pipeline reference type.",
- "properties": {
- "type": {
- "type": "string",
- "description": "Pipeline reference type.",
- "enum": [
- "PipelineReference"
- ]
- },
- "referenceName": {
- "type": "string",
- "description": "Reference pipeline name."
- },
- "name": {
- "type": "string",
- "description": "Reference name."
- }
- },
- "required": [
- "type",
- "referenceName"
- ]
- },
- "TriggerPipelineReference": {
- "description": "Pipeline that needs to be triggered with the given parameters.",
- "properties": {
- "pipelineReference": {
- "description": "Pipeline reference.",
- "$ref": "#/definitions/PipelineReference"
- },
- "parameters": {
- "description": "Pipeline parameters.",
- "$ref": "#/definitions/ParameterValueSpecification"
- }
- }
- },
- "TriggerResource": {
- "description": "Trigger resource type.",
- "allOf": [
- {
- "$ref": "#/definitions/SubResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "./entityTypes/Trigger.json#/definitions/Trigger",
- "description": "Properties of the trigger."
- }
- },
- "required": [
- "properties"
- ]
- },
- "Factory": {
- "description": "Factory resource type.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "identity": {
- "$ref": "#/definitions/FactoryIdentity",
- "description": "Managed service identity of the factory."
- },
+ }
+ },
+ "Operation": {
+ "description": "Azure Data Factory API operation definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "origin": {
+ "description": "The intended executor of the operation.",
+ "type": "string"
+ },
+ "display": {
+ "description": "Metadata associated with the operation.",
"properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/FactoryProperties",
- "description": "Properties of the factory."
- }
- },
- "additionalProperties": {
- "type": "object"
- }
- },
- "FactoryUpdateParameters": {
- "description": "Parameters for updating a factory resource.",
- "properties": {
- "tags": {
- "type": "object",
- "additionalProperties": {
+ "description": {
+ "description": "The description of the operation.",
"type": "string"
},
- "description": "The resource tags."
- },
- "identity": {
- "$ref": "#/definitions/FactoryIdentity",
- "description": "Managed service identity of the factory."
- }
- }
- },
- "FactoryIdentity": {
- "description": "Identity properties of the factory resource.",
- "properties": {
- "type": {
- "type": "string",
- "description": "The identity type. Currently the only supported type is 'SystemAssigned'.",
- "enum": [
- "SystemAssigned"
- ],
- "x-ms-enum": {
- "name": "FactoryIdentityType",
- "modelAsString": false
+ "provider": {
+ "description": "The name of the provider.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The name of the resource type on which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The type of operation: get, read, delete, etc.",
+ "type": "string"
}
- },
- "principalId": {
- "type": "string",
- "format": "uuid",
- "readOnly": true,
- "description": "The principal id of the identity."
- },
- "tenantId": {
- "type": "string",
- "format": "uuid",
- "readOnly": true,
- "description": "The client tenant id of the identity."
}
},
- "required": [
- "type"
- ]
- },
- "DatasetReference": {
- "description": "Dataset reference type.",
"properties": {
- "type": {
- "type": "string",
- "description": "Dataset reference type.",
- "enum": [
- "DatasetReference"
- ]
- },
- "referenceName": {
- "type": "string",
- "description": "Reference dataset name."
- },
- "parameters": {
- "$ref": "#/definitions/ParameterValueSpecification",
- "description": "Arguments for dataset."
+ "description": "Additional details about the operation.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationProperties"
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Additional details about an operation.",
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "serviceSpecification": {
+ "description": "Details about a service operation.",
+ "$ref": "#/definitions/OperationServiceSpecification"
+ }
+ }
+ },
+ "OperationServiceSpecification": {
+ "description": "Details about a service operation.",
+ "type": "object",
+ "properties": {
+ "logSpecifications": {
+ "description": "Details about operations related to logs.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationLogSpecification"
}
},
- "required": [
- "type",
- "referenceName"
- ]
- },
- "DatasetResource": {
- "description": "Dataset resource type.",
- "allOf": [
- {
- "$ref": "#/definitions/SubResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "./entityTypes/Dataset.json#/definitions/Dataset",
- "description": "Dataset properties."
- }
- },
- "required": [
- "properties"
- ]
- },
- "LinkedServiceReference": {
- "description": "Linked service reference type.",
- "properties": {
- "type": {
- "type": "string",
- "description": "Linked service reference type.",
- "enum": [
- "LinkedServiceReference"
- ]
- },
- "referenceName": {
- "type": "string",
- "description": "Reference LinkedService name."
- },
- "parameters": {
- "$ref": "#/definitions/ParameterValueSpecification",
- "description": "Arguments for LinkedService."
+ "metricSpecifications": {
+ "description": "Details about operations related to metrics.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationMetricSpecification"
}
+ }
+ }
+ },
+ "OperationLogSpecification": {
+ "description": "Details about an operation related to logs.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the log category.",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "Localized display name.",
+ "type": "string"
+ },
+ "blobDuration": {
+ "description": "Blobs created in the customer storage account, per hour.",
+ "type": "string"
+ }
+ }
+ },
+ "OperationMetricSpecification": {
+ "description": "Details about an operation related to metrics.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the metric.",
+ "type": "string"
},
- "required": [
- "type",
- "referenceName"
- ]
- },
- "LinkedServiceResource": {
- "description": "Linked service resource type.",
- "allOf": [
- {
- "$ref": "#/definitions/SubResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "./entityTypes/LinkedService.json#/definitions/LinkedService",
- "description": "Properties of linked service."
- }
+ "displayName": {
+ "description": "Localized display name of the metric.",
+ "type": "string"
},
- "required": [
- "properties"
- ]
- },
- "PipelineRunFilterParameters": {
- "description": "Query parameters for listing pipeline runs.",
- "type": "object",
- "properties": {
- "continuationToken": {
- "description": "The continuation token for getting the next page of results. Null for first page.",
- "type": "string"
- },
- "lastUpdatedAfter": {
- "description": "The time at or after which the pipeline run event was updated in 'ISO 8601' format.",
- "type": "string",
- "format": "date-time"
- },
- "lastUpdatedBefore": {
- "description": "The time at or before which the pipeline run event was updated in 'ISO 8601' format.",
- "type": "string",
- "format": "date-time"
- },
- "filters": {
- "type": "array",
- "description": "List of filters.",
- "items": {
- "$ref": "#/definitions/PipelineRunQueryFilter"
- }
- },
- "orderBy": {
- "type": "array",
- "description": "List of OrderBy option.",
- "items": {
- "$ref": "#/definitions/PipelineRunQueryOrderBy"
- }
- }
+ "displayDescription": {
+ "description": "The description of the metric.",
+ "type": "string"
},
- "required": [
- "lastUpdatedAfter",
- "lastUpdatedBefore"
- ]
- },
- "PipelineRunQueryFilter": {
- "description": "Query filter option for listing pipeline runs.",
- "type": "object",
- "properties": {
- "operand": {
- "description": "Parameter name to be used for filter.",
- "type": "string",
- "enum": [
- "PipelineName",
- "Status",
- "RunStart",
- "RunEnd"
- ],
- "x-ms-enum": {
- "name": "PipelineRunQueryFilterOperand",
- "modelAsString": true
- }
- },
- "operator": {
- "description": "Operator to be used for filter.",
- "type": "string",
- "enum": [
- "Equals",
- "NotEquals",
- "In",
- "NotIn"
- ],
- "x-ms-enum": {
- "name": "PipelineRunQueryFilterOperator",
- "modelAsString": true
- }
- },
- "values": {
- "type": "array",
- "description": "List of filter values.",
- "items": {
- "type": "string"
- }
- }
+ "unit": {
+ "description": "The unit that the metric is measured in.",
+ "type": "string"
},
- "required": [
- "operand",
- "operator",
- "values"
- ]
- },
- "PipelineRunQueryOrderBy": {
- "description": "An object to provide order by options for listing pipeline runs.",
- "type": "object",
- "properties": {
- "orderBy": {
- "description": "Parameter name to be used for order by.",
- "type": "string",
- "enum": [
- "RunStart",
- "RunEnd"
- ],
- "x-ms-enum": {
- "name": "PipelineRunQueryOrderByField",
- "modelAsString": true
- }
- },
- "order": {
- "description": "Sorting order of the parameter.",
- "type": "string",
- "enum": [
- "ASC",
- "DESC"
- ],
- "x-ms-enum": {
- "name": "PipelineRunQueryOrder",
- "modelAsString": true
- }
- }
+ "aggregationType": {
+ "description": "The type of metric aggregation.",
+ "type": "string"
},
- "required": [
- "orderBy",
- "order"
- ]
- },
- "PipelineRunQueryResponse": {
- "description": "A list pipeline runs.",
- "type": "object",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of pipeline runs.",
- "items": {
- "$ref": "#/definitions/PipelineRun"
- }
- },
- "continuationToken": {
- "description": "The continuation token for getting the next page of results, if any remaining results exist, null otherwise.",
- "type": "string"
- }
- }
- },
- "PipelineRun": {
- "description": "Information about a pipeline run.",
- "type": "object",
- "properties": {
- "runId": {
- "description": "Identifier of a run.",
- "type": "string",
- "readOnly": true
- },
- "pipelineName": {
- "description": "The pipeline name.",
- "type": "string",
- "readOnly": true
- },
- "parameters": {
- "description": "The full or partial list of parameter name, value pair used in the pipeline run.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "readOnly": true
- },
- "invokedBy": {
- "description": "Entity that started the pipeline run.",
- "$ref": "#/definitions/PipelineRunInvokedBy",
- "readOnly": true
- },
- "lastUpdated": {
- "description": "The last updated timestamp for the pipeline run event in ISO8601 format.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "runStart": {
- "description": "The start time of a pipeline run in ISO8601 format.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "runEnd": {
- "description": "The end time of a pipeline run in ISO8601 format.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "durationInMs": {
- "description": "The duration of a pipeline run.",
- "type": "integer",
- "readOnly": true
- },
- "status": {
- "description": "The status of a pipeline run.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "The message from a pipeline run.",
- "type": "string",
- "readOnly": true
- }
+ "enableRegionalMdmAccount": {
+ "description": "Whether or not the service is using regional MDM accounts.",
+ "type": "string"
},
- "additionalProperties": {
- "type": "object"
- }
- },
- "PipelineRunInvokedBy": {
- "description": "Provides entity name and id that started the pipeline run.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Name of the entity that started the pipeline run.",
- "type": "string",
- "readOnly": true
- },
- "id": {
- "description": "The ID of the entity that started the run.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ActivityRunsListResponse": {
- "description": "A list activity runs.",
- "type": "object",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of activity runs.",
- "items": {
- "$ref": "#/definitions/ActivityRun"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
- "type": "string"
- }
- }
- },
- "ActivityRun": {
- "description": "Information about an activity run in a pipeline.",
- "type": "object",
- "properties": {
- "pipelineName": {
- "description": "The name of the pipeline.",
- "type": "string",
- "readOnly": true
- },
- "pipelineRunId": {
- "description": "The id of the pipeline run.",
- "type": "string",
- "readOnly": true
- },
- "activityName": {
- "description": "The name of the activity.",
- "type": "string",
- "readOnly": true
- },
- "activityType": {
- "description": "The type of the activity.",
- "type": "string",
- "readOnly": true
- },
- "activityRunId": {
- "description": "The id of the activity run.",
- "type": "string",
- "readOnly": true
- },
- "linkedServiceName": {
- "description": "The name of the compute linked service.",
- "type": "string",
- "readOnly": true
- },
- "status": {
- "description": "The status of the activity run.",
- "type": "string",
- "readOnly": true
- },
- "activityRunStart": {
- "description": "The start time of the activity run in 'ISO 8601' format.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "activityRunEnd": {
- "description": "The end time of the activity run in 'ISO 8601' format.",
- "type": "string",
- "format": "date-time",
- "readOnly": true
- },
- "durationInMs": {
- "description": "The duration of the activity run.",
- "type": "integer",
- "readOnly": true
- },
- "input": {
- "description": "The input for the activity.",
- "type": "object",
- "readOnly": true
- },
- "output": {
- "description": "The output for the activity.",
- "type": "object",
- "readOnly": true
- },
- "error": {
- "description": "The error if any from the activity run.",
- "type": "object",
- "readOnly": true
- }
+ "sourceMdmAccount": {
+ "description": "The name of the MDM account.",
+ "type": "string"
},
- "additionalProperties": {
- "type": "object"
- }
- },
- "TriggerRunListResponse": {
- "description": "A list of trigger runs.",
- "type": "object",
- "required": [
- "value"
- ],
- "properties": {
- "value": {
- "type": "array",
- "description": "List of trigger runs.",
- "items": {
- "$ref": "#/definitions/TriggerRun"
- }
- },
- "nextLink": {
- "description": "The link to the next page of results, if any remaining results exist.",
- "type": "string"
- }
- }
- },
- "TriggerRun": {
- "description": "Trigger runs.",
- "type": "object",
- "properties": {
- "triggerRunId": {
- "type": "string",
- "description": "Trigger run id.",
- "readOnly": true
- },
- "triggerName": {
- "type": "string",
- "description": "Trigger name.",
- "readOnly": true
- },
- "triggerType": {
- "type": "string",
- "description": "Trigger type.",
- "readOnly": true
- },
- "triggerRunTimestamp": {
- "type": "string",
- "format": "date-time",
- "description": "Trigger run start time.",
- "readOnly": true
- },
- "status": {
- "type": "string",
- "enum": [
- "Succeeded",
- "Failed",
- "Inprogress"
- ],
- "x-ms-enum": {
- "name": "TriggerRunStatus",
- "modelAsString": true
- },
- "description": "Trigger run status.",
- "readOnly": true
- },
- "message": {
- "type": "string",
- "description": "Trigger error message.",
- "readOnly": true
- },
- "properties": {
- "description": "List of property name and value related to trigger run. Name, value pair depends on type of trigger.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "readOnly": true
- },
- "triggeredPipelines": {
- "description": "List of pipeline name and run Id triggered by the trigger run.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "readOnly": true
- }
+ "sourceMdmNamespace": {
+ "description": "The name of the MDM namespace.",
+ "type": "string"
},
- "additionalProperties": {
- "type": "object"
- }
- },
- "OperationListResponse": {
- "description": "A list of operations that can be performed by the Data Factory service.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "description": "List of Data Factory operations supported by the Data Factory resource provider."
- },
- "nextLink": {
- "type": "string",
- "description": "The link to the next page of results, if any remaining results exist."
- }
- }
- },
- "Operation": {
- "description": "Azure Data Factory API operation definition.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Operation name: {provider}/{resource}/{operation}",
- "type": "string"
- },
- "origin": {
- "description": "The intended executor of the operation.",
- "type": "string"
- },
- "display": {
- "description": "Metadata associated with the operation.",
- "properties": {
- "description": {
- "description": "The description of the operation.",
- "type": "string"
- },
- "provider": {
- "description": "The name of the provider.",
- "type": "string"
- },
- "resource": {
- "description": "The name of the resource type on which the operation is performed.",
- "type": "string"
- },
- "operation": {
- "description": "The type of operation: get, read, delete, etc.",
- "type": "string"
- }
- }
- },
- "properties": {
- "description": "Additional details about the operation.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/OperationProperties"
- }
- }
- },
- "OperationProperties": {
- "description": "Additional details about an operation.",
- "type": "object",
- "x-ms-client-flatten": true,
- "properties": {
- "serviceSpecification": {
- "description": "Details about a service operation.",
- "$ref": "#/definitions/OperationServiceSpecification"
- }
- }
- },
- "OperationServiceSpecification": {
- "description": "Details about a service operation.",
- "type": "object",
- "properties": {
- "logSpecifications": {
- "description": "Details about operations related to logs.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OperationLogSpecification"
- }
- },
- "metricSpecifications": {
- "description": "Details about operations related to metrics.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OperationMetricSpecification"
- }
- }
- }
- },
- "OperationLogSpecification": {
- "description": "Details about an operation related to logs.",
- "type": "object",
- "properties": {
- "name": {
- "description": "The name of the log category.",
- "type": "string"
- },
- "displayName": {
- "description": "Localized display name.",
- "type": "string"
- },
- "blobDuration": {
- "description": "Blobs created in the customer storage account, per hour.",
- "type": "string"
- }
- }
- },
- "OperationMetricSpecification": {
- "description": "Details about an operation related to metrics.",
- "type": "object",
- "properties": {
- "name": {
- "description": "The name of the metric.",
- "type": "string"
- },
- "displayName": {
- "description": "Localized display name of the metric.",
- "type": "string"
- },
- "displayDescription": {
- "description": "The description of the metric.",
- "type": "string"
- },
- "unit": {
- "description": "The unit that the metric is measured in.",
- "type": "string"
- },
- "aggregationType": {
- "description": "The type of metric aggregation.",
- "type": "string"
- },
- "enableRegionalMdmAccount": {
- "description": "Whether or not the service is using regional MDM accounts.",
- "type": "string"
- },
- "sourceMdmAccount": {
- "description": "The name of the MDM account.",
- "type": "string"
- },
- "sourceMdmNamespace": {
- "description": "The name of the MDM namespace.",
- "type": "string"
- },
- "availabilities": {
- "description": "Defines how often data for metrics becomes available.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OperationMetricAvailability"
- }
- }
- }
- },
- "OperationMetricAvailability": {
- "description": "Defines how often data for a metric becomes available.",
- "type": "object",
- "properties": {
- "timeGrain": {
- "description": "The granularity for the metric.",
- "type": "string"
- },
- "blobDuration": {
- "description": "Blob created in the customer storage account, per hour.",
- "type": "string"
+ "availabilities": {
+ "description": "Defines how often data for metrics becomes available.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationMetricAvailability"
}
}
}
},
- "parameters": {
- "subscriptionId": {
- "name": "subscriptionId",
- "description": "The subscription identifier.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- "resourceGroupName": {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[-\\w\\._\\(\\)]+$",
- "minLength": 1,
- "maxLength": 90,
- "x-ms-parameter-location": "method"
- },
- "factoryName": {
- "name": "factoryName",
- "description": "The factory name.",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$",
- "minLength": 3,
- "maxLength": 63,
- "x-ms-parameter-location": "method"
- },
- "locationId": {
- "name": "locationId",
- "description": "The location identifier.",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "linkedServiceName": {
- "name": "linkedServiceName",
- "description": "The linked service name.",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$",
- "minLength": 1,
- "maxLength": 260,
- "x-ms-parameter-location": "method"
- },
- "datasetName": {
- "name": "datasetName",
- "description": "The dataset name.",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$",
- "minLength": 1,
- "maxLength": 260,
- "x-ms-parameter-location": "method"
- },
- "pipelineName": {
- "name": "pipelineName",
- "description": "The pipeline name.",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$",
- "minLength": 1,
- "maxLength": 260,
- "x-ms-parameter-location": "method"
- },
- "triggerName": {
- "name": "triggerName",
- "description": "The trigger name.",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$",
- "minLength": 1,
- "maxLength": 260,
- "x-ms-parameter-location": "method"
- },
- "runId": {
- "name": "runId",
- "description": "The pipeline run identifier.",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "referencePipelineRunId": {
- "name": "referencePipelineRunId",
- "description": "The pipeline run identifier.",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "integrationRuntimeName": {
- "name": "integrationRuntimeName",
- "description": "The integration runtime name.",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$",
- "minLength": 3,
- "maxLength": 63,
- "x-ms-parameter-location": "method"
- },
- "nodeName": {
- "name": "nodeName",
- "description": "The integration runtime node name.",
- "in": "path",
- "required": true,
- "type": "string",
- "pattern": "^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$",
- "minLength": 1,
- "maxLength": 150,
- "x-ms-parameter-location": "method"
- },
- "api-version": {
- "name": "api-version",
- "description": "The API version.",
- "in": "query",
- "required": true,
- "type": "string"
+ "OperationMetricAvailability": {
+ "description": "Defines how often data for a metric becomes available.",
+ "type": "object",
+ "properties": {
+ "timeGrain": {
+ "description": "The granularity for the metric.",
+ "type": "string"
+ },
+ "blobDuration": {
+ "description": "Blob created in the customer storage account, per hour.",
+ "type": "string"
+ }
}
}
+ },
+ "parameters": {
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "description": "The subscription identifier.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ "resourceGroupName": {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method"
+ },
+ "factoryName": {
+ "name": "factoryName",
+ "description": "The factory name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$",
+ "minLength": 3,
+ "maxLength": 63,
+ "x-ms-parameter-location": "method"
+ },
+ "locationId": {
+ "name": "locationId",
+ "description": "The location identifier.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "linkedServiceName": {
+ "name": "linkedServiceName",
+ "description": "The linked service name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$",
+ "minLength": 1,
+ "maxLength": 260,
+ "x-ms-parameter-location": "method"
+ },
+ "datasetName": {
+ "name": "datasetName",
+ "description": "The dataset name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$",
+ "minLength": 1,
+ "maxLength": 260,
+ "x-ms-parameter-location": "method"
+ },
+ "pipelineName": {
+ "name": "pipelineName",
+ "description": "The pipeline name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$",
+ "minLength": 1,
+ "maxLength": 260,
+ "x-ms-parameter-location": "method"
+ },
+ "triggerName": {
+ "name": "triggerName",
+ "description": "The trigger name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[A-Za-z0-9_][^<>*#.%&:\\\\+?/]*$",
+ "minLength": 1,
+ "maxLength": 260,
+ "x-ms-parameter-location": "method"
+ },
+ "runId": {
+ "name": "runId",
+ "description": "The pipeline run identifier.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "referencePipelineRunId": {
+ "name": "referencePipelineRunId",
+ "description": "The pipeline run identifier.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "integrationRuntimeName": {
+ "name": "integrationRuntimeName",
+ "description": "The integration runtime name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$",
+ "minLength": 3,
+ "maxLength": 63,
+ "x-ms-parameter-location": "method"
+ },
+ "nodeName": {
+ "name": "nodeName",
+ "description": "The integration runtime node name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$",
+ "minLength": 1,
+ "maxLength": 150,
+ "x-ms-parameter-location": "method"
+ },
+ "api-version": {
+ "name": "api-version",
+ "description": "The API version.",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ }
}
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json
index 506b80d1769a..a18b8fe01f46 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Dataset.json
@@ -931,7 +931,7 @@
"path"
]
},
- "SqlServerTableDataset": {
+ "SqlServerTableDataset": {
"x-ms-discriminator-value": "SqlServerTable",
"description": "The on-premises SQL Server dataset.",
"type": "object",
@@ -1080,341 +1080,313 @@
}
}
},
- "AmazonMWSObjectDataset" : {
+ "AmazonMWSObjectDataset": {
"x-ms-discriminator-value": "AmazonMWSObject",
"description": "Amazon Marketplace Web Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "AzurePostgreSqlTableDataset" : {
+ "AzurePostgreSqlTableDataset": {
"x-ms-discriminator-value": "AzurePostgreSqlTable",
"description": "Azure PostgreSQL dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "ConcurObjectDataset" : {
+ "ConcurObjectDataset": {
"x-ms-discriminator-value": "ConcurObject",
"description": "Concur Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "CouchbaseTableDataset" : {
+ "CouchbaseTableDataset": {
"x-ms-discriminator-value": "CouchbaseTable",
"description": "Couchbase server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "DrillTableDataset" : {
+ "DrillTableDataset": {
"x-ms-discriminator-value": "DrillTable",
"description": "Drill server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "EloquaObjectDataset" : {
+ "EloquaObjectDataset": {
"x-ms-discriminator-value": "EloquaObject",
"description": "Eloqua server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "GoogleBigQueryObjectDataset" : {
+ "GoogleBigQueryObjectDataset": {
"x-ms-discriminator-value": "GoogleBigQueryObject",
"description": "Google BigQuery service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "GreenplumTableDataset" : {
+ "GreenplumTableDataset": {
"x-ms-discriminator-value": "GreenplumTable",
"description": "Greenplum Database dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "HBaseObjectDataset" : {
+ "HBaseObjectDataset": {
"x-ms-discriminator-value": "HBaseObject",
"description": "HBase server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "HiveObjectDataset" : {
+ "HiveObjectDataset": {
"x-ms-discriminator-value": "HiveObject",
"description": "Hive Server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "HubspotObjectDataset" : {
+ "HubspotObjectDataset": {
"x-ms-discriminator-value": "HubspotObject",
"description": "Hubspot Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "ImpalaObjectDataset" : {
+ "ImpalaObjectDataset": {
"x-ms-discriminator-value": "ImpalaObject",
"description": "Impala server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "JiraObjectDataset" : {
+ "JiraObjectDataset": {
"x-ms-discriminator-value": "JiraObject",
"description": "Jira Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "MagentoObjectDataset" : {
+ "MagentoObjectDataset": {
"x-ms-discriminator-value": "MagentoObject",
"description": "Magento server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "MariaDBTableDataset" : {
+ "MariaDBTableDataset": {
"x-ms-discriminator-value": "MariaDBTable",
"description": "MariaDB server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "MarketoObjectDataset" : {
+ "MarketoObjectDataset": {
"x-ms-discriminator-value": "MarketoObject",
"description": "Marketo server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "PaypalObjectDataset" : {
+ "PaypalObjectDataset": {
"x-ms-discriminator-value": "PaypalObject",
"description": "Paypal Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "PhoenixObjectDataset" : {
+ "PhoenixObjectDataset": {
"x-ms-discriminator-value": "PhoenixObject",
"description": "Phoenix server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "PrestoObjectDataset" : {
+ "PrestoObjectDataset": {
"x-ms-discriminator-value": "PrestoObject",
"description": "Presto server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "QuickBooksObjectDataset" : {
+ "QuickBooksObjectDataset": {
"x-ms-discriminator-value": "QuickBooksObject",
"description": "QuickBooks server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "ServiceNowObjectDataset" : {
+ "ServiceNowObjectDataset": {
"x-ms-discriminator-value": "ServiceNowObject",
"description": "ServiceNow server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "ShopifyObjectDataset" : {
+ "ShopifyObjectDataset": {
"x-ms-discriminator-value": "ShopifyObject",
"description": "Shopify Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "SparkObjectDataset" : {
+ "SparkObjectDataset": {
"x-ms-discriminator-value": "SparkObject",
"description": "Spark Server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "SquareObjectDataset" : {
+ "SquareObjectDataset": {
"x-ms-discriminator-value": "SquareObject",
"description": "Square Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "XeroObjectDataset" : {
+ "XeroObjectDataset": {
"x-ms-discriminator-value": "XeroObject",
"description": "Xero Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "ZohoObjectDataset" : {
+ "ZohoObjectDataset": {
"x-ms-discriminator-value": "ZohoObject",
"description": "Zoho server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "NetezzaTableDataset" : {
+ "NetezzaTableDataset": {
"x-ms-discriminator-value": "NetezzaTable",
"description": "Netezza dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
- "VerticaTableDataset" : {
+ "VerticaTableDataset": {
"x-ms-discriminator-value": "VerticaTable",
"description": "Vertica dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
"SalesforceMarketingCloudObjectDataset": {
"x-ms-discriminator-value": "SalesforceMarketingCloudObject",
@@ -1422,11 +1394,10 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
},
"ResponsysObjectDataset": {
"x-ms-discriminator-value": "ResponsysObject",
@@ -1434,11 +1405,10 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
- "properties": {
- }
+ "properties": {}
}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json
index 6d251d9049a6..fdd52c0e61b7 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/LinkedService.json
@@ -386,8 +386,8 @@
"description": "The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0."
},
"serviceUri": {
- "type": "object",
- "description": "The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)."
+ "type": "object",
+ "description": "The URL to the Microsoft Dynamics server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)."
},
"organizationName": {
"type": "object",
@@ -1482,7 +1482,7 @@
"url"
]
},
- "AmazonS3LinkedService": {
+ "AmazonS3LinkedService": {
"x-ms-discriminator-value": "AmazonS3",
"description": "Linked service for Amazon S3.",
"type": "object",
@@ -1961,28 +1961,28 @@
"server"
]
},
- "AmazonMWSLinkedService": {
- "x-ms-discriminator-value": "AmazonMWS",
- "description": "Amazon Marketplace Web Service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Amazon Marketplace Web Service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AmazonMWSLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "AmazonMWSLinkedServiceTypeProperties": {
- "description": "Amazon Marketplace Web Service linked service properties.",
+ "AmazonMWSLinkedService": {
+ "x-ms-discriminator-value": "AmazonMWS",
+ "description": "Amazon Marketplace Web Service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Amazon Marketplace Web Service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AmazonMWSLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AmazonMWSLinkedServiceTypeProperties": {
+ "description": "Amazon Marketplace Web Service linked service properties.",
"properties": {
"endpoint": {
"description": "The endpoint of the Amazon MWS server, (i.e. mws.amazonservices.com)",
@@ -2020,8 +2020,8 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
@@ -2030,29 +2030,29 @@
"marketplaceID",
"sellerID",
"accessKeyId"
- ]
- },
- "AzurePostgreSqlLinkedService": {
- "x-ms-discriminator-value": "AzurePostgreSql",
- "description": "Azure PostgreSQL linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Azure PostgreSQL linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/AzurePostgreSqlLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "AzurePostgreSqlLinkedServiceTypeProperties": {
+ ]
+ },
+ "AzurePostgreSqlLinkedService": {
+ "x-ms-discriminator-value": "AzurePostgreSql",
+ "description": "Azure PostgreSQL linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure PostgreSQL linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzurePostgreSqlLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzurePostgreSqlLinkedServiceTypeProperties": {
"description": "Azure PostgreSQL linked service properties.",
"properties": {
"connectionString": {
@@ -2063,30 +2063,30 @@
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
- }
- },
- "ConcurLinkedService": {
- "x-ms-discriminator-value": "Concur",
- "description": "Concur Service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Concur Service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ConcurLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "ConcurLinkedServiceTypeProperties": {
- "description": "Concur Service linked service properties.",
+ }
+ },
+ "ConcurLinkedService": {
+ "x-ms-discriminator-value": "Concur",
+ "description": "Concur Service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Concur Service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ConcurLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "ConcurLinkedServiceTypeProperties": {
+ "description": "Concur Service linked service properties.",
"properties": {
"clientId": {
"description": "Application client_id supplied by Concur App Management.",
@@ -2112,37 +2112,37 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"clientId",
"username"
- ]
- },
- "CouchbaseLinkedService": {
- "x-ms-discriminator-value": "Couchbase",
- "description": "Couchbase server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Couchbase server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/CouchbaseLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "CouchbaseLinkedServiceTypeProperties": {
+ ]
+ },
+ "CouchbaseLinkedService": {
+ "x-ms-discriminator-value": "Couchbase",
+ "description": "Couchbase server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Couchbase server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CouchbaseLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "CouchbaseLinkedServiceTypeProperties": {
"description": "Couchbase server linked service properties.",
"properties": {
"connectionString": {
@@ -2153,29 +2153,29 @@
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
- }
- },
- "DrillLinkedService": {
- "x-ms-discriminator-value": "Drill",
- "description": "Drill server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Drill server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/DrillLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "DrillLinkedServiceTypeProperties": {
+ }
+ },
+ "DrillLinkedService": {
+ "x-ms-discriminator-value": "Drill",
+ "description": "Drill server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Drill server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DrillLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "DrillLinkedServiceTypeProperties": {
"description": "Drill server linked service properties.",
"properties": {
"connectionString": {
@@ -2186,30 +2186,30 @@
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
- }
- },
- "EloquaLinkedService": {
- "x-ms-discriminator-value": "Eloqua",
- "description": "Eloqua server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Eloqua server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/EloquaLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "EloquaLinkedServiceTypeProperties": {
- "description": "Eloqua server linked service properties.",
+ }
+ },
+ "EloquaLinkedService": {
+ "x-ms-discriminator-value": "Eloqua",
+ "description": "Eloqua server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Eloqua server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/EloquaLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "EloquaLinkedServiceTypeProperties": {
+ "description": "Eloqua server linked service properties.",
"properties": {
"endpoint": {
"description": "The endpoint of the Eloqua server. (i.e. eloqua.example.com)",
@@ -2235,38 +2235,38 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"endpoint",
"username"
- ]
- },
- "GoogleBigQueryLinkedService": {
- "x-ms-discriminator-value": "GoogleBigQuery",
- "description": "Google BigQuery service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Google BigQuery service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GoogleBigQueryLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "GoogleBigQueryLinkedServiceTypeProperties": {
- "description": "Google BigQuery service linked service properties.",
+ ]
+ },
+ "GoogleBigQueryLinkedService": {
+ "x-ms-discriminator-value": "GoogleBigQuery",
+ "description": "Google BigQuery service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Google BigQuery service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GoogleBigQueryLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "GoogleBigQueryLinkedServiceTypeProperties": {
+ "description": "Google BigQuery service linked service properties.",
"properties": {
"project": {
"description": "The default BigQuery project to query against.",
@@ -2320,37 +2320,37 @@
"description": "Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"project",
"authenticationType"
- ]
- },
- "GreenplumLinkedService": {
- "x-ms-discriminator-value": "Greenplum",
- "description": "Greenplum Database linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Greenplum Database linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GreenplumLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "GreenplumLinkedServiceTypeProperties": {
+ ]
+ },
+ "GreenplumLinkedService": {
+ "x-ms-discriminator-value": "Greenplum",
+ "description": "Greenplum Database linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Greenplum Database linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GreenplumLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "GreenplumLinkedServiceTypeProperties": {
"description": "Greenplum Database linked service properties.",
"properties": {
"connectionString": {
@@ -2361,30 +2361,30 @@
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
- }
- },
- "HBaseLinkedService": {
- "x-ms-discriminator-value": "HBase",
- "description": "HBase server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "HBase server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/HBaseLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "HBaseLinkedServiceTypeProperties": {
- "description": "HBase server linked service properties.",
+ }
+ },
+ "HBaseLinkedService": {
+ "x-ms-discriminator-value": "HBase",
+ "description": "HBase server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "HBase server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/HBaseLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "HBaseLinkedServiceTypeProperties": {
+ "description": "HBase server linked service properties.",
"properties": {
"host": {
"description": "The IP address or host name of the HBase server. (i.e. 192.168.222.160)",
@@ -2434,38 +2434,38 @@
"description": "Specifies whether to allow self-signed certificates from the server. The default value is false.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"host",
"authenticationType"
- ]
- },
- "HiveLinkedService": {
- "x-ms-discriminator-value": "Hive",
- "description": "Hive Server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Hive Server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/HiveLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "HiveLinkedServiceTypeProperties": {
- "description": "Hive Server linked service properties.",
+ ]
+ },
+ "HiveLinkedService": {
+ "x-ms-discriminator-value": "Hive",
+ "description": "Hive Server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Hive Server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/HiveLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "HiveLinkedServiceTypeProperties": {
+ "description": "Hive Server linked service properties.",
"properties": {
"host": {
"description": "IP address or host name of the Hive server, separated by ';' for multiple hosts (only when serviceDiscoveryMode is enable).",
@@ -2559,38 +2559,38 @@
"description": "Specifies whether to allow self-signed certificates from the server. The default value is false.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"host",
"authenticationType"
- ]
- },
- "HubspotLinkedService": {
- "x-ms-discriminator-value": "Hubspot",
- "description": "Hubspot Service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Hubspot Service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/HubspotLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "HubspotLinkedServiceTypeProperties": {
- "description": "Hubspot Service linked service properties.",
+ ]
+ },
+ "HubspotLinkedService": {
+ "x-ms-discriminator-value": "Hubspot",
+ "description": "Hubspot Service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Hubspot Service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/HubspotLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "HubspotLinkedServiceTypeProperties": {
+ "description": "Hubspot Service linked service properties.",
"properties": {
"clientId": {
"description": "The client ID associated with your Hubspot application.",
@@ -2620,37 +2620,37 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"clientId"
- ]
- },
- "ImpalaLinkedService": {
- "x-ms-discriminator-value": "Impala",
- "description": "Impala server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Impala server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ImpalaLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "ImpalaLinkedServiceTypeProperties": {
- "description": "Impala server linked service properties.",
+ ]
+ },
+ "ImpalaLinkedService": {
+ "x-ms-discriminator-value": "Impala",
+ "description": "Impala server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Impala server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ImpalaLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "ImpalaLinkedServiceTypeProperties": {
+ "description": "Impala server linked service properties.",
"properties": {
"host": {
"description": "The IP address or host name of the Impala server. (i.e. 192.168.222.160)",
@@ -2701,38 +2701,38 @@
"description": "Specifies whether to allow self-signed certificates from the server. The default value is false.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"host",
"authenticationType"
- ]
- },
- "JiraLinkedService": {
- "x-ms-discriminator-value": "Jira",
- "description": "Jira Service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Jira Service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/JiraLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "JiraLinkedServiceTypeProperties": {
- "description": "Jira Service linked service properties.",
+ ]
+ },
+ "JiraLinkedService": {
+ "x-ms-discriminator-value": "Jira",
+ "description": "Jira Service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Jira Service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/JiraLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "JiraLinkedServiceTypeProperties": {
+ "description": "Jira Service linked service properties.",
"properties": {
"host": {
"description": "The IP address or host name of the Jira service. (e.g. jira.example.com)",
@@ -2762,38 +2762,38 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"host",
"username"
- ]
- },
- "MagentoLinkedService": {
- "x-ms-discriminator-value": "Magento",
- "description": "Magento server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Magento server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/MagentoLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "MagentoLinkedServiceTypeProperties": {
- "description": "Magento server linked service properties.",
+ ]
+ },
+ "MagentoLinkedService": {
+ "x-ms-discriminator-value": "Magento",
+ "description": "Magento server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Magento server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MagentoLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "MagentoLinkedServiceTypeProperties": {
+ "description": "Magento server linked service properties.",
"properties": {
"host": {
"description": "The URL of the Magento instance. (i.e. 192.168.222.110/magento3)",
@@ -2815,36 +2815,36 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
- "type": "object"
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "type": "object"
}
},
"required": [
"host"
- ]
- },
- "MariaDBLinkedService": {
- "x-ms-discriminator-value": "MariaDB",
- "description": "MariaDB server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "MariaDB server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/MariaDBLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "MariaDBLinkedServiceTypeProperties": {
+ ]
+ },
+ "MariaDBLinkedService": {
+ "x-ms-discriminator-value": "MariaDB",
+ "description": "MariaDB server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "MariaDB server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MariaDBLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "MariaDBLinkedServiceTypeProperties": {
"description": "MariaDB server linked service properties.",
"properties": {
"connectionString": {
@@ -2855,30 +2855,30 @@
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
- }
- },
- "MarketoLinkedService": {
- "x-ms-discriminator-value": "Marketo",
- "description": "Marketo server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Marketo server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/MarketoLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "MarketoLinkedServiceTypeProperties": {
- "description": "Marketo server linked service properties.",
+ }
+ },
+ "MarketoLinkedService": {
+ "x-ms-discriminator-value": "Marketo",
+ "description": "Marketo server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Marketo server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MarketoLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "MarketoLinkedServiceTypeProperties": {
+ "description": "Marketo server linked service properties.",
"properties": {
"endpoint": {
"description": "The endpoint of the Marketo server. (i.e. 123-ABC-321.mktorest.com)",
@@ -2904,38 +2904,38 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"endpoint",
"clientId"
- ]
- },
- "PaypalLinkedService": {
- "x-ms-discriminator-value": "Paypal",
- "description": "Paypal Service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Paypal Service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/PaypalLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "PaypalLinkedServiceTypeProperties": {
- "description": "Paypal Service linked service properties.",
+ ]
+ },
+ "PaypalLinkedService": {
+ "x-ms-discriminator-value": "Paypal",
+ "description": "Paypal Service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Paypal Service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PaypalLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "PaypalLinkedServiceTypeProperties": {
+ "description": "Paypal Service linked service properties.",
"properties": {
"host": {
"description": "The URLÂ of the PayPal instance. (i.e. api.sandbox.paypal.com)",
@@ -2961,38 +2961,38 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"host",
"clientId"
- ]
- },
- "PhoenixLinkedService": {
- "x-ms-discriminator-value": "Phoenix",
- "description": "Phoenix server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Phoenix server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/PhoenixLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "PhoenixLinkedServiceTypeProperties": {
- "description": "Phoenix server linked service properties.",
+ ]
+ },
+ "PhoenixLinkedService": {
+ "x-ms-discriminator-value": "Phoenix",
+ "description": "Phoenix server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Phoenix server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PhoenixLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "PhoenixLinkedServiceTypeProperties": {
+ "description": "Phoenix server linked service properties.",
"properties": {
"host": {
"description": "The IP address or host name of the Phoenix server. (i.e. 192.168.222.160)",
@@ -3047,38 +3047,38 @@
"description": "Specifies whether to allow self-signed certificates from the server. The default value is false.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"host",
"authenticationType"
- ]
- },
- "PrestoLinkedService": {
- "x-ms-discriminator-value": "Presto",
- "description": "Presto server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Presto server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/PrestoLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "PrestoLinkedServiceTypeProperties": {
- "description": "Presto server linked service properties.",
+ ]
+ },
+ "PrestoLinkedService": {
+ "x-ms-discriminator-value": "Presto",
+ "description": "Presto server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Presto server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PrestoLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "PrestoLinkedServiceTypeProperties": {
+ "description": "Presto server linked service properties.",
"properties": {
"host": {
"description": "The IP address or host name of the Presto server. (i.e. 192.168.222.160)",
@@ -3140,8 +3140,8 @@
"description": "The local time zone used by the connection. Valid values for this option are specified in the IANA Time Zone Database. The default value is the system time zone.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
@@ -3150,29 +3150,29 @@
"serverVersion",
"catalog",
"authenticationType"
- ]
- },
- "QuickBooksLinkedService": {
- "x-ms-discriminator-value": "QuickBooks",
- "description": "QuickBooks server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "QuickBooks server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/QuickBooksLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "QuickBooksLinkedServiceTypeProperties": {
+ ]
+ },
+ "QuickBooksLinkedService": {
+ "x-ms-discriminator-value": "QuickBooks",
+ "description": "QuickBooks server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "QuickBooks server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/QuickBooksLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "QuickBooksLinkedServiceTypeProperties": {
"description": "QuickBooks server linked service properties.",
"properties": {
"endpoint": {
@@ -3215,30 +3215,30 @@
"consumerSecret",
"accessToken",
"accessTokenSecret"
- ]
- },
- "ServiceNowLinkedService": {
- "x-ms-discriminator-value": "ServiceNow",
- "description": "ServiceNow server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "ServiceNow server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ServiceNowLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "ServiceNowLinkedServiceTypeProperties": {
- "description": "ServiceNow server linked service properties.",
+ ]
+ },
+ "ServiceNowLinkedService": {
+ "x-ms-discriminator-value": "ServiceNow",
+ "description": "ServiceNow server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "ServiceNow server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ServiceNowLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "ServiceNowLinkedServiceTypeProperties": {
+ "description": "ServiceNow server linked service properties.",
"properties": {
"endpoint": {
"description": "The endpoint of the ServiceNow server. (i.e. .service-now.com)",
@@ -3284,38 +3284,38 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"endpoint",
"authenticationType"
- ]
- },
- "ShopifyLinkedService": {
- "x-ms-discriminator-value": "Shopify",
- "description": "Shopify Service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Shopify Service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ShopifyLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "ShopifyLinkedServiceTypeProperties": {
- "description": "Shopify Service linked service properties.",
+ ]
+ },
+ "ShopifyLinkedService": {
+ "x-ms-discriminator-value": "Shopify",
+ "description": "Shopify Service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Shopify Service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ShopifyLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "ShopifyLinkedServiceTypeProperties": {
+ "description": "Shopify Service linked service properties.",
"properties": {
"host": {
"description": "The endpoint of the Shopify server. (i.e. mystore.myshopify.com)",
@@ -3337,37 +3337,37 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"host"
- ]
- },
- "SparkLinkedService": {
- "x-ms-discriminator-value": "Spark",
- "description": "Spark Server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Spark Server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SparkLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "SparkLinkedServiceTypeProperties": {
- "description": "Spark Server linked service properties.",
+ ]
+ },
+ "SparkLinkedService": {
+ "x-ms-discriminator-value": "Spark",
+ "description": "Spark Server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Spark Server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SparkLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "SparkLinkedServiceTypeProperties": {
+ "description": "Spark Server linked service properties.",
"properties": {
"host": {
"description": "IP address or host name of the Spark server",
@@ -3449,8 +3449,8 @@
"description": "Specifies whether to allow self-signed certificates from the server. The default value is false.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
@@ -3458,30 +3458,30 @@
"host",
"port",
"authenticationType"
- ]
- },
- "SquareLinkedService": {
- "x-ms-discriminator-value": "Square",
- "description": "Square Service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Square Service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SquareLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "SquareLinkedServiceTypeProperties": {
- "description": "Square Service linked service properties.",
+ ]
+ },
+ "SquareLinkedService": {
+ "x-ms-discriminator-value": "Square",
+ "description": "Square Service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Square Service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SquareLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "SquareLinkedServiceTypeProperties": {
+ "description": "Square Service linked service properties.",
"properties": {
"host": {
"description": "The URLÂ of the Square instance. (i.e. mystore.mysquare.com)",
@@ -3511,8 +3511,8 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
@@ -3520,30 +3520,30 @@
"host",
"clientId",
"redirectUri"
- ]
- },
- "XeroLinkedService": {
- "x-ms-discriminator-value": "Xero",
- "description": "Xero Service linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Xero Service linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/XeroLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "XeroLinkedServiceTypeProperties": {
- "description": "Xero Service linked service properties.",
+ ]
+ },
+ "XeroLinkedService": {
+ "x-ms-discriminator-value": "Xero",
+ "description": "Xero Service linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Xero Service linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/XeroLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "XeroLinkedServiceTypeProperties": {
+ "description": "Xero Service linked service properties.",
"properties": {
"host": {
"description": "The endpoint of the Xero server. (i.e. api.xero.com)",
@@ -3569,37 +3569,37 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"host"
- ]
- },
- "ZohoLinkedService": {
- "x-ms-discriminator-value": "Zoho",
- "description": "Zoho server linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Zoho server linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ZohoLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "ZohoLinkedServiceTypeProperties": {
- "description": "Zoho server linked service properties.",
+ ]
+ },
+ "ZohoLinkedService": {
+ "x-ms-discriminator-value": "Zoho",
+ "description": "Zoho server linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Zoho server linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ZohoLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "ZohoLinkedServiceTypeProperties": {
+ "description": "Zoho server linked service properties.",
"properties": {
"endpoint": {
"description": "The endpoint of the Zoho server. (i.e. crm.zoho.com/crm/private)",
@@ -3621,36 +3621,36 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true.",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"endpoint"
- ]
- },
- "VerticaLinkedService": {
- "x-ms-discriminator-value": "Vertica",
- "description": "Vertica linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Vertica linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/VerticaLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "VerticaLinkedServiceTypeProperties": {
+ ]
+ },
+ "VerticaLinkedService": {
+ "x-ms-discriminator-value": "Vertica",
+ "description": "Vertica linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Vertica linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/VerticaLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "VerticaLinkedServiceTypeProperties": {
"description": "Vertica linked service properties.",
"properties": {
"connectionString": {
@@ -3661,29 +3661,29 @@
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
- }
- },
- "NetezzaLinkedService": {
- "x-ms-discriminator-value": "Netezza",
- "description": "Netezza linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Netezza linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/NetezzaLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "NetezzaLinkedServiceTypeProperties": {
+ }
+ },
+ "NetezzaLinkedService": {
+ "x-ms-discriminator-value": "Netezza",
+ "description": "Netezza linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Netezza linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/NetezzaLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "NetezzaLinkedServiceTypeProperties": {
"description": "Netezza linked service properties.",
"properties": {
"connectionString": {
@@ -3694,30 +3694,30 @@
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
- }
- },
- "SalesforceMarketingCloudLinkedService": {
- "x-ms-discriminator-value": "SalesforceMarketingCloud",
- "description": "Salesforce Marketing Cloud linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Salesforce Marketing Cloud linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SalesforceMarketingCloudLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "SalesforceMarketingCloudLinkedServiceTypeProperties": {
- "description": "Salesforce Marketing Cloud linked service properties.",
+ }
+ },
+ "SalesforceMarketingCloudLinkedService": {
+ "x-ms-discriminator-value": "SalesforceMarketingCloud",
+ "description": "Salesforce Marketing Cloud linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Salesforce Marketing Cloud linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SalesforceMarketingCloudLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "SalesforceMarketingCloudLinkedServiceTypeProperties": {
+ "description": "Salesforce Marketing Cloud linked service properties.",
"properties": {
"clientId": {
"description": "The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).",
@@ -3739,14 +3739,14 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"clientId"
- ]
+ ]
},
"HDInsightOnDemandLinkedService": {
"x-ms-discriminator-value": "HDInsightOnDemand",
@@ -4005,7 +4005,7 @@
"type": "object",
"description": "The Spark version of new cluster. Type: string (or Expression with resultType string)."
},
- "newClusterNumOfWorker": {
+ "newClusterNumOfWorker": {
"type": "object",
"description": "Number of worker nodes that new cluster should have. A string formatted Int32, like '1' means numOfWorker is 1 or '1:10' means auto-scale from 1 as min and 10 as max. Type: string (or Expression with resultType string)."
},
@@ -4031,28 +4031,28 @@
"accessToken"
]
},
- "ResponsysLinkedService": {
- "x-ms-discriminator-value": "Responsys",
- "description": "Responsys linked service.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/LinkedService"
- }
- ],
- "properties": {
- "typeProperties": {
- "description": "Responsys linked service properties.",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ResponsysLinkedServiceTypeProperties"
- }
- },
- "required": [
- "typeProperties"
- ]
- },
- "ResponsysLinkedServiceTypeProperties": {
- "description": "Responsys linked service properties.",
+ "ResponsysLinkedService": {
+ "x-ms-discriminator-value": "Responsys",
+ "description": "Responsys linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Responsys linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ResponsysLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "ResponsysLinkedServiceTypeProperties": {
+ "description": "Responsys linked service properties.",
"properties": {
"endpoint": {
"description": "The endpoint of the Responsys server.",
@@ -4078,15 +4078,15 @@
"description": "Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).",
"type": "object"
},
- "encryptedCredential": {
- "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
"type": "object"
}
},
"required": [
"endpoint",
"clientId"
- ]
+ ]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json
index 6e21ea7e04ff..554d2135c6b2 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json
@@ -413,7 +413,7 @@
}
}
},
- "SqlSource": {
+ "SqlSource": {
"description": "A copy activity SQL source.",
"type": "object",
"allOf": [
@@ -1091,7 +1091,7 @@
"description": "A query to retrieve data from source. Type: string (or Expression with resultType string)."
}
}
- } ,
+ },
"AmazonRedshiftSource": {
"description": "A copy activity source for Amazon Redshift Source.",
"type": "object",
@@ -2076,6 +2076,10 @@
"additionalProperties": {
"$ref": "#/definitions/SSISPropertyOverride"
}
+ },
+ "logLocation": {
+ "description": "SSIS package execution log location.",
+ "$ref": "#/definitions/SSISLogLocation"
}
},
"required": [
@@ -2085,17 +2089,52 @@
},
"SSISPackageLocation": {
"description": "SSIS package location.",
- "type" : "object",
+ "type": "object",
"properties": {
"packagePath": {
"description": "The SSIS package path. Type: string (or Expression with resultType string).",
"type": "object"
+ },
+ "type": {
+ "description": "The type of SSIS package location.",
+ "type": "string",
+ "enum": [
+ "SSISDB",
+ "File"
+ ],
+ "x-ms-enum": {
+ "name": "SsisPackageLocationType",
+ "modelAsString": true
+ }
+ },
+ "typeProperties": {
+ "x-ms-client-flatten": true,
+ "description": "SSIS package location properties.",
+ "$ref": "#/definitions/SSISPackageLocationTypeProperties"
}
},
"required": [
"packagePath"
]
},
+ "SSISPackageLocationTypeProperties": {
+ "description": "SSIS package location properties.",
+ "type": "object",
+ "properties": {
+ "packagePassword": {
+ "$ref": "../datafactory.json#/definitions/SecretBase",
+ "description": "Password of the package."
+ },
+ "accessCredential": {
+ "description": "The package access credential.",
+ "$ref": "#/definitions/SSISAccessCredential"
+ },
+ "configurationPath": {
+ "description": "The configuration file of the package execution. Type: string (or Expression with resultType string).",
+ "type": "object"
+ }
+ }
+ },
"SSISConnectionManager": {
"description": "SSIS Connection Manager.",
"type": "object",
@@ -2156,6 +2195,74 @@
"password"
]
},
+ "SSISAccessCredential": {
+ "description": "SSIS access credential.",
+ "type": "object",
+ "properties": {
+ "domain": {
+ "type": "object",
+ "description": "Domain for windows authentication."
+ },
+ "userName": {
+ "type": "object",
+ "description": "UseName for windows authentication."
+ },
+ "password": {
+ "$ref": "../datafactory.json#/definitions/SecretBase",
+ "description": "Password for windows authentication."
+ }
+ },
+ "required": [
+ "domain",
+ "userName",
+ "password"
+ ]
+ },
+ "SSISLogLocation": {
+ "description": "SSIS package execution log location",
+ "type": "object",
+ "properties": {
+ "logPath": {
+ "description": "The SSIS package execution log path. Type: string (or Expression with resultType string).",
+ "type": "object"
+ },
+ "type": {
+ "description": "The type of SSIS log location.",
+ "type": "string",
+ "enum": [
+ "File"
+ ],
+ "x-ms-enum": {
+ "name": "SsisLogLocationType",
+ "modelAsString": true
+ }
+ },
+ "typeProperties": {
+ "x-ms-client-flatten": true,
+ "description": "SSIS package execution log location properties.",
+ "$ref": "#/definitions/SSISLogLocationTypeProperties"
+ }
+ },
+ "required": [
+ "logPath",
+ "type",
+ "typeProperties"
+ ]
+ },
+ "SSISLogLocationTypeProperties": {
+ "description": "SSIS package execution log location properties.",
+ "type": "object",
+ "properties": {
+ "accessCredential": {
+ "description": "The package execution log access credential.",
+ "$ref": "#/definitions/SSISAccessCredential"
+ },
+ "logRefreshInterval": {
+ "type": "object",
+ "description": "Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
+ }
+ }
+ },
"CustomActivity": {
"description": "Custom activity type.",
"x-ms-discriminator-value": "Custom",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Trigger.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Trigger.json
index a7876492820e..5d7cd04c9ad5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Trigger.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Trigger.json
@@ -275,8 +275,7 @@
"typeProperties"
]
},
- "BlobEventsTrigger":
- {
+ "BlobEventsTrigger": {
"description": "Trigger that runs every time a Blob event occurs.",
"type": "object",
"allOf": [
@@ -285,8 +284,7 @@
}
],
"properties": {
- "typeProperties":
- {
+ "typeProperties": {
"description": "Blob Events Trigger properties.",
"x-ms-client-flatten": true,
"properties": {
@@ -350,7 +348,7 @@
"x-ms-client-flatten": true,
"properties": {
"frequency": {
- "$ref": "#/definitions/TumblingWindowFrequency",
+ "$ref": "#/definitions/TumblingWindowFrequency",
"description": "The frequency of the time windows."
},
"interval": {
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Create.json
index 5c2375cd5ea4..ec7bcdb0d03a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Create.json
@@ -81,4 +81,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json
index 01acf52d92e9..36f069df03a6 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:27 GMT",
- "x-ms-request-id": "70d3cf1f-bf14-40f5-bb56-1550a317ce8b",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1183",
- "x-ms-correlation-request-id": "d56bf687-df32-4313-87ec-ff22ba9bd192"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:27 GMT",
- "x-ms-request-id": "a2347ff3-4018-4815-b58a-9fbe3cdcab52",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1182",
- "x-ms-correlation-request-id": "9b926944-88d9-4d77-b1a8-5540c803f933"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Get.json
index 01cdd9af81fe..67abb5f166c8 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Get.json
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_ListByFactory.json
index 70d4c0c3a340..d179c33f2af5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_ListByFactory.json
@@ -54,4 +54,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Update.json
index be928edcaddc..557ee34a6843 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Update.json
@@ -83,4 +83,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json
index 5b03267619e1..83817e9074a7 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json
@@ -7,15 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Mon, 02 Oct 2017 17:27:33 GMT",
- "x-ms-request-id": "fd3867ea-c65c-470d-a17b-d83c8864cf90",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1113",
- "x-ms-correlation-request-id": "d0b45db5-c155-4991-95d9-22655c72c986"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json
index f0324c920cca..622af493483a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json
@@ -6,24 +6,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:31 GMT",
- "x-ms-request-id": "00d8b4cd-058f-4da8-a3a9-7a7a9ae772f0",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1177",
- "x-ms-correlation-request-id": "9693bca3-4ee7-4501-865e-8411952d196b"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:31 GMT",
- "x-ms-ratelimit-remaining-subscription-writes": "1176",
- "x-ms-request-id": "95fce457-ddee-44a2-84a1-05c33b32d807",
- "x-ms-correlation-request-id": "95fce457-ddee-44a2-84a1-05c33b32d807"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json
index 05e379f1c294..088318838d46 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json
@@ -8,21 +8,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Thu, 19 Oct 2017 15:22:16 GMT",
- "x-ms-request-id": "75a166f9-75ed-48d9-bc9b-08682dfdd0eb",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Thu, 19 Oct 2017 15:22:16 GMT",
- "x-ms-request-id": "d05cec68-ec62-4e95-97b6-9572eeab8ef2",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json
index 6645f84ae13d..91536f5c453d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_GetIpAddress.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Update.json
index c2151fc57821..a34ee82367e3 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Update.json
@@ -218,4 +218,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Create.json
index 1c930b55fe87..ca2196e6213f 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Create.json
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json
index 07f628fdfeeb..3bbeae4d09ec 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:29 GMT",
- "x-ms-request-id": "6d1ee741-7850-484b-99cd-b42ef08fd18c",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1179",
- "x-ms-correlation-request-id": "f931d2aa-0021-43ee-8005-2653da5e86d4"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:29 GMT",
- "x-ms-request-id": "afb27d48-0c81-4e62-92c4-6fcb8c35c8a2",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1178",
- "x-ms-correlation-request-id": "543d80b4-c9d0-418d-bf16-d2434abac0cb"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Get.json
index 2dd5cf34ea0e..ad2d585d90a9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Get.json
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json
index fcab30ad2e6b..b2ebe39b90ea 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetConnectionInfo.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetMonitoringData.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetMonitoringData.json
index 79f7c18e592e..a7cb39187d54 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetMonitoringData.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetMonitoringData.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetStatus.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetStatus.json
index 8e47cfff5228..d0ec0eb297d6 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetStatus.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_GetStatus.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json
index 7be259a66881..a9c1a6b8b46d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListAuthKeys.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListByFactory.json
index 80b3e6debccf..f56a661d568a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_ListByFactory.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json
index 8c75991a54c0..4daf304c9202 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RegenerateAuthKey.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json
index 3c9369f63d9b..72163a4ed20a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json
@@ -10,21 +10,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 06:05:42 GMT",
- "x-ms-request-id": "f1b13f98-0659-4eaa-a676-29912ae0a4f3",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 06:05:44 GMT",
- "x-ms-request-id": "3d15a37e-f3f2-4e21-a90a-316f695a3f90",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json
index 1df79c851773..bfa4edc8cd78 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json
@@ -7,16 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 07:17:56 GMT",
- "Location": "https://adfrpnightly.svc.datafactory-test.azure.com/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/start/operationresults/9a070152cddb4c839d482ccfb76a7537?api-version=2017-09-01-preview",
- "Retry-After": "15",
- "x-ms-request-id": "aa8a8ed1-7b2e-40eb-b734-9b7a5f393aed",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- },
+ "202": {},
"200": {
"headers": {
"Date": "Tue, 28 Nov 2017 07:39:18 GMT",
@@ -57,4 +48,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json
index ba04fbbfbb27..48bd7f969e40 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json
@@ -7,23 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 07:39:21 GMT",
- "Location": "https://adfrpnightly.svc.datafactory-test.azure.com/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/stop/operationresults/50799841b7f94497ae43291b791db7e0?api-version=2017-09-01-preview",
- "Retry-After": "15",
- "x-ms-request-id": "b36c64a2-3306-4374-b93f-ec91dbb3bf26",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- },
- "200": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 07:40:23 GMT",
- "x-ms-request-id": "bcff281c-ae61-4e2d-8a0c-044e34c1d04a",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "202": {},
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json
index 70afe5f0f5b0..74bb858cac73 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json
@@ -7,13 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sun, 20 Aug 2017 08:46:58 GMT",
- "x-ms-request-id": "05bae251-45ef-4bca-9710-ecfc0181755b",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Update.json
index fe703ec1a534..e90f9e404c58 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Update.json
@@ -71,4 +71,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json
index e602bb934009..74bb858cac73 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json
@@ -7,13 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Tue, 14 Nov 2017 03:42:42 GMT",
- "x-ms-request-id": "599429b9-3add-4d0c-973b-91ddaf3364e7",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Create.json
index 019304dd2f4e..66d97b9297d4 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Create.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json
index a20847c3074a..79202e3a1b86 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:28 GMT",
- "x-ms-request-id": "7383dae8-e077-4472-8f2e-91e1163dcbb2",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1181",
- "x-ms-correlation-request-id": "af89dcb6-8a1e-498a-9b0c-3e866bd80f39"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:28 GMT",
- "x-ms-request-id": "097cab57-d2b8-442d-90f0-2deb5e3733e5",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1180",
- "x-ms-correlation-request-id": "3adc7b84-2fbe-4409-9481-bf2bd489f49f"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Get.json
index 341797f698ef..e61d9aff0108 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Get.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_ListByFactory.json
index 83a2ed4669b2..b2ce464a0631 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_ListByFactory.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Update.json
index 393716d41bbc..7e1f5d788fa9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Update.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Operations_List.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Operations_List.json
index 94475c0b23b8..1dacecea845d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Operations_List.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Operations_List.json
@@ -201,4 +201,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_Get.json
index faa6919980cf..c77b1cecb0de 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_Get.json
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_QueryByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_QueryByFactory.json
index ca5a6749cab5..0090b058a166 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_QueryByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/PipelineRuns_QueryByFactory.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Create.json
index 73bbfb9138cf..fec2c7686602 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Create.json
@@ -139,4 +139,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_CreateRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_CreateRun.json
index 8e14aee60322..695f05c422af 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_CreateRun.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_CreateRun.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json
index dbd3f94155c5..590c4e3c3d2b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:27 GMT",
- "x-ms-request-id": "74ec3492-79c4-4028-9db1-fe7054e794d4",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1185",
- "x-ms-correlation-request-id": "332e562a-b3f8-4f5d-852d-8bb1bfc6a798"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:27 GMT",
- "x-ms-request-id": "86b4c1f6-9944-4cef-8147-170c856da5ec",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1184",
- "x-ms-correlation-request-id": "5ba4c3d0-6e6a-465d-8ffd-592c38380527"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Get.json
index 810f61a0427a..125ef7d8ac60 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Get.json
@@ -80,4 +80,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_ListByFactory.json
index 1b7a1bd1c4c5..7a71c1b51ee5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_ListByFactory.json
@@ -83,4 +83,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Update.json
index c23607b35d71..d15e9b4c9522 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Update.json
@@ -141,4 +141,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Create.json
index 7ff873ae308f..d6b419ae75d3 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Create.json
@@ -76,4 +76,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json
index cb60f5853305..668b64edef08 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:26 GMT",
- "x-ms-request-id": "797186e9-af57-4d6c-8b4b-c363df9e9bf1",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1187",
- "x-ms-correlation-request-id": "19402448-85f2-4872-b998-9c6c1e17f04d"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:26 GMT",
- "x-ms-request-id": "7d968b21-a030-4ba9-961b-7bbc799c0810",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1186",
- "x-ms-correlation-request-id": "d66d750a-c28f-4be6-852a-30a67be744a1"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Get.json
index 36a1f0885074..9f0ae4ed69f5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Get.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListByFactory.json
index dfa5940accc0..3592ff0e8f37 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListByFactory.json
@@ -52,4 +52,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListRuns.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListRuns.json
index 34a790263c70..ac853fcd3750 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListRuns.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_ListRuns.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json
index 7f0bbf8c93f3..147ff22449c9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json
@@ -7,15 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 17:58:23 GMT",
- "x-ms-request-id": "13c76ae4-02b3-49a2-9f2a-d2c9f8511507",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1196",
- "x-ms-correlation-request-id": "a28c76fa-3343-4bfb-9508-c92e2f374e79"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json
index 66d1db8a9c1f..147ff22449c9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json
@@ -7,15 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:25 GMT",
- "x-ms-request-id": "601d7eac-1d85-4196-a70b-76b9b906d6dd",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1188",
- "x-ms-correlation-request-id": "c1f7bc90-6b21-464f-9c00-6e3869c0e63c"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Update.json
index f4b5a5d0aa50..161994e430d7 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Update.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json
index 67ea061ffc4d..987f1e3df0be 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json
@@ -3813,15 +3813,15 @@
"UserAccessPolicy": {
"description": "Get Data Plane read only token request definition.",
"properties": {
- "permissions" : {
+ "permissions": {
"description": "The string with permissions for Data Plane access. Currently only 'r' is supported which grants read only access.",
"type": "string"
},
- "accessResourcePath" : {
+ "accessResourcePath": {
"description": "The resource path to get access relative to factory. Currently only empty string is supported which corresponds to the factory resource.",
"type": "string"
},
- "profileName" : {
+ "profileName": {
"description": "The name of the profile. Currently only the default is supported. The default value is DefaultProfile.",
"type": "string"
},
@@ -3838,7 +3838,7 @@
"AccessPolicyResponse": {
"description": "Get Data Plane read only token response definition.",
"properties": {
- "policy" : {
+ "policy": {
"description": "The user access policy.",
"$ref": "#/definitions/UserAccessPolicy"
},
@@ -4793,10 +4793,10 @@
"type": "object",
"description": "The request payload of get SSIS object metadata.",
"properties": {
- "metadataPath": {
- "type": "string",
- "description": "Metadata path."
- }
+ "metadataPath": {
+ "type": "string",
+ "description": "Metadata path."
+ }
}
},
"SsisObjectMetadataStatusResponse": {
@@ -4983,4 +4983,4 @@
"type": "string"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
index ee9b5f560e90..a7334644695d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
@@ -188,7 +188,7 @@
"HdfsLocation": {
"description": "The location of HDFS.",
"type": "object",
- "allOf": [
+ "allOf": [
{
"$ref": "#/definitions/DatasetLocation"
}
@@ -634,6 +634,40 @@
"location"
]
},
+ "BinaryDataset": {
+ "x-ms-discriminator-value": "Binary",
+ "description": "Binary dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Binary dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BinaryDatasetTypeProperties"
+ }
+ }
+ },
+ "BinaryDatasetTypeProperties": {
+ "description": "Binary dataset properties.",
+ "type": "object",
+ "properties": {
+ "location": {
+ "$ref": "#/definitions/DatasetLocation",
+ "description": "The location of the Binary storage."
+ },
+ "compression": {
+ "description": "The data compression method used for the binary dataset.",
+ "$ref": "#/definitions/DatasetCompression"
+ }
+ },
+ "required": [
+ "location"
+ ]
+ },
"AzureBlobDataset": {
"x-ms-discriminator-value": "AzureBlob",
"description": "The Azure Blob storage.",
@@ -742,6 +776,40 @@
}
}
},
+ "AzureSqlMITableDataset": {
+ "x-ms-discriminator-value": "AzureSqlMITable",
+ "description": "The Azure SQL Managed Instance dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure SQL Managed Instance dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureSqlMITableDatasetTypeProperties"
+ }
+ }
+ },
+ "AzureSqlMITableDatasetTypeProperties": {
+ "description": "Azure SQL Managed Instance dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"AzureSqlDWTableDataset": {
"x-ms-discriminator-value": "AzureSqlDWTable",
"description": "The Azure SQL Data Warehouse dataset.",
@@ -872,6 +940,58 @@
}
}
},
+ "DynamicsCrmEntityDataset": {
+ "x-ms-discriminator-value": "DynamicsCrmEntity",
+ "description": "The Dynamics CRM entity dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Dynamics CRM entity dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DynamicsCrmEntityDatasetTypeProperties"
+ }
+ }
+ },
+ "DynamicsCrmEntityDatasetTypeProperties": {
+ "description": "Dynamics CRM entity dataset properties.",
+ "properties": {
+ "entityName": {
+ "type": "object",
+ "description": "The logical name of the entity. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "CommonDataServiceForAppsEntityDataset": {
+ "x-ms-discriminator-value": "CommonDataServiceForAppsEntity",
+ "description": "The Common Data Service for Apps entity dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Common Data Service for Apps entity dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CommonDataServiceForAppsEntityDatasetTypeProperties"
+ }
+ }
+ },
+ "CommonDataServiceForAppsEntityDatasetTypeProperties": {
+ "description": "Common Data Service for Apps entity dataset properties.",
+ "properties": {
+ "entityName": {
+ "type": "object",
+ "description": "The logical name of the entity. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"AzureDataLakeStoreDataset": {
"x-ms-discriminator-value": "AzureDataLakeStoreFile",
"description": "Azure Data Lake Store dataset.",
@@ -1182,6 +1302,36 @@
}
}
},
+ "TeradataTableDataset": {
+ "x-ms-discriminator-value": "TeradataTable",
+ "description": "The Teradata database dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Teradata dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TeradataTableDatasetTypeProperties"
+ }
+ }
+ },
+ "TeradataTableDatasetTypeProperties": {
+ "description": "Teradata dataset properties.",
+ "properties": {
+ "database": {
+ "type": "object",
+ "description": "The database name of Teradata. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of Teradata. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"AzureMySqlTableDataset": {
"x-ms-discriminator-value": "AzureMySqlTable",
"description": "The Azure MySQL database dataset.",
@@ -1237,6 +1387,136 @@
}
}
},
+ "InformixTableDataset": {
+ "x-ms-discriminator-value": "InformixTable",
+ "description": "The Informix table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Informix table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/InformixTableDatasetTypeProperties"
+ }
+ }
+ },
+ "InformixTableDatasetTypeProperties": {
+ "description": "Informix table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The Informix table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "OdbcTableDataset": {
+ "x-ms-discriminator-value": "OdbcTable",
+ "description": "The ODBC table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "ODBC table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OdbcTableDatasetTypeProperties"
+ }
+ }
+ },
+ "OdbcTableDatasetTypeProperties": {
+ "description": "ODBC table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The ODBC table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MySqlTableDataset": {
+ "x-ms-discriminator-value": "MySqlTable",
+ "description": "The MySQL table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "MySQL table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MySqlTableDatasetTypeProperties"
+ }
+ }
+ },
+ "MySqlTableDatasetTypeProperties": {
+ "description": "MySql table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The MySQL table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "PostgreSqlTableDataset": {
+ "x-ms-discriminator-value": "PostgreSqlTable",
+ "description": "The PostgreSQL table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "PostgreSQL table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PostgreSqlTableDatasetTypeProperties"
+ }
+ }
+ },
+ "PostgreSqlTableDatasetTypeProperties": {
+ "description": "PostgreSQL table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The PostgreSQL table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MicrosoftAccessTableDataset": {
+ "x-ms-discriminator-value": "MicrosoftAccessTable",
+ "description": "The Microsoft Access table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Microsoft Access table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MicrosoftAccessTableDatasetTypeProperties"
+ }
+ }
+ },
+ "MicrosoftAccessTableDatasetTypeProperties": {
+ "description": "Microsoft Access table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The Microsoft Access table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"SalesforceObjectDataset": {
"x-ms-discriminator-value": "SalesforceObject",
"description": "The Salesforce object dataset.",
@@ -1263,6 +1543,32 @@
}
}
},
+ "SalesforceServiceCloudObjectDataset": {
+ "x-ms-discriminator-value": "SalesforceServiceCloudObject",
+ "description": "The Salesforce Service Cloud object dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Salesforce Service Cloud object dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SalesforceServiceCloudObjectDatasetTypeProperties"
+ }
+ }
+ },
+ "SalesforceServiceCloudObjectDatasetTypeProperties": {
+ "description": "Salesforce Service Cloud object dataset properties.",
+ "properties": {
+ "objectApiName": {
+ "type": "object",
+ "description": "The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"SapCloudForCustomerResourceDataset": {
"x-ms-discriminator-value": "SapCloudForCustomerResource",
"description": "The path of the SAP Cloud for Customer OData entity.",
@@ -1327,6 +1633,36 @@
"path"
]
},
+ "SapHanaTableDataset": {
+ "x-ms-discriminator-value": "SapHanaTable",
+ "description": "SAP HANA Table properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "SAP HANA Table properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SapHanaTableDatasetTypeProperties"
+ }
+ }
+ },
+ "SapHanaTableDatasetTypeProperties": {
+ "description": "SAP HANA Table properties.",
+ "properties": {
+ "schema": {
+ "type": "object",
+ "description": "The schema name of SAP HANA. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of SAP HANA. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"SapOpenHubTableDataset": {
"x-ms-discriminator-value": "SapOpenHubTable",
"description": "Sap Business Warehouse Open Hub Destination Table properties.",
@@ -1590,13 +1926,13 @@
}
}
},
- "AmazonMWSObjectDataset" : {
+ "AmazonMWSObjectDataset": {
"x-ms-discriminator-value": "AmazonMWSObject",
"description": "Amazon Marketplace Web Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1607,30 +1943,47 @@
}
}
},
- "AzurePostgreSqlTableDataset" : {
+ "AzurePostgreSqlTableDataset": {
"x-ms-discriminator-value": "AzurePostgreSqlTable",
"description": "Azure PostgreSQL dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/AzurePostgreSqlTableDatasetTypeProperties"
+ }
+ }
+ },
+ "AzurePostgreSqlTableDatasetTypeProperties": {
+ "description": "Azure PostgreSQL dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string)."
}
}
},
- "ConcurObjectDataset" : {
+ "ConcurObjectDataset": {
"x-ms-discriminator-value": "ConcurObject",
"description": "Concur Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1641,13 +1994,13 @@
}
}
},
- "CouchbaseTableDataset" : {
+ "CouchbaseTableDataset": {
"x-ms-discriminator-value": "CouchbaseTable",
"description": "Couchbase server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1658,13 +2011,13 @@
}
}
},
- "DrillTableDataset" : {
+ "DrillTableDataset": {
"x-ms-discriminator-value": "DrillTable",
"description": "Drill server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1675,13 +2028,13 @@
}
}
},
- "EloquaObjectDataset" : {
+ "EloquaObjectDataset": {
"x-ms-discriminator-value": "EloquaObject",
"description": "Eloqua server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1692,13 +2045,13 @@
}
}
},
- "GoogleBigQueryObjectDataset" : {
+ "GoogleBigQueryObjectDataset": {
"x-ms-discriminator-value": "GoogleBigQueryObject",
"description": "Google BigQuery service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1709,13 +2062,13 @@
}
}
},
- "GreenplumTableDataset" : {
+ "GreenplumTableDataset": {
"x-ms-discriminator-value": "GreenplumTable",
"description": "Greenplum Database dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1726,13 +2079,13 @@
}
}
},
- "HBaseObjectDataset" : {
+ "HBaseObjectDataset": {
"x-ms-discriminator-value": "HBaseObject",
"description": "HBase server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1743,13 +2096,13 @@
}
}
},
- "HiveObjectDataset" : {
+ "HiveObjectDataset": {
"x-ms-discriminator-value": "HiveObject",
"description": "Hive Server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1760,13 +2113,13 @@
}
}
},
- "HubspotObjectDataset" : {
+ "HubspotObjectDataset": {
"x-ms-discriminator-value": "HubspotObject",
"description": "Hubspot Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1777,13 +2130,13 @@
}
}
},
- "ImpalaObjectDataset" : {
+ "ImpalaObjectDataset": {
"x-ms-discriminator-value": "ImpalaObject",
"description": "Impala server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1794,13 +2147,13 @@
}
}
},
- "JiraObjectDataset" : {
+ "JiraObjectDataset": {
"x-ms-discriminator-value": "JiraObject",
"description": "Jira Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1811,13 +2164,13 @@
}
}
},
- "MagentoObjectDataset" : {
+ "MagentoObjectDataset": {
"x-ms-discriminator-value": "MagentoObject",
"description": "Magento server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1828,13 +2181,13 @@
}
}
},
- "MariaDBTableDataset" : {
+ "MariaDBTableDataset": {
"x-ms-discriminator-value": "MariaDBTable",
"description": "MariaDB server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1845,13 +2198,13 @@
}
}
},
- "MarketoObjectDataset" : {
+ "MarketoObjectDataset": {
"x-ms-discriminator-value": "MarketoObject",
"description": "Marketo server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1862,13 +2215,13 @@
}
}
},
- "PaypalObjectDataset" : {
+ "PaypalObjectDataset": {
"x-ms-discriminator-value": "PaypalObject",
"description": "Paypal Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1879,13 +2232,13 @@
}
}
},
- "PhoenixObjectDataset" : {
+ "PhoenixObjectDataset": {
"x-ms-discriminator-value": "PhoenixObject",
"description": "Phoenix server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1896,13 +2249,13 @@
}
}
},
- "PrestoObjectDataset" : {
+ "PrestoObjectDataset": {
"x-ms-discriminator-value": "PrestoObject",
"description": "Presto server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1913,13 +2266,13 @@
}
}
},
- "QuickBooksObjectDataset" : {
+ "QuickBooksObjectDataset": {
"x-ms-discriminator-value": "QuickBooksObject",
"description": "QuickBooks server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1930,13 +2283,13 @@
}
}
},
- "ServiceNowObjectDataset" : {
+ "ServiceNowObjectDataset": {
"x-ms-discriminator-value": "ServiceNowObject",
"description": "ServiceNow server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1947,13 +2300,13 @@
}
}
},
- "ShopifyObjectDataset" : {
+ "ShopifyObjectDataset": {
"x-ms-discriminator-value": "ShopifyObject",
"description": "Shopify Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1964,13 +2317,13 @@
}
}
},
- "SparkObjectDataset" : {
+ "SparkObjectDataset": {
"x-ms-discriminator-value": "SparkObject",
"description": "Spark Server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1981,13 +2334,13 @@
}
}
},
- "SquareObjectDataset" : {
+ "SquareObjectDataset": {
"x-ms-discriminator-value": "SquareObject",
"description": "Square Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -1998,13 +2351,13 @@
}
}
},
- "XeroObjectDataset" : {
+ "XeroObjectDataset": {
"x-ms-discriminator-value": "XeroObject",
"description": "Xero Service dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -2015,13 +2368,13 @@
}
}
},
- "ZohoObjectDataset" : {
+ "ZohoObjectDataset": {
"x-ms-discriminator-value": "ZohoObject",
"description": "Zoho server dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -2032,13 +2385,13 @@
}
}
},
- "NetezzaTableDataset" : {
+ "NetezzaTableDataset": {
"x-ms-discriminator-value": "NetezzaTable",
"description": "Netezza dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -2049,13 +2402,13 @@
}
}
},
- "VerticaTableDataset" : {
+ "VerticaTableDataset": {
"x-ms-discriminator-value": "VerticaTable",
"description": "Vertica dataset.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -2072,7 +2425,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -2089,7 +2442,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -2138,7 +2491,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -2184,7 +2537,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Dataset"
+ "$ref": "#/definitions/Dataset"
}
],
"properties": {
@@ -2197,4 +2550,3 @@
}
}
}
-
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
index 0d47efce48b3..c8049222b017 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
@@ -316,6 +316,58 @@
"connectionString"
]
},
+ "AzureSqlMILinkedService": {
+ "x-ms-discriminator-value": "AzureSqlMI",
+ "description": "Azure SQL Managed Instance linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure SQL Managed Instance linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureSqlMILinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzureSqlMILinkedServiceTypeProperties": {
+ "description": "Azure SQL Managed Instance linked service properties.",
+ "properties": {
+ "connectionString": {
+ "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
+ "password": {
+ "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference",
+ "description": "The Azure key vault secret reference of password in connection string."
+ },
+ "servicePrincipalId": {
+ "type": "object",
+ "description": "The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string)."
+ },
+ "servicePrincipalKey": {
+ "$ref": "../datafactory.json#/definitions/SecretBase",
+ "description": "The key of the service principal used to authenticate against Azure SQL Managed Instance."
+ },
+ "tenant": {
+ "type": "object",
+ "description": "The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string)."
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "connectionString"
+ ]
+ },
"AzureBatchLinkedService": {
"x-ms-discriminator-value": "AzureBatch",
"description": "Azure Batch linked service.",
@@ -525,6 +577,170 @@
"username"
]
},
+ "DynamicsCrmLinkedService": {
+ "x-ms-discriminator-value": "DynamicsCrm",
+ "description": "Dynamics CRM linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Dynamics CRM linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DynamicsCrmLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "DynamicsCrmLinkedServiceTypeProperties": {
+ "description": "Dynamics CRM linked service properties.",
+ "properties": {
+ "deploymentType": {
+ "x-ms-enum": {
+ "name": "DynamicsDeploymentType",
+ "modelAsString": true
+ },
+ "enum": [
+ "Online",
+ "OnPremisesWithIfd"
+ ],
+ "type": "string",
+ "description": "The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string)."
+ },
+ "hostName": {
+ "type": "object",
+ "description": "The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string)."
+ },
+ "port": {
+ "type": "object",
+ "description": "The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0."
+ },
+ "serviceUri": {
+ "type": "object",
+ "description": "The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)."
+ },
+ "organizationName": {
+ "type": "object",
+ "description": "The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string)."
+ },
+ "authenticationType": {
+ "x-ms-enum": {
+ "name": "DynamicsAuthenticationType",
+ "modelAsString": true
+ },
+ "enum": [
+ "Office365",
+ "Ifd"
+ ],
+ "type": "string",
+ "description": "The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)."
+ },
+ "username": {
+ "type": "object",
+ "description": "User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "Password to access the Dynamics CRM instance.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "deploymentType",
+ "authenticationType",
+ "username"
+ ]
+ },
+ "CommonDataServiceForAppsLinkedService": {
+ "x-ms-discriminator-value": "CommonDataServiceForApps",
+ "description": "Common Data Service for Apps linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Common Data Service for Apps linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CommonDataServiceForAppsLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "CommonDataServiceForAppsLinkedServiceTypeProperties": {
+ "description": "Common Data Service for Apps linked service properties.",
+ "properties": {
+ "deploymentType": {
+ "x-ms-enum": {
+ "name": "DynamicsDeploymentType",
+ "modelAsString": true
+ },
+ "enum": [
+ "Online",
+ "OnPremisesWithIfd"
+ ],
+ "type": "string",
+ "description": "The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string)."
+ },
+ "hostName": {
+ "type": "object",
+ "description": "The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string)."
+ },
+ "port": {
+ "type": "object",
+ "description": "The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0."
+ },
+ "serviceUri": {
+ "type": "object",
+ "description": "The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)."
+ },
+ "organizationName": {
+ "type": "object",
+ "description": "The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string)."
+ },
+ "authenticationType": {
+ "x-ms-enum": {
+ "name": "DynamicsAuthenticationType",
+ "modelAsString": true
+ },
+ "enum": [
+ "Office365",
+ "Ifd"
+ ],
+ "type": "string",
+ "description": "The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)."
+ },
+ "username": {
+ "type": "object",
+ "description": "User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "Password to access the Common Data Service for Apps instance.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "deploymentType",
+ "authenticationType",
+ "username"
+ ]
+ },
"HDInsightLinkedService": {
"x-ms-discriminator-value": "HDInsight",
"description": "HDInsight linked service.",
@@ -937,6 +1153,10 @@
"TeradataLinkedServiceTypeProperties": {
"description": "Teradata linked service properties.",
"properties": {
+ "connectionString": {
+ "description": "Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
"server": {
"type": "object",
"description": "Server name for connection. Type: string (or Expression with resultType string)."
@@ -965,10 +1185,7 @@
"type": "object",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
}
- },
- "required": [
- "server"
- ]
+ }
},
"AzureMLLinkedService": {
"x-ms-discriminator-value": "AzureML",
@@ -1079,6 +1296,110 @@
"connectionString"
]
},
+ "InformixLinkedService": {
+ "x-ms-discriminator-value": "Informix",
+ "description": "Informix linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Informix linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/InformixLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "InformixLinkedServiceTypeProperties": {
+ "description": "Informix linked service properties.",
+ "properties": {
+ "connectionString": {
+ "description": "The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
+ "authenticationType": {
+ "type": "object",
+ "description": "Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string)."
+ },
+ "credential": {
+ "description": "The access credential portion of the connection string specified in driver-specific property-value format.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "userName": {
+ "type": "object",
+ "description": "User name for Basic authentication. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "Password for Basic authentication.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "connectionString"
+ ]
+ },
+ "MicrosoftAccessLinkedService": {
+ "x-ms-discriminator-value": "MicrosoftAccess",
+ "description": "Microsoft Access linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Microsoft Access linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MicrosoftAccessLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "MicrosoftAccessLinkedServiceTypeProperties": {
+ "description": "Microsoft Access linked service properties.",
+ "properties": {
+ "connectionString": {
+ "description": "The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
+ "authenticationType": {
+ "type": "object",
+ "description": "Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string)."
+ },
+ "credential": {
+ "description": "The access credential portion of the connection string specified in driver-specific property-value format.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "userName": {
+ "type": "object",
+ "description": "User name for Basic authentication. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "Password for Basic authentication.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "connectionString"
+ ]
+ },
"HdfsLinkedService": {
"x-ms-discriminator-value": "Hdfs",
"description": "Hadoop Distributed File System (HDFS) linked service.",
@@ -1735,6 +2056,55 @@
}
}
},
+ "SalesforceServiceCloudLinkedService": {
+ "x-ms-discriminator-value": "SalesforceServiceCloud",
+ "description": "Linked service for Salesforce Service Cloud.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Salesforce Service Cloud linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SalesforceServiceCloudLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "SalesforceServiceCloudLinkedServiceTypeProperties": {
+ "description": "Salesforce Service Cloud linked service properties.",
+ "properties": {
+ "environmentUrl": {
+ "type": "object",
+ "description": "The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string)."
+ },
+ "username": {
+ "type": "object",
+ "description": "The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "The password for Basic authentication of the Salesforce instance.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "securityToken": {
+ "description": "The security token is required to remotely access Salesforce instance.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "extendedProperties": {
+ "type": "object",
+ "description": "Extended properties appended to the connection string. Type: string (or Expression with resultType string)."
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"SapCloudForCustomerLinkedService": {
"x-ms-discriminator-value": "SapCloudForCustomer",
"description": "Linked service for SAP Cloud for Customer.",
@@ -1881,7 +2251,7 @@
"clientId"
]
},
- "RestServiceLinkedService": {
+ "RestServiceLinkedService": {
"x-ms-discriminator-value": "RestService",
"description": "Rest Service linked service.",
"type": "object",
@@ -2410,6 +2780,10 @@
"SapHanaLinkedServiceProperties": {
"description": "Properties specific to this linked service type.",
"properties": {
+ "connectionString": {
+ "type": "object",
+ "description": "SAP HANA ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference."
+ },
"server": {
"type": "object",
"description": "Host name of the SAP HANA server. Type: string (or Expression with resultType string)."
@@ -5055,4 +5429,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
index c311f8bd8f7c..6b28676550e2 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
@@ -205,7 +205,7 @@
"type": "object"
}
},
- "ConnectorReadSetting": {
+ "StoreReadSettings": {
"description": "Connector read setting.",
"type": "object",
"properties": {
@@ -225,12 +225,12 @@
"type"
]
},
- "AzureBlobStorageReadSetting": {
+ "AzureBlobStorageReadSettings": {
"description": "Azure blob read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -260,12 +260,12 @@
}
}
},
- "AzureBlobFSReadSetting": {
+ "AzureBlobFSReadSettings": {
"description": "Azure blobFS read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -295,12 +295,12 @@
}
}
},
- "AzureDataLakeStoreReadSetting": {
+ "AzureDataLakeStoreReadSettings": {
"description": "Azure data lake store read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -330,12 +330,12 @@
}
}
},
- "AmazonS3ReadSetting": {
+ "AmazonS3ReadSettings": {
"description": "Azure data lake store read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -369,12 +369,12 @@
}
}
},
- "FileServerReadSetting": {
+ "FileServerReadSettings": {
"description": "File server read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -404,12 +404,12 @@
}
}
},
- "FtpReadSetting": {
+ "FtpReadSettings": {
"description": "Ftp read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -431,12 +431,12 @@
}
}
},
- "SftpReadSetting": {
+ "SftpReadSettings": {
"description": "Sftp read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -462,12 +462,12 @@
}
}
},
- "HttpReadSetting": {
+ "HttpReadSettings": {
"description": "Sftp read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -489,12 +489,12 @@
}
}
},
- "HdfsReadSetting": {
+ "HdfsReadSettings": {
"description": "HDFS read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -528,7 +528,7 @@
}
}
},
- "ConnectorWriteSetting": {
+ "StoreWriteSettings": {
"description": "Connector write settings.",
"type": "object",
"properties": {
@@ -552,43 +552,43 @@
"type"
]
},
- "AzureBlobStorageWriteSetting": {
+ "AzureBlobStorageWriteSettings": {
"description": "Azure blob write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorWriteSetting"
+ "$ref": "#/definitions/StoreWriteSettings"
}
]
},
- "AzureBlobFSWriteSetting": {
+ "AzureBlobFSWriteSettings": {
"description": "Azure blobFS write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorWriteSetting"
+ "$ref": "#/definitions/StoreWriteSettings"
}
]
},
- "AzureDataLakeStoreWriteSetting": {
+ "AzureDataLakeStoreWriteSettings": {
"description": "Azure data lake store write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorWriteSetting"
+ "$ref": "#/definitions/StoreWriteSettings"
}
]
},
- "FileServerWriteSetting": {
+ "FileServerWriteSettings": {
"description": "File server write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorWriteSetting"
+ "$ref": "#/definitions/StoreWriteSettings"
}
]
},
- "FormatReadSetting": {
+ "FormatReadSettings": {
"description": "Format read settings.",
"type": "object",
"properties": {
@@ -604,12 +604,12 @@
"type"
]
},
- "DelimitedTextReadSetting": {
+ "DelimitedTextReadSettings": {
"description": "Delimited text read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/FormatReadSetting"
+ "$ref": "#/definitions/FormatReadSettings"
}
],
"properties": {
@@ -619,7 +619,7 @@
}
}
},
- "FormatWriteSetting": {
+ "FormatWriteSettings": {
"description": "Format write settings.",
"type": "object",
"properties": {
@@ -635,12 +635,12 @@
"type"
]
},
- "DelimitedTextWriteSetting": {
+ "DelimitedTextWriteSettings": {
"description": "Delimited text write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/FormatWriteSetting"
+ "$ref": "#/definitions/FormatWriteSettings"
}
],
"properties": {
@@ -651,27 +651,27 @@
"fileExtension": {
"type": "object",
"description": "The file extension used to create the files. Type: string (or Expression with resultType string)."
- }
+ }
+ },
+ "required": [
+ "fileExtension"
+ ]
},
- "required": [
- "fileExtension"
- ]
- },
- "ParquetSource": {
- "description": "A copy activity Parquet source.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/CopySource"
- }
- ],
- "properties": {
- "storeSettings": {
- "$ref": "#/definitions/ConnectorReadSetting",
- "description": "Parquet store settings."
+ "ParquetSource": {
+ "description": "A copy activity Parquet source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreReadSettings",
+ "description": "Parquet store settings."
+ }
}
- }
- },
+ },
"DelimitedTextSource": {
"description": "A copy activity DelimitedText source.",
"type": "object",
@@ -682,11 +682,11 @@
],
"properties": {
"storeSettings": {
- "$ref": "#/definitions/ConnectorReadSetting",
+ "$ref": "#/definitions/StoreReadSettings",
"description": "DelimitedText store settings."
},
"formatSettings": {
- "$ref": "#/definitions/DelimitedTextReadSetting",
+ "$ref": "#/definitions/DelimitedTextReadSettings",
"description": "DelimitedText format settings."
}
}
@@ -701,11 +701,11 @@
],
"properties": {
"storeSettings": {
- "$ref": "#/definitions/ConnectorWriteSetting",
+ "$ref": "#/definitions/StoreWriteSettings",
"description": "DelimitedText store settings."
},
"formatSettings": {
- "$ref": "#/definitions/DelimitedTextWriteSetting",
+ "$ref": "#/definitions/DelimitedTextWriteSettings",
"description": "DelimitedText format settings."
}
}
@@ -833,6 +833,21 @@
"type"
]
},
+ "BinarySource": {
+ "description": "A copy activity Binary source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreReadSettings",
+ "description": "Binary store settings."
+ }
+ }
+ },
"AzureTableSource": {
"description": "A copy activity Azure Table source.",
"type": "object",
@@ -909,6 +924,36 @@
}
}
},
+ "DynamicsCrmSource": {
+ "description": "A copy activity Dynamics CRM source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "CommonDataServiceForAppsSource": {
+ "description": "A copy activity Common Data Service for Apps source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"RelationalSource": {
"description": "A copy activity source for various relational databases.",
"type": "object",
@@ -924,6 +969,126 @@
}
}
},
+ "InformixSource": {
+ "description": "A copy activity source for Informix.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MicrosoftAccessSource": {
+ "description": "A copy activity source for Microsoft Access.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "Db2Source": {
+ "description": "A copy activity source for Db2 databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "OdbcSource": {
+ "description": "A copy activity source for ODBC databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MySqlSource": {
+ "description": "A copy activity source for MySQL databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "PostgreSqlSource": {
+ "description": "A copy activity source for PostgreSQL databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "SybaseSource": {
+ "description": "A copy activity source for Sybase databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "ODataSource": {
+ "description": "A copy activity source for OData source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "OData query. For example, \"$top=1\". Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"SalesforceSource": {
"description": "A copy activity Salesforce source.",
"type": "object",
@@ -939,7 +1104,34 @@
},
"readBehavior": {
"description": "The read behavior for the operation. Default is Query.",
+ "type": "string",
+ "enum": [
+ "Query",
+ "QueryAll"
+ ],
+ "x-ms-enum": {
+ "name": "SalesforceSourceReadBehavior",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SalesforceServiceCloudSource": {
+ "description": "A copy activity Salesforce Service Cloud source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
"type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ },
+ "readBehavior": {
+ "description": "The read behavior for the operation. Default is Query.",
+ "type": "string",
"enum": [
"Query",
"QueryAll"
@@ -981,6 +1173,25 @@
}
}
},
+ "SapHanaSource": {
+ "description": "A copy activity source for SAP HANA source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "SAP HANA Sql query. Type: string (or Expression with resultType string)."
+ },
+ "packetSize": {
+ "type": "object",
+ "description": "The packet size of data read from SAP HANA. Type: integer(or Expression with resultType integer)."
+ }
+ }
+ },
"SapOpenHubSource": {
"description": "A copy activity source for SAP Business Warehouse Open Hub Destination source.",
"type": "object",
@@ -1026,16 +1237,17 @@
},
"partitionOption": {
"description": "The partition mechanism that will be used for SAP table read in parallel.",
- "type": "object",
+ "type": "string",
"enum": [
"None",
"PartitionOnInt",
"PartitionOnCalendarYear",
"PartitionOnCalendarMonth",
- "PartitionOnCalendarDate"
+ "PartitionOnCalendarDate",
+ "PartitionOnTime"
],
"x-ms-enum": {
- "name": "TabularPartitionOption",
+ "name": "SapTablePartitionOption",
"modelAsString": true
}
},
@@ -1172,6 +1384,36 @@
}
}
},
+ "SqlMISource": {
+ "description": "A copy activity Azure SQL Managed Instance source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "sqlReaderQuery": {
+ "type": "object",
+ "description": "SQL reader query. Type: string (or Expression with resultType string)."
+ },
+ "sqlReaderStoredProcedureName": {
+ "type": "object",
+ "description": "Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string)."
+ },
+ "storedProcedureParameters": {
+ "description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/StoredProcedureParameter"
+ }
+ },
+ "produceAdditionalTypes": {
+ "description": "Which additional types to produce.",
+ "type": "object"
+ }
+ }
+ },
"SqlDWSource": {
"description": "A copy activity SQL Data Warehouse source.",
"type": "object",
@@ -1310,26 +1552,26 @@
"description": "Query timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
},
"partitionOption": {
- "description": "The partition mechanism that will be used for oracle read in parallel.",
- "type": "object",
+ "description": "The partition mechanism that will be used for Oracle read in parallel.",
+ "type": "string",
"enum": [
"None",
"PhysicalPartitionsOfTable",
"DynamicRange"
],
"x-ms-enum": {
- "name": "TabularPartitionOption",
+ "name": "OraclePartitionOption",
"modelAsString": true
}
},
"partitionSettings": {
- "description": "The settings that will be leveraged for oracle source partitioning.",
+ "description": "The settings that will be leveraged for Oracle source partitioning.",
"$ref": "#/definitions/OraclePartitionSettings"
}
}
},
"OraclePartitionSettings": {
- "description": "The settings that will be leveraged for oracle source partitioning.",
+ "description": "The settings that will be leveraged for Oracle source partitioning.",
"type": "object",
"properties": {
"partitionNames": {
@@ -1338,7 +1580,7 @@
"type": "object",
"description": "Type: string (or Expression with resultType string)."
},
- "description": "Names of the physical partitions of oracle table. "
+ "description": "Names of the physical partitions of Oracle table. "
},
"partitionColumnName": {
"type": "object",
@@ -1354,6 +1596,56 @@
}
}
},
+ "TeradataSource": {
+ "description": "A copy activity Teradata source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Teradata query. Type: string (or Expression with resultType string)."
+ },
+ "partitionOption": {
+ "description": "The partition mechanism that will be used for teradata read in parallel.",
+ "type": "string",
+ "enum": [
+ "None",
+ "Hash",
+ "DynamicRange"
+ ],
+ "x-ms-enum": {
+ "name": "TeradataPartitionOption",
+ "modelAsString": true
+ }
+ },
+ "partitionSettings": {
+ "description": "The settings that will be leveraged for teradata source partitioning.",
+ "$ref": "#/definitions/TeradataPartitionSettings"
+ }
+ }
+ },
+ "TeradataPartitionSettings": {
+ "description": "The settings that will be leveraged for teradata source partitioning.",
+ "type": "object",
+ "properties": {
+ "partitionColumnName": {
+ "type": "object",
+ "description": "The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string)."
+ },
+ "partitionUpperBound": {
+ "type": "object",
+ "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
+ },
+ "partitionLowerBound": {
+ "type": "object",
+ "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"WebSource": {
"description": "A copy activity source for web page table.",
"type": "object",
@@ -1379,7 +1671,7 @@
},
"consistencyLevel": {
"description": "The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive.",
- "type": "object",
+ "type": "string",
"enum": [
"ALL",
"EACH_QUORUM",
@@ -1433,7 +1725,7 @@
},
"batchSize": {
"type": "object",
- "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
+ "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
}
}
},
@@ -1456,7 +1748,7 @@
},
"batchSize": {
"type": "object",
- "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
+ "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
}
}
},
@@ -1578,6 +1870,21 @@
}
}
},
+ "AzurePostgreSqlSink": {
+ "description": "A copy activity Azure PostgreSQL sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "preCopyScript": {
+ "type": "object",
+ "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"ConcurSource": {
"description": "A copy activity Concur Service source.",
"type": "object",
@@ -1949,7 +2256,42 @@
"properties": {
"query": {
"type": "object",
- "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)."
+ "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)."
+ },
+ "partitionOption": {
+ "description": "The partition mechanism that will be used for Netezza read in parallel.",
+ "type": "string",
+ "enum": [
+ "None",
+ "DataSlice",
+ "DynamicRange"
+ ],
+ "x-ms-enum": {
+ "name": "NetezzaPartitionOption",
+ "modelAsString": true
+ }
+ },
+ "partitionSettings": {
+ "description": "The settings that will be leveraged for Netezza source partitioning.",
+ "$ref": "#/definitions/NetezzaPartitionSettings"
+ }
+ }
+ },
+ "NetezzaPartitionSettings": {
+ "description": "The settings that will be leveraged for Netezza source partitioning.",
+ "type": "object",
+ "properties": {
+ "partitionColumnName": {
+ "type": "object",
+ "description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
+ },
+ "partitionUpperBound": {
+ "type": "object",
+ "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
+ },
+ "partitionLowerBound": {
+ "type": "object",
+ "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
}
}
},
@@ -2159,7 +2501,7 @@
"properties": {
"writeBehavior": {
"description": "The write behavior for the operation. Default is 'Insert'.",
- "type": "object",
+ "type": "string",
"enum": [
"Insert",
"Update"
@@ -2183,7 +2525,7 @@
},
"CopyBehaviorType": {
"description": "All available types of copy behavior.",
- "type": "object",
+ "type": "string",
"enum": [
"PreserveHierarchy",
"FlattenHierarchy",
@@ -2231,11 +2573,26 @@
],
"properties": {
"storeSettings": {
- "$ref": "#/definitions/ConnectorWriteSetting",
+ "$ref": "#/definitions/StoreWriteSettings",
"description": "Parquet store settings."
}
}
},
+ "BinarySink": {
+ "description": "A copy activity Binary sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreReadSettings",
+ "description": "Binary store settings."
+ }
+ }
+ },
"BlobSink": {
"description": "A copy activity Azure Blob sink.",
"type": "object",
@@ -2399,6 +2756,40 @@
}
}
},
+ "SqlMISink": {
+ "description": "A copy activity Azure SQL Managed Instance sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "sqlWriterStoredProcedureName": {
+ "type": "object",
+ "description": "SQL writer stored procedure name. Type: string (or Expression with resultType string)."
+ },
+ "sqlWriterTableType": {
+ "type": "object",
+ "description": "SQL writer table type. Type: string (or Expression with resultType string)."
+ },
+ "preCopyScript": {
+ "type": "object",
+ "description": "SQL pre-copy script. Type: string (or Expression with resultType string)."
+ },
+ "storedProcedureParameters": {
+ "description": "SQL stored procedure parameters.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/StoredProcedureParameter"
+ }
+ },
+ "storedProcedureTableTypeParameterName": {
+ "type": "object",
+ "description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"SqlDWSink": {
"description": "A copy activity SQL Data Warehouse sink.",
"type": "object",
@@ -2583,7 +2974,7 @@
"properties": {
"writeBehavior": {
"description": "Specify the write behavior when upserting documents into Azure Search Index.",
- "type": "object",
+ "type": "string",
"enum": [
"Merge",
"Upload"
@@ -2610,6 +3001,36 @@
}
}
},
+ "InformixSink": {
+ "description": "A copy activity Informix sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "preCopyScript": {
+ "type": "object",
+ "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MicrosoftAccessSink": {
+ "description": "A copy activity Microsoft Access sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "preCopyScript": {
+ "type": "object",
+ "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"DynamicsSink": {
"description": "A copy activity Dynamics sink.",
"type": "object",
@@ -2621,7 +3042,7 @@
"properties": {
"writeBehavior": {
"description": "The write behavior for the operation.",
- "type": "object",
+ "type": "string",
"enum": [
"Upsert"
],
@@ -2639,6 +3060,64 @@
"writeBehavior"
]
},
+ "DynamicsCrmSink": {
+ "description": "A copy activity Dynamics CRM sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "writeBehavior": {
+ "description": "The write behavior for the operation.",
+ "type": "string",
+ "enum": [
+ "Upsert"
+ ],
+ "x-ms-enum": {
+ "name": "DynamicsSinkWriteBehavior",
+ "modelAsString": true
+ }
+ },
+ "ignoreNullValues": {
+ "type": "object",
+ "description": "The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean)."
+ }
+ },
+ "required": [
+ "writeBehavior"
+ ]
+ },
+ "CommonDataServiceForAppsSink": {
+ "description": "A copy activity Common Data Service for Apps sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "writeBehavior": {
+ "description": "The write behavior for the operation.",
+ "type": "string",
+ "enum": [
+ "Upsert"
+ ],
+ "x-ms-enum": {
+ "name": "DynamicsSinkWriteBehavior",
+ "modelAsString": true
+ }
+ },
+ "ignoreNullValues": {
+ "type": "object",
+ "description": "The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean)."
+ }
+ },
+ "required": [
+ "writeBehavior"
+ ]
+ },
"AzureDataExplorerSink": {
"description": "A copy activity Azure Data Explorer sink.",
"type": "object",
@@ -2673,7 +3152,38 @@
"properties": {
"writeBehavior": {
"description": "The write behavior for the operation. Default is Insert.",
+ "type": "string",
+ "enum": [
+ "Insert",
+ "Upsert"
+ ],
+ "x-ms-enum": {
+ "name": "SalesforceSinkWriteBehavior",
+ "modelAsString": true
+ }
+ },
+ "externalIdFieldName": {
"type": "object",
+ "description": "The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string)."
+ },
+ "ignoreNullValues": {
+ "type": "object",
+ "description": "The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean)."
+ }
+ }
+ },
+ "SalesforceServiceCloudSink": {
+ "description": "A copy activity Salesforce Service Cloud sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "writeBehavior": {
+ "description": "The write behavior for the operation. Default is Insert.",
+ "type": "string",
"enum": [
"Insert",
"Upsert"
@@ -3216,6 +3726,10 @@
"additionalProperties": {
"$ref": "#/definitions/SSISPropertyOverride"
}
+ },
+ "logLocation": {
+ "description": "SSIS package execution log location.",
+ "$ref": "#/definitions/SSISLogLocation"
}
},
"required": [
@@ -3230,12 +3744,47 @@
"packagePath": {
"description": "The SSIS package path. Type: string (or Expression with resultType string).",
"type": "object"
+ },
+ "type": {
+ "description": "The type of SSIS package location.",
+ "type": "string",
+ "enum": [
+ "SSISDB",
+ "File"
+ ],
+ "x-ms-enum": {
+ "name": "SsisPackageLocationType",
+ "modelAsString": true
+ }
+ },
+ "typeProperties": {
+ "x-ms-client-flatten": true,
+ "description": "SSIS package location properties.",
+ "$ref": "#/definitions/SSISPackageLocationTypeProperties"
}
},
"required": [
"packagePath"
]
},
+ "SSISPackageLocationTypeProperties": {
+ "description": "SSIS package location properties.",
+ "type": "object",
+ "properties": {
+ "packagePassword": {
+ "$ref": "../datafactory.json#/definitions/SecureString",
+ "description": "Password of the package."
+ },
+ "accessCredential": {
+ "description": "The package access credential.",
+ "$ref": "#/definitions/SSISAccessCredential"
+ },
+ "configurationPath": {
+ "description": "The configuration file of the package execution. Type: string (or Expression with resultType string).",
+ "type": "object"
+ }
+ }
+ },
"SSISConnectionManager": {
"description": "SSIS Connection Manager.",
"type": "object",
@@ -3296,6 +3845,74 @@
"password"
]
},
+ "SSISAccessCredential": {
+ "description": "SSIS access credential.",
+ "type": "object",
+ "properties": {
+ "domain": {
+ "type": "object",
+ "description": "Domain for windows authentication."
+ },
+ "userName": {
+ "type": "object",
+ "description": "UseName for windows authentication."
+ },
+ "password": {
+ "$ref": "../datafactory.json#/definitions/SecureString",
+ "description": "Password for windows authentication."
+ }
+ },
+ "required": [
+ "domain",
+ "userName",
+ "password"
+ ]
+ },
+ "SSISLogLocation": {
+ "description": "SSIS package execution log location",
+ "type": "object",
+ "properties": {
+ "logPath": {
+ "description": "The SSIS package execution log path. Type: string (or Expression with resultType string).",
+ "type": "object"
+ },
+ "type": {
+ "description": "The type of SSIS log location.",
+ "type": "string",
+ "enum": [
+ "File"
+ ],
+ "x-ms-enum": {
+ "name": "SsisLogLocationType",
+ "modelAsString": true
+ }
+ },
+ "typeProperties": {
+ "x-ms-client-flatten": true,
+ "description": "SSIS package execution log location properties.",
+ "$ref": "#/definitions/SSISLogLocationTypeProperties"
+ }
+ },
+ "required": [
+ "logPath",
+ "type",
+ "typeProperties"
+ ]
+ },
+ "SSISLogLocationTypeProperties": {
+ "description": "SSIS package execution log location properties.",
+ "type": "object",
+ "properties": {
+ "accessCredential": {
+ "description": "The package execution log access credential.",
+ "$ref": "#/definitions/SSISAccessCredential"
+ },
+ "logRefreshInterval": {
+ "type": "object",
+ "description": "Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
+ }
+ }
+ },
"CustomActivity": {
"description": "Custom activity type.",
"x-ms-discriminator-value": "Custom",
@@ -3496,6 +4113,41 @@
"dataset"
]
},
+ "AzureDataExplorerCommandActivity": {
+ "x-ms-discriminator-value": "AzureDataExplorerCommand",
+ "description": "Azure Data Explorer command activity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ExecutionActivity"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure Data Explorer command activity properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureDataExplorerCommandActivityTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzureDataExplorerCommandActivityTypeProperties": {
+ "description": "Azure Data Explorer command activity properties.",
+ "properties": {
+ "command": {
+ "type": "object",
+ "description": "A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string)."
+ },
+ "commandTimeout": {
+ "type": "object",
+ "description": "Control command timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)"
+ }
+ },
+ "required": [
+ "command"
+ ]
+ },
"LookupActivity": {
"x-ms-discriminator-value": "Lookup",
"description": "Lookup activity.",
@@ -4433,4 +5085,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json
index fe9db3793a6a..5233d07d4c96 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ActivityRuns_QueryByPipelineRun.json
@@ -107,4 +107,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json
index 83402fbecceb..93b679ecd61f 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Create.json
@@ -94,4 +94,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json
index c6053fe39891..35a7e0d225b9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:28 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14995",
- "x-ms-request-id": "586c27ed-d96c-42eb-8336-a077ef7e8358",
- "x-ms-correlation-request-id": "586c27ed-d96c-42eb-8336-a077ef7e8358"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:28 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14994",
- "x-ms-request-id": "18f08a60-3963-4a85-9db9-5122fad759ae",
- "x-ms-correlation-request-id": "18f08a60-3963-4a85-9db9-5122fad759ae"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json
index d99a0b7faa24..ce48b64a5ce7 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:50 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11992",
- "x-ms-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050",
- "x-ms-correlation-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:50 GMT",
@@ -63,4 +54,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json
index 62f89924db05..354f4fbefd87 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_ListByFactory.json
@@ -55,4 +55,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json
index ca71bc4482ba..633f3c0603be 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Update.json
@@ -84,4 +84,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json
index 53b0f29b7463..03fc1dfeb53e 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValue.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json
index fd5b666467bd..19786c58eddb 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ExposureControl_GetFeatureValueByFactory.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json
index b6f8fd06a9a7..ec3aed4cf249 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ConfigureFactoryRepo.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json
index 83401598c21a..94efe701a8f8 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_CreateOrUpdate.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json
index 1e8e7b08ecb6..630f8c0cae8d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json
@@ -6,25 +6,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:32 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14989",
- "x-ms-request-id": "ea0cf989-0831-4d49-84a8-9732da344b72",
- "x-ms-correlation-request-id": "ea0cf989-0831-4d49-84a8-9732da344b72"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:32 GMT",
- "x-ms-ratelimit-remaining-subscription-deletes": "14988",
- "x-ms-request-id": "3bf2d00f-7f37-4ab0-96c4-9ae560bc1f64",
- "x-ms-correlation-request-id": "3bf2d00f-7f37-4ab0-96c4-9ae560bc1f64",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json
index 5cfc600c634c..2a43ca5e1cae 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json
@@ -7,16 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:50 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11992",
- "x-ms-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050",
- "x-ms-correlation-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Tue, 19 Jun 2018 05:41:50 GMT",
@@ -52,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json
index 4f1da8e9e906..744dae50f325 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetDataPlaneAccess.json
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json
index 519664661711..24b8ba0be05b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_GetGitHubAccessToken.json
@@ -20,8 +20,8 @@
"x-ms-correlation-request-id": "da630ed9-35e4-41cd-9f93-be14dbcbd099"
},
"body": {
- "gitHubAccessToken":"myAccessTokenExample"
+ "gitHubAccessToken": "myAccessTokenExample"
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json
index f6bbd4f3b09f..3ef2a545c7e8 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json
@@ -202,4 +202,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json
index 2aadecb3999c..faf67ff17797 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_ListByResourceGroup.json
@@ -75,4 +75,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json
index 0ca66d871fbb..e84c444e6647 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Update.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json
index 8ad31a2f4f0e..8fc6d176f77c 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json
@@ -8,25 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Thu, 14 Jun 2018 15:01:22 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14999",
- "x-ms-request-id": "c1016b57-daf8-4476-b9eb-d02890d03f8d",
- "x-ms-correlation-request-id": "c1016b57-daf8-4476-b9eb-d02890d03f8d"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Thu, 14 Jun 2018 15:01:34 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14998",
- "x-ms-request-id": "9c6aed81-8fd1-477e-b365-c7b15fc7f51a",
- "x-ms-correlation-request-id": "9c6aed81-8fd1-477e-b365-c7b15fc7f51a"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json
index f4a230fc01d7..f7690ebfb45e 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json
index 9d7b7cecfc8d..bb2abe1d98cc 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_GetIpAddress.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json
index bda4589fa6e5..e1613c40e56f 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Update.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json
index 0d10c3b4f37e..149f79cf2b13 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json
@@ -231,4 +231,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json
index 5a8cdeb4c8c7..ff8c80b0f4d9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json
@@ -7,19 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Mon, 03 Dec 2018 06:24:38 GMT",
- "Location": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/refreshObjectMetadata/operationresults/ca63c855b72d44959653ffcc6eb0b96c?api-version=2018-06-01",
- "Retry-After": "15",
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/refreshObjectMetadata/operationstatuses/ca63c855b72d44959653ffcc6eb0b96c?api-version=2018-06-01",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1199",
- "x-ms-request-id": "abf136ad-39c8-4ee8-9098-7866f9433d13",
- "x-ms-correlation-request-id": "abf136ad-39c8-4ee8-9098-7866f9433d13"
- },
- "body": null
- },
+ "202": {},
"200": {
"headers": {
"Date": "Mon, 03 Dec 2018 06:24:53 GMT",
@@ -36,4 +24,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json
index d29fa9183fe8..97e23db02513 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Create.json
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json
index c0156b47ab3b..bfafc36f7558 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json
@@ -87,4 +87,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json
index b080ffbcd5c7..742aefa60d83 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 22:30:01 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14979",
- "x-ms-request-id": "6551f7f4-0d7f-4d02-a3a0-c4ee3b7bf15c",
- "x-ms-correlation-request-id": "6551f7f4-0d7f-4d02-a3a0-c4ee3b7bf15c"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 22:30:02 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14978",
- "x-ms-request-id": "7c5c6c3d-fca3-469e-9b6b-63ed9e4997dd",
- "x-ms-correlation-request-id": "7c5c6c3d-fca3-469e-9b6b-63ed9e4997dd"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json
index 072fb4d1e260..55fe8b7f97c5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:47 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11996",
- "x-ms-request-id": "7b3673dc-aef9-411c-8138-e6778231c474",
- "x-ms-correlation-request-id": "7b3673dc-aef9-411c-8138-e6778231c474"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:47 GMT",
@@ -38,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json
index 916a85249c56..85dcb8cce89d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetConnectionInfo.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json
index ee22ca1956db..a31a69d5f0da 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetMonitoringData.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json
index eb30d6ce41c8..e7263d9c62b9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_GetStatus.json
@@ -68,4 +68,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json
index d4469bbe608b..9d143cf73965 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListAuthKeys.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json
index 7961ec82f45b..716811d7fded 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_ListByFactory.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json
index 5587566f8150..81c80e555136 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RegenerateAuthKey.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json
index 3baecff413c6..33c1f7eda83e 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json
@@ -10,15 +10,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Tue, 03 Jul 2018 06:33:25 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1195",
- "x-ms-request-id": "360fbe4c-a1a7-436b-b0f5-e27a474a6b16",
- "x-ms-correlation-request-id": "360fbe4c-a1a7-436b-b0f5-e27a474a6b16"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json
index c4b7ae4cff12..81bcbb87fa24 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json
@@ -7,18 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 21:11:03 GMT",
- "Location": "https://api-dogfood.resources.windows-int.net/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/start/operationresults/301b9c4b1c43415594e11918e678383c?api-version=2018-06-01",
- "Retry-After": "15",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1194",
- "x-ms-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904",
- "x-ms-correlation-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904"
- },
- "body": null
- },
+ "202": {},
"200": {
"headers": {
"Date": "Wed, 13 Jun 2018 21:33:00 GMT",
@@ -42,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json
index 50c00081777e..5ae0f3f8f835 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json
@@ -7,27 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 21:11:03 GMT",
- "Location": "https://api-dogfood.resources.windows-int.net/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/stop/operationresults/301b9c4b1c43415594e11918e678385f?api-version=2018-06-01",
- "Retry-After": "15",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1194",
- "x-ms-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904",
- "x-ms-correlation-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904"
- },
- "body": null
- },
- "200": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 21:33:03 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1193",
- "x-ms-request-id": "87f6c2c7-92f1-40e6-bb01-769f9e6ca22f",
- "x-ms-correlation-request-id": "87f6c2c7-92f1-40e6-bb01-769f9e6ca22f"
- },
- "body": null
- }
+ "202": {},
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json
index b614b05b52e6..cdd180d2e720 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Thu, 14 Jun 2018 15:27:47 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "a991b4b4-e33a-4973-9088-200f9137fb84",
- "x-ms-correlation-request-id": "a991b4b4-e33a-4973-9088-200f9137fb84"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json
index cbe1a8c4235b..ebac058654f5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Update.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json
index 30998ace71e3..cdd180d2e720 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Thu, 14 Jun 2018 14:53:30 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1196",
- "x-ms-request-id": "e12b9b30-54bf-49a0-8b7e-c8ce58ba6a36",
- "x-ms-correlation-request-id": "e12b9b30-54bf-49a0-8b7e-c8ce58ba6a36"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json
index 5f7c0bc17471..bd917f8bd565 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Create.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json
index ee8b10b68aec..86ce004138cf 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:29 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14993",
- "x-ms-request-id": "f55bd1ad-2ab5-4b94-bca5-01489e1b9d57",
- "x-ms-correlation-request-id": "f55bd1ad-2ab5-4b94-bca5-01489e1b9d57"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:29 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14992",
- "x-ms-request-id": "b1456813-e580-4cb0-bb05-ffd6099320e6",
- "x-ms-correlation-request-id": "b1456813-e580-4cb0-bb05-ffd6099320e6"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json
index 2c3a1f7902f5..b6b18d4691ef 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:49 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11994",
- "x-ms-request-id": "9a503b24-1b14-4242-9fab-598c81881370",
- "x-ms-correlation-request-id": "9a503b24-1b14-4242-9fab-598c81881370"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:48 GMT",
@@ -45,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json
index d90b155020ce..319bbb24827d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_ListByFactory.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json
index 2fea4585de27..cef06ef4b2f3 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Update.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json
index 2a2ed78c8df8..b8e728dab337 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Operations_List.json
@@ -1031,4 +1031,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json
index ff5617cb7614..8a43a61a8bfd 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:39:51 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1188",
- "x-ms-request-id": "00215772-3147-4e15-99ae-fbf225d5dd0a",
- "x-ms-correlation-request-id": "00215772-3147-4e15-99ae-fbf225d5dd0a"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json
index 657ed25eed2f..69557e9a95d3 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Get.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json
index cbb12946813b..b110f2399a3f 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json
index a35819f0b35c..9d0a1ba448e3 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Create.json
@@ -152,4 +152,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json
index 721114951093..6db90f12d9bd 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_CreateRun.json
@@ -26,4 +26,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json
index 6cbb5ed82357..dd54c881c5f5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:27 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14997",
- "x-ms-request-id": "10ea8bd9-4620-425c-92dd-adadef31c9e4",
- "x-ms-correlation-request-id": "10ea8bd9-4620-425c-92dd-adadef31c9e4"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:27 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14996",
- "x-ms-request-id": "cfb3e876-4271-4300-bf3d-3bffc5a34695",
- "x-ms-correlation-request-id": "cfb3e876-4271-4300-bf3d-3bffc5a34695"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json
index 2ff9004c5fe5..82a21a869f01 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:51 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11990",
- "x-ms-request-id": "819ef646-692f-4d1b-8717-0b4fe493e2aa",
- "x-ms-correlation-request-id": "819ef646-692f-4d1b-8717-0b4fe493e2aa"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:51 GMT",
@@ -98,4 +89,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json
index 76bfe07287e2..ef2d35a49e96 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_ListByFactory.json
@@ -85,4 +85,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json
index 239e9d8251e9..d8f17d97dca1 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Update.json
@@ -144,4 +144,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json
index 9506549b1bb8..1e3d8b98ec8b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json
@@ -8,15 +8,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:24 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
- "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Create.json
index 70c7c155f276..7463511ef117 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Create.json
@@ -36,4 +36,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_ListByTrigger.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_ListByTrigger.json
index a08ff0b93fac..e6ea096fb88f 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_ListByTrigger.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_ListByTrigger.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json
index 662bcb719b5f..1e3d8b98ec8b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json
@@ -8,15 +8,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:40:20 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1184",
- "x-ms-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d",
- "x-ms-correlation-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json
index 9506549b1bb8..1e3d8b98ec8b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json
@@ -8,15 +8,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:24 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
- "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json
index 3e7e1935aeaa..0459859ced96 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_QueryByFactory.json
@@ -48,4 +48,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json
index 8d0d568e11d3..d5dd062211e4 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Create.json
@@ -77,4 +77,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json
index a421eae21ad0..e7d4a03ea08a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:26 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14999",
- "x-ms-request-id": "1eea81f0-87de-4c9d-87cd-915e592a9bcc",
- "x-ms-correlation-request-id": "1eea81f0-87de-4c9d-87cd-915e592a9bcc"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:26 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14998",
- "x-ms-request-id": "833e731f-67dc-48d3-b90f-6dd08e9d819f",
- "x-ms-correlation-request-id": "833e731f-67dc-48d3-b90f-6dd08e9d819f"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json
index 849cc9d0cb4d..446697f3a5eb 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:52 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11988",
- "x-ms-request-id": "ca7b5df3-83ee-42a1-88f3-e417baa37900",
- "x-ms-correlation-request-id": "ca7b5df3-83ee-42a1-88f3-e417baa37900"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:52 GMT",
@@ -60,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json
index d624262a0bc7..783f84c0112c 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_ListByFactory.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json
index e519779f355a..558c3f6b3afa 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:40:20 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1184",
- "x-ms-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d",
- "x-ms-correlation-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json
index d26575b13848..558c3f6b3afa 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:24 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
- "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
- },
- "body": null
- }
+ "200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json
index 279774e97f2a..be49edc3dced 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json
index 95331d8e363d..4d377d679b65 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json
@@ -2901,4 +2901,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json
index 0d3a24a48e0a..7bf8ab43655e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json
@@ -1023,4 +1023,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json
index 0db2aa94ac9d..416404d9d156 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json
@@ -536,7 +536,6 @@
"VertexResourceInUserFolder",
"JobManagerResourceInUserFolder",
"StatisticsResourceInUserFolder"
-
],
"x-ms-enum": {
"name": "JobResourceType",
@@ -690,32 +689,32 @@
},
"description": "The common Data Lake Analytics job properties."
},
- "Diagnostics" : {
+ "Diagnostics": {
"properties": {
- "columnNumber" : {
+ "columnNumber": {
"description": "the column where the error occurred.",
"type": "integer",
"format": "int32",
"readOnly": true
},
- "end" : {
+ "end": {
"description": "the ending index of the error.",
"type": "integer",
"format": "int32",
"readOnly": true
},
- "lineNumber" : {
+ "lineNumber": {
"description": "the line number the error occurred on.",
"type": "integer",
"format": "int32",
"readOnly": true
},
- "message" : {
+ "message": {
"description": "the error message.",
"type": "string",
"readOnly": true
},
- "severity" : {
+ "severity": {
"description": "the severity of the error.",
"readOnly": true,
"type": "string",
@@ -729,7 +728,7 @@
"modelAsString": false
}
},
- "start" : {
+ "start": {
"description": "the starting index of the error.",
"type": "integer",
"format": "int32",
@@ -1007,7 +1006,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"description": "the list of log file name patterns to find in the logFolder. '*' is the only matching character allowed. Example format: jobExecution*.log or *mylog*.txt"
},
"stateAuditRecords": {
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json
index 6ceeb3ab4b79..baa5e5b204e3 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json
@@ -1,88 +1,92 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "parameters": {
- "type": "USql",
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
+ "type": "USql",
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
+ },
+ "name": "test_name"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "tags": {
+ "test_key": "test_value"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
},
- "name": "test_name"
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json
index 09f18758b1bc..0f6b9bfbcaea 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json
@@ -1,16 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- },
- "202": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json
index e18aa9f2425a..74d84f3f66c3 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json
@@ -1,103 +1,107 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "parameters": {
- "type": "USql",
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
+ "type": "USql",
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
+ },
+ "name": "test_name",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "tags": {
+ "test_key": "test_value"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
},
- "name": "test_name",
- "degreeOfParallelism": 1,
- "priority": 1,
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json
index 9c71939c68ab..bcf9262e5433 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json
@@ -1,80 +1,84 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "tags": {
+ "test_key": "test_value"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
+ },
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json
index 1dd27580aa29..7d1e0fe91660 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "command": "test_command",
- "paths": [
- "test_path_1",
- "test_path_2"
- ]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "command": "test_command",
+ "paths": [
+ "test_path_1",
+ "test_path_2"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json
index 182690613ad8..7c254cf468fa 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json
@@ -1,38 +1,40 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
- "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
- "stages": [{
- "dataRead": 1,
- "dataReadCrossPod": 1,
- "dataReadIntraPod": 1,
- "dataToRead": 1,
- "dataWritten": 1,
- "duplicateDiscardCount": 1,
- "failedCount": 1,
- "maxVertexDataRead": 1,
- "minVertexDataRead": 1,
- "readFailureCount": 1,
- "revocationCount": 1,
- "runningCount": 1,
- "scheduledCount": 1,
- "stageName": "test_stage_name",
- "succeededCount": 1,
- "tempDataWritten": 1,
- "totalCount": 1,
- "totalFailedTime": "PT0S",
- "totalProgress": 1,
- "totalSucceededTime": "PT0S"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
+ "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
+ "stages": [
+ {
+ "dataRead": 1,
+ "dataReadCrossPod": 1,
+ "dataReadIntraPod": 1,
+ "dataToRead": 1,
+ "dataWritten": 1,
+ "duplicateDiscardCount": 1,
+ "failedCount": 1,
+ "maxVertexDataRead": 1,
+ "minVertexDataRead": 1,
+ "readFailureCount": 1,
+ "revocationCount": 1,
+ "runningCount": 1,
+ "scheduledCount": 1,
+ "stageName": "test_stage_name",
+ "succeededCount": 1,
+ "tempDataWritten": 1,
+ "totalCount": 1,
+ "totalFailedTime": "PT0S",
+ "totalProgress": 1,
+ "totalSucceededTime": "PT0S"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json
index 3d8689c9bb33..8ccd670d6930 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json
@@ -1,49 +1,51 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- }
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "tags": {
+ "test_key": "test_value"
}
- }
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json
index 54cd118c364e..41cad2d3a8de 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json
@@ -1,91 +1,93 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "parameters": {
- "degreeOfParallelism": 1,
- "priority": 1,
- "tags": {
- "test_key": "test_value"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "Hive"
- }
- }
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "tags": {
+ "test_key": "test_value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
},
- "201": {
+ "tags": {
+ "test_key": "test_value"
},
- "202": {
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
+ },
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "Hive"
}
- }
+ }
+ },
+ "201": {},
+ "202": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json
index 09f18758b1bc..0f6b9bfbcaea 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json
@@ -1,16 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- },
- "202": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json
index 76fddedb5fd2..83b65ea13fb5 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json
@@ -1,34 +1,36 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
- "runs": [{
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "recurrences": [
- "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
- "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
- ]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "runs": [
+ {
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "recurrences": [
+ "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
+ "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json
index 7803c038f2f0..a686098793b5 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json
@@ -1,36 +1,40 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
- "runs": [{
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "recurrences": [
- "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
- "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
- ]
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "runs": [
+ {
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "recurrences": [
+ "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
+ "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
+ ]
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json
index 9f8e326cba38..83174744e93c 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "recurrenceName": "test_recurrence_name",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "recurrenceName": "test_recurrence_name",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json
index f12dad78264f..6c85120742ea 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json
@@ -1,27 +1,29 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "recurrenceName": "test_recurrence_name",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "recurrenceName": "test_recurrence_name",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json
index 911c3e76cd92..65f78c6aeb25 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json
@@ -1890,7 +1890,6 @@
"description": "The recurring job relationship information properties."
}
},
-
"description": "The parameters used to submit a new Data Lake Analytics job."
},
"CreateScopeJobParameters": {
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json
index 520955a36cb6..f3d02df1083d 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json
@@ -1,85 +1,89 @@
{
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
"parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "parameters": {
- "type": "USql",
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
+ "type": "USql",
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
+ },
+ "name": "test_name"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
},
- "name": "test_name"
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json
index b7ae114a3b7d..c39750162dab 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json
@@ -1,12 +1,11 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json
index e2330dc879e9..f1c5fa864086 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json
@@ -1,100 +1,104 @@
{
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
"parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "parameters": {
- "type": "USql",
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
+ "type": "USql",
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
+ },
+ "name": "test_name",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
},
- "name": "test_name",
- "degreeOfParallelism": 1,
- "priority": 1,
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json
index f73037f5ce56..f2d0d0c690d1 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json
@@ -1,77 +1,81 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
+ },
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json
index 7726d97fdc90..d7839a080d13 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "command": "test_command",
- "paths": [
- "test_path_1",
- "test_path_2"
- ]
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "command": "test_command",
+ "paths": [
+ "test_path_1",
+ "test_path_2"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json
index 3b240a387852..3015262ac05f 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json
@@ -1,38 +1,40 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
- "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
- "stages": [{
- "dataRead": 1,
- "dataReadCrossPod": 1,
- "dataReadIntraPod": 1,
- "dataToRead": 1,
- "dataWritten": 1,
- "duplicateDiscardCount": 1,
- "failedCount": 1,
- "maxVertexDataRead": 1,
- "minVertexDataRead": 1,
- "readFailureCount": 1,
- "revocationCount": 1,
- "runningCount": 1,
- "scheduledCount": 1,
- "stageName": "test_stage_name",
- "succeededCount": 1,
- "tempDataWritten": 1,
- "totalCount": 1,
- "totalFailedTime": "PT0S",
- "totalProgress": 1,
- "totalSucceededTime": "PT0S"
- }]
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
+ "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
+ "stages": [
+ {
+ "dataRead": 1,
+ "dataReadCrossPod": 1,
+ "dataReadIntraPod": 1,
+ "dataToRead": 1,
+ "dataWritten": 1,
+ "duplicateDiscardCount": 1,
+ "failedCount": 1,
+ "maxVertexDataRead": 1,
+ "minVertexDataRead": 1,
+ "readFailureCount": 1,
+ "revocationCount": 1,
+ "runningCount": 1,
+ "scheduledCount": 1,
+ "stageName": "test_stage_name",
+ "succeededCount": 1,
+ "tempDataWritten": 1,
+ "totalCount": 1,
+ "totalFailedTime": "PT0S",
+ "totalProgress": 1,
+ "totalSucceededTime": "PT0S"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json
index c15f4d3a332c..8fd9f03ecba5 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json
@@ -1,46 +1,48 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- }
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
}
- }
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json
index d0969ab1dead..902807b48173 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json
@@ -1,34 +1,36 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
- "runs": [{
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "recurrences": [
- "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
- "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
- ]
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "runs": [
+ {
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "recurrences": [
+ "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
+ "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json
index bbaffcc35e5d..5a797c4b8f52 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json
@@ -1,36 +1,40 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
- "runs": [{
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "recurrences": [
- "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
- "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
- ]
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "runs": [
+ {
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "recurrences": [
+ "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
+ "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
+ ]
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json
index 806b549a7c39..fcae5974bf10 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "recurrenceName": "test_recurrence_name",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "recurrenceName": "test_recurrence_name",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json
index 8ee7ee002381..427e1a6b1725 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json
@@ -1,27 +1,29 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "recurrenceName": "test_recurrence_name",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "recurrenceName": "test_recurrence_name",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json
index 3ecec8d20ed9..f8367c30e275 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json
@@ -1,18 +1,17 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "credentialName": "test_credential_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "credentialName": "test_credential_name",
- "parameters": {
- "password": "test_password",
- "uri": "test_host:8000",
- "userId": "test_user_id"
- }
- },
- "responses": {
- "200": {
- }
+ "password": "test_password",
+ "uri": "test_host:8000",
+ "userId": "test_user_id"
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json
index 610d09b19144..fc541925934e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "secretName": "test_secret_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "secretName": "test_secret_name",
- "parameters": {
- "password": "test_password",
- "uri": "test_host:8000"
- }
- },
- "responses": {
- "200": {
- }
+ "password": "test_password",
+ "uri": "test_host:8000"
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json
index 9e8b91296054..67403b1fb40e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json
@@ -1,12 +1,11 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json
index 735406634a0c..ff464fb20a93 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "credentialName": "test_credential_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "credentialName": "test_credential_name",
- "parameters": {
- "password": "test_password"
- },
- "cascade": false
+ "password": "test_password"
},
- "responses": {
- "200": {
- }
- }
+ "cascade": false
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json
index 62d68222eee3..6f27e947a052 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json
@@ -1,13 +1,12 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "secretName": "test_secret_name"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "secretName": "test_secret_name"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json
index 821a7d192e6e..e583c97819ba 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json
@@ -1,38 +1,42 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "assemblyName": "test_assembly_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
- "assemblyName": "test_assembly_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "assemblyName": "test_assembly_name",
- "clrName": "test_clr_name",
- "isVisible": false,
- "isUserDefined": false,
- "files": [{
- "type": "Assembly",
- "originalPath": "test_original_path",
- "contentPath": "test_content_path"
- }],
- "dependencies": [{
- "entityId": {
- "name": {
- "firstPart": "test_first_part",
- "secondPart": "test_second_part",
- "thirdPart": "test_third_part",
- "server": "test_server"
- },
- "version":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- }
- }]
+ "assemblyName": "test_assembly_name",
+ "clrName": "test_clr_name",
+ "isVisible": false,
+ "isUserDefined": false,
+ "files": [
+ {
+ "type": "Assembly",
+ "originalPath": "test_original_path",
+ "contentPath": "test_content_path"
+ }
+ ],
+ "dependencies": [
+ {
+ "entityId": {
+ "name": {
+ "firstPart": "test_first_part",
+ "secondPart": "test_second_part",
+ "thirdPart": "test_third_part",
+ "server": "test_server"
+ },
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
}
- }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json
index ed310d3c0249..481038e559da 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "credentialName": "test_credential_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"credentialName": "test_credential_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "credentialName": "test_credential_name"
- }
- }
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json
index ae7ce0caba76..af15531c676d 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master"
- }
- }
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json
index 0109800c719a..4353518b82c1 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "externalDataSourceName": "test_external_data_source_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
- "externalDataSourceName": "test_external_data_source_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "externalDataSourceName": "test_external_data_source_name",
- "provider": "test_provider",
- "providerString": "test_provider_string",
- "pushdownTypes": [
- "test_pushdown_type"
- ]
- }
- }
+ "externalDataSourceName": "test_external_data_source_name",
+ "provider": "test_provider",
+ "providerString": "test_provider_string",
+ "pushdownTypes": [
+ "test_pushdown_type"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json
index fb123d4c667d..c91926a60b87 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "packageName": "test_package_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "packageName": "test_package_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "packageName": "test_package_name",
- "definition": "test_definition"
- }
- }
+ "packageName": "test_package_name",
+ "definition": "test_definition"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json
index 1c4339bbc95d..c931fc1dbba6 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "procedureName": "test_procedure_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "procedureName": "test_procedure_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "procName": "test_proc_name",
- "definition": "test_definition"
- }
- }
+ "procName": "test_proc_name",
+ "definition": "test_definition"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json
index 66c62125e3e9..36c9a9693031 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo"
- }
- }
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json
index 454a4557f4aa..a40c57830525 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "secretName": "test_secret_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
- "secretName": "test_secret_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "secretName": "test_secret_name",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "uri": "test_host:8000",
- "password": "test_password"
- }
- }
+ "secretName": "test_secret_name",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "uri": "test_host:8000",
+ "password": "test_password"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json
index 3914fa94a342..86e10aa2ed4e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json
@@ -1,78 +1,88 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "tableName": "test_table_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "columnList": [{
- "name": "test_column_name",
- "type": "test_type"
- }],
- "indexList": [{
- "name": "test_index_name",
- "indexKeys": [{
- "name": "test_index_key",
- "descending": false
- }],
- "columns": [
- "test_column"
- ],
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
- },
- "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "partitionKeyList": [
- "test_partition_key"
- ],
- "streamNames": [
- "test_stream_name"
- ],
- "isColumnstore": false,
- "indexId": 1,
- "isUnique": false
- }],
- "partitionKeyList":[
- "test_partition_key"
- ],
- "externalTable": {
- "tableName":"test_table_name",
- "dataSource": {
- "name": {
- "firstPart": "test_first_part",
- "secondPart": "test_second_part",
- "thirdPart": "test_third_part",
- "server": "test_server"
- },
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- }
- },
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
+ "tableName": "test_table_name",
+ "columnList": [
+ {
+ "name": "test_column_name",
+ "type": "test_type"
+ }
+ ],
+ "indexList": [
+ {
+ "name": "test_index_name",
+ "indexKeys": [
+ {
+ "name": "test_index_key",
+ "descending": false
+ }
+ ],
+ "columns": [
+ "test_column"
+ ],
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
}
+ ],
+ "count": 1,
+ "dynamicCount": 1
+ },
+ "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "streamNames": [
+ "test_stream_name"
+ ],
+ "isColumnstore": false,
+ "indexId": 1,
+ "isUnique": false
+ }
+ ],
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "externalTable": {
+ "tableName": "test_table_name",
+ "dataSource": {
+ "name": {
+ "firstPart": "test_first_part",
+ "secondPart": "test_second_part",
+ "thirdPart": "test_third_part",
+ "server": "test_server"
+ },
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
+ }
+ },
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
}
+ ],
+ "count": 1,
+ "dynamicCount": 1
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json
index e367e0e3d105..a288c553e3e3 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json
@@ -1,29 +1,29 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "partitionName": "test_partition_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "tableName": "test_table_name",
- "partitionName": "test_partition_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "partitionName": "test_partition_name",
- "parentName": "test_parent_name",
- "indexId": 1,
- "label": [
- "test_label_1",
- "test_label_2"
- ],
- "createDate": "2017-04-14T13:21:56.6819037-07:00"
- }
- }
+ "partitionName": "test_partition_name",
+ "parentName": "test_parent_name",
+ "indexId": 1,
+ "label": [
+ "test_label_1",
+ "test_label_2"
+ ],
+ "createDate": "2017-04-14T13:21:56.6819037-07:00"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json
index 0b41a3b773e2..0a5f83294d82 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json
@@ -1,35 +1,35 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "statisticsName": "test_statistics_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
"tableName": "test_table_name",
- "statisticsName": "test_statistics_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "statisticsName": "test_statistics_name",
- "userStatName": "test_user_stat_name",
- "statDataPath": "test_stat_data_path",
- "createTime": "2017-04-14T13:21:56.6819037-07:00",
- "updateTime": "2017-04-14T13:21:56.6819037-07:00",
- "isUserCreated": false,
- "isAutoCreated": false,
- "hasFilter": false,
- "filterDefinition": "test_filter_definition",
- "colNames": [
- "test_column_name_1",
- "test_column_name_2"
- ]
- }
- }
+ "statisticsName": "test_statistics_name",
+ "userStatName": "test_user_stat_name",
+ "statDataPath": "test_stat_data_path",
+ "createTime": "2017-04-14T13:21:56.6819037-07:00",
+ "updateTime": "2017-04-14T13:21:56.6819037-07:00",
+ "isUserCreated": false,
+ "isAutoCreated": false,
+ "hasFilter": false,
+ "filterDefinition": "test_filter_definition",
+ "colNames": [
+ "test_column_name_1",
+ "test_column_name_2"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json
index 22b244d4c67c..1eff65de8aee 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json
@@ -1,37 +1,39 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableTypeName": "test_table_type_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "tableTypeName": "test_table_type_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "typeName": "test_type_name",
- "typeFamily": "test_type_family",
- "cSharpName": "test_csharp_name",
- "fullCSharpName": "test_full_csharp_name",
- "systemTypeId": 1,
- "userTypeId": 2,
- "schemaId": 3,
- "principalId": 4,
- "isNullable": false,
- "isUserDefined": false,
- "isAssemblyType": false,
- "isTableType": false,
- "isComplexType": false,
- "columns":[{
- "name": "test_column_name",
- "type": "test_column_type"
- }]
- }
- }
+ "typeName": "test_type_name",
+ "typeFamily": "test_type_family",
+ "cSharpName": "test_csharp_name",
+ "fullCSharpName": "test_full_csharp_name",
+ "systemTypeId": 1,
+ "userTypeId": 2,
+ "schemaId": 3,
+ "principalId": 4,
+ "isNullable": false,
+ "isUserDefined": false,
+ "isAssemblyType": false,
+ "isTableType": false,
+ "isComplexType": false,
+ "columns": [
+ {
+ "name": "test_column_name",
+ "type": "test_column_type"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json
index e50c8a3eeb7f..153f7dd218ad 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableValuedFunctionName": "test_table_valued_function_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "tableValuedFunctionName": "test_table_valued_function_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tvfName": "test_tvf_name",
- "definition": "test_definition"
- }
- }
+ "tvfName": "test_tvf_name",
+ "definition": "test_definition"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json
index d8e521763c0d..8cbb54a2b8a9 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "viewName": "test_view_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "viewName": "test_view_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "viewName": "test_view_name",
- "definition": "test_definition"
- }
- }
+ "viewName": "test_view_name",
+ "definition": "test_definition"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json
index 527eab876111..b3a323473d5e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "parameters": {
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "permission": "Use"
- },
- "op": "GRANTACE"
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "permission": "Use"
},
- "responses": {
- "200": {
- }
- }
+ "op": "GRANTACE"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json
index e1161b4d68b3..d4a3090912f1 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json
@@ -1,18 +1,17 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "parameters": {
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "permission": "Use"
- },
- "op": "GRANTACE"
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "permission": "Use"
},
- "responses": {
- "200": {
- }
- }
+ "op": "GRANTACE"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json
index 3520a5c8814c..bd6e131eae46 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json
@@ -1,25 +1,27 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "permission": "Use"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "permission": "Use"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json
index ad3a6f9e928b..e6b3957b23e9 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json
@@ -1,26 +1,28 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "permission": "Use"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "permission": "Use"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json
index f29786e3e431..032cf60bbd11 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json
@@ -1,28 +1,30 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "assemblyClrName": "test_assembly_clr_name",
- "clrName": "test_clr_name"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "assemblyClrName": "test_assembly_clr_name",
+ "clrName": "test_clr_name"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json
index 3666ea447370..0a8ffdf18fae 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json
@@ -1,26 +1,28 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "credentialName": "test_credential_name"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "credentialName": "test_credential_name"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json
index 8afb3c82c79e..28f7387f8967 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json
@@ -1,25 +1,27 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json
index cfff2b00bd17..8cbdc9aa261c 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json
@@ -1,32 +1,34 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "externalDataSourceName": "test_external_data_source_name",
- "provider": "test_provider",
- "providerString": "test_provider_string",
- "pushdownTypes": [
- "test_pushdown_type"
- ]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "externalDataSourceName": "test_external_data_source_name",
+ "provider": "test_provider",
+ "providerString": "test_provider_string",
+ "pushdownTypes": [
+ "test_pushdown_type"
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json
index db0b0831a2d3..6ae2c538ca6a 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json
@@ -1,30 +1,32 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "packageName": "test_package_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "packageName": "test_package_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json
index 63711b33ff73..ebf232895732 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json
@@ -1,30 +1,32 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "procName": "test_proc_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "procName": "test_proc_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json
index 4e7662b58658..c36946981f01 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json
@@ -1,27 +1,29 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
index f9404d635a04..77ddc357b11f 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
@@ -1,32 +1,34 @@
{
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
},
"responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/tables/test_table_name/tablefragments?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "parentId": "9d2d7abd-c641-4ddb-88ab-90cafdfe1c1b",
- "fragmentId": "797d2643-eed9-4900-8090-0f8ddd9e8ba7",
- "indexId": 1,
- "size": 33786,
- "rowCount": 1,
- "createDate": "2017-10-11T06:38:31.567-07:00",
- "streamPath":"catalog/database/86bf2a20-b511-48c8-91c5-1f73c4c0ec74/schema/b83d3be1-9e11-40b7-85f9-ad823efe2414/table/1e666ab1-d6f0-4990-8180-1a6160caf405/91193f18-06dd-47a2-96fa-2cca3b4777e1.ss"
- }]
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/tables/test_table_name/tablefragments?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "parentId": "9d2d7abd-c641-4ddb-88ab-90cafdfe1c1b",
+ "fragmentId": "797d2643-eed9-4900-8090-0f8ddd9e8ba7",
+ "indexId": 1,
+ "size": 33786,
+ "rowCount": 1,
+ "createDate": "2017-10-11T06:38:31.567-07:00",
+ "streamPath": "catalog/database/86bf2a20-b511-48c8-91c5-1f73c4c0ec74/schema/b83d3be1-9e11-40b7-85f9-ad823efe2414/table/1e666ab1-d6f0-4990-8180-1a6160caf405/91193f18-06dd-47a2-96fa-2cca3b4777e1.ss"
}
+ ]
}
+ }
}
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json
index bd2d66de562a..249a45c53d58 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json
@@ -1,37 +1,39 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "partitionName": "test_partition_name",
- "parentName": "test_parent_name",
- "indexId": 1,
- "label": [
- "test_label_1",
- "test_label_2"
- ],
- "createDate": "2017-04-14T13:21:56.6819037-07:00"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "partitionName": "test_partition_name",
+ "parentName": "test_parent_name",
+ "indexId": 1,
+ "label": [
+ "test_label_1",
+ "test_label_2"
+ ],
+ "createDate": "2017-04-14T13:21:56.6819037-07:00"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json
index acd9670cb21e..391f98fa93d4 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json
@@ -1,43 +1,45 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_view_name",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "statisticsName": "test_statistics_name",
- "userStatName": "test_user_stat_name",
- "statDataPath": "test_stat_data_path",
- "createTime": "2017-04-14T13:21:56.6819037-07:00",
- "updateTime": "2017-04-14T13:21:56.6819037-07:00",
- "isUserCreated": false,
- "isAutoCreated": false,
- "hasFilter": false,
- "filterDefinition": "test_filter_definition",
- "colNames": [
- "test_column_name_1",
- "test_column_name_2"
- ]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_view_name",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "statisticsName": "test_statistics_name",
+ "userStatName": "test_user_stat_name",
+ "statDataPath": "test_stat_data_path",
+ "createTime": "2017-04-14T13:21:56.6819037-07:00",
+ "updateTime": "2017-04-14T13:21:56.6819037-07:00",
+ "isUserCreated": false,
+ "isAutoCreated": false,
+ "hasFilter": false,
+ "filterDefinition": "test_filter_definition",
+ "colNames": [
+ "test_column_name_1",
+ "test_column_name_2"
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json
index 4b61e4daafba..dcaf31d18e34 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json
@@ -1,41 +1,43 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "statisticsName": "test_statistics_name",
- "userStatName": "test_user_stat_name",
- "statDataPath": "test_stat_data_path",
- "createTime": "2017-04-14T13:21:56.6819037-07:00",
- "updateTime": "2017-04-14T13:21:56.6819037-07:00",
- "isUserCreated": false,
- "isAutoCreated": false,
- "hasFilter": false,
- "filterDefinition": "test_filter_definition",
- "colNames": [
- "test_column_name_1",
- "test_column_name_2"
- ]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "statisticsName": "test_statistics_name",
+ "userStatName": "test_user_stat_name",
+ "statDataPath": "test_stat_data_path",
+ "createTime": "2017-04-14T13:21:56.6819037-07:00",
+ "updateTime": "2017-04-14T13:21:56.6819037-07:00",
+ "isUserCreated": false,
+ "isAutoCreated": false,
+ "hasFilter": false,
+ "filterDefinition": "test_filter_definition",
+ "colNames": [
+ "test_column_name_1",
+ "test_column_name_2"
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json
index 5bc1acc5e772..e290189fce55 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json
@@ -1,42 +1,44 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "statisticsName": "test_statistics_name",
- "userStatName": "test_user_stat_name",
- "statDataPath": "test_stat_data_path",
- "createTime": "2017-04-14T13:21:56.6819037-07:00",
- "updateTime": "2017-04-14T13:21:56.6819037-07:00",
- "isUserCreated": false,
- "isAutoCreated": false,
- "hasFilter": false,
- "filterDefinition": "test_filter_definition",
- "colNames": [
- "test_column_name_1",
- "test_column_name_2"
- ]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "statisticsName": "test_statistics_name",
+ "userStatName": "test_user_stat_name",
+ "statDataPath": "test_stat_data_path",
+ "createTime": "2017-04-14T13:21:56.6819037-07:00",
+ "updateTime": "2017-04-14T13:21:56.6819037-07:00",
+ "isUserCreated": false,
+ "isAutoCreated": false,
+ "hasFilter": false,
+ "filterDefinition": "test_filter_definition",
+ "colNames": [
+ "test_column_name_1",
+ "test_column_name_2"
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json
index d6320995ae46..5b669d598e31 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json
@@ -1,45 +1,49 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "typeName": "test_type_name",
- "typeFamily": "test_type_family",
- "cSharpName": "test_csharp_name",
- "fullCSharpName": "test_full_csharp_name",
- "systemTypeId": 1,
- "userTypeId": 2,
- "schemaId": 3,
- "principalId": 4,
- "isNullable": false,
- "isUserDefined": false,
- "isAssemblyType": false,
- "isTableType": false,
- "isComplexType": false,
- "columns":[{
- "name": "test_column_name",
- "type": "test_column_type"
- }]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "typeName": "test_type_name",
+ "typeFamily": "test_type_family",
+ "cSharpName": "test_csharp_name",
+ "fullCSharpName": "test_full_csharp_name",
+ "systemTypeId": 1,
+ "userTypeId": 2,
+ "schemaId": 3,
+ "principalId": 4,
+ "isNullable": false,
+ "isUserDefined": false,
+ "isAssemblyType": false,
+ "isTableType": false,
+ "isComplexType": false,
+ "columns": [
+ {
+ "name": "test_column_name",
+ "type": "test_column_type"
+ }
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json
index 9a2cbc27567c..f41ad0d80d3e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json
@@ -1,30 +1,32 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tvfName": "test_tvf_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tvfName": "test_tvf_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json
index cc92fbd51b46..9deeee909f0a 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tvfName": "test_tvf_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tvfName": "test_tvf_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json
index 8b09461b6b9e..6cc1ae432ff4 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json
@@ -1,87 +1,99 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false,
- "basic": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "columnList": [{
- "name": "test_column_name",
- "type": "test_type"
- }],
- "indexList": [{
- "name": "test_index_name",
- "indexKeys": [{
- "name": "test_index_key",
- "descending": false
- }],
- "columns": [
- "test_column"
- ],
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
- },
- "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "partitionKeyList": [
- "test_partition_key"
- ],
- "streamNames": [
- "test_stream_name"
- ],
- "isColumnstore": false,
- "indexId": 1,
- "isUnique": false
- }],
- "partitionKeyList":[
- "test_partition_key"
- ],
- "externalTable": {
- "tableName":"test_table_name",
- "dataSource": {
- "name": {
- "firstPart": "test_first_part",
- "secondPart": "test_second_part",
- "thirdPart": "test_third_part",
- "server": "test_server"
- },
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- }
- },
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false,
+ "basic": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "columnList": [
+ {
+ "name": "test_column_name",
+ "type": "test_type"
+ }
+ ],
+ "indexList": [
+ {
+ "name": "test_index_name",
+ "indexKeys": [
+ {
+ "name": "test_index_key",
+ "descending": false
+ }
+ ],
+ "columns": [
+ "test_column"
+ ],
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
}
- }]
+ ],
+ "count": 1,
+ "dynamicCount": 1
+ },
+ "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "streamNames": [
+ "test_stream_name"
+ ],
+ "isColumnstore": false,
+ "indexId": 1,
+ "isUnique": false
+ }
+ ],
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "externalTable": {
+ "tableName": "test_table_name",
+ "dataSource": {
+ "name": {
+ "firstPart": "test_first_part",
+ "secondPart": "test_second_part",
+ "thirdPart": "test_third_part",
+ "server": "test_server"
+ },
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
+ }
+ },
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
+ }
+ ],
+ "count": 1,
+ "dynamicCount": 1
}
- }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json
index 422319648d42..11be556867eb 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json
@@ -1,86 +1,98 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false,
- "basic": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "columnList": [{
- "name": "test_column_name",
- "type": "test_type"
- }],
- "indexList": [{
- "name": "test_index_name",
- "indexKeys": [{
- "name": "test_index_key",
- "descending": false
- }],
- "columns": [
- "test_column"
- ],
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
- },
- "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "partitionKeyList": [
- "test_partition_key"
- ],
- "streamNames": [
- "test_stream_name"
- ],
- "isColumnstore": false,
- "indexId": 1,
- "isUnique": false
- }],
- "partitionKeyList":[
- "test_partition_key"
- ],
- "externalTable": {
- "tableName":"test_table_name",
- "dataSource": {
- "name": {
- "firstPart": "test_first_part",
- "secondPart": "test_second_part",
- "thirdPart": "test_third_part",
- "server": "test_server"
- },
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- }
- },
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false,
+ "basic": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "columnList": [
+ {
+ "name": "test_column_name",
+ "type": "test_type"
+ }
+ ],
+ "indexList": [
+ {
+ "name": "test_index_name",
+ "indexKeys": [
+ {
+ "name": "test_index_key",
+ "descending": false
+ }
+ ],
+ "columns": [
+ "test_column"
+ ],
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
}
- }]
+ ],
+ "count": 1,
+ "dynamicCount": 1
+ },
+ "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "streamNames": [
+ "test_stream_name"
+ ],
+ "isColumnstore": false,
+ "indexId": 1,
+ "isUnique": false
+ }
+ ],
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "externalTable": {
+ "tableName": "test_table_name",
+ "dataSource": {
+ "name": {
+ "firstPart": "test_first_part",
+ "secondPart": "test_second_part",
+ "thirdPart": "test_third_part",
+ "server": "test_server"
+ },
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
+ }
+ },
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
+ }
+ ],
+ "count": 1,
+ "dynamicCount": 1
}
- }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json
index a12fd57d00fa..b991a45f0222 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json
@@ -1,41 +1,43 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "typeName": "test_type_name",
- "typeFamily": "test_type_family",
- "cSharpName": "test_csharp_name",
- "fullCSharpName": "test_full_csharp_name",
- "systemTypeId": 1,
- "userTypeId": 2,
- "schemaId": 3,
- "principalId": 4,
- "isNullable": false,
- "isUserDefined": false,
- "isAssemblyType": false,
- "isTableType": false,
- "isComplexType": false
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "typeName": "test_type_name",
+ "typeFamily": "test_type_family",
+ "cSharpName": "test_csharp_name",
+ "fullCSharpName": "test_full_csharp_name",
+ "systemTypeId": 1,
+ "userTypeId": 2,
+ "schemaId": 3,
+ "principalId": 4,
+ "isNullable": false,
+ "isUserDefined": false,
+ "isAssemblyType": false,
+ "isTableType": false,
+ "isComplexType": false
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json
index 045583455676..19bff1292cd3 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json
@@ -1,30 +1,32 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "viewName": "test_view_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "viewName": "test_view_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json
index f9558d85d6eb..9dd93b72804a 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "viewName": "test_view_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "viewName": "test_view_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json
index c37b49068e35..7c22cb6fd567 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json
@@ -1,16 +1,15 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "parameters": {
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- },
- "op": "REVOKEACE"
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
},
- "responses": {
- "200": {
- }
- }
+ "op": "REVOKEACE"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json
index 28ecb0f98ab9..c0efcc099e1c 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "parameters": {
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- },
- "op": "REVOKEACE"
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
},
- "responses": {
- "200": {
- }
- }
+ "op": "REVOKEACE"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json
index 2771e90ee959..94d512da1ecf 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json
@@ -1,19 +1,18 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "credentialName": "test_credential_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "credentialName": "test_credential_name",
- "parameters": {
- "password": "test_password",
- "newPassword": "test_new_password",
- "uri": "test_host:8000",
- "userId": "test_user_id"
- }
- },
- "responses": {
- "200": {
- }
+ "password": "test_password",
+ "newPassword": "test_new_password",
+ "uri": "test_host:8000",
+ "userId": "test_user_id"
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json
index 610d09b19144..fc541925934e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "secretName": "test_secret_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "secretName": "test_secret_name",
- "parameters": {
- "password": "test_password",
- "uri": "test_host:8000"
- }
- },
- "responses": {
- "200": {
- }
+ "password": "test_password",
+ "uri": "test_host:8000"
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json
index 128dc2377633..ab484fbbba3a 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json
@@ -43,7 +43,9 @@
"operationId": "Pipeline_List",
"description": "Lists all pipelines.",
"x-ms-examples": {
- "Lists all pipelines": { "$ref": "./examples/Adla_Pipeline_List.json" }
+ "Lists all pipelines": {
+ "$ref": "./examples/Adla_Pipeline_List.json"
+ }
},
"parameters": [
{
@@ -87,7 +89,9 @@
"operationId": "Pipeline_Get",
"description": "Gets the Pipeline information for the specified pipeline ID.",
"x-ms-examples": {
- "Gets the Pipeline information for the specified pipeline ID": { "$ref": "./examples/Adla_Pipeline_Get.json" }
+ "Gets the Pipeline information for the specified pipeline ID": {
+ "$ref": "./examples/Adla_Pipeline_Get.json"
+ }
},
"parameters": [
{
@@ -136,7 +140,9 @@
"operationId": "Recurrence_List",
"description": "Lists all recurrences.",
"x-ms-examples": {
- "Lists all recurrences": { "$ref": "./examples/Adla_Recurrence_List.json" }
+ "Lists all recurrences": {
+ "$ref": "./examples/Adla_Recurrence_List.json"
+ }
},
"parameters": [
{
@@ -180,7 +186,9 @@
"operationId": "Recurrence_Get",
"description": "Gets the recurrence information for the specified recurrence ID.",
"x-ms-examples": {
- "Gets the recurrence information for the specified recurrence ID": { "$ref": "./examples/Adla_Recurrence_Get.json" }
+ "Gets the recurrence information for the specified recurrence ID": {
+ "$ref": "./examples/Adla_Recurrence_Get.json"
+ }
},
"parameters": [
{
@@ -229,7 +237,9 @@
"operationId": "Job_GetStatistics",
"description": "Gets statistics of the specified job.",
"x-ms-examples": {
- "Gets statistics of the specified job": { "$ref": "./examples/Adla_Job_GetStatistics.json" }
+ "Gets statistics of the specified job": {
+ "$ref": "./examples/Adla_Job_GetStatistics.json"
+ }
},
"parameters": [
{
@@ -262,7 +272,9 @@
"operationId": "Job_GetDebugDataPath",
"description": "Gets the job debug data information specified by the job ID.",
"x-ms-examples": {
- "Gets the job debug data information specified by the job ID": { "$ref": "./examples/Adla_Job_GetDebugDataPath.json" }
+ "Gets the job debug data information specified by the job ID": {
+ "$ref": "./examples/Adla_Job_GetDebugDataPath.json"
+ }
},
"parameters": [
{
@@ -295,7 +307,9 @@
"operationId": "Job_Build",
"description": "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation.",
"x-ms-examples": {
- "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation": { "$ref": "./examples/Adla_Job_Build.json" }
+ "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation": {
+ "$ref": "./examples/Adla_Job_Build.json"
+ }
},
"parameters": [
{
@@ -329,7 +343,9 @@
"operationId": "Job_Cancel",
"description": "Cancels the running job specified by the job ID.",
"x-ms-examples": {
- "Cancels the running job specified by the job ID": { "$ref": "./examples/Adla_Job_Cancel.json" }
+ "Cancels the running job specified by the job ID": {
+ "$ref": "./examples/Adla_Job_Cancel.json"
+ }
},
"parameters": [
{
@@ -359,7 +375,9 @@
"operationId": "Job_Create",
"description": "Submits a job to the specified Data Lake Analytics account.",
"x-ms-examples": {
- "Submits a job to the specified Data Lake Analytics account": { "$ref": "./examples/Adla_Job_Create.json" }
+ "Submits a job to the specified Data Lake Analytics account": {
+ "$ref": "./examples/Adla_Job_Create.json"
+ }
},
"parameters": [
{
@@ -399,7 +417,9 @@
"operationId": "Job_Get",
"description": "Gets the job information for the specified job ID.",
"x-ms-examples": {
- "Gets the job information for the specified job ID": { "$ref": "./examples/Adla_Job_Get.json" }
+ "Gets the job information for the specified job ID": {
+ "$ref": "./examples/Adla_Job_Get.json"
+ }
},
"parameters": [
{
@@ -432,7 +452,9 @@
"operationId": "Job_List",
"description": "Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any.",
"x-ms-examples": {
- "Lists the jobs, if any, associated with the specified Data Lake Analytics account": { "$ref": "./examples/Adla_Job_List.json" }
+ "Lists the jobs, if any, associated with the specified Data Lake Analytics account": {
+ "$ref": "./examples/Adla_Job_List.json"
+ }
},
"parameters": [
{
@@ -1655,7 +1677,7 @@
"default": "azuredatalakeanalytics.net",
"x-ms-skip-url-encoding": true,
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Job service requests.",
- "x-ms-parameter-location":"client"
+ "x-ms-parameter-location": "client"
}
}
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json
index 5f6b962a58d2..540b83710b8c 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json
@@ -1,20 +1,20 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "location": "EastUS2",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "location": "EastUS2",
- "parameters": {
- "name": "contosoadla",
- "type": "Microsoft.DataLakeAnalytics/accounts"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": false,
- "reason": "AlreadyExists",
- "message": "An account named 'abc' already exists."
- }
- }
+ "name": "contosoadla",
+ "type": "Microsoft.DataLakeAnalytics/accounts"
}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": "An account named 'abc' already exists."
+ }
+ }
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json
index c37a85108dbc..ed48cf8913f3 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json
@@ -1,190 +1,214 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "parameters": {
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "name": "test_adls",
"properties": {
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "name": "test_adls",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "name": "test_storage",
- "properties": {
- "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "name": "test_policy",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "name": "test_rule",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "maxJobCount": 3,
- "maxDegreeOfParallelism": 30,
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "name": "test_storage",
+ "properties": {
+ "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "name": "test_rule",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "maxJobCount": 3,
+ "maxDegreeOfParallelism": 30,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
"maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
+ "minPriorityPerJob": 1
+ }
}
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
},
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
}
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json
index 324b2630a98a..1a07094bb30b 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json
@@ -1,16 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla"
- },
- "responses": {
- "200": {
- },
- "202": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json
index a23b56e134bb..18c39e8c95bb 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json
@@ -1,77 +1,85 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
}
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json
index 35783421c127..f53524c11613 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json
@@ -1,36 +1,38 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_account",
- "type": "test_type",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_account",
+ "type": "test_type",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json
index ed943f7e8615..a016492f43b2 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json
@@ -1,37 +1,39 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_account",
- "type": "test_type",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_account",
+ "type": "test_type",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json
index 8c4cb32d43a6..5bb75f25eb15 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json
@@ -1,242 +1,270 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "parameters": {
- "tags": {
- "test_key": "test_value"
- },
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "computePolicies": [
+ {
+ "name": "test_policy",
"properties": {
- "computePolicies": [{
- "name": "test_policy",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "name": "test_rule",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "maxJobCount": 1,
- "maxDegreeOfParallelism": 1,
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "name": "test_rule",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "maxJobCount": 1,
+ "maxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 1
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
"maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 1
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
}
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
},
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
}
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
},
- "202": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
}
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json
index 0c2a7f5e1964..a802a4462e77 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json
@@ -1,30 +1,30 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "computePolicyName": "test_policy",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "computePolicyName": "test_policy",
- "parameters": {
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 10,
- "minPriorityPerJob": 30
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "test_policy",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 10,
- "minPriorityPerJob": 30
- }
- }
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 10,
+ "minPriorityPerJob": 30
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 10,
+ "minPriorityPerJob": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json
index ef4331040ff4..e293c9e12322 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "computePolicyName": "test_policy"
- },
- "responses": {
- "200": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "computePolicyName": "test_policy"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json
index c5eba4e3f678..f7c98bb948c7 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "computePolicyName": "test_policy"
- },
- "responses": {
- "200": {
- "body": {
- "name": "test_policy",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 10,
- "minPriorityPerJob": 30
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "computePolicyName": "test_policy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 10,
+ "minPriorityPerJob": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json
index 84e157f00fff..f43cbe04636c 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json
@@ -1,42 +1,44 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "name": "test_policy",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 10,
- "minPriorityPerJob": 30
- }
- },
- {
- "name": "test_policy1",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da99",
- "objectType": "Group",
- "maxDegreeOfParallelismPerJob": 5,
- "minPriorityPerJob": 15
- }
- },
- {
- "name": "test_policy2",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da97",
- "objectType": "ServicePrincipal",
- "maxDegreeOfParallelismPerJob": 20,
- "minPriorityPerJob": 60
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 10,
+ "minPriorityPerJob": 30
}
- }
+ },
+ {
+ "name": "test_policy1",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da99",
+ "objectType": "Group",
+ "maxDegreeOfParallelismPerJob": 5,
+ "minPriorityPerJob": 15
+ }
+ },
+ {
+ "name": "test_policy2",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da97",
+ "objectType": "ServicePrincipal",
+ "maxDegreeOfParallelismPerJob": 20,
+ "minPriorityPerJob": 60
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json
index 96829136040b..24876110d2f5 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json
@@ -1,28 +1,28 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "computePolicyName": "test_policy",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "computePolicyName": "test_policy",
- "parameters": {
- "properties": {
- "maxDegreeOfParallelismPerJob": 11,
- "minPriorityPerJob": 31
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "test_policy",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 11,
- "minPriorityPerJob": 31
- }
- }
+ "properties": {
+ "maxDegreeOfParallelismPerJob": 11,
+ "minPriorityPerJob": 31
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 11,
+ "minPriorityPerJob": 31
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json
index a8bac50059fe..0dd76d13c698 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json
@@ -1,18 +1,17 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "dataLakeStoreAccountName": "test_adls_account",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "dataLakeStoreAccountName": "test_adls_account",
- "parameters": {
- "properties": {
- "suffix": "test_suffix"
- }
- }
- },
- "responses": {
- "200": {
- }
+ "properties": {
+ "suffix": "test_suffix"
+ }
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json
index d8df893ea83b..81ea00b35fcf 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json
@@ -1,13 +1,12 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "dataLakeStoreAccountName": "test_adls_account"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "dataLakeStoreAccountName": "test_adls_account"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json
index 2e6a341cd68b..47994990a1c4 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1669ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "dataLakeStoreAccountName": "test_adls_account"
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1669ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "dataLakeStoreAccountName": "test_adls_account"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json
index 75fc6588bd81..b5022bc391b8 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json
index 80e20e0cff4a..7c239fc53e9f 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json
@@ -1,28 +1,28 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "firewallRuleName": "test_rule",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "firewallRuleName": "test_rule",
- "parameters": {
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json
index 53cac4aaabaf..5cec7e998778 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "firewallRuleName": "test_rule"
- },
- "responses": {
- "200": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "firewallRuleName": "test_rule"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json
index 137b32e4246d..03ba39bf887e 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "firewallRuleName": "test_rule"
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "firewallRuleName": "test_rule"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json
index 20bbfa6262fb..0fdb92c73190 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json
@@ -1,24 +1,26 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json
index 78b55e76537e..7c239fc53e9f 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json
@@ -1,28 +1,28 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "firewallRuleName": "test_rule",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "firewallRuleName": "test_rule",
- "parameters": {
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json
index c44d18cbfdcb..627c2d8e525f 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json
@@ -1,20 +1,19 @@
{
- "parameters": {
- "api-version": "2016-11-01",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "location": "EastUS2"
+ },
+ "responses": {
+ "200": {
+ "body": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "location": "EastUS2"
+ "state": "Registered",
+ "maxAccountCount": 150,
+ "accountCount": 100,
+ "migrationState": false
+ }
},
- "responses": {
- "200": {
- "body": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "state": "Registered",
- "maxAccountCount": 150,
- "accountCount": 100,
- "migrationState": false
- }
- },
- "404": {
- }
- }
+ "404": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json
index c16b26ab7e22..5b1bc50fd2ea 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json
@@ -1,21 +1,23 @@
{
- "parameters": {
- "api-version": "2016-11-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "name": "Microsoft.DataLakeAnalytics/operations/read",
- "display": {
- "provider": "Microsoft DataLakeAnalytics",
- "resource": "Available Operations",
- "operation": "Get Available Operations",
- "description": "Get available operations of DataLakeAnalytics."
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DataLakeAnalytics/operations/read",
+ "display": {
+ "provider": "Microsoft DataLakeAnalytics",
+ "resource": "Available Operations",
+ "operation": "Get Available Operations",
+ "description": "Get available operations of DataLakeAnalytics."
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json
index 631c6f8fb1f3..536e2eebafee 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json
@@ -1,19 +1,18 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage",
- "parameters": {
- "properties": {
- "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "suffix": "test_suffix"
- }
- }
- },
- "responses": {
- "200": {
- }
+ "properties": {
+ "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "suffix": "test_suffix"
+ }
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json
index 4bbfc5535080..9dcbca8c42dd 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json
@@ -1,13 +1,12 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json
index 7108df56459a..910efe0766bb 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage"
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json
index 74715e0a2159..732b7d348498 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage",
- "containerName": "test_container"
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage",
+ "containerName": "test_container"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json
index e86f81925843..7ec163bfb791 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json
index 7be802bcac66..6fe68e619157 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json
@@ -1,20 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage",
- "containerName": "test_container"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "accessToken": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346"
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage",
+ "containerName": "test_container"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "accessToken": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346"
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json
index 573524d96bc4..2b24017f689b 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json
@@ -1,24 +1,26 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json
index 631c6f8fb1f3..536e2eebafee 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json
@@ -1,19 +1,18 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage",
- "parameters": {
- "properties": {
- "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "suffix": "test_suffix"
- }
- }
- },
- "responses": {
- "200": {
- }
+ "properties": {
+ "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "suffix": "test_suffix"
+ }
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json
index cfd3ddd118c0..8a9fbc8f3730 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json
@@ -494,7 +494,9 @@
],
"operationId": "ServiceTasks_List",
"x-ms-examples": {
- "ServiceTasks_List": { "$ref": "./examples/ServiceTasks_List.json" }
+ "ServiceTasks_List": {
+ "$ref": "./examples/ServiceTasks_List.json"
+ }
},
"parameters": [
{
@@ -862,7 +864,9 @@
],
"operationId": "ServiceTasks_CreateOrUpdate",
"x-ms-examples": {
- "Tasks_CreateOrUpdate": { "$ref": "./examples/ServiceTasks_CreateOrUpdate.json" }
+ "Tasks_CreateOrUpdate": {
+ "$ref": "./examples/ServiceTasks_CreateOrUpdate.json"
+ }
},
"parameters": [
{
@@ -900,7 +904,9 @@
],
"operationId": "ServiceTasks_Get",
"x-ms-examples": {
- "Tasks_Get": { "$ref": "./examples/ServiceTasks_Get.json" }
+ "Tasks_Get": {
+ "$ref": "./examples/ServiceTasks_Get.json"
+ }
},
"parameters": [
{
@@ -941,7 +947,9 @@
],
"operationId": "ServiceTasks_Delete",
"x-ms-examples": {
- "Tasks_Delete": { "$ref": "./examples/ServiceTasks_Delete.json" }
+ "Tasks_Delete": {
+ "$ref": "./examples/ServiceTasks_Delete.json"
+ }
},
"responses": {
"200": {
@@ -968,7 +976,9 @@
],
"operationId": "ServiceTasks_Update",
"x-ms-examples": {
- "Tasks_Update": { "$ref": "./examples/ServiceTasks_Update.json" }
+ "Tasks_Update": {
+ "$ref": "./examples/ServiceTasks_Update.json"
+ }
},
"parameters": [
{
@@ -1053,7 +1063,9 @@
],
"operationId": "ServiceTasks_Cancel",
"x-ms-examples": {
- "Tasks_Cancel": { "$ref": "./examples/ServiceTasks_Cancel.json" }
+ "Tasks_Cancel": {
+ "$ref": "./examples/ServiceTasks_Cancel.json"
+ }
},
"parameters": [
{
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json
index 292e118e49e8..8a573d43aafe 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json
@@ -29,6 +29,11 @@
"$ref": "./Common.json#/definitions/ServerLevelPermissionsGroup",
"description": "Permission group for validations"
},
+ "collectDatabases": {
+ "type": "boolean",
+ "description": "Flag for whether to collect databases from source server.",
+ "default": true
+ },
"collectLogins": {
"type": "boolean",
"description": "Flag for whether to collect logins from source server.",
@@ -43,6 +48,11 @@
"type": "boolean",
"description": "Flag for whether to collect TDE Certificate names from source server.",
"default": false
+ },
+ "validateSsisCatalogOnly": {
+ "type": "boolean",
+ "description": "Flag for whether to validate SSIS catalog is reachable on the source server.",
+ "default": false
}
},
"required": [
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json
index 71a8f095ae91..90d9acf66450 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json
@@ -24,6 +24,21 @@
"targetConnectionInfo": {
"description": "Connection information for target SQL Server",
"$ref": "./Common.json#/definitions/SqlConnectionInfo"
+ },
+ "collectLogins": {
+ "type": "boolean",
+ "description": "Flag for whether to collect logins from target SQL MI server.",
+ "default": true
+ },
+ "collectAgentJobs": {
+ "type": "boolean",
+ "description": "Flag for whether to collect agent jobs from target SQL MI server.",
+ "default": true
+ },
+ "validateSsisCatalogOnly": {
+ "type": "boolean",
+ "description": "Flag for whether to validate SSIS catalog is reachable on the target SQL MI server.",
+ "default": false
}
},
"required": [
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json
new file mode 100644
index 000000000000..38df9713771b
--- /dev/null
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json
@@ -0,0 +1,178 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Database Migration Service Resource Provider",
+ "version": "2018-07-15-preview"
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {},
+ "definitions": {
+ "MigrateSsisTaskInput": {
+ "type": "object",
+ "description": "Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance.",
+ "allOf": [
+ {
+ "$ref": "./TasksCommon.json#/definitions/SqlMigrationTaskInput"
+ }
+ ],
+ "properties": {
+ "ssisMigrationInfo": {
+ "$ref": "./TasksCommon.json#/definitions/SsisMigrationInfo",
+ "description": "SSIS package migration information."
+ }
+ },
+ "required": [
+ "ssisMigrationInfo"
+ ]
+ },
+ "MigrateSsisTaskOutput": {
+ "type": "object",
+ "description": "Output for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Result identifier",
+ "readOnly": true
+ },
+ "resultType": {
+ "description": "Result type",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "discriminator": "resultType"
+ },
+ "MigrateSsisTaskOutputMigrationLevel": {
+ "type": "object",
+ "x-ms-discriminator-value": "MigrationLevelOutput",
+ "properties": {
+ "startedOn": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Migration start time",
+ "readOnly": true
+ },
+ "endedOn": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Migration end time",
+ "readOnly": true
+ },
+ "status": {
+ "$ref": "TasksCommon.json#/definitions/MigrationStatus",
+ "description": "Current status of migration",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Migration progress message",
+ "readOnly": true
+ },
+ "sourceServerVersion": {
+ "type": "string",
+ "description": "Source server version",
+ "readOnly": true
+ },
+ "sourceServerBrandVersion": {
+ "type": "string",
+ "description": "Source server brand version",
+ "readOnly": true
+ },
+ "targetServerVersion": {
+ "type": "string",
+ "description": "Target server version",
+ "readOnly": true
+ },
+ "targetServerBrandVersion": {
+ "type": "string",
+ "description": "Target server brand version",
+ "readOnly": true
+ },
+ "exceptionsAndWarnings": {
+ "description": "Migration exceptions and warnings.",
+ "type": "array",
+ "items": {
+ "$ref": "./Common.json#/definitions/ReportableException"
+ },
+ "readOnly": true
+ },
+ "stage": {
+ "description": "Stage of SSIS migration.",
+ "$ref": "./TasksCommon.json#/definitions/SsisMigrationStage",
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/MigrateSsisTaskOutput"
+ }
+ ]
+ },
+ "MigrateSsisTaskOutputProjectLevel": {
+ "type": "object",
+ "x-ms-discriminator-value": "SsisProjectLevelOutput",
+ "properties": {
+ "folderName": {
+ "type": "string",
+ "description": "Name of the folder",
+ "readOnly": true
+ },
+ "projectName": {
+ "type": "string",
+ "description": "Name of the project",
+ "readOnly": true
+ },
+ "state": {
+ "$ref": "./TasksCommon.json#/definitions/MigrationState",
+ "description": "Current state of migration",
+ "readOnly": true
+ },
+ "stage": {
+ "description": "Stage of SSIS migration.",
+ "$ref": "./TasksCommon.json#/definitions/SsisMigrationStage",
+ "readOnly": true
+ },
+ "startedOn": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Migration start time",
+ "readOnly": true
+ },
+ "endedOn": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Migration end time",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Migration progress message",
+ "readOnly": true
+ },
+ "exceptionsAndWarnings": {
+ "description": "Migration exceptions and warnings",
+ "type": "array",
+ "items": {
+ "$ref": "Common.json#/definitions/ReportableException"
+ },
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/MigrateSsisTaskOutput"
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json
index 2e189177cf3c..3684d0b51ca5 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json
@@ -97,6 +97,120 @@
"description": "Target server brand version",
"readOnly": true
},
+ "validationErrors": {
+ "description": "Validation errors associated with the task",
+ "type": "array",
+ "items": {
+ "$ref": "./Common.json#/definitions/ReportableException"
+ },
+ "readOnly": true
+ },
+ "databaseSchemaMap": {
+ "type": "array",
+ "description": "Mapping of schemas per database",
+ "items": {
+ "type": "object",
+ "properties": {
+ "database": {
+ "type": "string"
+ },
+ "schemas": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetUserTablesOracleTaskInput": {
+ "type": "object",
+ "description": "Input for the task that gets the list of tables contained within a provided list of Oracle schemas.",
+ "properties": {
+ "connectionInfo": {
+ "$ref": "./Common.json#/definitions/OracleConnectionInfo",
+ "description": "Information for connecting to Oracle source"
+ },
+ "selectedSchemas": {
+ "type": "array",
+ "description": "List of Oracle schemas for which to collect tables",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedSchemas"
+ ]
+ },
+ "GetUserTablesOracleTaskOutput": {
+ "type": "object",
+ "description": "Output for the task that gets the list of tables contained within a provided list of Oracle schemas.",
+ "properties": {
+ "schemaName": {
+ "type": "string",
+ "description": "The schema this result is for",
+ "readOnly": true
+ },
+ "tables": {
+ "type": "array",
+ "description": "List of valid tables found for this schema",
+ "items": {
+ "$ref": "./TasksCommon.json#/definitions/DatabaseTable"
+ },
+ "readOnly": true
+ },
+ "validationErrors": {
+ "description": "Validation errors associated with the task",
+ "type": "array",
+ "items": {
+ "$ref": "./Common.json#/definitions/ReportableException"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "GetUserTablesPostgreSqlTaskInput": {
+ "type": "object",
+ "description": "Input for the task that gets the list of tables for a provided list of PostgreSQL databases.",
+ "properties": {
+ "connectionInfo": {
+ "$ref": "./Common.json#/definitions/PostgreSqlConnectionInfo",
+ "description": "Information for connecting to PostgreSQL source"
+ },
+ "selectedDatabases": {
+ "type": "array",
+ "description": "List of PostgreSQL databases for which to collect tables",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedDatabases"
+ ]
+ },
+ "GetUserTablesPostgreSqlTaskOutput": {
+ "type": "object",
+ "description": "Output for the task that gets the list of tables for a provided list of PostgreSQL databases.",
+ "properties": {
+ "databaseName": {
+ "type": "string",
+ "description": "The database this result is for",
+ "readOnly": true
+ },
+ "tables": {
+ "type": "array",
+ "description": "List of valid tables found for this database",
+ "items": {
+ "$ref": "./TasksCommon.json#/definitions/DatabaseTable"
+ },
+ "readOnly": true
+ },
"validationErrors": {
"description": "Validation errors associated with the task",
"type": "array",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json
index a8478951b492..eaa4d7462ec0 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json
@@ -373,6 +373,54 @@
}
]
},
+ "GetUserTablesOracleTaskProperties": {
+ "x-ms-discriminator-value": "GetUserTablesOracle",
+ "type": "object",
+ "description": "Properties for the task that collects user tables for the given list of Oracle schemas",
+ "properties": {
+ "input": {
+ "description": "Task input",
+ "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesOracleTaskInput"
+ },
+ "output": {
+ "description": "Task output. This is ignored if submitted.",
+ "type": "array",
+ "items": {
+ "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesOracleTaskOutput"
+ },
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ }
+ ]
+ },
+ "GetUserTablesPostgreSqlTaskProperties": {
+ "x-ms-discriminator-value": "GetUserTablesPostgreSql",
+ "type": "object",
+ "description": "Properties for the task that collects user tables for the given list of databases",
+ "properties": {
+ "input": {
+ "description": "Task input",
+ "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesPostgreSqlTaskInput"
+ },
+ "output": {
+ "description": "Task output. This is ignored if submitted.",
+ "type": "array",
+ "items": {
+ "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesPostgreSqlTaskOutput"
+ },
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ }
+ ]
+ },
"ConnectToTargetSqlMITaskProperties": {
"x-ms-discriminator-value": "ConnectToTarget.AzureSqlDbMI",
"type": "object",
@@ -776,6 +824,30 @@
"$ref": "#/definitions/ProjectTaskProperties"
}
]
+ },
+ "MigrateSsisTaskProperties": {
+ "x-ms-discriminator-value": "Migrate.Ssis",
+ "type": "object",
+ "description": "Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance.",
+ "properties": {
+ "input": {
+ "description": "Task input",
+ "$ref": "./MigrateSsisTask.json#/definitions/MigrateSsisTaskInput"
+ },
+ "output": {
+ "description": "Task output. This is ignored if submitted.",
+ "type": "array",
+ "items": {
+ "$ref": "./MigrateSsisTask.json#/definitions/MigrateSsisTaskOutput"
+ },
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ }
+ ]
}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json
index b638c99db158..aebe0e18411a 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json
@@ -1182,6 +1182,61 @@
"name": "DatabaseMigrationState",
"modelAsString": true
}
+ },
+ "SsisMigrationInfo": {
+ "type": "object",
+ "description": "SSIS migration info with SSIS store type, overwrite policy.",
+ "properties": {
+ "ssisStoreType": {
+ "$ref": "#/definitions/SsisStoreType",
+ "description": "The SSIS store type of source, only SSIS catalog is supported now in DMS"
+ },
+ "projectOverwriteOption": {
+ "$ref": "#/definitions/SsisMigrationOverwriteOption",
+ "description": "The overwrite option for the SSIS project migration"
+ },
+ "environmentOverwriteOption": {
+ "$ref": "#/definitions/SsisMigrationOverwriteOption",
+ "description": "The overwrite option for the SSIS environment migration"
+ }
+ }
+ },
+ "SsisStoreType": {
+ "type": "string",
+ "description": "An enumeration of supported source SSIS store type in DMS",
+ "enum": [
+ "SsisCatalog"
+ ],
+ "x-ms-enum": {
+ "name": "SsisStoreType",
+ "modelAsString": true
+ }
+ },
+ "SsisMigrationOverwriteOption": {
+ "type": "string",
+ "description": "The overwrite option for SSIS object migration, only ignore and overwrite are supported in DMS now and future may add Reuse option for container object",
+ "enum": [
+ "Ignore",
+ "Overwrite"
+ ],
+ "x-ms-enum": {
+ "name": "SsisMigrationOverwriteOption",
+ "modelAsString": true
+ }
+ },
+ "SsisMigrationStage": {
+ "type": "string",
+ "description": "Current stage of SSIS migration",
+ "enum": [
+ "None",
+ "Initialize",
+ "InProgress",
+ "Completed"
+ ],
+ "x-ms-enum": {
+ "name": "SsisMigrationStage",
+ "modelAsString": true
+ }
}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_CreateOrUpdate.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_CreateOrUpdate.json
index 461998e7c40a..33319569713c 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_CreateOrUpdate.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_CreateOrUpdate.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json
index 2b59a6d1bb67..7c5fd00999e2 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json
@@ -14,4 +14,4 @@
"body": ""
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Get.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Get.json
index 5be1987f46da..87b48c5ea309 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Get.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Get.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Update.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Update.json
index 70e07b99a66b..5253cc8aacdd 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Update.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Update.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datamigration/resource-manager/readme.java.md b/specification/datamigration/resource-manager/readme.java.md
new file mode 100644
index 000000000000..a7aa7dec7a71
--- /dev/null
+++ b/specification/datamigration/resource-manager/readme.java.md
@@ -0,0 +1,61 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.datamigration
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-07-15-preview
+ - tag: package-2017-11-15-preview
+ - tag: package-2018-03-31-preview
+```
+
+### Tag: package-2018-07-15-preview and java
+
+These settings apply only when `--tag=package-2018-07-15-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-07-15-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.datamigration.v2018_07_15_preview
+ output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2018_07_15_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-11-15-preview and java
+
+These settings apply only when `--tag=package-2017-11-15-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2017-11-15-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.datamigration.v2017_11_15_preview
+ output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2017_11_15_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-03-31-preview and java
+
+These settings apply only when `--tag=package-2018-03-31-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-03-31-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.datamigration.v2018_03_31_preview
+ output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2018_03_31_preview
+regenerate-manager: true
+generate-interface: true
+```
diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md
index 92226f984ab6..e6fdfceacd7c 100644
--- a/specification/datamigration/resource-manager/readme.md
+++ b/specification/datamigration/resource-manager/readme.md
@@ -95,6 +95,7 @@ input-file:
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlDbTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMiSyncTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMITask.json
+- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrationValidation.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MongoDbTasks.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/GetTdeCertificatesSqlTask.json
@@ -212,64 +213,4 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.datamigration
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-07-15-preview
- - tag: package-2017-11-15-preview
- - tag: package-2018-03-31-preview
-```
-
-### Tag: package-2018-07-15-preview and java
-
-These settings apply only when `--tag=package-2018-07-15-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-07-15-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview
- output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2018_07_15_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2017-11-15-preview and java
-
-These settings apply only when `--tag=package-2017-11-15-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2017-11-15-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2017_11_15_preview
- output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2017_11_15_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2018-03-31-preview and java
-
-These settings apply only when `--tag=package-2018-03-31-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-03-31-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2018_03_31_preview
- output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2018_03_31_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-
+See configuration in [readme.java.md](./readme.java.md)
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
new file mode 100644
index 000000000000..eec699d403f5
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
@@ -0,0 +1,5559 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-11-01-preview",
+ "title": "DataShareManagementClient",
+ "description": "Creates a Microsoft.DataShare management client."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}": {
+ "get": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "Get an account under a resource group",
+ "description": "Get an account",
+ "operationId": "Accounts_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Get": {
+ "$ref": "./examples/Accounts_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "Create an account in the given resource group",
+ "description": "Create an account",
+ "operationId": "Accounts_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "account",
+ "in": "body",
+ "description": "The account payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_Create": {
+ "$ref": "./examples/Accounts_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "Delete an account",
+ "description": "DeleteAccount",
+ "operationId": "Accounts_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_Delete": {
+ "$ref": "./examples/Accounts_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "Patch a given account",
+ "description": "Patch an account",
+ "operationId": "Accounts_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "accountUpdateParameters",
+ "in": "body",
+ "description": "The account update parameters.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AccountUpdateParameters"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Account"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Update": {
+ "$ref": "./examples/Accounts_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DataShare/accounts": {
+ "get": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "List Accounts in a subscription",
+ "description": "List Accounts in Subscription",
+ "operationId": "Accounts_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AccountList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Accounts_ListBySubscription": {
+ "$ref": "./examples/Accounts_ListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts": {
+ "get": {
+ "tags": [
+ "Account"
+ ],
+ "summary": "List Accounts in a resource group",
+ "description": "List Accounts in ResourceGroup",
+ "operationId": "Accounts_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AccountList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Accounts_ListByResourceGroup": {
+ "$ref": "./examples/Accounts_ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DataShare/locations/{location}/RejectInvitation": {
+ "post": {
+ "tags": [
+ "ConsumerInvitation"
+ ],
+ "summary": "Rejects the invitation identified by invitationId",
+ "description": "Reject an invitation",
+ "operationId": "ConsumerInvitations_RejectInvitation",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Location of the invitation",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitation",
+ "in": "body",
+ "description": "An invitation payload",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ConsumerInvitation"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConsumerInvitation"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ConsumerInvitations_RejectInvitation": {
+ "$ref": "./examples/ConsumerInvitations_RejectInvitation.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DataShare/locations/{location}/consumerInvitations/{invitationId}": {
+ "get": {
+ "tags": [
+ "ConsumerInvitation"
+ ],
+ "summary": "Gets the invitation identified by invitationId",
+ "description": "Get an invitation",
+ "operationId": "ConsumerInvitations_Get",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "description": "Location of the invitation",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitationId",
+ "in": "path",
+ "description": "An invitation id",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConsumerInvitation"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ConsumerInvitations_Get": {
+ "$ref": "./examples/ConsumerInvitations_Get.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DataShare/ListInvitations": {
+ "get": {
+ "tags": [
+ "ConsumerInvitation"
+ ],
+ "summary": "List the invitations",
+ "description": "Lists invitations",
+ "operationId": "ConsumerInvitations_ListInvitations",
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConsumerInvitationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ConsumerInvitations_ListInvitations": {
+ "$ref": "./examples/ConsumerInvitations_ListInvitations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName}": {
+ "get": {
+ "tags": [
+ "DataSet"
+ ],
+ "summary": "Get DataSet in a share.",
+ "description": "Get a DataSet in a share",
+ "operationId": "DataSets_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetName",
+ "in": "path",
+ "description": "The name of the dataSet.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSet"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSets_Get": {
+ "$ref": "./examples/DataSets_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DataSet"
+ ],
+ "summary": "Adds a new data set to an existing share or updates it if existing.",
+ "description": "Create a DataSet ",
+ "operationId": "DataSets_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share to add the data set to.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetName",
+ "in": "path",
+ "description": "The name of the dataSet.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSet",
+ "in": "body",
+ "description": "The new data set information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataSet"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSet"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSet"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSets_Create": {
+ "$ref": "./examples/DataSets_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DataSet"
+ ],
+ "summary": "Delete DataSet in a share.",
+ "description": "Delete a DataSet in a share",
+ "operationId": "DataSets_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetName",
+ "in": "path",
+ "description": "The name of the dataSet.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSets_Delete": {
+ "$ref": "./examples/DataSets_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets": {
+ "get": {
+ "tags": [
+ "DataSet"
+ ],
+ "summary": "List DataSets in a share.",
+ "description": "List DataSets in a share",
+ "operationId": "DataSets_ListByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "DataSets_ListByShare": {
+ "$ref": "./examples/DataSets_ListByShare.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings/{dataSetMappingName}": {
+ "get": {
+ "tags": [
+ "DataSetMapping"
+ ],
+ "summary": "Get DataSetMapping in a shareSubscription.",
+ "description": "Get a DataSetMapping in a shareSubscription",
+ "operationId": "DataSetMappings_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetMappingName",
+ "in": "path",
+ "description": "The name of the dataSetMapping.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSetMappings_Get": {
+ "$ref": "./examples/DataSetMappings_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DataSetMapping"
+ ],
+ "summary": "Maps a source data set in the source share to a sink data set in the share subscription.\r\nEnables copying the data set from source to destination.",
+ "description": "Create a DataSetMapping ",
+ "operationId": "DataSetMappings_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription which will hold the data set sink.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetMappingName",
+ "in": "path",
+ "description": "The Id of the source data set being mapped.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetMapping",
+ "in": "body",
+ "description": "Destination data set configuration details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSetMappings_Create": {
+ "$ref": "./examples/DataSetMappings_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DataSetMapping"
+ ],
+ "summary": "Delete DataSetMapping in a shareSubscription.",
+ "description": "Delete a DataSetMapping in a shareSubscription",
+ "operationId": "DataSetMappings_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dataSetMappingName",
+ "in": "path",
+ "description": "The name of the dataSetMapping.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "DataSetMappings_Delete": {
+ "$ref": "./examples/DataSetMappings_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings": {
+ "get": {
+ "tags": [
+ "DataSetMapping"
+ ],
+ "summary": "List DataSetMappings in a share subscription.",
+ "description": "List DataSetMappings in a share subscription",
+ "operationId": "DataSetMappings_ListByShareSubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/DataSetMappingList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "DataSetMappings_ListByShareSubscription": {
+ "$ref": "./examples/DataSetMappings_ListByShareSubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/invitations/{invitationName}": {
+ "get": {
+ "tags": [
+ "Invitation"
+ ],
+ "summary": "Get Invitation in a share.",
+ "description": "Get an invitation in a share",
+ "operationId": "Invitations_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitationName",
+ "in": "path",
+ "description": "The name of the invitation.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Invitation"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Invitations_Get": {
+ "$ref": "./examples/Invitations_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Invitation"
+ ],
+ "summary": "Sends a new invitation to a recipient to access a share.",
+ "description": "Create an invitation ",
+ "operationId": "Invitations_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share to send the invitation for.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitationName",
+ "in": "path",
+ "description": "The name of the invitation.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitation",
+ "in": "body",
+ "description": "Invitation details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Invitation"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Invitation"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Invitation"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Invitations_Create": {
+ "$ref": "./examples/Invitations_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Invitation"
+ ],
+ "summary": "Delete Invitation in a share.",
+ "description": "Delete an invitation in a share",
+ "operationId": "Invitations_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "invitationName",
+ "in": "path",
+ "description": "The name of the invitation.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Invitations_Delete": {
+ "$ref": "./examples/Invitations_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/invitations": {
+ "get": {
+ "tags": [
+ "Invitation"
+ ],
+ "summary": "List all Invitations in a share.",
+ "description": "List invitations in a share",
+ "operationId": "Invitations_ListByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/InvitationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Invitations_ListByShare": {
+ "$ref": "./examples/Invitations_ListByShare.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DataShare/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "summary": "Lists the available operations",
+ "description": "List of available operations",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}": {
+ "get": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Get a specified share",
+ "description": "Get a share ",
+ "operationId": "Shares_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share to retrieve.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Share"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Shares_Get": {
+ "$ref": "./examples/Shares_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Create a share in the given account.",
+ "description": "Create a share ",
+ "operationId": "Shares_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "share",
+ "in": "body",
+ "description": "The share payload",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Share"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Share"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Share"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Shares_Create": {
+ "$ref": "./examples/Shares_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Deletes a share",
+ "description": "Delete a share ",
+ "operationId": "Shares_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Shares_Delete": {
+ "$ref": "./examples/Shares_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares": {
+ "get": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "List of available shares under an account.",
+ "description": "List shares in an account",
+ "operationId": "Shares_ListByAccount",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation Token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Shares_ListByAccount": {
+ "$ref": "./examples/Shares_ListByAccount.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/listSynchronizations": {
+ "post": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "List Synchronizations in a share",
+ "description": "List synchronizations of a share",
+ "operationId": "Shares_ListSynchronizations",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSynchronizationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Shares_ListSynchronizations": {
+ "$ref": "./examples/Shares_ListSynchronizations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/listSynchronizationDetails": {
+ "post": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "List data set level details for a share synchronization",
+ "description": "List synchronization details",
+ "operationId": "Shares_ListSynchronizationDetails",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "shareSynchronization",
+ "in": "body",
+ "description": "Share Synchronization payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ShareSynchronization"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationDetailsList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Shares_ListSynchronizationDetails": {
+ "$ref": "./examples/Shares_ListSynchronizationDetails.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}": {
+ "get": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Get share subscription in a provider share.",
+ "description": "Get share subscription in a provider share",
+ "operationId": "ProviderShareSubscriptions_GetByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerShareSubscriptionId",
+ "in": "path",
+ "description": "To locate shareSubscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ProviderShareSubscriptions_GetByShare": {
+ "$ref": "./examples/ProviderShareSubscriptions_GetByShare.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions": {
+ "get": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "List of available share subscriptions to a provider share.",
+ "description": "List share subscriptions in a provider share",
+ "operationId": "ProviderShareSubscriptions_ListByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation Token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscriptionList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ProviderShareSubscriptions_ListByShare": {
+ "$ref": "./examples/ProviderShareSubscriptions_ListByShare.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}/revoke": {
+ "post": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Revoke share subscription in a provider share.",
+ "description": "Revoke share subscription in a provider share",
+ "operationId": "ProviderShareSubscriptions_Revoke",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerShareSubscriptionId",
+ "in": "path",
+ "description": "To locate shareSubscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "ProviderShareSubscriptions_Revoke": {
+ "$ref": "./examples/ProviderShareSubscriptions_Revoke.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}/reinstate": {
+ "post": {
+ "tags": [
+ "Share"
+ ],
+ "summary": "Reinstate share subscription in a provider share.",
+ "description": "Reinstate share subscription in a provider share",
+ "operationId": "ProviderShareSubscriptions_Reinstate",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "providerShareSubscriptionId",
+ "in": "path",
+ "description": "To locate shareSubscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ProviderShareSubscriptions_Reinstate": {
+ "$ref": "./examples/ProviderShareSubscriptions_Reinstate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}": {
+ "get": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Get shareSubscription in an account.",
+ "description": "Get a shareSubscription in an account",
+ "operationId": "ShareSubscriptions_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_Get": {
+ "$ref": "./examples/ShareSubscriptions_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Create shareSubscription in an account.",
+ "description": "Create a shareSubscription in an account",
+ "operationId": "ShareSubscriptions_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "shareSubscription",
+ "in": "body",
+ "description": "create parameters for shareSubscription",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ },
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_Create": {
+ "$ref": "./examples/ShareSubscriptions_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Delete shareSubscription in an account.",
+ "description": "Delete a shareSubscription in an account",
+ "operationId": "ShareSubscriptions_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "ShareSubscriptions_Delete": {
+ "$ref": "./examples/ShareSubscriptions_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/ConsumerSourceDataSets": {
+ "get": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Get source dataSets of a shareSubscription.",
+ "description": "Get source dataSets of a shareSubscription",
+ "operationId": "ConsumerSourceDataSets_ListByShareSubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ConsumerSourceDataSetList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ConsumerSourceDataSets_ListByShareSubscription": {
+ "$ref": "./examples/ConsumerSourceDataSets_ListByShareSubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSourceShareSynchronizationSettings": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Get source share synchronization settings for a shareSubscription.",
+ "description": "Get synchronization settings set on a share",
+ "operationId": "ShareSubscriptions_ListSourceShareSynchronizationSettings",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SourceShareSynchronizationSettingList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_ListSourceShareSynchronizationSettings": {
+ "$ref": "./examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizations": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "List Synchronizations in a share subscription.",
+ "description": "List synchronizations of a share subscription",
+ "operationId": "ShareSubscriptions_ListSynchronizations",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronizationList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_ListSynchronizations": {
+ "$ref": "./examples/ShareSubscriptions_ListSynchronizations.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizationDetails": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "List data set level details for a share subscription synchronization",
+ "description": "List synchronization details",
+ "operationId": "ShareSubscriptions_ListSynchronizationDetails",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "shareSubscriptionSynchronization",
+ "in": "body",
+ "description": "Share Subscription Synchronization payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationDetailsList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_ListSynchronizationDetails": {
+ "$ref": "./examples/ShareSubscriptions_ListSynchronizationDetails.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/Synchronize": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Initiate an asynchronous data share job",
+ "description": "Initiate a copy",
+ "operationId": "ShareSubscriptions_Synchronize",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of share subscription",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronize",
+ "in": "body",
+ "description": "Synchronize payload",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Synchronize"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_Synchronize": {
+ "$ref": "./examples/ShareSubscriptions_Synchronize.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/cancelSynchronization": {
+ "post": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "Request cancellation of a data share snapshot",
+ "description": "Request to cancel a synchronization.",
+ "operationId": "ShareSubscriptions_CancelSynchronization",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "shareSubscriptionSynchronization",
+ "in": "body",
+ "description": "Share Subscription Synchronization payload.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_CancelSynchronization": {
+ "$ref": "./examples/ShareSubscriptions_CancelSynchronization.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions": {
+ "get": {
+ "tags": [
+ "ShareSubscription"
+ ],
+ "summary": "List of available share subscriptions under an account.",
+ "description": "List share subscriptions in an account",
+ "operationId": "ShareSubscriptions_ListByAccount",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation Token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ShareSubscriptionList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ShareSubscriptions_ListByAccount": {
+ "$ref": "./examples/ShareSubscriptions_ListByAccount.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings/{synchronizationSettingName}": {
+ "get": {
+ "tags": [
+ "SynchronizationSetting"
+ ],
+ "summary": "Get synchronizationSetting in a share.",
+ "description": "Get a synchronizationSetting in a share",
+ "operationId": "SynchronizationSettings_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronizationSettingName",
+ "in": "path",
+ "description": "The name of the synchronizationSetting.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SynchronizationSettings_Get": {
+ "$ref": "./examples/SynchronizationSettings_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SynchronizationSetting"
+ ],
+ "summary": "Adds a new synchronization setting to an existing share or updates it if existing.",
+ "description": "Create or update a synchronizationSetting ",
+ "operationId": "SynchronizationSettings_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share to add the synchronization setting to.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronizationSettingName",
+ "in": "path",
+ "description": "The name of the synchronizationSetting.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronizationSetting",
+ "in": "body",
+ "description": "The new synchronization setting information.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SynchronizationSettings_Create": {
+ "$ref": "./examples/SynchronizationSettings_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SynchronizationSetting"
+ ],
+ "summary": "Delete synchronizationSetting in a share.",
+ "description": "Delete a synchronizationSetting in a share",
+ "operationId": "SynchronizationSettings_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "synchronizationSettingName",
+ "in": "path",
+ "description": "The name of the synchronizationSetting .",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "SynchronizationSettings_Delete": {
+ "$ref": "./examples/SynchronizationSettings_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/synchronizationSettings": {
+ "get": {
+ "tags": [
+ "SynchronizationSetting"
+ ],
+ "summary": "List synchronizationSettings in a share.",
+ "description": "List synchronizationSettings in a share",
+ "operationId": "SynchronizationSettings_ListByShare",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareName",
+ "in": "path",
+ "description": "The name of the share.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SynchronizationSettingList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "SynchronizationSettings_ListByShare": {
+ "$ref": "./examples/SynchronizationSettings_ListByShare.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}": {
+ "get": {
+ "tags": [
+ "Trigger"
+ ],
+ "summary": "Get Trigger in a shareSubscription.",
+ "description": "Get a Trigger in a shareSubscription",
+ "operationId": "Triggers_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "triggerName",
+ "in": "path",
+ "description": "The name of the trigger.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Trigger"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Triggers_Get": {
+ "$ref": "./examples/Triggers_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Trigger"
+ ],
+ "summary": "This method creates a trigger for a share subscription",
+ "description": "Create a Trigger ",
+ "operationId": "Triggers_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription which will hold the data set sink.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "triggerName",
+ "in": "path",
+ "description": "The name of the trigger.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "trigger",
+ "in": "body",
+ "description": "Trigger details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Trigger"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Trigger"
+ }
+ },
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Trigger"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Triggers_Create": {
+ "$ref": "./examples/Triggers_Create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Trigger"
+ ],
+ "summary": "Delete Trigger in a shareSubscription.",
+ "description": "Delete a Trigger in a shareSubscription",
+ "operationId": "Triggers_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the shareSubscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "triggerName",
+ "in": "path",
+ "description": "The name of the trigger.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/OperationResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "Success"
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Triggers_Delete": {
+ "$ref": "./examples/Triggers_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers": {
+ "get": {
+ "tags": [
+ "Trigger"
+ ],
+ "summary": "List Triggers in a share subscription.",
+ "description": "List Triggers in a share subscription",
+ "operationId": "Triggers_ListByShareSubscription",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/accountName"
+ },
+ {
+ "name": "shareSubscriptionName",
+ "in": "path",
+ "description": "The name of the share subscription.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "Continuation token",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/TriggerList"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Microsoft.DataShare resource provider.",
+ "schema": {
+ "$ref": "#/definitions/DataShareError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Triggers_ListByShareSubscription": {
+ "$ref": "./examples/Triggers_ListByShareSubscription.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Account": {
+ "description": "An account data transfer object.",
+ "required": [
+ "identity"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DefaultDto"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "description": "Identity Info on the Account"
+ },
+ "properties": {
+ "$ref": "#/definitions/AccountProperties",
+ "description": "Properties on the account",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "Identity": {
+ "description": "Identity of resource",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "service principal Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "tenantId": {
+ "description": "Tenant Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Identity Type",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "type",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AccountProperties": {
+ "description": "Account property bag.",
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the account was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdBy": {
+ "description": "Name of the user who created the account.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the Account",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "DataShareError": {
+ "description": "The data share error model.",
+ "required": [
+ "error"
+ ],
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/DataShareErrorInfo",
+ "description": "The data share error body"
+ }
+ }
+ },
+ "DataShareErrorInfo": {
+ "description": "The data share error body model.",
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Code of the error",
+ "type": "string"
+ },
+ "details": {
+ "description": "Nested details of the error model",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataShareErrorInfo"
+ }
+ },
+ "message": {
+ "description": "Message of the error",
+ "type": "string"
+ },
+ "target": {
+ "description": "Target of the error",
+ "type": "string"
+ }
+ }
+ },
+ "AccountUpdateParameters": {
+ "description": "Update parameters for accounts",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Tags on the azure resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "OperationResponse": {
+ "description": "Response for long running operation",
+ "required": [
+ "status"
+ ],
+ "type": "object",
+ "properties": {
+ "endTime": {
+ "format": "date-time",
+ "description": "start time",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "#/definitions/DataShareErrorInfo",
+ "description": "The error property when status is failed."
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "start time",
+ "type": "string"
+ },
+ "status": {
+ "description": "Operation state of the long running operation.",
+ "enum": [
+ "Accepted",
+ "InProgress",
+ "TransientFailure",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "status",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AccountList": {
+ "description": "List response for get Accounts.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Account"
+ }
+ }
+ }
+ },
+ "ConsumerInvitation": {
+ "description": "A consumer Invitation data transfer object.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ConsumerInvitationProperties",
+ "description": "Properties on the account",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ConsumerInvitationProperties": {
+ "description": "Properties of consumer invitation",
+ "required": [
+ "invitationId"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetCount": {
+ "format": "int32",
+ "description": "Number of data sets in a share",
+ "type": "integer",
+ "readOnly": true
+ },
+ "description": {
+ "description": "Description shared when the invitation was created",
+ "type": "string",
+ "readOnly": true
+ },
+ "invitationId": {
+ "description": "Unique id of the invitation.",
+ "type": "string"
+ },
+ "invitationStatus": {
+ "description": "The status of the invitation.",
+ "enum": [
+ "Pending",
+ "Accepted",
+ "Rejected",
+ "Withdrawn"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "invitationStatus",
+ "modelAsString": true
+ }
+ },
+ "location": {
+ "description": "invitation location",
+ "type": "string",
+ "readOnly": true
+ },
+ "respondedAt": {
+ "format": "date-time",
+ "description": "The time the recipient responded to the invitation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sender": {
+ "description": "Gets the name of the sender.",
+ "type": "string",
+ "readOnly": true
+ },
+ "senderCompanyName": {
+ "description": "Gets the company name of the sender.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sentAt": {
+ "format": "date-time",
+ "description": "Gets the time at which the invitation was sent.",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareName": {
+ "description": "Gets the source share Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "termsOfUse": {
+ "description": "Terms of use shared when the invitation was created",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ConsumerInvitationList": {
+ "description": "List response for get InvitationList",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConsumerInvitation"
+ }
+ }
+ }
+ },
+ "DataSet": {
+ "description": "A DataSet data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of dataset.",
+ "enum": [
+ "Blob",
+ "Container",
+ "BlobFolder",
+ "AdlsGen2FileSystem",
+ "AdlsGen2Folder",
+ "AdlsGen2File",
+ "AdlsGen1Folder",
+ "AdlsGen1File"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "DataSetList": {
+ "description": "List response for get DataSets",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataSet"
+ }
+ }
+ }
+ },
+ "DataSetMapping": {
+ "description": "A dataset mapping data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of dataset mapping.",
+ "enum": [
+ "Blob",
+ "Container",
+ "BlobFolder",
+ "AdlsGen2FileSystem",
+ "AdlsGen2Folder",
+ "AdlsGen2File"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "DataSetMappingList": {
+ "description": "List response for get DataSetMappings",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ }
+ }
+ },
+ "Invitation": {
+ "description": "A Invitation data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/InvitationProperties",
+ "description": "Properties on the Invitation",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "InvitationProperties": {
+ "description": "Invitation property bag.",
+ "type": "object",
+ "properties": {
+ "invitationId": {
+ "description": "unique invitation id",
+ "type": "string",
+ "readOnly": true
+ },
+ "invitationStatus": {
+ "description": "The status of the invitation.",
+ "enum": [
+ "Pending",
+ "Accepted",
+ "Rejected",
+ "Withdrawn"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "invitationStatus",
+ "modelAsString": true
+ }
+ },
+ "respondedAt": {
+ "format": "date-time",
+ "description": "The time the recipient responded to the invitation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sender": {
+ "description": "Gets the name of the sender.",
+ "type": "string",
+ "readOnly": true
+ },
+ "sentAt": {
+ "format": "date-time",
+ "description": "Gets the time at which the invitation was sent.",
+ "type": "string",
+ "readOnly": true
+ },
+ "targetActiveDirectoryId": {
+ "description": "The target Azure AD Id. Can't be combined with email.",
+ "type": "string"
+ },
+ "targetEmail": {
+ "description": "The email the invitation is directed to.",
+ "type": "string"
+ },
+ "targetObjectId": {
+ "description": "The target user or application Id that invitation is being sent to.\r\nMust be specified along TargetActiveDirectoryId. This enables sending\r\ninvitations to specific users or applications in an AD tenant.",
+ "type": "string"
+ }
+ }
+ },
+ "InvitationList": {
+ "description": "List response for get InvitationList",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invitation"
+ }
+ }
+ }
+ },
+ "OperationList": {
+ "description": "List response for get operations.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationModel"
+ }
+ }
+ }
+ },
+ "OperationModel": {
+ "description": "The response model for get operations",
+ "type": "object",
+ "properties": {
+ "display": {
+ "$ref": "#/definitions/OperationModelProperties",
+ "description": "Properties on the operation"
+ },
+ "name": {
+ "description": "Operation name for display purposes",
+ "type": "string"
+ },
+ "origin": {
+ "description": "origin of the operation",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationMetaPropertyInfo",
+ "description": "properties for the operation meta info",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationModelProperties": {
+ "description": "Properties on operations",
+ "type": "object",
+ "properties": {
+ "description": {
+ "description": "Description of the operation for display purposes",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Name of the operation for display purposes",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Name of the provider for display purposes",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Name of the resource type for display purposes",
+ "type": "string"
+ }
+ }
+ },
+ "OperationMetaPropertyInfo": {
+ "description": "properties on meta info",
+ "type": "object",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/OperationMetaServiceSpecification",
+ "description": "meta service specification"
+ }
+ }
+ },
+ "OperationMetaServiceSpecification": {
+ "description": "The operation meta service specification",
+ "type": "object",
+ "properties": {
+ "logSpecifications": {
+ "description": "log specifications for the operation",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationMetaLogSpecification"
+ }
+ },
+ "metricSpecifications": {
+ "description": "metric specifications for the operation",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationMetaMetricSpecification"
+ }
+ }
+ }
+ },
+ "OperationMetaMetricSpecification": {
+ "description": "metric specifications for the operation",
+ "type": "object",
+ "properties": {
+ "aggregationType": {
+ "description": "aggregation type of metric",
+ "type": "string"
+ },
+ "dimensions": {
+ "description": "properties for dimension",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DimensionProperties"
+ }
+ },
+ "displayDescription": {
+ "description": "description of the metric",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "localized name of the metric",
+ "type": "string"
+ },
+ "enableRegionalMdmAccount": {
+ "description": "enable regional mdm account",
+ "type": "string"
+ },
+ "internalMetricName": {
+ "description": "internal metric name",
+ "type": "string"
+ },
+ "name": {
+ "description": "name of the metric",
+ "type": "string"
+ },
+ "resourceIdDimensionNameOverride": {
+ "description": "dimension name use to replace resource id if specified",
+ "type": "string"
+ },
+ "supportedAggregationTypes": {
+ "description": "supported aggregation types",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "supportedTimeGrainTypes": {
+ "description": "supported time grain types",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "unit": {
+ "description": "units for the metric",
+ "type": "string"
+ }
+ }
+ },
+ "OperationMetaLogSpecification": {
+ "description": "log specifications for operation api",
+ "type": "object",
+ "properties": {
+ "blobDuration": {
+ "description": "blob duration of the log",
+ "type": "string"
+ },
+ "displayName": {
+ "description": "localized name of the log category",
+ "type": "string"
+ },
+ "name": {
+ "description": "name of the log category",
+ "type": "string"
+ }
+ }
+ },
+ "DimensionProperties": {
+ "description": "properties for dimension",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "description": "localized display name of the dimension to customer",
+ "type": "string"
+ },
+ "name": {
+ "description": "dimension name",
+ "type": "string"
+ }
+ }
+ },
+ "Share": {
+ "description": "A share data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ShareProperties",
+ "description": "Properties on the share",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ShareProperties": {
+ "description": "Share property bag.",
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the share was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdBy": {
+ "description": "Name of the user who created the share.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "Share description.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Gets or sets the provisioning state",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "shareKind": {
+ "description": "Share kind.",
+ "enum": [
+ "CopyBased"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "shareKind",
+ "modelAsString": true
+ }
+ },
+ "terms": {
+ "description": "Share terms.",
+ "type": "string"
+ }
+ }
+ },
+ "ShareList": {
+ "description": "List response for get Shares.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Share"
+ }
+ }
+ }
+ },
+ "ShareSynchronizationList": {
+ "description": "List response for get ShareSynchronization.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ShareSynchronization"
+ }
+ }
+ }
+ },
+ "ShareSynchronization": {
+ "description": "A ShareSynchronization data transfer object.",
+ "type": "object",
+ "properties": {
+ "company": {
+ "description": "Company name",
+ "type": "string"
+ },
+ "durationMs": {
+ "format": "int32",
+ "description": "synchronization duration",
+ "type": "integer"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "End time of synchronization",
+ "type": "string"
+ },
+ "message": {
+ "description": "message of synchronization",
+ "type": "string"
+ },
+ "recipient": {
+ "description": "Recipient id",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "start time of synchronization",
+ "type": "string"
+ },
+ "status": {
+ "description": "Raw Status",
+ "type": "string"
+ },
+ "synchronizationId": {
+ "description": "Synchronization id",
+ "type": "string"
+ }
+ }
+ },
+ "SynchronizationDetailsList": {
+ "description": "details of synchronization",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SynchronizationDetails"
+ }
+ }
+ }
+ },
+ "SynchronizationDetails": {
+ "description": "Synchronization details at dataset level",
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "id of dataSet",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataSetType": {
+ "description": "type of DataSet",
+ "enum": [
+ "Blob",
+ "Container",
+ "BlobFolder",
+ "AdlsGen2FileSystem",
+ "AdlsGen2Folder",
+ "AdlsGen2File",
+ "AdlsGen1Folder",
+ "AdlsGen1File"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetType",
+ "modelAsString": true
+ }
+ },
+ "durationMs": {
+ "format": "int32",
+ "description": "duration of dataset level copy",
+ "type": "integer",
+ "readOnly": true
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "End time of dataset level copy",
+ "type": "string",
+ "readOnly": true
+ },
+ "filesRead": {
+ "format": "int64",
+ "description": "The number of files read from the source dataset.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "filesWritten": {
+ "format": "int64",
+ "description": "The number of files written into the sink dataset.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error Message if any",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "name of dataSet",
+ "type": "string",
+ "readOnly": true
+ },
+ "sizeRead": {
+ "format": "int64",
+ "description": "The size of the data read from the source dataset in bytes.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "sizeWritten": {
+ "format": "int64",
+ "description": "The size of the data written into the sink dataset in bytes.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "start time of dataset level copy",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "Raw Status",
+ "type": "string",
+ "readOnly": true
+ },
+ "vCore": {
+ "format": "int64",
+ "description": "The vCore units consumed for the dataset synchronization.",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "ProviderShareSubscription": {
+ "description": "A provider side share subscription data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ProviderShareSubscriptionProperties",
+ "description": "properties of providerShareSubscription",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ProviderShareSubscriptionProperties": {
+ "description": "Provider share subscription properties",
+ "type": "object",
+ "properties": {
+ "company": {
+ "description": "Company name",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdAt": {
+ "format": "date-time",
+ "description": "created at",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdBy": {
+ "description": "Created by",
+ "type": "string",
+ "readOnly": true
+ },
+ "sharedAt": {
+ "format": "date-time",
+ "description": "Shared at",
+ "type": "string",
+ "readOnly": true
+ },
+ "sharedBy": {
+ "description": "Shared by",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareSubscriptionObjectId": {
+ "description": "share Subscription Object Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareSubscriptionStatus": {
+ "description": "Gets the status of share subscription",
+ "enum": [
+ "Active",
+ "Revoked",
+ "SourceDeleted",
+ "Revoking"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "shareSubscriptionStatus",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ProviderShareSubscriptionList": {
+ "description": "List response for get ShareSubscription.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProviderShareSubscription"
+ }
+ }
+ }
+ },
+ "ShareSubscription": {
+ "description": "A share subscription data transfer object.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ShareSubscriptionProperties",
+ "description": "Properties on the share subscription",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ShareSubscriptionProperties": {
+ "description": "Share subscription property bag.",
+ "required": [
+ "invitationId"
+ ],
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the share subscription was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdBy": {
+ "description": "The user who created the share subscription.",
+ "type": "string",
+ "readOnly": true
+ },
+ "invitationId": {
+ "description": "The invitation id.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "Provisioning state of the share subscription",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "shareDescription": {
+ "description": "Description of share",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareKind": {
+ "description": "Kind of share",
+ "enum": [
+ "CopyBased"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "shareKind",
+ "modelAsString": true
+ }
+ },
+ "shareName": {
+ "description": "Name of the share",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareSender": {
+ "description": "Sender of the share",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareSenderCompanyName": {
+ "description": "Company name of the share sender",
+ "type": "string",
+ "readOnly": true
+ },
+ "shareSubscriptionStatus": {
+ "description": "Gets the current status of share subscription.",
+ "enum": [
+ "Active",
+ "Revoked",
+ "SourceDeleted",
+ "Revoking"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "shareSubscriptionStatus",
+ "modelAsString": true
+ }
+ },
+ "shareTerms": {
+ "description": "Terms of a share",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ConsumerSourceDataSetList": {
+ "description": "A consumer side list of source dataSets",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConsumerSourceDataSet"
+ }
+ }
+ }
+ },
+ "ConsumerSourceDataSet": {
+ "description": "A consumer side dataSet data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ConsumerSourceDataSetProperties",
+ "description": "source dataSet properties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ConsumerSourceDataSetProperties": {
+ "description": "Properties of consumer source dataSet",
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "DataSet Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataSetName": {
+ "description": "DataSet name",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataSetType": {
+ "description": "Type of dataSet",
+ "enum": [
+ "Blob",
+ "Container",
+ "BlobFolder",
+ "AdlsGen2FileSystem",
+ "AdlsGen2Folder",
+ "AdlsGen2File",
+ "AdlsGen1Folder",
+ "AdlsGen1File"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "dataSetType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SourceShareSynchronizationSettingList": {
+ "description": "List response for get source share Synchronization settings",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SourceShareSynchronizationSetting"
+ }
+ }
+ }
+ },
+ "SourceShareSynchronizationSetting": {
+ "description": "A view of synchronization setting added by the provider",
+ "type": "object",
+ "properties": {
+ "kind": {
+ "description": "Kind of synchronization",
+ "enum": [
+ "ScheduleBased"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "ShareSubscriptionSynchronizationList": {
+ "description": "A consumer side list of share subscription synchronizations",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ShareSubscriptionSynchronization"
+ }
+ }
+ }
+ },
+ "ShareSubscriptionSynchronization": {
+ "description": "A ShareSubscriptionSynchronization data transfer object.",
+ "required": [
+ "synchronizationId"
+ ],
+ "type": "object",
+ "properties": {
+ "durationMs": {
+ "format": "int32",
+ "description": "Synchronization duration",
+ "type": "integer",
+ "readOnly": true
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "End time of synchronization",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "message of Synchronization",
+ "type": "string",
+ "readOnly": true
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "start time of synchronization",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "Raw Status",
+ "type": "string",
+ "readOnly": true
+ },
+ "synchronizationId": {
+ "description": "Synchronization id",
+ "type": "string"
+ }
+ }
+ },
+ "Synchronize": {
+ "description": "Payload for the synchronizing the data.",
+ "type": "object",
+ "properties": {
+ "synchronizationMode": {
+ "description": "Mode of synchronization used in triggers and snapshot sync. Incremental by default",
+ "enum": [
+ "Incremental",
+ "FullSync"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "synchronizationMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ShareSubscriptionList": {
+ "description": "List response for get ShareSubscription.",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ShareSubscription"
+ }
+ }
+ }
+ },
+ "SynchronizationSetting": {
+ "description": "A Synchronization Setting data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of synchronization",
+ "enum": [
+ "ScheduleBased"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "SynchronizationSettingList": {
+ "description": "List response for get Synchronization settings",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ }
+ }
+ },
+ "Trigger": {
+ "description": "A Trigger data transfer object.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyDto"
+ }
+ ],
+ "properties": {
+ "kind": {
+ "description": "Kind of synchronization",
+ "enum": [
+ "ScheduleBased"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "discriminator": "kind"
+ },
+ "TriggerList": {
+ "description": "List response for get triggers",
+ "required": [
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The Url of next result page.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Collection of items of type DataTransferObjects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Trigger"
+ }
+ }
+ }
+ },
+ "ScheduledSynchronizationSetting": {
+ "description": "A type of synchronization setting based on schedule",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SynchronizationSetting"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ScheduledSynchronizationSettingProperties",
+ "description": "Properties of scheduled synchronization",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ScheduleBased"
+ },
+ "ScheduledSynchronizationSettingProperties": {
+ "description": "A Scheduled synchronization setting data transfer object.",
+ "required": [
+ "recurrenceInterval",
+ "synchronizationTime"
+ ],
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the synchronization setting was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdBy": {
+ "description": "Name of the user who created the synchronization setting.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Gets or sets the provisioning state",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "recurrenceInterval": {
+ "description": "Recurrence Interval",
+ "enum": [
+ "Hour",
+ "Day"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "recurrenceInterval",
+ "modelAsString": true
+ }
+ },
+ "synchronizationTime": {
+ "format": "date-time",
+ "description": "Synchronization time",
+ "type": "string"
+ }
+ }
+ },
+ "ScheduledTrigger": {
+ "description": "A type of trigger based on schedule",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Trigger"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ScheduledTriggerProperties",
+ "description": "Properties of scheduled synchronization",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ScheduleBased"
+ },
+ "ScheduledTriggerProperties": {
+ "description": "A Scheduled trigger data transfer object.",
+ "required": [
+ "recurrenceInterval",
+ "synchronizationTime"
+ ],
+ "type": "object",
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "description": "Time at which the trigger was created.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdBy": {
+ "description": "Name of the user who created the trigger.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Gets the provisioning state",
+ "enum": [
+ "Succeeded",
+ "Creating",
+ "Deleting",
+ "Moving",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "recurrenceInterval": {
+ "description": "Recurrence Interval",
+ "enum": [
+ "Hour",
+ "Day"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "recurrenceInterval",
+ "modelAsString": true
+ }
+ },
+ "synchronizationMode": {
+ "description": "Synchronization mode",
+ "enum": [
+ "Incremental",
+ "FullSync"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "synchronizationMode",
+ "modelAsString": true
+ }
+ },
+ "synchronizationTime": {
+ "format": "date-time",
+ "description": "Synchronization time",
+ "type": "string"
+ },
+ "triggerStatus": {
+ "description": "Gets the trigger state",
+ "enum": [
+ "Active",
+ "Inactive",
+ "SourceSynchronizationSettingDeleted"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "triggerStatus",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "BlobDataSet": {
+ "description": "An Azure storage blob dataset.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobProperties",
+ "description": "Blob dataset properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Blob"
+ },
+ "BlobProperties": {
+ "description": "Properties of the blob data set.",
+ "required": [
+ "containerName",
+ "filePath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "Container that has the file path.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique DataSet id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "filePath": {
+ "description": "File path within the source data set",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "BlobFolderDataSet": {
+ "description": "An Azure storage blob folder dataset.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobFolderProperties",
+ "description": "Blob folder dataset properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "BlobFolder"
+ },
+ "BlobFolderProperties": {
+ "description": "Properties of the blob folder data set.",
+ "required": [
+ "containerName",
+ "prefix",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "Container that has the file path.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique DataSet id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "prefix": {
+ "description": "Prefix for blob folder",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "BlobContainerDataSet": {
+ "description": "An Azure storage blob container dataset.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobContainerProperties",
+ "description": "Blob container dataset properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Container"
+ },
+ "BlobContainerProperties": {
+ "description": "Properties of the BLOB container data set.",
+ "required": [
+ "containerName",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "BLOB Container name.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique DataSet id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FileDataSet": {
+ "description": "An ADLS Gen 2 file dataset.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FileProperties",
+ "description": "ADLS Gen 2 file dataset properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2File"
+ },
+ "ADLSGen2FileProperties": {
+ "description": "Properties of the ADLS Gen2 file data set.",
+ "required": [
+ "fileSystem",
+ "filePath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique DataSet id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "filePath": {
+ "description": "File path within the file system.",
+ "type": "string"
+ },
+ "fileSystem": {
+ "description": "File system to which the file belongs.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FolderDataSet": {
+ "description": "An ADLS Gen 2 folder dataset.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FolderProperties",
+ "description": "ADLS Gen 2 folder dataset properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2Folder"
+ },
+ "ADLSGen2FolderProperties": {
+ "description": "Properties of the ADLS Gen2 folder data set.",
+ "required": [
+ "fileSystem",
+ "folderPath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique DataSet id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "fileSystem": {
+ "description": "File system to which the folder belongs.",
+ "type": "string"
+ },
+ "folderPath": {
+ "description": "Folder path within the file system.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FileSystemDataSet": {
+ "description": "An ADLS Gen 2 file system dataset.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FileSystemProperties",
+ "description": "ADLS Gen 2 file system dataset properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2FileSystem"
+ },
+ "ADLSGen2FileSystemProperties": {
+ "description": "Properties of the ADLS Gen2 file system data set.",
+ "required": [
+ "fileSystem",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Unique DataSet id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "fileSystem": {
+ "description": "The file system name.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen1FolderDataSet": {
+ "description": "An ADLS Gen 1 folder dataset.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen1FolderProperties",
+ "description": "ADLS Gen 1 folder dataset properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen1Folder"
+ },
+ "ADLSGen1FolderProperties": {
+ "description": "Properties of the ADLS Gen1 folder data set.",
+ "required": [
+ "subscriptionId",
+ "resourceGroup",
+ "accountName",
+ "folderPath"
+ ],
+ "type": "object",
+ "properties": {
+ "accountName": {
+ "description": "The ADLS account name.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique DataSet id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "folderPath": {
+ "description": "The folder path within the ADLS account.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of ADLS account.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of ADLS account.",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen1FileDataSet": {
+ "description": "An ADLS Gen 1 file dataset.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSet"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen1FileProperties",
+ "description": "ADLS Gen 1 file dataset properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen1File"
+ },
+ "ADLSGen1FileProperties": {
+ "description": "Properties of the ADLS Gen1 file data set.",
+ "required": [
+ "subscriptionId",
+ "resourceGroup",
+ "accountName",
+ "folderPath",
+ "fileName"
+ ],
+ "type": "object",
+ "properties": {
+ "accountName": {
+ "description": "The ADLS account name.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Unique DataSet id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "fileName": {
+ "description": "The file name in the ADLS account.",
+ "type": "string"
+ },
+ "folderPath": {
+ "description": "The folder path within the ADLS account.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of ADLS account.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of ADLS account.",
+ "type": "string"
+ }
+ }
+ },
+ "BlobDataSetMapping": {
+ "description": "A Blob dataset mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobMappingProperties",
+ "description": "Blob dataset mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Blob"
+ },
+ "BlobMappingProperties": {
+ "description": "Azure storage Blob dataset mapping property bag.",
+ "required": [
+ "containerName",
+ "filePath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "Container that has the file path.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Gets the id of source dataset.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the dataset mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "filePath": {
+ "description": "File path within the source data set",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "BlobFolderDataSetMapping": {
+ "description": "A Blob folder dataset mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobFolderMappingProperties",
+ "description": "Blob folder dataset mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "BlobFolder"
+ },
+ "BlobFolderMappingProperties": {
+ "description": "Azure storage Blob folder dataset mapping property bag.",
+ "required": [
+ "containerName",
+ "prefix",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "Container that has the file path.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Gets the id of source dataset.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the dataset mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "prefix": {
+ "description": "Prefix for blob folder",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "BlobContainerDataSetMapping": {
+ "description": "A Blob container dataset mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/BlobContainerMappingProperties",
+ "description": "Blob container dataset mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "Container"
+ },
+ "BlobContainerMappingProperties": {
+ "description": "Azure storage Blob container dataset mapping property bag.",
+ "required": [
+ "containerName",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "containerName": {
+ "description": "BLOB Container name.",
+ "type": "string"
+ },
+ "dataSetId": {
+ "description": "Gets the id of source dataset.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the dataset mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FileDataSetMapping": {
+ "description": "An ADLS Gen2 file dataset mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FileDataSetMappingProperties",
+ "description": "ADLS Gen2 file dataset mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2File"
+ },
+ "ADLSGen2FileDataSetMappingProperties": {
+ "description": "ADLS Gen 2 file dataset mapping property bag.",
+ "required": [
+ "fileSystem",
+ "filePath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Gets the id of source dataset.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the dataset mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "filePath": {
+ "description": "File path within the file system.",
+ "type": "string"
+ },
+ "fileSystem": {
+ "description": "File system to which the file belongs.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FolderDataSetMapping": {
+ "description": "An ADLS Gen2 folder dataset mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FolderDataSetMappingProperties",
+ "description": "ADLS Gen2 folder dataset mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2Folder"
+ },
+ "ADLSGen2FolderDataSetMappingProperties": {
+ "description": "ADLS Gen 2 folder dataset mapping property bag.",
+ "required": [
+ "fileSystem",
+ "folderPath",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Gets the id of source dataset.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the dataset mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "fileSystem": {
+ "description": "File system to which the folder belongs.",
+ "type": "string"
+ },
+ "folderPath": {
+ "description": "Folder path within the file system.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "ADLSGen2FileSystemDataSetMapping": {
+ "description": "An ADLS Gen2 file system dataset mapping.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/DataSetMapping"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ADLSGen2FileSystemDataSetMappingProperties",
+ "description": "ADLS Gen2 file system dataset mapping properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "AdlsGen2FileSystem"
+ },
+ "ADLSGen2FileSystemDataSetMappingProperties": {
+ "description": "ADLS Gen 2 file system dataset mapping property bag.",
+ "required": [
+ "fileSystem",
+ "subscriptionId",
+ "resourceGroup",
+ "storageAccountName"
+ ],
+ "type": "object",
+ "properties": {
+ "dataSetId": {
+ "description": "Gets the id of source dataset.",
+ "type": "string"
+ },
+ "dataSetMappingStatus": {
+ "description": "Gets the status of the dataset mapping.",
+ "enum": [
+ "Ok",
+ "Broken"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "dataSetMappingStatus",
+ "modelAsString": true
+ }
+ },
+ "fileSystem": {
+ "description": "The file system name.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource group of storage account.",
+ "type": "string"
+ },
+ "storageAccountName": {
+ "description": "Storage account name of the source data set.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "Subscription id of storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "ScheduledSourceSynchronizationSetting": {
+ "description": "A type of synchronization setting based on schedule",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SourceShareSynchronizationSetting"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ScheduledSourceShareSynchronizationSettingProperties",
+ "description": "Properties of scheduled synchronization",
+ "x-ms-client-flatten": true
+ }
+ },
+ "x-ms-discriminator-value": "ScheduleBased"
+ },
+ "ScheduledSourceShareSynchronizationSettingProperties": {
+ "description": "A Scheduled source synchronization setting data transfer object.",
+ "type": "object",
+ "properties": {
+ "recurrenceInterval": {
+ "description": "Recurrence Interval",
+ "enum": [
+ "Hour",
+ "Day"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "recurrenceInterval",
+ "modelAsString": true
+ }
+ },
+ "synchronizationTime": {
+ "format": "date-time",
+ "description": "Synchronization time",
+ "type": "string"
+ }
+ }
+ },
+ "DefaultDto": {
+ "description": "Base data transfer object implementation for default resources.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The resource id of the azure resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "Location of the azure resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the azure resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "tags": {
+ "description": "Tags on the azure resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "type": {
+ "description": "Type of the azure resource",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyDto": {
+ "description": "Base data transfer object implementation for proxy resources.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The resource id of the azure resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Name of the azure resource",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Type of the azure resource",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ }
+ },
+ "parameters": {
+ "accountName": {
+ "name": "accountName",
+ "in": "path",
+ "description": "The name of the share account.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "api-version": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The api version to use.",
+ "required": true,
+ "type": "string"
+ },
+ "resourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The resource group name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The subscription identifier",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow."
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "tags": []
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json
new file mode 100644
index 000000000000..c0dd7d364a88
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Create.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2018-11-01-preview",
+ "account": {
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ },
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json
new file mode 100644
index 000000000000..cb35cf00a5a7
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Delete.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/sourceAccount/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json
new file mode 100644
index 000000000000..e4c3236ed773
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Get.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z",
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json
new file mode 100644
index 000000000000..fb1801e39f23
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListByResourceGroup.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "SampleResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ },
+ {
+ "properties": {
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z"
+ },
+ "location": "East US 2",
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "name": "Account2",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json
new file mode 100644
index 000000000000..cd5c56e0c155
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_ListBySubscription.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ },
+ {
+ "properties": {
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "location": "East US 2",
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account2",
+ "name": "Account2",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json
new file mode 100644
index 000000000000..1916a8fd4347
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Accounts_Update.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2018-11-01-preview",
+ "accountUpdateParameters": {
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T04:47:52.9614956Z"
+ },
+ "location": "West US 2",
+ "tags": {
+ "tag1": "Red",
+ "tag2": "White"
+ },
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1",
+ "name": "Account1",
+ "type": "Microsoft.DataShare/Accounts"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json
new file mode 100644
index 000000000000..23774eb86354
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_Get.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "location": "East US 2",
+ "api-version": "2018-11-01-preview",
+ "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "location": "eastus2",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "sender": "John Smith",
+ "sentAt": "2019-01-15T01:45:25.6226946Z",
+ "respondedAt": "2019-01-15T02:01:51.8953054Z",
+ "invitationStatus": "Accepted",
+ "description": "Some share",
+ "termsOfUse": "Confidential",
+ "dataSetCount": 1,
+ "shareName": "share1"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/consumerInvitations"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json
new file mode 100644
index 000000000000..7d294af33170
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_ListInvitations.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "location": "eastus2",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "sender": "John Smith",
+ "sentAt": "2019-01-15T01:45:25.6226946Z",
+ "respondedAt": "2019-01-15T02:01:51.8953054Z",
+ "invitationStatus": "Accepted",
+ "description": "Some share",
+ "termsOfUse": "Confidential",
+ "dataSetCount": 1,
+ "senderCompanyName": "microsoft",
+ "shareName": "share1"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/consumerInvitations"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json
new file mode 100644
index 000000000000..bd99bc119208
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerInvitations_RejectInvitation.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "location": "East US 2",
+ "api-version": "2018-11-01-preview",
+ "invitation": {
+ "properties": {
+ "invitationId": "dfbbc788-19eb-4607-a5a1-c74181bfff03"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "location": "eastus2",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "sender": "John Smith",
+ "sentAt": "2019-01-15T01:45:25.6226946Z",
+ "respondedAt": "2019-01-15T02:01:51.8953054Z",
+ "invitationStatus": "Rejected",
+ "description": "Some share",
+ "termsOfUse": "Confidential",
+ "dataSetCount": 1,
+ "shareName": "share1"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/consumerInvitations"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json
new file mode 100644
index 000000000000..e465b8f71b88
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ConsumerSourceDataSets_ListByShareSubscription.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "Share1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "dataSetId": "0b9d4394-8bb3-49a1-aa4f-4be49cd10375",
+ "dataSetType": "Blob",
+ "dataSetName": "input.text"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1/consumerSourceDataSets/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/consumerSourceDataSets"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json
new file mode 100644
index 000000000000..bc26387cf309
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Create.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2018-11-01-preview",
+ "dataSetMapping": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json
new file mode 100644
index 000000000000..e2bd5eb71e10
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Delete.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json
new file mode 100644
index 000000000000..ef410eac4cd0
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "dataSetMappingName": "DatasetMapping1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json
new file mode 100644
index 000000000000..bab66acde4ce
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSetMappings_ListByShareSubscription.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ },
+ {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/dataSetMappings/DatasetMapping1",
+ "name": "DatasetMapping1",
+ "type": "Microsoft.DataShare/DataSetMapping"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
new file mode 100644
index 000000000000..654f0e8d3194
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Create.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2018-11-01-preview",
+ "dataSet": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "dataSetId": "a08f184b-0567-4b11-ba22-a1199336d226",
+ "storageAccountName": "adspipelinemetadatatable",
+ "containerName": "C1",
+ "filePath": "inputpath",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/{{accountName}}/shares/share1/datasets/dataset1new",
+ "name": null,
+ "type": "Microsoft.DataShare/DataSets"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json
new file mode 100644
index 000000000000..65c2c333c7ff
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Delete.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json
new file mode 100644
index 000000000000..794ade8c14ef
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "dataSetName": "Dataset1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json
new file mode 100644
index 000000000000..377709df3724
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/DataSets_ListByShare.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage1",
+ "filePath": "file22",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset1",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ },
+ {
+ "kind": "Blob",
+ "properties": {
+ "storageAccountName": "storage2",
+ "filePath": "file21",
+ "containerName": "C1",
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroup": "SampleResourceGroup"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/datasets/Dataset2",
+ "name": "Dataset1",
+ "type": "Microsoft.DataShare/DataSet"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json
new file mode 100644
index 000000000000..074f97413aaa
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Create.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "invitationName": "Invitation1",
+ "api-version": "2018-11-01-preview",
+ "invitation": {
+ "properties": {
+ "targetEmail": "receiver@microsoft.com"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "sender": "John Smith",
+ "sentAt": "2018-11-26T22:33:24.5785265Z",
+ "targetEmail": "receiver@microsoft.com",
+ "respondedAt": null,
+ "invitationStatus": "Pending"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
+ "name": "Invitation1",
+ "type": "Microsoft.DataShare/Invitation1"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "sender": "John Smith",
+ "sentAt": "2018-11-26T22:33:24.5785265Z",
+ "targetEmail": "receiver@microsoft.com",
+ "respondedAt": null,
+ "invitationStatus": "Pending"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
+ "name": "Invitation1",
+ "type": "Microsoft.DataShare/Invitation1"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json
new file mode 100644
index 000000000000..eaf4e379b516
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Delete.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "invitationName": "Invitation1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json
new file mode 100644
index 000000000000..5f0f34180969
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_Get.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "invitationName": "Invitation1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "sender": "John Smith",
+ "sentAt": "2018-11-26T22:33:24.5785265Z",
+ "targetEmail": "receiver@microsoft.com",
+ "respondedAt": null,
+ "invitationStatus": "Pending"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/invitations/Invitation1",
+ "name": "Invitation1",
+ "type": "Microsoft.DataShare/Invitation1"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json
new file mode 100644
index 000000000000..69c8d228b5a5
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Invitations_ListByShare.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "sender": "John Smith",
+ "sentAt": "2018-11-26T22:33:24.5785265Z",
+ "targetEmail": "johnsmith@microsoft.com",
+ "invitationStatus": "Accepted"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/invitations/ancd",
+ "name": "ancd",
+ "type": "Microsoft.DataShare/Invitation"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..9ee047f0ea42
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Operations_List.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DataShare/operations/read",
+ "display": {
+ "provider": "Microsoft Data Share",
+ "resource": "Data Share Resource Provider",
+ "operation": "Read all operations",
+ "description": "Reads all available operations in Data Share Resource Provider."
+ }
+ },
+ {
+ "name": "Microsoft.DataShare/register/action",
+ "display": {
+ "provider": "Microsoft Data Share",
+ "resource": "Data Share Resource Provider",
+ "operation": "Register Data Share Resource Provider",
+ "description": "Register the subscription for the Data Share Resource Provider."
+ }
+ },
+ {
+ "name": "Microsoft.DataShare/unregister/action",
+ "display": {
+ "provider": "Microsoft Data Share",
+ "resource": "Data Share Resource Provider",
+ "operation": "Unregister Data Share Resource Provider",
+ "description": "Unregister the subscription for the Data Share Resource Provider."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json
new file mode 100644
index 000000000000..1774cdc73959
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_GetByShare.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "sharedBy": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "company": "Microsoft",
+ "shareSubscriptionStatus": "Active"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/shareSubscripitons"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
new file mode 100644
index 000000000000..8ef6f9840cb6
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_ListByShare.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "sharedBy": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "company": "Microsoft",
+ "shareSubscriptionStatus": "Active"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/shareSubscripitons"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json
new file mode 100644
index 000000000000..1774cdc73959
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Reinstate.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "sharedBy": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "company": "Microsoft",
+ "shareSubscriptionStatus": "Active"
+ },
+ "id": "providers/Microsoft.DataShare/consumerInvitations/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "invitation1",
+ "type": "Microsoft.DataShare/shareSubscripitons"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json
new file mode 100644
index 000000000000..82609f34a773
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ProviderShareSubscriptions_Revoke.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "providerShareSubscriptionId": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "sharedBy": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "company": "Microsoft",
+ "shareSubscriptionStatus": "Revoked"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/providerShareSubscripitons/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "providerShareSubscripiton",
+ "type": "Microsoft.DataShare/providerShareSubscripitons"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shares/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2018-12-13T08:52:42.6224087Z",
+ "sharedBy": "John Smith",
+ "sharedAt": "2018-12-13T08:45:40.9005877Z",
+ "company": "Microsoft",
+ "shareSubscriptionStatus": "Revoked"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/account1/shares/share1/providerShareSubscripitons/4256e2cf-0f82-4865-961b-12f83333f487",
+ "name": "providerShareSubscripiton",
+ "type": "Microsoft.DataShare/providerShareSubscripitons"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json
new file mode 100644
index 000000000000..8b4a3a3abcbc
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_CancelSynchronization.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "shareSubscriptionSynchronization": {
+ "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb"
+ },
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "startTime": "2019-06-30T02:37:48.4979104Z",
+ "status": "Cancelled",
+ "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ },
+ "body": {
+ "startTime": "2019-06-30T02:37:48.4979104Z",
+ "status": "Queued",
+ "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json
new file mode 100644
index 000000000000..5e993ae882ce
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Create.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2018-11-01-preview",
+ "shareSubscription": {
+ "properties": {
+ "invitationId": "12345678-1234-1234-12345678abd"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
+ "shareSubscriptionStatus": "Active",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "shareKind": "CopyBased"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
+ "shareSubscriptionStatus": "Active",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "shareKind": "CopyBased"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json
new file mode 100644
index 000000000000..fc0764aab588
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Delete.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json
new file mode 100644
index 000000000000..916455ef8ca6
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Get.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
+ "shareSubscriptionStatus": "Active",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "shareKind": "CopyBased",
+ "provisioningState": "Succeeded",
+ "shareSenderCompanyName": "ShareSenderCompanyName"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json
new file mode 100644
index 000000000000..4b61d7f3a98c
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListByAccount.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "invitationId": "12345678-1234-1234-12345678abd",
+ "shareSubscriptionStatus": "Active",
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T06:15:15.6818898Z"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ },
+ {
+ "properties": {
+ "createdBy": "John Smith",
+ "createdAt": "2019-01-17T22:32:36.8185016Z",
+ "shareSubscriptionStatus": "Active",
+ "invitationId": "4256e2cf-0f82-4865-961b-12f83333f487",
+ "shareName": "share1",
+ "shareDescription": "Some share",
+ "shareTerms": "Confidential",
+ "shareKind": "CopyBased"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/sharesubscriptions/ShareSubscription1",
+ "name": "ShareSubscription1",
+ "type": "Microsoft.DataShare/ShareSubscription"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json
new file mode 100644
index 000000000000..4ad6f0d9c356
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSourceShareSynchronizationSettings.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSub1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "recurrenceInterval": "Hour",
+ "synchronizationTime": "2019-03-15T19:45:58Z"
+ },
+ "kind": "ScheduleBased"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json
new file mode 100644
index 000000000000..78858bc649c3
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizationDetails.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSub1",
+ "shareSubscriptionSynchronization": {
+ "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb"
+ },
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "endTime": "2018-11-14T04:47:52.9614956Z",
+ "startTime": "2018-11-14T04:47:52.9614956Z",
+ "durationMs": 2000,
+ "status": "Completed",
+ "name": "dataset1",
+ "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb",
+ "dataSetType": "Blob"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json
new file mode 100644
index 000000000000..b96005d5edaf
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_ListSynchronizations.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSub1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "endTime": "2018-11-14T04:47:52.9614956Z",
+ "startTime": "2018-11-14T04:47:52.9614956Z",
+ "durationMs": 2000,
+ "status": "Completed",
+ "message": "nda",
+ "synchronizationId": "runId"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json
new file mode 100644
index 000000000000..9621df186642
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/ShareSubscriptions_Synchronize.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "api-version": "2018-11-01-preview",
+ "synchronize": {
+ "synchronizationMode": "Incremental"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "startTime": "2019-06-30T02:37:48.4979104Z",
+ "status": "Succeeded",
+ "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ },
+ "body": {
+ "startTime": "2019-06-30T02:37:48.4979104Z",
+ "status": "Accepted",
+ "synchronizationId": "343c4772-ad68-41aa-91b9-bab1c92f9c27"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json
new file mode 100644
index 000000000000..f806aad72812
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Create.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2018-11-01-preview",
+ "share": {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T06:15:15.6818898Z"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T06:15:15.6818898Z"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json
new file mode 100644
index 000000000000..320a510004e3
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Delete.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true,
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json
new file mode 100644
index 000000000000..0db27ccec7ae
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_Get.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T06:15:15.6818898Z"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json
new file mode 100644
index 000000000000..e93a5544eb97
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListByAccount.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-12345678abc",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T06:15:15.6818898Z"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ },
+ {
+ "properties": {
+ "description": "share description",
+ "terms": "Confidential",
+ "shareKind": "CopyBased",
+ "createdBy": "johnsmith@microsoft.com",
+ "createdAt": "2018-11-14T06:15:15.6818898Z"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1",
+ "name": "Share1",
+ "type": "Microsoft.DataShare/Share"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json
new file mode 100644
index 000000000000..fc8da2ed1635
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizationDetails.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "shareSynchronization": {
+ "synchronizationId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb"
+ },
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "endTime": "2018-11-14T04:47:52.9614956Z",
+ "startTime": "2018-11-14T04:47:52.9614956Z",
+ "durationMs": 2000,
+ "status": "Completed",
+ "name": "dataset1",
+ "dataSetId": "7d0536a6-3fa5-43de-b152-3d07c4f6b2bb",
+ "dataSetType": "Blob"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json
new file mode 100644
index 000000000000..f99fa5437cb9
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Shares_ListSynchronizations.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "endTime": "2018-11-14T04:47:52.9614956Z",
+ "startTime": "2018-11-14T04:47:52.9614956Z",
+ "durationMs": 2000,
+ "status": "Completed",
+ "message": "nda",
+ "company": "nda",
+ "recipient": "abc@yahoo.com",
+ "synchronizationId": "runId"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json
new file mode 100644
index 000000000000..f9e5a8f9235b
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Create.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "synchronizationSettingName": "Dataset1",
+ "api-version": "2018-11-01-preview",
+ "synchronizationSetting": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
+ "name": "SyncrhonizationSetting1",
+ "type": "Microsoft.DataShare/SyncrhonizationSetting"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
+ "name": "SyncrhonizationSetting1",
+ "type": "Microsoft.DataShare/SyncrhonizationSetting"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json
new file mode 100644
index 000000000000..c1772ee96b20
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Delete.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "synchronizationSettingName": "SyncrhonizationSetting1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-retry-after-ms": "30",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shares/share1/synchronizationSettings/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json
new file mode 100644
index 000000000000..2d8f5255dc89
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_Get.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "synchronizationSettingName": "SyncrhonizationSetting1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
+ "name": "SyncrhonizationSetting1",
+ "type": "Microsoft.DataShare/SyncrhonizationSetting"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json
new file mode 100644
index 000000000000..313fee0067e7
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/SynchronizationSettings_ListByShare.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareName": "Share1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shares/Share1/syncrhonizationSettings/SyncrhonizationSetting1",
+ "name": "SyncrhonizationSetting1",
+ "type": "Microsoft.DataShare/SyncrhonizationSetting"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json
new file mode 100644
index 000000000000..b0ea314c5e14
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Create.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "triggerName": "Trigger1",
+ "api-version": "2018-11-01-preview",
+ "trigger": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "synchronizationMode": "Incremental"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "triggerStatus": "Active",
+ "synchronizationMode": "Incremental"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
+ "name": "Trigger1",
+ "type": "Microsoft.DataShare/Trigger"
+ }
+ },
+ "201": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-long-running-operation": true
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Creating",
+ "triggerStatus": "Active",
+ "synchronizationMode": "Incremental"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
+ "name": "Trigger1",
+ "type": "Microsoft.DataShare/Trigger"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json
new file mode 100644
index 000000000000..f86cea25323f
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Delete.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "triggerName": "Trigger1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "status": "Succeeded"
+ }
+ },
+ "204": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ }
+ },
+ "202": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
+ "x-ms-retry-after-ms": "30",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/d8869ae5-cd9e-413a-b660-104573d8bcee/resourceGroups/testrg/providers/Microsoft.DataShare/accounts/consumerAccount/shareSubscriptions/shareSub1/triggers/trigger1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json
new file mode 100644
index 000000000000..73df1d338617
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "triggerName": "Trigger1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 18:04:32 GMT",
+ "x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-tenant-reads": "14999",
+ "x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
+ },
+ "body": {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "triggerStatus": "Active",
+ "synchronizationMode": "Incremental"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
+ "name": "Trigger1",
+ "type": "Microsoft.DataShare/Trigger"
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json
new file mode 100644
index 000000000000..15f0ca0a1ef8
--- /dev/null
+++ b/specification/datashare/resource-manager/Microsoft.DataShare/preview/2018-11-01-preview/examples/Triggers_ListByShareSubscription.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
+ "resourceGroupName": "SampleResourceGroup",
+ "accountName": "Account1",
+ "shareSubscriptionName": "ShareSubscription1",
+ "triggerName": "Trigger1",
+ "api-version": "2018-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Wed, 13 Sep 2017 17:33:55 GMT",
+ "x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-reads": "14993",
+ "x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
+ },
+ "body": {
+ "value": [
+ {
+ "kind": "ScheduleBased",
+ "properties": {
+ "synchronizationTime": "2018-11-14T04:47:52.9614956Z",
+ "recurrenceInterval": "Day",
+ "provisioningState": "Succeeded",
+ "synchronizationMode": "Incremental"
+ },
+ "id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/Account1/shareSubscriptions/ShareSubscription1/triggers/Trigger1",
+ "name": "Trigger1",
+ "type": "Microsoft.DataShare/Trigger"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/datashare/resource-manager/readme.go.md b/specification/datashare/resource-manager/readme.go.md
new file mode 100644
index 000000000000..20f8ac742e2c
--- /dev/null
+++ b/specification/datashare/resource-manager/readme.go.md
@@ -0,0 +1,26 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: datashare
+ clear-output-folder: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2018-11-01-preview
+```
+
+### Tag: package-2018-11-01-preview and go
+
+These settings apply only when `--tag=package-2018-11-01-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2018-11-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/datashare/mgmt/2018-11-01-preview/$(namespace)
+```
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md
new file mode 100644
index 000000000000..fd2752cdeb78
--- /dev/null
+++ b/specification/datashare/resource-manager/readme.md
@@ -0,0 +1,102 @@
+# DataShare
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for DataShare.
+
+
+
+---
+## Getting Started
+To build the SDK for DataShare, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+
+### Basic Information
+These are the global settings for the DataShare API.
+
+``` yaml
+openapi-type: arm
+tag: package-2018-11-01-preview
+```
+
+
+### Tag: package-2018-11-01-preview
+
+These settings apply only when `--tag=package-2018-11-01-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-11-01-preview'
+input-file:
+- Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
+```
+
+---
+# Code Generation
+
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-go
+```
+
+
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+``` yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.Azure.Management.DataShare
+ output-folder: $(csharp-sdks-folder)/DataShare/Management.DataShare/Generated
+ clear-output-folder: true
+```
+
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.DataShare
+ package-name: azure-mgmt-DataShare
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-DataShare/azure/mgmt/DataShare
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-DataShare
+```
+
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json
index 24e4f928fb11..353ce6d2b860 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json
@@ -1463,17 +1463,16 @@
"type": "object",
"description": "The artifacts for the service unit.",
"$ref": "#/definitions/ServiceUnitArtifacts"
- }
+ }
},
"required": [
"targetResourceGroup",
"deploymentMode"
]
},
- "ServiceUnitArtifacts":
- {
+ "ServiceUnitArtifacts": {
"description": "Defines the artifacts of a service unit.",
- "properties":{
+ "properties": {
"templateUri": {
"type": "string",
"description": "The full URI of the ARM template file with the SAS token.",
@@ -1869,4 +1868,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate.json
index fa537c8e23fd..788dbbe69641 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "artifactSourceName": "myArtifactSource",
- "api-version": "2018-09-01-preview",
- "artifactSourceInfo": {
- "type": "Microsoft.DeploymentManager/artifactSources",
- "location": "centralus",
- "tags": {},
- "properties": {
- "sourceType": "AzureStorage",
- "authentication": {
- "type": "Sas",
- "properties": {
- "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "artifactSourceName": "myArtifactSource",
+ "api-version": "2018-09-01-preview",
+ "artifactSourceInfo": {
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "myArtifactSource",
- "type": "Microsoft.DeploymentManager/artifactSources",
- "location": "centralus",
- "tags": {},
- "properties": {
- "sourceType": "AzureStorage",
- "authentication": {
- "type": "Sas",
- "properties": {
- "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
- }
- }
- }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myArtifactSource",
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
}
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate_artifactroot.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate_artifactroot.json
index 1e9c567fcfdf..ee73497e34b2 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate_artifactroot.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_createorupdate_artifactroot.json
@@ -1,42 +1,42 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "artifactSourceName": "myArtifactSource",
- "api-version": "2018-09-01-preview",
- "artifactSourceInfo": {
- "type": "Microsoft.DeploymentManager/artifactSources",
- "location": "centralus",
- "tags": {},
- "properties": {
- "sourceType": "AzureStorage",
- "artifactRoot": "1.0.0.0",
- "authentication": {
- "type": "Sas",
- "properties": {
- "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "artifactSourceName": "myArtifactSource",
+ "api-version": "2018-09-01-preview",
+ "artifactSourceInfo": {
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "artifactRoot": "1.0.0.0",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "myArtifactSource",
- "type": "Microsoft.DeploymentManager/artifactSources",
- "location": "centralus",
- "tags": {},
- "properties": {
- "sourceType": "AzureStorage",
- "authentication": {
- "type": "Sas",
- "properties": {
- "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
- }
- }
- }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myArtifactSource",
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
}
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_delete.json
index 02a8883c88b8..f54fbd95c977 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_delete.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_delete.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "artifactSourceName": "myArtifactSource",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "artifactSourceName": "myArtifactSource",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_get.json
index 400d373fdda2..d617ffb2e601 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_get.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/artifactsource_get.json
@@ -1,27 +1,27 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "artifactSourceName": "myArtifactSource",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myArtifactSource",
- "type": "Microsoft.DeploymentManager/artifactSources",
- "location": "centralus",
- "tags": {},
- "properties": {
- "sourceType": "AzureStorage",
- "authentication": {
- "type": "Sas",
- "properties": {
- "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "artifactSourceName": "myArtifactSource",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myArtifactSource",
+ "type": "Microsoft.DeploymentManager/artifactSources",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "sourceType": "AzureStorage",
+ "authentication": {
+ "type": "Sas",
+ "properties": {
+ "sasUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
}
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/operations_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/operations_get.json
index 9ee5c60ce0d7..9f0fdd2fad40 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/operations_get.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/operations_get.json
@@ -1,165 +1,165 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": [
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/read",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ServiceTopology",
- "operation": "View service topology",
- "description": "View the properties of a service topology"
- }
- },
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/write",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ServiceTopology",
- "operation": "Update the service topology",
- "description": "Create a new topology or update the properties of an existing topology"
- }
- },
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/delete",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ServiceTopology",
- "operation": "Delete service topology",
- "description": "Deletes an existing topology."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/services/read",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "Service",
- "operation": "View service in a topology",
- "description": "View the properties of a service in a service topology"
- }
- },
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/services/write",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "Service",
- "operation": "Update the service in a topology",
- "description": "Create a new service or update the properties of an existing service"
- }
- },
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/services/delete",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "Service",
- "operation": "Delete service",
- "description": "Deletes an existing service in a service topology."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/read",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ServiceUnit",
- "operation": "View service unit",
- "description": "View the properties of a service unit"
- }
- },
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/write",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ServiceUnit",
- "operation": "Update the service unit",
- "description": "Create a new service unit or update the properties of an existing service unit"
- }
- },
- {
- "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/delete",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ServiceUnit",
- "operation": "Delete service unit",
- "description": "Deletes an existing service unit."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/artifactSources/read",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ArtifactSource",
- "operation": "View artifact source",
- "description": "View the properties of an artifact source."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/artifactSources/write",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ArtifactSource",
- "operation": "Update the artifact source",
- "description": "Create a new artifact source or updates the properties of an existing artifact source."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/artifactSources/delete",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "ArtifactSource",
- "operation": "Delete artifact source",
- "description": "Deletes an existing artifact source."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/rollouts/read",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "Rollout",
- "operation": "View rollout",
- "description": "View the properties of rollout."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/rollouts/write",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "Rollout",
- "operation": "Create or update a rollout.",
- "description": "Create a new rollout or update an existing rollout."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/rollouts/restart",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "Rollout",
- "operation": "Restart a rollout",
- "description": "Restarts a failed rollout."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/rollouts/cancel",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "Rollout",
- "operation": "Cancel a rollout",
- "description": "Cancel a rollout in progress."
- }
- },
- {
- "name": "Microsoft.DeploymentManager/rollouts/delete",
- "display": {
- "provider": "Azure Deployment Manager",
- "resource": "Rollout",
- "operation": "Delete rollout",
- "description": "Deletes an existing rollout."
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceTopology",
+ "operation": "View service topology",
+ "description": "View the properties of a service topology"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceTopology",
+ "operation": "Update the service topology",
+ "description": "Create a new topology or update the properties of an existing topology"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceTopology",
+ "operation": "Delete service topology",
+ "description": "Deletes an existing topology."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Service",
+ "operation": "View service in a topology",
+ "description": "View the properties of a service in a service topology"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Service",
+ "operation": "Update the service in a topology",
+ "description": "Create a new service or update the properties of an existing service"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Service",
+ "operation": "Delete service",
+ "description": "Deletes an existing service in a service topology."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceUnit",
+ "operation": "View service unit",
+ "description": "View the properties of a service unit"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceUnit",
+ "operation": "Update the service unit",
+ "description": "Create a new service unit or update the properties of an existing service unit"
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ServiceUnit",
+ "operation": "Delete service unit",
+ "description": "Deletes an existing service unit."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/artifactSources/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ArtifactSource",
+ "operation": "View artifact source",
+ "description": "View the properties of an artifact source."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/artifactSources/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ArtifactSource",
+ "operation": "Update the artifact source",
+ "description": "Create a new artifact source or updates the properties of an existing artifact source."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/artifactSources/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "ArtifactSource",
+ "operation": "Delete artifact source",
+ "description": "Deletes an existing artifact source."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/read",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "View rollout",
+ "description": "View the properties of rollout."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/write",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "Create or update a rollout.",
+ "description": "Create a new rollout or update an existing rollout."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/restart",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "Restart a rollout",
+ "description": "Restarts a failed rollout."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/cancel",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "Cancel a rollout",
+ "description": "Cancel a rollout in progress."
+ }
+ },
+ {
+ "name": "Microsoft.DeploymentManager/rollouts/delete",
+ "display": {
+ "provider": "Azure Deployment Manager",
+ "resource": "Rollout",
+ "operation": "Delete rollout",
+ "description": "Deletes an existing rollout."
+ }
}
+ ]
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_createorupdate.json
index 834710a4229b..ae49f2a3832d 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_createorupdate.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_createorupdate.json
@@ -1,123 +1,123 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "rolloutName": "myRollout",
- "api-version": "2018-09-01-preview",
- "rolloutRequest": {
- "type": "Microsoft.DeploymentManager/rollouts",
- "location": "centralus",
- "tags": {},
- "identity": {
- "type": "userAssigned",
- "identityIds": [
- "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
- ]
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "api-version": "2018-09-01-preview",
+ "rolloutRequest": {
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
},
- "properties": {
- "buildVersion": "1.0.0.1",
- "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
- "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
- "stepGroups": [
- {
- "name": "FirstRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
- }
- ]
- },
- {
- "name": "SecondRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
- }
- ],
- "dependsOnStepGroups": [
- "FirstRegion"
- ]
- }
- ]
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "myRollout",
- "type": "Microsoft.DeploymentManager/rollouts",
- "location": "centralus",
- "tags": {},
- "identity": {
- "type": "userAssigned",
- "identityIds": [
- "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
- ]
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
},
- "properties": {
- "buildVersion": "1.0.0.1",
- "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
- "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
- "stepGroups": [
- {
- "name": "FirstRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
- }
- ]
- },
- {
- "name": "SecondRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
- }
- ],
- "dependsOnStepGroups": [
- "FirstRegion"
- ]
- }
- ]
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
}
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_delete.json
index a95ff167b6ac..c98dc8b929c9 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_delete.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_delete.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "rolloutName": "myRollout",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_get.json
index 60058f749e9c..0ff4939e9727 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_get.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_get.json
@@ -1,124 +1,124 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "rolloutName": "myRollout",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myRollout",
- "type": "Microsoft.DeploymentManager/rollouts",
- "location": "centralus",
- "tags": {},
- "identity": {
- "type": "userAssigned",
- "identityIds": [
- "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
- ]
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "status": "Running",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "retryAttempt": 0
+ },
+ "totalRetryAttempts": 0,
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
},
- "properties": {
- "status": "Running",
- "operationInfo": {
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ],
+ "services": [
+ {
+ "name": "myService1",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7",
+ "targetLocation": "centralus",
+ "serviceUnits": [
+ {
+ "name": "myTopologyUni1",
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "steps": [
+ {
+ "name": "preDeploymentStep1",
+ "status": "succeeded",
+ "operationInfo": {
"startTime": "2018-08-28T03:33:56.386Z",
- "retryAttempt": 0
+ "endTime": "2018-08-28T03:35:28.556Z"
+ }
},
- "totalRetryAttempts": 0,
- "buildVersion": "1.0.0.1",
- "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
- "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
- "stepGroups": [
- {
- "name": "FirstRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
- }
- ]
- },
- {
- "name": "SecondRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
- }
- ],
- "dependsOnStepGroups": [
- "FirstRegion"
- ]
- }
- ],
- "services": [
+ {
+ "name": "preDeploymentStep2",
+ "status": "succeeded",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:36:56.386Z",
+ "endTime": "2018-08-28T03:37:28.556Z"
+ }
+ },
+ {
+ "name": "deploy",
+ "status": "running",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:38:56.386Z",
+ "lastUpdatedTime": "2018-08-28T03:39:28.556Z"
+ },
+ "resourceOperations": [
{
- "name": "myService1",
- "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7",
- "targetLocation": "centralus",
- "serviceUnits": [
- {
- "name": "myTopologyUni1",
- "targetResourceGroup": "myDeploymentResourceGroup",
- "deploymentMode": "Incremental",
- "steps": [
- {
- "name": "preDeploymentStep1",
- "status": "succeeded",
- "operationInfo": {
- "startTime": "2018-08-28T03:33:56.386Z",
- "endTime": "2018-08-28T03:35:28.556Z"
- }
- },
- {
- "name": "preDeploymentStep2",
- "status": "succeeded",
- "operationInfo": {
- "startTime": "2018-08-28T03:36:56.386Z",
- "endTime": "2018-08-28T03:37:28.556Z"
- }
- },
- {
- "name": "deploy",
- "status": "running",
- "operationInfo": {
- "startTime": "2018-08-28T03:38:56.386Z",
- "lastUpdatedTime": "2018-08-28T03:39:28.556Z"
- },
- "resourceOperations": [
- {
- "resourceName": "keyVaultcentralus",
- "operationId": "20FC5A21382DA306",
- "resourceType": "Microsoft.KeyVault/vaults",
- "provisioningState": "Succeeded",
- "statusMessage": "",
- "statusCode": "OK"
- }
- ]
- }
- ]
- }
- ]
+ "resourceName": "keyVaultcentralus",
+ "operationId": "20FC5A21382DA306",
+ "resourceType": "Microsoft.KeyVault/vaults",
+ "provisioningState": "Succeeded",
+ "statusMessage": "",
+ "statusCode": "OK"
}
- ]
+ ]
+ }
+ ]
}
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_cancel.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_cancel.json
index 604ee0c3a97b..5c5ad1cc9d98 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_cancel.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_cancel.json
@@ -1,124 +1,124 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "rolloutName": "myRollout",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myRollout",
- "type": "Microsoft.DeploymentManager/rollouts",
- "location": "centralus",
- "tags": {},
- "identity": {
- "type": "userAssigned",
- "identityIds": [
- "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
- ]
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "status": "Canceling",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "retryAttempt": 0
+ },
+ "totalRetryAttempts": 0,
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
},
- "properties": {
- "status": "Canceling",
- "operationInfo": {
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
+ }
+ ],
+ "services": [
+ {
+ "name": "myService1",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7",
+ "targetLocation": "centralus",
+ "serviceUnits": [
+ {
+ "name": "myTopologyUni1",
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "steps": [
+ {
+ "name": "preDeploymentStep1",
+ "status": "succeeded",
+ "operationInfo": {
"startTime": "2018-08-28T03:33:56.386Z",
- "retryAttempt": 0
+ "endTime": "2018-08-28T03:35:28.556Z"
+ }
},
- "totalRetryAttempts": 0,
- "buildVersion": "1.0.0.1",
- "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
- "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
- "stepGroups": [
- {
- "name": "FirstRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
- }
- ]
- },
- {
- "name": "SecondRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
- }
- ],
- "dependsOnStepGroups": [
- "FirstRegion"
- ]
- }
- ],
- "services": [
+ {
+ "name": "preDeploymentStep2",
+ "status": "succeeded",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:36:56.386Z",
+ "endTime": "2018-08-28T03:37:28.556Z"
+ }
+ },
+ {
+ "name": "deploy",
+ "status": "running",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:38:56.386Z",
+ "lastUpdatedTime": "2018-08-28T03:39:28.556Z"
+ },
+ "resourceOperations": [
{
- "name": "myService1",
- "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7",
- "targetLocation": "centralus",
- "serviceUnits": [
- {
- "name": "myTopologyUni1",
- "targetResourceGroup": "myDeploymentResourceGroup",
- "deploymentMode": "Incremental",
- "steps": [
- {
- "name": "preDeploymentStep1",
- "status": "succeeded",
- "operationInfo": {
- "startTime": "2018-08-28T03:33:56.386Z",
- "endTime": "2018-08-28T03:35:28.556Z"
- }
- },
- {
- "name": "preDeploymentStep2",
- "status": "succeeded",
- "operationInfo": {
- "startTime": "2018-08-28T03:36:56.386Z",
- "endTime": "2018-08-28T03:37:28.556Z"
- }
- },
- {
- "name": "deploy",
- "status": "running",
- "operationInfo": {
- "startTime": "2018-08-28T03:38:56.386Z",
- "lastUpdatedTime": "2018-08-28T03:39:28.556Z"
- },
- "resourceOperations": [
- {
- "resourceName": "keyVaultcentralus",
- "operationId": "20FC5A21382DA306",
- "resourceType": "Microsoft.KeyVault/vaults",
- "provisioningState": "Succeeded",
- "statusMessage": "",
- "statusCode": "OK"
- }
- ]
- }
- ]
- }
- ]
+ "resourceName": "keyVaultcentralus",
+ "operationId": "20FC5A21382DA306",
+ "resourceType": "Microsoft.KeyVault/vaults",
+ "provisioningState": "Succeeded",
+ "statusMessage": "",
+ "statusCode": "OK"
}
- ]
+ ]
+ }
+ ]
}
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_restart.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_restart.json
index 2e55939395c6..c30b9f3e5e2d 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_restart.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/rollout_post_restart.json
@@ -1,75 +1,75 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "rolloutName": "myRollout",
- "skipSucceeded": true,
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myRollout",
- "type": "Microsoft.DeploymentManager/rollouts",
- "location": "centralus",
- "tags": {},
- "identity": {
- "type": "userAssigned",
- "identityIds": [
- "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
- ]
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "rolloutName": "myRollout",
+ "skipSucceeded": true,
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myRollout",
+ "type": "Microsoft.DeploymentManager/rollouts",
+ "location": "centralus",
+ "tags": {},
+ "identity": {
+ "type": "userAssigned",
+ "identityIds": [
+ "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userassignedidentities/myuseridentity"
+ ]
+ },
+ "properties": {
+ "status": "Running",
+ "operationInfo": {
+ "startTime": "2018-08-28T03:33:56.386Z",
+ "retryAttempt": 1
+ },
+ "totalRetryAttempts": 1,
+ "buildVersion": "1.0.0.1",
+ "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
+ "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
+ "stepGroups": [
+ {
+ "name": "FirstRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
},
- "properties": {
- "status": "Running",
- "operationInfo": {
- "startTime": "2018-08-28T03:33:56.386Z",
- "retryAttempt": 1
- },
- "totalRetryAttempts": 1,
- "buildVersion": "1.0.0.1",
- "artifactSourceId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/artifactSources/myArtifactSource",
- "targetServiceTopologyId": "/subscriptions/caac1590-e859-444f-a9e0-62091c0f5929/resourceGroups/myResourceGroup/Microsoft.DeploymentManager/serviceTopologies/myTopology",
- "stepGroups": [
- {
- "name": "FirstRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep1"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
- }
- ]
- },
- {
- "name": "SecondRegion",
- "preDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
- },
- {
- "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
- }
- ],
- "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
- "postDeploymentSteps": [
- {
- "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
- }
- ],
- "dependsOnStepGroups": [
- "FirstRegion"
- ]
- }
- ]
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep2"
}
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit1'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep1"
+ }
+ ]
+ },
+ {
+ "name": "SecondRegion",
+ "preDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep3"
+ },
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/preDeployStep4"
+ }
+ ],
+ "deploymentTargetId": "Microsoft.DeploymentManager/serviceTopologies/myTopology/services/myService/serviceUnits/myServiceUnit2'",
+ "postDeploymentSteps": [
+ {
+ "stepId": "Microsoft.DeploymentManager/steps/postDeployStep5"
+ }
+ ],
+ "dependsOnStepGroups": [
+ "FirstRegion"
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_createorupdate.json
index 7e29c8e474dc..731c76610fa8 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_createorupdate.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_createorupdate.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "serviceName": "myService",
- "api-version": "2018-09-01-preview",
- "serviceInfo": {
- "type": "Microsoft.DeploymentManager/serviceTopologies/services",
- "location": "centralus",
- "tags": {},
- "properties": {
- "targetLocation": "centralus",
- "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "myService",
- "type": "Microsoft.DeploymentManager/serviceTopologies/services",
- "location": "centralus",
- "tags": {},
- "properties": {
- "targetLocation": "centralus",
- "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "api-version": "2018-09-01-preview",
+ "serviceInfo": {
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetLocation": "centralus",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myService",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetLocation": "centralus",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_delete.json
index cc5f0520ecce..b038a2f1ca6b 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_delete.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_delete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "serviceName": "myService",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_get.json
index bcfc0afc2790..7e24a6809f61 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_get.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/service_get.json
@@ -1,23 +1,23 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "serviceName": "myService",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myService",
- "type": "Microsoft.DeploymentManager/serviceTopologies/services",
- "location": "centralus",
- "tags": {},
- "properties": {
- "targetLocation": "centralus",
- "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myService",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetLocation": "centralus",
+ "targetSubscriptionId": "600c95c5-3ee5-44fe-b190-ca38a19adcd7"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate.json
index 04601e9dcd6c..f5987d3445e8 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate.json
@@ -1,29 +1,29 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "api-version": "2018-09-01-preview",
- "serviceTopologyInfo": {
- "type": "Microsoft.DeploymentManager/serviceTopologies",
- "location": "centralus",
- "tags": {},
- "properties": {
- "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "myTopology",
- "type": "Microsoft.DeploymentManager/serviceTopologies",
- "location": "centralus",
- "tags": {},
- "properties": {
- "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2018-09-01-preview",
+ "serviceTopologyInfo": {
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myTopology",
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate_noartifactsource.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate_noartifactsource.json
index 1668c2fa1be6..f0084c906414 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate_noartifactsource.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_createorupdate_noartifactsource.json
@@ -1,27 +1,25 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "api-version": "2018-09-01-preview",
- "serviceTopologyInfo": {
- "type": "Microsoft.DeploymentManager/serviceTopologies",
- "location": "centralus",
- "tags": {},
- "properties": {
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "name": "myTopology",
- "type": "Microsoft.DeploymentManager/serviceTopologies",
- "location": "centralus",
- "tags": {},
- "properties": {
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2018-09-01-preview",
+ "serviceTopologyInfo": {
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {}
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myTopology",
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {}
+ }
+ }
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_delete.json
index 8a2b35ec1a4f..33fd145d5ee2 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_delete.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_delete.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_get.json
index 1d941924bceb..3a277209a73e 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_get.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/servicetopology_get.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myTopology",
- "type": "Microsoft.DeploymentManager/serviceTopologies",
- "location": "centralus",
- "tags": {},
- "properties": {
- "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myTopology",
+ "type": "Microsoft.DeploymentManager/serviceTopologies",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "artifactSourceId": "Microsoft.DeploymentManager/artifactSources/myArtifactSource"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate.json
index 24d43be1a856..d783e76b208f 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "serviceName": "myService",
- "serviceUnitName": "myServiceUnit",
- "api-version": "2018-09-01-preview",
- "serviceUnitInfo": {
- "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
- "location": "centralus",
- "tags": {},
- "properties": {
- "targetResourceGroup": "myDeploymentResourceGroup",
- "deploymentMode": "Incremental",
- "artifacts": {
- "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
- "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "serviceUnitName": "myServiceUnit",
+ "api-version": "2018-09-01-preview",
+ "serviceUnitInfo": {
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
+ "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "myServiceUnit",
- "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
- "location": "centralus",
- "tags": {},
- "properties": {
- "targetResourceGroup": "myDeploymentResourceGroup",
- "deploymentMode": "Incremental",
- "artifacts": {
- "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
- "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
- }
- }
- }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myServiceUnit",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
+ "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate_noartifactsource.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate_noartifactsource.json
index fb5991eabd27..5bd26dac5071 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate_noartifactsource.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_createorupdate_noartifactsource.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "serviceName": "myService",
- "serviceUnitName": "myServiceUnit",
- "api-version": "2018-09-01-preview",
- "serviceUnitInfo": {
- "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
- "location": "centralus",
- "tags": {},
- "properties": {
- "targetResourceGroup": "myDeploymentResourceGroup",
- "deploymentMode": "Incremental",
- "artifacts": {
- "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
- "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "serviceUnitName": "myServiceUnit",
+ "api-version": "2018-09-01-preview",
+ "serviceUnitInfo": {
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
+ "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "myServiceUnit",
- "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
- "location": "centralus",
- "tags": {},
- "properties": {
- "targetResourceGroup": "myDeploymentResourceGroup",
- "deploymentMode": "Incremental",
- "artifacts": {
- "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
- "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
- }
- }
- }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myServiceUnit",
+ "type": "Microsoft.DeploymentManager/serviceTopologies/services/serviceUnits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/templates/myTopologyUnit.template.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D",
+ "parametersUri": "https://mystorageaccount.blob.core.windows.net/myartifactsource/parameter/myTopologyUnit.parameters.json?st=2018-07-07T14%3A10%3A00Z&se=2019-12-31T15%3A10%3A00Z&sp=rl&sv=2017-04-17&sr=c&sig=Yh2SoJ1NhhLRwCLln7de%2Fkabcdefghijklmno5sWEIk%3D"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_delete.json
index 0a3aa3e33d04..eabb7ab834fa 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_delete.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_delete.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "serviceName": "myService",
- "serviceUnitName": "myServiceUnit",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "serviceUnitName": "myServiceUnit",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_get.json
index 62e125403fbc..3af095cbfb23 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_get.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/serviceunit_get.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "serviceTopologyName": "myTopology",
- "serviceName": "myService",
- "serviceUnitName": "myServiceUnit",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "myServiceUnit",
- "type": "Microsoft.DeploymentManager/servicetopologies/services/serviceunits",
- "location": "centralus",
- "tags": {},
- "properties": {
- "targetResourceGroup": "myDeploymentResourceGroup",
- "deploymentMode": "Incremental",
- "artifacts": {
- "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
- "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "serviceTopologyName": "myTopology",
+ "serviceName": "myService",
+ "serviceUnitName": "myServiceUnit",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myServiceUnit",
+ "type": "Microsoft.DeploymentManager/servicetopologies/services/serviceunits",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "targetResourceGroup": "myDeploymentResourceGroup",
+ "deploymentMode": "Incremental",
+ "artifacts": {
+ "templateArtifactSourceRelativePath": "templates/myTopologyUnit.template.json",
+ "parametersArtifactSourceRelativePath": "parameter/myTopologyUnit.parameters.json"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_createorupdate.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_createorupdate.json
index 786d85c933d2..040a478071a3 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_createorupdate.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_createorupdate.json
@@ -1,35 +1,35 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "stepName": "deploymentStep1",
- "api-version": "2018-09-01-preview",
- "stepInfo": {
- "type": "Microsoft.DeploymentManager/steps",
- "location": "centralus",
- "tags": {},
- "properties": {
- "stepType": "Wait",
- "attributes": {
- "duration": "PT20M"
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "stepName": "deploymentStep1",
+ "api-version": "2018-09-01-preview",
+ "stepInfo": {
+ "type": "Microsoft.DeploymentManager/steps",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "Wait",
+ "attributes": {
+ "duration": "PT20M"
}
- },
- "responses": {
- "201": {
- "body": {
- "name": "deploymentStep1",
- "type": "Microsoft.DeploymentManager/steps",
- "location": "centralus",
- "tags": {},
- "properties": {
- "stepType": "Wait",
- "attributes": {
- "duration": "PT20M"
- }
- }
- }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "deploymentStep1",
+ "type": "Microsoft.DeploymentManager/steps",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "Wait",
+ "attributes": {
+ "duration": "PT20M"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_delete.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_delete.json
index eec34d8b74de..9ea55bc13fe5 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_delete.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_delete.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "stepName": "deploymentStep1",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "stepName": "deploymentStep1",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_get.json b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_get.json
index 5781eaf246a0..166bdff57786 100644
--- a/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_get.json
+++ b/specification/deploymentmanager/resource-manager/Microsoft.DeploymentManager/preview/2018-09-01-preview/examples/step_get.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
- "resourceGroupName": "myResourceGroup",
- "stepName": "deploymentStep1",
- "api-version": "2018-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "name": "deploymentStep1",
- "type": "Microsoft.DeploymentManager/steps",
- "location": "centralus",
- "tags": {},
- "properties": {
- "stepType": "Wait",
- "attributes": {
- "duration": "PT20M"
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "caac1590-e859-444f-a9e0-62091c0f5929",
+ "resourceGroupName": "myResourceGroup",
+ "stepName": "deploymentStep1",
+ "api-version": "2018-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "deploymentStep1",
+ "type": "Microsoft.DeploymentManager/steps",
+ "location": "centralus",
+ "tags": {},
+ "properties": {
+ "stepType": "Wait",
+ "attributes": {
+ "duration": "PT20M"
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json
new file mode 100644
index 000000000000..bc31ef4079df
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json
@@ -0,0 +1,870 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure DevOps",
+ "description": "Azure DevOps Resource Provider",
+ "version": "2019-07-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "DevOpsClient"
+ }
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.DevOps/operations": {
+ "get": {
+ "operationId": "Operations_List",
+ "description": "Lists all the operations supported by Microsoft.DevOps resource provider.",
+ "tags": [
+ "Operations"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The list of supported operations has been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get a list of operations supported by Microsoft.DevOps resource provider": {
+ "$ref": "./examples/ListOperations.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DevOps/pipelineTemplateDefinitions": {
+ "get": {
+ "tags": [
+ "PipelineTemplateDefinitions"
+ ],
+ "operationId": "PipelineTemplateDefinitions_List",
+ "description": "Lists all pipeline templates which can be used to configure an Azure Pipeline.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "description": "The pipeline template definitions have been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/PipelineTemplateDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get the list of pipeline template definitions": {
+ "$ref": "./examples/ListPipelineTemplateDefinitions.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOps/pipelines/{pipelineName}": {
+ "put": {
+ "operationId": "Pipelines_CreateOrUpdate",
+ "description": "Creates or updates an Azure Pipeline.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "pipelineName",
+ "description": "The name of the Azure Pipeline resource in ARM.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "createOperationParameters",
+ "description": "The request payload to create the Azure Pipeline.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The request has been accepted for processing and the Azure Pipeline will be configured asynchronously."
+ },
+ "200": {
+ "description": "The Azure Pipeline has been configured successfully.",
+ "schema": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create an Azure pipeline to deploy a sample ASP.Net application to Azure web-app": {
+ "$ref": "./examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json"
+ }
+ }
+ },
+ "get": {
+ "operationId": "Pipelines_Get",
+ "description": "Gets an existing Azure Pipeline.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "pipelineName",
+ "description": "The name of the Azure Pipeline resource in ARM.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get an existing Azure pipeline": {
+ "$ref": "./examples/GetAzurePipeline.json"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "Pipelines_Update",
+ "description": "Updates the properties of an Azure Pipeline. Currently, only tags can be updated.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "pipelineName",
+ "description": "The name of the Azure Pipeline resource.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "updateOperationParameters",
+ "description": "The request payload containing the properties to update in the Azure Pipeline.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PipelineUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been updated successfully.",
+ "schema": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get an existing Azure pipeline": {
+ "$ref": "./examples/UpdateAzurePipeline.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "Pipelines_Delete",
+ "description": "Deletes an Azure Pipeline.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "pipelineName",
+ "description": "The name of the Azure Pipeline resource.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been deleted successfully."
+ },
+ "204": {
+ "description": "The Azure Pipeline is not found or has been deleted already."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get an existing Azure pipeline": {
+ "$ref": "./examples/DeleteAzurePipeline.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOps/pipelines": {
+ "get": {
+ "operationId": "Pipelines_ListByResourceGroup",
+ "description": "Lists all Azure Pipelines under the specified resource group.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipelines have been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/PipelineListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all Azure Pipelines under the specified resource group": {
+ "$ref": "./examples/ListAzurePipelinesByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DevOps/pipelines": {
+ "get": {
+ "operationId": "Pipelines_ListBySubscription",
+ "description": "Lists all Azure Pipelines under the specified subscription.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipelines have been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/PipelineListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all Azure pipelines under the specified subscription": {
+ "$ref": "./examples/ListAzurePipelinesBySubscription.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "description": "Details of the error from the Pipelines Resource Provider.",
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Pipelines Resource Provider."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error or the method where the error occurred."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Pipelines Resource Provider."
+ },
+ "OperationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of operations supported by Microsoft.DevOps resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of operations, if there are any."
+ }
+ },
+ "description": "Result of a request to list all operations supported by Microsoft.DevOps resource provider."
+ },
+ "Operation": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Name of the operation."
+ },
+ "isDataAction": {
+ "type": "string",
+ "description": "Indicates whether the operation applies to data-plane."
+ },
+ "display": {
+ "description": "Display information of the operation.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationDisplayValue"
+ }
+ },
+ "description": "Properties of an Operation."
+ },
+ "OperationDisplayValue": {
+ "properties": {
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Friendly name of the operation."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Friendly name of the resource type the operation applies to."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Friendly description of the operation."
+ },
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Friendly name of the resource provider."
+ }
+ },
+ "description": "Display information of an operation."
+ },
+ "PipelineTemplateDefinitionListResult": {
+ "type": "object",
+ "description": "Result of a request to list all pipeline template definitions.",
+ "properties": {
+ "value": {
+ "description": "List of pipeline template definitions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PipelineTemplateDefinition"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of pipeline template definitions, if there are any."
+ }
+ }
+ },
+ "PipelineTemplateDefinition": {
+ "type": "object",
+ "description": "Definition of a pipeline template.",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the pipeline template.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the pipeline enabled by the template.",
+ "type": "string"
+ },
+ "inputs": {
+ "description": "List of input parameters required by the template to create a pipeline.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InputDescriptor"
+ }
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "InputDescriptor": {
+ "type": "object",
+ "description": "Representation of a pipeline template input parameter.",
+ "properties": {
+ "id": {
+ "description": "Identifier of the input parameter.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the input parameter.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Data type of the value of the input parameter.",
+ "type": "string",
+ "enum": [
+ "String",
+ "SecureString",
+ "Int",
+ "Bool",
+ "Authorization"
+ ],
+ "x-ms-enum": {
+ "name": "InputDataType",
+ "modelAsString": true
+ }
+ },
+ "possibleValues": {
+ "description": "List of possible values for the input parameter.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InputValue"
+ }
+ }
+ },
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "InputValue": {
+ "type": "object",
+ "description": "Representation of a pipeline template input parameter value.",
+ "properties": {
+ "value": {
+ "description": "Value of an input parameter.",
+ "type": "string"
+ },
+ "displayValue": {
+ "description": "Description of the input parameter value.",
+ "type": "string"
+ }
+ }
+ },
+ "Pipeline": {
+ "type": "object",
+ "description": "Azure DevOps Pipeline used to configure Continuous Integration (CI) & Continuous Delivery (CD) for Azure resources.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PipelineProperties",
+ "description": "Custom properties of the Pipeline.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "PipelineProperties": {
+ "type": "object",
+ "description": "Custom properties of a Pipeline.",
+ "properties": {
+ "pipelineId": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Unique identifier of the Azure Pipeline within the Azure DevOps Project."
+ },
+ "organization": {
+ "$ref": "#/definitions/OrganizationReference",
+ "description": "Reference to the Azure DevOps Organization containing the Pipeline."
+ },
+ "project": {
+ "$ref": "#/definitions/ProjectReference",
+ "description": "Reference to the Azure DevOps Project containing the Pipeline."
+ },
+ "bootstrapConfiguration": {
+ "$ref": "#/definitions/BootstrapConfiguration",
+ "description": "Configuration used to bootstrap the Pipeline."
+ }
+ },
+ "required": [
+ "organization",
+ "project",
+ "bootstrapConfiguration"
+ ]
+ },
+ "OrganizationReference": {
+ "type": "object",
+ "description": "Reference to an Azure DevOps Organization.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique immutable identifier for the Azure DevOps Organization."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Azure DevOps Organization."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "ProjectReference": {
+ "type": "object",
+ "description": "Reference to an Azure DevOps Project.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique immutable identifier of the Azure DevOps Project."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Azure DevOps Project."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "BootstrapConfiguration": {
+ "type": "object",
+ "description": "Configuration used to bootstrap a Pipeline.",
+ "properties": {
+ "repository": {
+ "$ref": "#/definitions/CodeRepository",
+ "description": "Repository containing the source code for the pipeline."
+ },
+ "template": {
+ "$ref": "#/definitions/PipelineTemplate",
+ "description": "Template used to bootstrap the pipeline."
+ }
+ },
+ "required": [
+ "template"
+ ]
+ },
+ "CodeRepository": {
+ "type": "object",
+ "description": "Repository containing the source code for a pipeline.",
+ "properties": {
+ "repositoryType": {
+ "description": "Type of code repository.",
+ "type": "string",
+ "enum": [
+ "gitHub",
+ "vstsGit"
+ ],
+ "x-ms-enum": {
+ "name": "CodeRepositoryType",
+ "modelAsString": true
+ }
+ },
+ "id": {
+ "description": "Unique immutable identifier of the code repository.",
+ "type": "string"
+ },
+ "defaultBranch": {
+ "description": "Default branch used to configure Continuous Integration (CI) in the pipeline.",
+ "type": "string"
+ },
+ "authorization": {
+ "description": "Authorization info to access the code repository.",
+ "$ref": "#/definitions/Authorization"
+ },
+ "properties": {
+ "description": "Repository-specific properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "repositoryType",
+ "id",
+ "defaultBranch"
+ ]
+ },
+ "Authorization": {
+ "description": "Authorization info used to access a resource (like code repository).",
+ "type": "object",
+ "properties": {
+ "authorizationType": {
+ "description": "Type of authorization.",
+ "type": "string",
+ "enum": [
+ "personalAccessToken"
+ ],
+ "x-ms-enum": {
+ "name": "AuthorizationType",
+ "modelAsString": true
+ }
+ },
+ "parameters": {
+ "description": "Authorization parameters corresponding to the authorization type.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "authorizationType"
+ ]
+ },
+ "PipelineTemplate": {
+ "type": "object",
+ "description": "Template used to bootstrap the pipeline.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the pipeline template."
+ },
+ "parameters": {
+ "type": "object",
+ "description": "Dictionary of input parameters used in the pipeline template.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "Resource": {
+ "type": "object",
+ "description": "An Azure Resource Manager (ARM) resource.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Type"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource Tags"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource Location"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Name"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "PipelineUpdateParameters": {
+ "type": "object",
+ "description": "Request payload used to update an existing Azure Pipeline.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "description": "Dictionary of key-value pairs to be set as tags on the Azure Pipeline. This will overwrite any existing tags.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "PipelineListResult": {
+ "description": "Result of a request to list all Azure Pipelines under a given scope.",
+ "properties": {
+ "value": {
+ "description": "List of pipelines.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of Pipelines, if there are any."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the resource group within the Azure subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "API version to be used with the HTTP request."
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json
new file mode 100644
index 000000000000..e05cee970f18
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "pipelineName": "myAspNetWebAppPipeline",
+ "api-version": "2019-07-01-preview",
+ "createOperationParameters": {
+ "location": "South India",
+ "tags": {},
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": "{\"scheme\":\"ServicePrincipal\",\"parameters\":{\"tenantid\":\"{subscriptionTenantId}\",\"objectid\":\"{appObjectId}\",\"serviceprincipalid\":\"{appId}\",\"serviceprincipalkey\":\"{appSecret}\"}}"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "description": "The request has been accepted for processing and the Azure Pipeline will be configured asynchronously.",
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline/operations/{operationId}",
+ "retry-after": "5"
+ }
+ },
+ "200": {
+ "description": "The Azure Pipeline has been configured successfully.",
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json
new file mode 100644
index 000000000000..87a96b97812a
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "pipelineName": "myAspNetWebAppPipeline",
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been deleted successfully."
+ },
+ "204": {
+ "description": "The Azure Pipeline is not found or has been deleted already."
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json
new file mode 100644
index 000000000000..aa613a86e660
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "pipelineName": "myAspNetWebAppPipeline",
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been configured successfully.",
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json
new file mode 100644
index 000000000000..4a94831d096d
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipelines has been fetched successfully.",
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json
new file mode 100644
index 000000000000..286f050960cd
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipelines have been fetched successfully.",
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg1/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline1",
+ "name": "myAspNetWebAppPipeline1",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org1"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project1"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json
new file mode 100644
index 000000000000..94b99e0ce784
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The list of supported operations has been fetched successfully.",
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DevOps/register/action",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "register",
+ "operation": "Register for Microsoft.DevOps",
+ "description": "Registers the specified subscription with Microsoft.DevOps resource provider and enables the creation of Pipelines"
+ }
+ },
+ {
+ "name": "Microsoft.DevOps/pipelines/write",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "Pipelines",
+ "operation": "Create or Update Pipeline",
+ "description": "Creates or Updates any Pipeline"
+ }
+ },
+ {
+ "name": "Microsoft.DevOps/pipelines/read",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "Pipelines",
+ "operation": "Read Pipeline",
+ "description": "Reads any Pipeline"
+ }
+ },
+ {
+ "name": "Microsoft.DevOps/pipelines/delete",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "Pipelines",
+ "operation": "Delete Pipeline",
+ "description": "Deletes any Pipeline"
+ }
+ },
+ {
+ "name": "Microsoft.DevOps/pipelineTemplateDefinitions/read",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "PipelineTemplateDefinitions",
+ "operation": "Read PipelineTemplateDefinition",
+ "description": "Reads any PipelineTemplateDefinition"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json
new file mode 100644
index 000000000000..75e8bfc6863f
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The pipeline template definitions have been fetched successfully.",
+ "body": {
+ "value": [
+ {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "description": "Template for configuring CI/CD pipeline for ASP.Net app on Azure windows app service",
+ "inputs": [
+ {
+ "id": "azureAuth",
+ "description": "Authorization for Azure ARM endpoints.",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "subscriptionId",
+ "description": "Id of subscription where azure resources will be created.",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "resourceGroup",
+ "description": "A resource group is a collection of resources that share the same lifecycle, permissions, and policies. Name of resource group which should contain web app.",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "webAppName",
+ "description": "Name of web app to be created",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "location",
+ "description": "Choose the Azure region that's right for you and your customers.",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "appServicePlan",
+ "description": "Details of cost and compute resource associated with the web app",
+ "type": "String",
+ "possibleValues": [
+ {
+ "value": "P1 Premium",
+ "displayValue": "P1 Premium (1 Core, 1.75 GB RAM)"
+ },
+ {
+ "value": "P2 Premium",
+ "displayValue": "P2 Premium (2 Core, 3.5 GB RAM)"
+ },
+ {
+ "value": "P3 Premium",
+ "displayValue": "P3 Premium (4 Core, 7 GB RAM)"
+ },
+ {
+ "value": "S1 Standard",
+ "displayValue": "S1 Standard (1 Core, 1.75 GB RAM)"
+ },
+ {
+ "value": "S2 Standard",
+ "displayValue": "S2 Standard (2 Core, 3.5 GB RAM)"
+ },
+ {
+ "value": "S3 Standard",
+ "displayValue": "S3 Standard (4 Core, 7 GB RAM)"
+ },
+ {
+ "value": "B1 Basic",
+ "displayValue": "B1 Basic (1 Core, 1.75 GB RAM)"
+ },
+ {
+ "value": "B2 Basic",
+ "displayValue": "B2 Basic (2 Core, 3.5 GB RAM)"
+ },
+ {
+ "value": "B3 Basic",
+ "displayValue": "B3 Basic (4 Core, 7 GB RAM)"
+ },
+ {
+ "value": "F1 Free",
+ "displayValue": "F1 Free"
+ },
+ {
+ "value": "D1 Shared",
+ "displayValue": "D1 Shared"
+ }
+ ]
+ },
+ {
+ "id": "appInsightLocation",
+ "description": "Collect application monitoring data using Application Insights.",
+ "type": "String",
+ "possibleValues": []
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json
new file mode 100644
index 000000000000..edbd23b28942
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "pipelineName": "myAspNetWebAppPipeline",
+ "api-version": "2019-07-01-preview",
+ "updateOperationParameters": {
+ "tags": {
+ "tagKey": "tagvalue"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been updated successfully.",
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "tags": {
+ "tagKey": "tagvalue"
+ },
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/readme.csharp.md b/specification/devops/resource-manager/readme.csharp.md
new file mode 100644
index 000000000000..e57eee4b0e72
--- /dev/null
+++ b/specification/devops/resource-manager/readme.csharp.md
@@ -0,0 +1,15 @@
+## C
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+```yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 1
+ clear-output-folder: true
+ client-side-validation: false
+ namespace: Microsoft.Azure.Management.DevOps
+ output-folder: $(csharp-sdks-folder)/devops/Microsoft.Azure.Management.DevOps/src/Generated
+```
diff --git a/specification/devops/resource-manager/readme.go.md b/specification/devops/resource-manager/readme.go.md
new file mode 100644
index 000000000000..70edb4ea11ce
--- /dev/null
+++ b/specification/devops/resource-manager/readme.go.md
@@ -0,0 +1,26 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+```yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: devops
+ clear-output-folder: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-07-01-preview
+```
+
+### Tag: package-2019-07-01-preview and go
+
+These settings apply only when `--tag=package-2019-07-01-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag) == 'package-2019-07-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-07-01-preview/$(namespace)
+```
diff --git a/specification/devops/resource-manager/readme.md b/specification/devops/resource-manager/readme.md
new file mode 100644
index 000000000000..01c7c41be5f2
--- /dev/null
+++ b/specification/devops/resource-manager/readme.md
@@ -0,0 +1,79 @@
+# devops
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for devops.
+
+## Getting Started
+
+To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run:
+
+> `autorest readme.md`
+
+To see additional help and options, run:
+
+> `autorest --help`
+
+For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page.
+
+---
+
+## Configuration
+
+### Basic Information
+
+These are the global settings for the devops.
+
+```yaml
+openapi-type: arm
+tag: package-2019-07-01-preview
+```
+
+### Tag: package-2019-07-01-preview
+
+These settings apply only when `--tag=package-2019-07-01-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-07-01-preview'
+input-file:
+ - Microsoft.DevOps/preview/2019-07-01-preview/devops.json
+```
+
+---
+
+# Code Generation
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+```yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-java
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-js
+ - repo: azure-sdk-for-ruby
+ after_scripts:
+ - bundle install && rake arm:regen_all_profiles['azure_mgmt_devops']
+```
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
+## Ruby
+
+See configuration in [readme.ruby.md](./readme.ruby.md)
+
+## TypeScript
+
+See configuration in [readme.typescript.md](./readme.typescript.md)
+
+## CSharp
+
+See configuration in [readme.csharp.md](./readme.csharp.md)
diff --git a/specification/devops/resource-manager/readme.python.md b/specification/devops/resource-manager/readme.python.md
new file mode 100644
index 000000000000..d8329e41d90e
--- /dev/null
+++ b/specification/devops/resource-manager/readme.python.md
@@ -0,0 +1,21 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+```yaml $(python)
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.devops
+ package-name: azure-mgmt-devops
+ package-version: 2019-07-01-preview
+ clear-output-folder: true
+```
+
+```yaml $(python)
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/devops/azure-mgmt-devops/azure/mgmt/devops
+```
diff --git a/specification/devops/resource-manager/readme.ruby.md b/specification/devops/resource-manager/readme.ruby.md
new file mode 100644
index 000000000000..3522830affc4
--- /dev/null
+++ b/specification/devops/resource-manager/readme.ruby.md
@@ -0,0 +1,19 @@
+## Ruby
+
+These settings apply only when `--ruby` is specified on the command line.
+
+```yaml
+package-name: azure_mgmt_devops
+package-version: 2019-07-01-preview
+azure-arm: true
+```
+
+### Tag: package-2019-07-01-preview and ruby
+
+These settings apply only when `--tag=package-2019-07-01-preview --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+```yaml $(tag) == 'package-2019-07-01-preview' && $(ruby)
+namespace: Azure::DevOps::Mgmt::V2019_07_01_preview
+output-folder: $(ruby-sdks-folder)/management/azure_mgmt_devops/lib
+```
diff --git a/specification/devops/resource-manager/readme.typescript.md b/specification/devops/resource-manager/readme.typescript.md
new file mode 100644
index 000000000000..e6d6211f234a
--- /dev/null
+++ b/specification/devops/resource-manager/readme.typescript.md
@@ -0,0 +1,13 @@
+## TypeScript
+
+These settings apply only when `--typescript` is specified on the command line.
+Please also specify `--typescript-sdks-folder=`.
+
+```yaml $(typescript)
+typescript:
+ azure-arm: true
+ package-name: "@azure/arm-devops"
+ output-folder: "$(typescript-sdks-folder)/sdk/devops/arm-devops"
+ payload-flattening-threshold: 1
+ generate-metadata: true
+```
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json
deleted file mode 100644
index 1bb84e692935..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json
+++ /dev/null
@@ -1,789 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2018-06-01-preview",
- "title": "DevSpacesManagement",
- "description": "Dev Spaces REST API"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping": {
- "post": {
- "tags": [
- "ContainerHostMappings"
- ],
- "summary": "Returns container host mapping object for a container host resource ID if an associated controller exists.",
- "operationId": "ContainerHostMappings_GetContainerHostMapping",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "containerHostMapping",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ContainerHostMapping"
- }
- },
- {
- "name": "location",
- "in": "path",
- "description": "Location of the container host.",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {}
- }
- },
- "x-ms-examples": {
- "ContainerHostMappingsGetContainerHostMapping": {
- "$ref": "./examples/ContainerHostMappingsGetContainerHostMapping_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Gets an Azure Dev Spaces Controller.",
- "description": "Gets the properties for an Azure Dev Spaces Controller.",
- "operationId": "Controllers_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the Azure Dev Spaces Controller.",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersGet": {
- "$ref": "./examples/ControllersGet_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "Controllers"
- ],
- "summary": "Creates an Azure Dev Spaces Controller.",
- "description": "Creates an Azure Dev Spaces Controller with the specified create parameters.",
- "operationId": "Controllers_Create",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- },
- {
- "name": "controller",
- "in": "body",
- "description": "Controller create parameters.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the created Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "201": {
- "description": "The request was successful; Azure Dev Spaces Controller is being created.",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more creation parameters are invalid.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersCreate": {
- "$ref": "./examples/ControllersCreate_example.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Controllers"
- ],
- "summary": "Deletes an Azure Dev Spaces Controller.",
- "description": "Deletes an existing Azure Dev Spaces Controller.",
- "operationId": "Controllers_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the Azure Dev Spaces Controller is deleted."
- },
- "202": {
- "description": "The request was successful; Azure Dev Spaces Controller is being deleted."
- },
- "204": {
- "description": "The request was successful; Azure Dev Spaces Controller does not exist."
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 409 - Conflict(Azure Dev Spaces Controller is already getting deleted.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersDelete": {
- "$ref": "./examples/ControllersDelete_example.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "Controllers"
- ],
- "summary": "Updates an Azure Dev Spaces Controller.",
- "description": "Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.",
- "operationId": "Controllers_Update",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- },
- {
- "name": "controllerUpdateParameters",
- "in": "body",
- "description": "Parameters for updating the Azure Dev Spaces Controller.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ControllerUpdateParameters"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the updated Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more update parameters are invalid.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersUpdate": {
- "$ref": "./examples/ControllersUpdate_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists the Azure Dev Spaces Controllers in a resource group.",
- "description": "Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.",
- "operationId": "Controllers_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the resource group.",
- "schema": {
- "$ref": "#/definitions/ControllerList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersListByResourceGroup": {
- "$ref": "./examples/ControllersListByResourceGroup_example.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists the Azure Dev Spaces Controllers in a subscription.",
- "description": "Lists all the Azure Dev Spaces Controllers with their properties in the subscription.",
- "operationId": "Controllers_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the subscription.",
- "schema": {
- "$ref": "#/definitions/ControllerList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersList": {
- "$ref": "./examples/ControllersList_example.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails": {
- "post": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists connection details for an Azure Dev Spaces Controller.",
- "description": "Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.",
- "operationId": "Controllers_ListConnectionDetails",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of connection details for the Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/ControllerConnectionDetailsList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersListConnectionDetails": {
- "$ref": "./examples/ControllersListConnectionDetails_example.json"
- }
- }
- }
- },
- "/providers/Microsoft.DevSpaces/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "summary": "Lists operations for the resource provider.",
- "description": "Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.",
- "operationId": "Operations_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of operations under Microsoft.DevSpaces resource provider.",
- "schema": {
- "$ref": "#/definitions/ResourceProviderOperationList"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "ContainerHostMapping": {
- "description": "Container host mapping object specifying the Container host resource ID and its associated Controller resource.",
- "properties": {
- "containerHostResourceId": {
- "description": "ARM ID of the Container Host resource",
- "type": "string"
- },
- "mappedControllerResourceId": {
- "description": "ARM ID of the mapped Controller resource",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "Controller": {
- "required": [
- "properties",
- "sku",
- "location"
- ],
- "allOf": [
- {
- "$ref": "#/definitions/TrackedResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/ControllerProperties",
- "x-ms-client-flatten": true
- },
- "sku": {
- "$ref": "#/definitions/Sku"
- }
- }
- },
- "ControllerProperties": {
- "required": [
- "hostSuffix",
- "targetContainerHostResourceId",
- "targetContainerHostCredentialsBase64"
- ],
- "properties": {
- "provisioningState": {
- "description": "Provisioning state of the Azure Dev Spaces Controller.",
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled",
- "Updating",
- "Creating",
- "Deleting",
- "Deleted"
- ],
- "type": "string",
- "readOnly": true,
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true
- }
- },
- "hostSuffix": {
- "description": "DNS suffix for public endpoints running in the Azure Dev Spaces Controller.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "dataPlaneFqdn": {
- "description": "DNS name for accessing DataPlane services",
- "type": "string",
- "readOnly": true
- },
- "targetContainerHostResourceId": {
- "description": "Resource ID of the target container host",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "targetContainerHostCredentialsBase64": {
- "description": "Credentials of the target container host (base64).",
- "type": "string",
- "x-ms-mutability": [
- "create"
- ]
- }
- }
- },
- "Sku": {
- "description": "Model representing SKU for Azure Dev Spaces Controller.",
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "description": "The name of the SKU for Azure Dev Spaces Controller.",
- "enum": [
- "S1"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SkuName",
- "modelAsString": true
- }
- },
- "tier": {
- "description": "The tier of the SKU for Azure Dev Spaces Controller.",
- "enum": [
- "Standard"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": true
- }
- }
- }
- },
- "ControllerUpdateParameters": {
- "description": "Parameters for updating an Azure Dev Spaces Controller.",
- "properties": {
- "tags": {
- "description": "Tags for the Azure Dev Spaces Controller.",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "ControllerList": {
- "properties": {
- "value": {
- "description": "List of Azure Dev Spaces Controllers.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Controller"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ControllerConnectionDetailsList": {
- "properties": {
- "connectionDetailsList": {
- "description": "List of Azure Dev Spaces Controller connection details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ControllerConnectionDetails"
- }
- }
- }
- },
- "ControllerConnectionDetails": {
- "properties": {
- "authKey": {
- "description": "Authentication key for communicating with services.",
- "type": "string",
- "readOnly": true
- },
- "workspaceStorageAccountName": {
- "description": "Workspace storage account name.",
- "type": "string",
- "readOnly": true
- },
- "workspaceStorageSasToken": {
- "description": "Workspace storage account SAS token.",
- "type": "string",
- "readOnly": true
- },
- "orchestratorSpecificConnectionDetails": {
- "$ref": "#/definitions/OrchestratorSpecificConnectionDetails"
- }
- }
- },
- "OrchestratorSpecificConnectionDetails": {
- "description": "Base class for types that supply values used to connect to container orchestrators",
- "properties": {
- "instanceType": {
- "description": "Gets the Instance type.",
- "type": "string",
- "readOnly": true
- }
- },
- "discriminator": "instanceType"
- },
- "TrackedResource": {
- "description": "The resource model definition for a ARM tracked top level resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "tags": {
- "description": "Tags for the Azure resource.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ]
- },
- "location": {
- "description": "Region where the Azure resource is located.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- }
- }
- },
- "ResourceProviderOperationList": {
- "properties": {
- "value": {
- "description": "Resource provider operations list.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ResourceProviderOperationDefinition"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next page for list of Azure operations.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ResourceProviderOperationDefinition": {
- "properties": {
- "name": {
- "description": "Resource provider operation name.",
- "type": "string"
- },
- "display": {
- "$ref": "#/definitions/ResourceProviderOperationDisplay"
- }
- }
- },
- "ResourceProviderOperationDisplay": {
- "properties": {
- "provider": {
- "description": "Name of the resource provider.",
- "type": "string"
- },
- "resource": {
- "description": "Name of the resource type.",
- "type": "string"
- },
- "operation": {
- "description": "Name of the resource provider operation.",
- "type": "string"
- },
- "description": {
- "description": "Description of the resource provider operation.",
- "type": "string"
- }
- }
- },
- "Resource": {
- "description": "An Azure resource.",
- "properties": {
- "id": {
- "description": "Fully qualified resource Id for the resource.",
- "type": "string",
- "readOnly": true
- },
- "name": {
- "description": "The name of the resource.",
- "type": "string",
- "readOnly": true
- },
- "type": {
- "description": "The type of the resource.",
- "type": "string",
- "readOnly": true
- }
- },
- "x-ms-azure-resource": true
- },
- "KubernetesConnectionDetails": {
- "description": "Contains information used to connect to a Kubernetes cluster",
- "allOf": [
- {
- "$ref": "#/definitions/OrchestratorSpecificConnectionDetails"
- }
- ],
- "properties": {
- "kubeConfig": {
- "description": "Gets the kubeconfig for the cluster.",
- "type": "string"
- }
- },
- "x-ms-discriminator-value": "Kubernetes"
- },
- "ErrorResponse": {
- "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorDetails",
- "description": "The details of the error."
- }
- }
- },
- "ErrorDetails": {
- "properties": {
- "code": {
- "description": "Status code for the error.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Error message describing the error in detail.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the particular error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "Azure subscription ID.",
- "required": true,
- "type": "string"
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "Resource group to which the resource belongs.",
- "required": true,
- "type": "string",
- "maxLength": 90,
- "minLength": 1,
- "x-ms-parameter-location": "method"
- },
- "NameParameter": {
- "name": "name",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string",
- "maxLength": 31,
- "minLength": 3,
- "pattern": "^[a-zA-Z0-9](-?[a-zA-Z0-9])*$",
- "x-ms-parameter-location": "method"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "Client API version.",
- "required": true,
- "type": "string"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json
deleted file mode 100644
index 3e2362fca9e3..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "location": "eastus",
- "containerHostMapping": {
- "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- },
- "responses": {
- "200": {
- "body": {
- "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster",
- "mappedControllerResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myController"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json
deleted file mode 100644
index 2a21085465af..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource",
- "controller": {
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "hostSuffix": "suffix",
- "targetContainerHostCredentialsBase64": "QmFzZTY0IEVuY29kZWQgVmFsdWUK",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Creating",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json
deleted file mode 100644
index 187f17b7a0b1..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevSpaces/operationresults/00000000-0000-0000-0000-000000000000"
- }
- },
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json
deleted file mode 100644
index f6deb02784f9..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json
deleted file mode 100644
index 06ec0347ede0..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json
deleted file mode 100644
index 5ef702bf8155..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {
- "body": {
- "connectionDetailsList": [
- {
- "authKey": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "workspaceStorageAccountName": "storageAccount",
- "workspaceStorageSasToken": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "orchestratorSpecificConnectionDetails": {
- "instanceType": "Kubernetes",
- "kubeConfig": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json
deleted file mode 100644
index 7c34aed6946e..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json
deleted file mode 100644
index fe993c75c0c1..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource",
- "controllerUpdateParameters": {
- "tags": {
- "key": "value"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json
deleted file mode 100644
index 62bf3c12dfcd..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json
+++ /dev/null
@@ -1,781 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2019-01-01-preview",
- "title": "DevSpacesManagement",
- "description": "Dev Spaces REST API"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping": {
- "post": {
- "tags": [
- "ContainerHostMappings"
- ],
- "summary": "Returns container host mapping object for a container host resource ID if an associated controller exists.",
- "operationId": "ContainerHostMappings_GetContainerHostMapping",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "containerHostMapping",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ContainerHostMapping"
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "location",
- "in": "path",
- "description": "Location of the container host.",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {}
- }
- },
- "x-ms-examples": {
- "ContainerHostMappingsGetContainerHostMapping": {
- "$ref": "./examples/ContainerHostMappingsGetContainerHostMapping_example.json"
- }
- }
- }
- },
- "/providers/Microsoft.DevSpaces/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "summary": "Lists operations for the resource provider.",
- "description": "Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.",
- "operationId": "Operations_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of operations under Microsoft.DevSpaces resource provider.",
- "schema": {
- "$ref": "#/definitions/ResourceProviderOperationList"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Gets an Azure Dev Spaces Controller.",
- "description": "Gets the properties for an Azure Dev Spaces Controller.",
- "operationId": "Controllers_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the Azure Dev Spaces Controller.",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersGet": {
- "$ref": "./examples/ControllersGet_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "Controllers"
- ],
- "summary": "Creates an Azure Dev Spaces Controller.",
- "description": "Creates an Azure Dev Spaces Controller with the specified create parameters.",
- "operationId": "Controllers_Create",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- },
- {
- "name": "controller",
- "in": "body",
- "description": "Controller create parameters.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the created Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "201": {
- "description": "The request was successful; Azure Dev Spaces Controller is being created.",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more creation parameters are invalid.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersCreate": {
- "$ref": "./examples/ControllersCreate_example.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Controllers"
- ],
- "summary": "Deletes an Azure Dev Spaces Controller.",
- "description": "Deletes an existing Azure Dev Spaces Controller.",
- "operationId": "Controllers_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the Azure Dev Spaces Controller is deleted."
- },
- "202": {
- "description": "The request was successful; Azure Dev Spaces Controller is being deleted."
- },
- "204": {
- "description": "The request was successful; Azure Dev Spaces Controller does not exist."
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 409 - Conflict(Azure Dev Spaces Controller is already getting deleted.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersDelete": {
- "$ref": "./examples/ControllersDelete_example.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "Controllers"
- ],
- "summary": "Updates an Azure Dev Spaces Controller.",
- "description": "Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.",
- "operationId": "Controllers_Update",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- },
- {
- "name": "controllerUpdateParameters",
- "in": "body",
- "description": "Parameters for updating the Azure Dev Spaces Controller.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ControllerUpdateParameters"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the updated Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more update parameters are invalid.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersUpdate": {
- "$ref": "./examples/ControllersUpdate_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists the Azure Dev Spaces Controllers in a resource group.",
- "description": "Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.",
- "operationId": "Controllers_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the resource group.",
- "schema": {
- "$ref": "#/definitions/ControllerList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersListByResourceGroup": {
- "$ref": "./examples/ControllersListByResourceGroup_example.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists the Azure Dev Spaces Controllers in a subscription.",
- "description": "Lists all the Azure Dev Spaces Controllers with their properties in the subscription.",
- "operationId": "Controllers_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the subscription.",
- "schema": {
- "$ref": "#/definitions/ControllerList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersList": {
- "$ref": "./examples/ControllersList_example.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails": {
- "post": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists connection details for an Azure Dev Spaces Controller.",
- "description": "Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.",
- "operationId": "Controllers_ListConnectionDetails",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of connection details for the Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/ControllerConnectionDetailsList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersListConnectionDetails": {
- "$ref": "./examples/ControllersListConnectionDetails_example.json"
- }
- }
- }
- }
- },
- "definitions": {
- "ContainerHostMapping": {
- "description": "Container host mapping object specifying the Container host resource ID and its associated Controller resource.",
- "properties": {
- "containerHostResourceId": {
- "description": "ARM ID of the Container Host resource",
- "type": "string"
- },
- "mappedControllerResourceId": {
- "description": "ARM ID of the mapped Controller resource",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "TrackedResource": {
- "description": "The resource model definition for a ARM tracked top level resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "tags": {
- "description": "Tags for the Azure resource.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ]
- },
- "location": {
- "description": "Region where the Azure resource is located.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- }
- }
- },
- "ResourceProviderOperationList": {
- "properties": {
- "value": {
- "description": "Resource provider operations list.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ResourceProviderOperationDefinition"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next page for list of Azure operations.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ResourceProviderOperationDefinition": {
- "properties": {
- "name": {
- "description": "Resource provider operation name.",
- "type": "string"
- },
- "display": {
- "$ref": "#/definitions/ResourceProviderOperationDisplay"
- }
- }
- },
- "ResourceProviderOperationDisplay": {
- "properties": {
- "provider": {
- "description": "Name of the resource provider.",
- "type": "string"
- },
- "resource": {
- "description": "Name of the resource type.",
- "type": "string"
- },
- "operation": {
- "description": "Name of the resource provider operation.",
- "type": "string"
- },
- "description": {
- "description": "Description of the resource provider operation.",
- "type": "string"
- }
- }
- },
- "Controller": {
- "required": [
- "properties",
- "sku",
- "location"
- ],
- "allOf": [
- {
- "$ref": "#/definitions/TrackedResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/ControllerProperties",
- "x-ms-client-flatten": true
- },
- "sku": {
- "$ref": "#/definitions/Sku"
- }
- }
- },
- "ControllerProperties": {
- "required": [
- "targetContainerHostResourceId",
- "targetContainerHostCredentialsBase64"
- ],
- "properties": {
- "provisioningState": {
- "description": "Provisioning state of the Azure Dev Spaces Controller.",
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled",
- "Updating",
- "Creating",
- "Deleting",
- "Deleted"
- ],
- "type": "string",
- "readOnly": true,
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true
- }
- },
- "hostSuffix": {
- "description": "DNS suffix for public endpoints running in the Azure Dev Spaces Controller.",
- "type": "string",
- "readOnly": true
- },
- "dataPlaneFqdn": {
- "description": "DNS name for accessing DataPlane services",
- "type": "string",
- "readOnly": true
- },
- "targetContainerHostResourceId": {
- "description": "Resource ID of the target container host",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "targetContainerHostCredentialsBase64": {
- "description": "Credentials of the target container host (base64).",
- "type": "string",
- "x-ms-mutability": [
- "create"
- ]
- }
- }
- },
- "Sku": {
- "description": "Model representing SKU for Azure Dev Spaces Controller.",
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "description": "The name of the SKU for Azure Dev Spaces Controller.",
- "enum": [
- "S1"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SkuName",
- "modelAsString": true
- }
- },
- "tier": {
- "description": "The tier of the SKU for Azure Dev Spaces Controller.",
- "enum": [
- "Standard"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": true
- }
- }
- }
- },
- "ControllerUpdateParameters": {
- "description": "Parameters for updating an Azure Dev Spaces Controller.",
- "properties": {
- "tags": {
- "description": "Tags for the Azure Dev Spaces Controller.",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "ControllerList": {
- "properties": {
- "value": {
- "description": "List of Azure Dev Spaces Controllers.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Controller"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ControllerConnectionDetailsList": {
- "properties": {
- "connectionDetailsList": {
- "description": "List of Azure Dev Spaces Controller connection details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ControllerConnectionDetails"
- }
- }
- }
- },
- "ControllerConnectionDetails": {
- "properties": {
- "authKey": {
- "description": "Authentication key for communicating with services.",
- "type": "string",
- "readOnly": true
- },
- "orchestratorSpecificConnectionDetails": {
- "$ref": "#/definitions/OrchestratorSpecificConnectionDetails"
- }
- }
- },
- "OrchestratorSpecificConnectionDetails": {
- "description": "Base class for types that supply values used to connect to container orchestrators",
- "properties": {
- "instanceType": {
- "description": "Gets the Instance type.",
- "type": "string",
- "readOnly": true
- }
- },
- "discriminator": "instanceType"
- },
- "Resource": {
- "description": "An Azure resource.",
- "properties": {
- "id": {
- "description": "Fully qualified resource Id for the resource.",
- "type": "string",
- "readOnly": true
- },
- "name": {
- "description": "The name of the resource.",
- "type": "string",
- "readOnly": true
- },
- "type": {
- "description": "The type of the resource.",
- "type": "string",
- "readOnly": true
- }
- },
- "x-ms-azure-resource": true
- },
- "KubernetesConnectionDetails": {
- "description": "Contains information used to connect to a Kubernetes cluster",
- "allOf": [
- {
- "$ref": "#/definitions/OrchestratorSpecificConnectionDetails"
- }
- ],
- "properties": {
- "kubeConfig": {
- "description": "Gets the kubeconfig for the cluster.",
- "type": "string"
- }
- },
- "x-ms-discriminator-value": "Kubernetes"
- },
- "ErrorResponse": {
- "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorDetails",
- "description": "The details of the error."
- }
- }
- },
- "ErrorDetails": {
- "properties": {
- "code": {
- "description": "Status code for the error.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Error message describing the error in detail.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the particular error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "Azure subscription ID.",
- "required": true,
- "type": "string"
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "Resource group to which the resource belongs.",
- "required": true,
- "type": "string",
- "maxLength": 90,
- "minLength": 1,
- "x-ms-parameter-location": "method"
- },
- "NameParameter": {
- "name": "name",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string",
- "maxLength": 31,
- "minLength": 3,
- "pattern": "^[a-zA-Z0-9](-?[a-zA-Z0-9])*$",
- "x-ms-parameter-location": "method"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "Client API version.",
- "required": true,
- "type": "string"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- }
- }
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json
deleted file mode 100644
index bb20aa6343b2..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "location": "eastus",
- "containerHostMapping": {
- "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- },
- "responses": {
- "200": {
- "body": {
- "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster",
- "mappedControllerResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myController"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json
deleted file mode 100644
index b9643c53efe2..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource",
- "controller": {
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "targetContainerHostCredentialsBase64": "QmFzZTY0IEVuY29kZWQgVmFsdWUK",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Creating",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json
deleted file mode 100644
index a06c752386a4..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevSpaces/operationresults/00000000-0000-0000-0000-000000000000"
- }
- },
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json
deleted file mode 100644
index adad206304c5..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json
deleted file mode 100644
index 5d4bae4c29ec..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json
deleted file mode 100644
index 101851f45cf7..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {
- "body": {
- "connectionDetailsList": [
- {
- "authKey": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "orchestratorSpecificConnectionDetails": {
- "instanceType": "Kubernetes",
- "kubeConfig": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json
deleted file mode 100644
index 799d2f698fa7..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json
deleted file mode 100644
index 8f561a62b5b0..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource",
- "controllerUpdateParameters": {
- "tags": {
- "key": "value"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json
index 863695c58195..df71ae6c0d71 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json
@@ -823,4 +823,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json
index d1ad350387fc..22f5e4d83555 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ContainerHostMappingsGetContainerHostMapping_example.json
@@ -17,4 +17,4 @@
},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json
index 7af23923f0cc..34e94e7497a7 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersCreate_example.json
@@ -54,4 +54,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json
index 3bb5b1c6084d..9ecbab472aa2 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersDelete_example.json
@@ -14,4 +14,4 @@
},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json
index 205faf622813..f4a48472b31a 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersGet_example.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json
index 57b926301168..fdbddaaa8eb7 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListByResourceGroup_example.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json
index a4e8b88ac491..a131e3368bb6 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersListConnectionDetails_example.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json
index f7160d7490ee..b9cf7143c638 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersList_example.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json
index 8f4b0dc31b65..1f192b025a37 100644
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json
+++ b/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/examples/ControllersUpdate_example.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/devspaces/resource-manager/readme.go.md b/specification/devspaces/resource-manager/readme.go.md
index d6f9bb313f0e..3bf8fa8f5bbb 100644
--- a/specification/devspaces/resource-manager/readme.go.md
+++ b/specification/devspaces/resource-manager/readme.go.md
@@ -14,33 +14,13 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2019-04-01
- - tag: package-2019-01-01-preview
- - tag: package-2018-06-01-preview
```
-### Tag: package-2019-01-01-preview and go
+### Tag: package-2019-04-01 and go
These settings apply only when `--tag=package-2019-04-01 --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
``` yaml $(tag) == 'package-2019-04-01' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-04-01/$(namespace)
-```
-
-### Tag: package-2019-01-01-preview and go
-
-These settings apply only when `--tag=package-2019-01-01-preview --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2019-01-01-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-01-01-preview/$(namespace)
-```
-
-### Tag: package-2018-06-01-preview and go
-
-These settings apply only when `--tag=package-2018-06-01-preview --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2018-06-01-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-06-01-preview/$(namespace)
```
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md
index efcef02e7bc7..6192fbdd683f 100644
--- a/specification/devspaces/resource-manager/readme.md
+++ b/specification/devspaces/resource-manager/readme.md
@@ -39,24 +39,6 @@ input-file:
- Microsoft.DevSpaces/stable/2019-04-01/devspaces.json
```
-### Tag: package-2019-01-01-preview
-
-These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line.
-
-``` yaml $(tag) == 'package-2019-01-01-preview'
-input-file:
-- Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json
-```
-
-### Tag: package-2018-06-01-preview
-
-These settings apply only when `--tag=package-2018-06-01-preview` is specified on the command line.
-
-``` yaml $(tag) == 'package-2018-06-01-preview'
-input-file:
-- Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json
-```
-
---
# Code Generation
@@ -112,32 +94,18 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devspaces
``` yaml $(java) && $(multiapi)
batch:
- - tag: package-2018-06-01-preview
- - tag: package-2019-01-01-preview
-```
-
-### Tag: package-2018-06-01-preview and java
-
-These settings apply only when `--tag=2018-06-01-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag)=='package-2018-06-01-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.devspaces.v2018_06_01_preview
- output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2018_06_01_preview
-regenerate-manager: true
-generate-interface: true
+ - tag: package-2019-04-01
```
-### Tag: package-2019-01-01-preview and java
+### Tag: package-2019-04-01-preview and java
-These settings apply only when `--tag=2019-01-01-preview --java` is specified on the command line.
+These settings apply only when `--tag=2019-04-01 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=`.
-``` yaml $(tag)=='package-2019-01-01-preview' && $(java) && $(multiapi)
+``` yaml $(tag)=='package-2019-04-01' && $(java) && $(multiapi)
java:
- namespace: com.microsoft.azure.management.devspaces.v2019_01_01_preview
- output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2019_01_01_preview
+ namespace: com.microsoft.azure.management.devspaces.v2019_04_01
+ output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2019_04_01
regenerate-manager: true
generate-interface: true
```
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json
index 0f95e1b0fca3..74d5b0ed98f2 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json
@@ -61,21 +61,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -83,7 +80,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -171,21 +167,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -193,7 +186,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -238,21 +230,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -260,7 +249,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -317,21 +305,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=displayName)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -339,7 +324,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -398,21 +382,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=displayName)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -420,7 +401,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -478,7 +458,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the azure Resource Manager template.",
+ "description": "The name of the azure resource manager template.",
"required": true,
"type": "string"
},
@@ -486,7 +466,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=displayName)'",
- "required": false,
"type": "string"
},
{
@@ -541,21 +520,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=title)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -563,7 +539,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -629,7 +604,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=title)'",
- "required": false,
"type": "string"
},
{
@@ -748,7 +722,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=displayName)'",
- "required": false,
"type": "string"
},
{
@@ -881,7 +854,7 @@
"tags": [
"ArtifactSources"
],
- "description": "Modify properties of artifact sources.",
+ "description": "Allows modifying tags of artifact sources. All other properties will be ignored.",
"operationId": "ArtifactSources_Update",
"parameters": [
{
@@ -965,7 +938,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=labCostDetails)'",
- "required": false,
"type": "string"
},
{
@@ -1074,21 +1046,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=vm)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -1096,7 +1065,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -1155,7 +1123,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=vm)'",
- "required": false,
"type": "string"
},
{
@@ -1293,7 +1260,7 @@
"tags": [
"CustomImages"
],
- "description": "Modify properties of custom images.",
+ "description": "Allows modifying tags of custom images. All other properties will be ignored.",
"operationId": "CustomImages_Update",
"parameters": [
{
@@ -1370,21 +1337,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=description)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -1392,7 +1356,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -1451,7 +1414,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=description)'",
- "required": false,
"type": "string"
},
{
@@ -1477,7 +1439,7 @@
"tags": [
"Formulas"
],
- "description": "Create or replace an existing Formula. This operation can take a while to complete.",
+ "description": "Create or replace an existing formula. This operation can take a while to complete.",
"operationId": "Formulas_CreateOrUpdate",
"parameters": [
{
@@ -1585,7 +1547,7 @@
"tags": [
"Formulas"
],
- "description": "Modify properties of formulas.",
+ "description": "Allows modifying tags of formulas. All other properties will be ignored.",
"operationId": "Formulas_Update",
"parameters": [
{
@@ -1662,21 +1624,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=author)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -1684,7 +1643,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -1736,21 +1694,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=webHookUrl)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -1758,7 +1713,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -1809,7 +1763,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -1817,7 +1771,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=webHookUrl)'",
- "required": false,
"type": "string"
},
{
@@ -1843,7 +1796,7 @@
"tags": [
"NotificationChannels"
],
- "description": "Create or replace an existing notificationChannel.",
+ "description": "Create or replace an existing notification channel.",
"operationId": "NotificationChannels_CreateOrUpdate",
"parameters": [
{
@@ -1862,7 +1815,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -1923,7 +1876,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -1950,7 +1903,7 @@
"tags": [
"NotificationChannels"
],
- "description": "Modify properties of notification channels.",
+ "description": "Allows modifying tags of notification channels. All other properties will be ignored.",
"operationId": "NotificationChannels_Update",
"parameters": [
{
@@ -1969,7 +1922,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -2026,7 +1979,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -2145,21 +2098,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=description)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -2167,7 +2117,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -2233,7 +2182,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=description)'",
- "required": false,
"type": "string"
},
{
@@ -2380,7 +2328,7 @@
"tags": [
"Policies"
],
- "description": "Modify properties of policies.",
+ "description": "Allows modifying tags of policies. All other properties will be ignored.",
"operationId": "Policies_Update",
"parameters": [
{
@@ -2464,21 +2412,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -2486,7 +2431,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -2545,7 +2489,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
@@ -2678,7 +2621,7 @@
"tags": [
"Schedules"
],
- "description": "Modify properties of schedules.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"operationId": "Schedules_Update",
"parameters": [
{
@@ -2830,73 +2773,6 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners": {
- "get": {
- "tags": [
- "ServiceRunners"
- ],
- "description": "List service runners in a given lab.",
- "operationId": "ServiceRunners_List",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupName"
- },
- {
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "$filter",
- "in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
- "type": "string"
- },
- {
- "name": "$top",
- "in": "query",
- "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "$orderby",
- "in": "query",
- "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServiceRunnerList"
- }
- },
- "default": {
- "description": "BadRequest",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/ServiceRunner"
- }
- },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}": {
"get": {
"tags": [
@@ -2948,7 +2824,7 @@
"tags": [
"ServiceRunners"
],
- "description": "Create or replace an existing Service runner.",
+ "description": "Create or replace an existing service runner.",
"operationId": "ServiceRunners_CreateOrUpdate",
"parameters": [
{
@@ -3077,21 +2953,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=identity)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -3099,7 +2972,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -3158,7 +3030,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=identity)'",
- "required": false,
"type": "string"
},
{
@@ -3296,7 +3167,7 @@
"tags": [
"Users"
],
- "description": "Modify properties of user profiles.",
+ "description": "Allows modifying tags of user profiles. All other properties will be ignored.",
"operationId": "Users_Update",
"parameters": [
{
@@ -3380,21 +3251,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=diskType)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -3402,7 +3270,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -3468,7 +3335,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=diskType)'",
- "required": false,
"type": "string"
},
{
@@ -3620,7 +3486,7 @@
"tags": [
"Disks"
],
- "description": "Modify properties of disks.",
+ "description": "Allows modifying tags of disks. All other properties will be ignored.",
"operationId": "Disks_Update",
"parameters": [
{
@@ -3841,21 +3707,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -3863,7 +3726,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -3929,7 +3791,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
- "required": false,
"type": "string"
},
{
@@ -4081,7 +3942,7 @@
"tags": [
"Environments"
],
- "description": "Modify properties of environments.",
+ "description": "Allows modifying tags of environments. All other properties will be ignored.",
"operationId": "Environments_Update",
"parameters": [
{
@@ -4172,21 +4033,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=value)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -4194,7 +4052,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -4260,7 +4117,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=value)'",
- "required": false,
"type": "string"
},
{
@@ -4408,7 +4264,7 @@
"tags": [
"Secrets"
],
- "description": "Modify properties of secrets.",
+ "description": "Allows modifying tags of secrets. All other properties will be ignored.",
"operationId": "Secrets_Update",
"parameters": [
{
@@ -4499,21 +4355,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -4521,7 +4374,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -4579,7 +4431,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4587,7 +4439,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
- "required": false,
"type": "string"
},
{
@@ -4613,7 +4464,7 @@
"tags": [
"ServiceFabrics"
],
- "description": "Create or replace an existing Service Fabric. This operation can take a while to complete.",
+ "description": "Create or replace an existing service fabric. This operation can take a while to complete.",
"operationId": "ServiceFabrics_CreateOrUpdate",
"parameters": [
{
@@ -4639,7 +4490,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4708,7 +4559,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4739,7 +4590,7 @@
"tags": [
"ServiceFabrics"
],
- "description": "Modify properties of service fabrics.",
+ "description": "Allows modifying tags of service fabrics. All other properties will be ignored.",
"operationId": "ServiceFabrics_Update",
"parameters": [
{
@@ -4765,7 +4616,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4829,7 +4680,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4884,7 +4735,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4940,7 +4791,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4996,7 +4847,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5004,21 +4855,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -5026,7 +4874,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -5084,7 +4931,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5099,7 +4946,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
@@ -5151,7 +4997,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5226,7 +5072,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5260,7 +5106,7 @@
"tags": [
"ServiceFabricSchedules"
],
- "description": "Modify properties of schedules.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"operationId": "ServiceFabricSchedules_Update",
"parameters": [
{
@@ -5286,7 +5132,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5357,7 +5203,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5414,21 +5260,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -5436,7 +5279,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -5500,7 +5342,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
- "required": false,
"type": "string"
},
{
@@ -5531,7 +5372,7 @@
"tags": [
"VirtualMachines"
],
- "description": "Create or replace an existing Virtual machine. This operation can take a while to complete.",
+ "description": "Create or replace an existing virtual machine. This operation can take a while to complete.",
"operationId": "VirtualMachines_CreateOrUpdate",
"parameters": [
{
@@ -5653,7 +5494,7 @@
"tags": [
"VirtualMachines"
],
- "description": "Modify properties of virtual machines.",
+ "description": "Allows modifying tags of virtual machines. All other properties will be ignored.",
"operationId": "VirtualMachines_Update",
"parameters": [
{
@@ -6453,21 +6294,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -6475,7 +6313,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -6541,7 +6378,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
@@ -6688,7 +6524,7 @@
"tags": [
"VirtualMachineSchedules"
],
- "description": "Modify properties of schedules.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"operationId": "VirtualMachineSchedules_Update",
"parameters": [
{
@@ -6828,21 +6664,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -6850,7 +6683,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -6914,7 +6746,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
- "required": false,
"type": "string"
},
{
@@ -7067,7 +6898,7 @@
"tags": [
"VirtualNetworks"
],
- "description": "Modify properties of virtual networks.",
+ "description": "Allows modifying tags of virtual networks. All other properties will be ignored.",
"operationId": "VirtualNetworks_Update",
"parameters": [
{
@@ -7149,7 +6980,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
- "required": false,
"type": "string"
},
{
@@ -7288,7 +7118,7 @@
"tags": [
"Labs"
],
- "description": "Modify properties of labs.",
+ "description": "Allows modifying tags of labs. All other properties will be ignored.",
"operationId": "Labs_Update",
"parameters": [
{
@@ -7660,21 +7490,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -7682,7 +7509,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -7734,7 +7560,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
@@ -7853,7 +7678,7 @@
"tags": [
"GlobalSchedules"
],
- "description": "Modify properties of schedules.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"operationId": "GlobalSchedules_Update",
"parameters": [
{
@@ -8616,7 +8441,7 @@
"properties": {
"diskSizeGiB": {
"format": "int32",
- "description": "Size of the disk to be attached in Gibibytes.",
+ "description": "Size of the disk to be attached in GibiBytes.",
"type": "integer"
},
"diskName": {
@@ -8627,7 +8452,8 @@
"description": "The storage type for the disk (i.e. Standard, Premium).",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -8643,7 +8469,7 @@
"properties": {
"diskSizeGiB": {
"format": "int32",
- "description": "Size of the disk to be attached in Gibibytes.",
+ "description": "Size of the disk to be attached in GibiBytes.",
"type": "integer"
},
"diskName": {
@@ -8654,7 +8480,8 @@
"description": "The storage type for the disk (i.e. Standard, Premium).",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9286,7 +9113,8 @@
"description": "Disk Storage Type",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9308,7 +9136,8 @@
"description": "Disk Storage Type",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9418,7 +9247,8 @@
"description": "The storage type for the disk (i.e. Standard, Premium).",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9428,7 +9258,7 @@
},
"diskSizeGiB": {
"format": "int32",
- "description": "The size of the disk in Gibibytes.",
+ "description": "The size of the disk in GibiBytes.",
"type": "integer"
},
"leasedByLabVmId": {
@@ -9477,7 +9307,8 @@
"description": "The storage type for the disk (i.e. Standard, Premium).",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9487,7 +9318,7 @@
},
"diskSizeGiB": {
"format": "int32",
- "description": "The size of the disk in Gibibytes.",
+ "description": "The size of the disk in GibiBytes.",
"type": "integer"
},
"leasedByLabVmId": {
@@ -10489,7 +10320,8 @@
"description": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -10550,7 +10382,7 @@
"description": "The properties of any lab support message associated with this lab"
},
"vmCreationResourceGroup": {
- "description": "The resource group in which lab virtual machines will be created in.",
+ "description": "The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.",
"type": "string",
"readOnly": true
},
@@ -10596,7 +10428,8 @@
"description": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -10965,7 +10798,8 @@
"description": "Tells source of creation of lab virtual machine. Output property only.",
"enum": [
"FromCustomImage",
- "FromGalleryImage"
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
],
"type": "string",
"x-ms-enum": {
@@ -11118,7 +10952,8 @@
"description": "Tells source of creation of lab virtual machine. Output property only.",
"enum": [
"FromCustomImage",
- "FromGalleryImage"
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
],
"type": "string",
"x-ms-enum": {
@@ -11310,7 +11145,8 @@
"description": "Tells source of creation of lab virtual machine. Output property only.",
"enum": [
"FromCustomImage",
- "FromGalleryImage"
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
],
"type": "string",
"x-ms-enum": {
@@ -11469,7 +11305,8 @@
"description": "Tells source of creation of lab virtual machine. Output property only.",
"enum": [
"FromCustomImage",
- "FromGalleryImage"
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
],
"type": "string",
"x-ms-enum": {
@@ -12846,23 +12683,6 @@
}
}
},
- "ServiceRunnerList": {
- "description": "The response of a list operation.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Results of the list operation.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ServiceRunner"
- }
- },
- "nextLink": {
- "description": "Link for next set of results.",
- "type": "string"
- }
- }
- },
"SharedPublicIpAddressConfiguration": {
"description": "Properties of a virtual machine that determine how it is connected to a load balancer.",
"type": "object",
@@ -13598,13 +13418,13 @@
},
"securityDefinitions": {
"azure_auth": {
- "type": "oauth2",
- "description": "OAuth2 Implicit Grant",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "Access Microsoft Azure"
- }
+ },
+ "type": "oauth2",
+ "description": "OAuth2 Implicit Grant"
}
},
"security": [
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json
index 09ad003c2b9f..5a656e392f58 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json
@@ -7,11 +7,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json
index df19c66124ae..9ade4318f1ef 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json
@@ -31,11 +31,7 @@
}
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json
index 77e16cc7eada..6b4b5a2a48f4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json
@@ -6,14 +6,8 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json
index a224814ddf06..3f7db707c177 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json
@@ -7,11 +7,7 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json
index 434631786d71..a1aafb6bfe79 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json
@@ -7,14 +7,8 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json
index d072ba194309..a8bfaf2ad517 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json
@@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json
index ba1e766ac5b5..754ec9a5df56 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json
@@ -11,11 +11,7 @@
}
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json
index d072ba194309..a8bfaf2ad517 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json
@@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json
index d072ba194309..a8bfaf2ad517 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json
@@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json
index a224814ddf06..3f7db707c177 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json
@@ -7,11 +7,7 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json
index d072ba194309..a8bfaf2ad517 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json
@@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json
index 267520b2dc4e..81e4b24e8741 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json
@@ -7,14 +7,8 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/readme.java.md b/specification/devtestlabs/resource-manager/readme.java.md
new file mode 100644
index 000000000000..353933d0fcb5
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/readme.java.md
@@ -0,0 +1,62 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.devtestlabs
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devtestlabs
+service-name: DevTestLabs
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-09
+ - tag: package-2016-05
+ - tag: package-2015-05-preview
+```
+
+### Tag: package-2018-09 and java
+
+These settings apply only when `--tag=package-2018-09 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.devtestlabs.v2018_09_15
+ output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2018_09_15
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2016-05 and java
+
+These settings apply only when `--tag=package-2016-05 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.devtestlabs.v2016_05_15
+ output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2016_05_15
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2015-05-preview and java
+
+These settings apply only when `--tag=package-2015-05-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2015-05-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.devtestlabs.v2015_05_21_preview
+ output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2015_05_21_preview
+regenerate-manager: true
+generate-interface: true
+```
diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md
index 929dab3a3ae8..a0e44fa1e35d 100644
--- a/specification/devtestlabs/resource-manager/readme.md
+++ b/specification/devtestlabs/resource-manager/readme.md
@@ -127,64 +127,4 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.devtestlabs
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devtestlabs
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-09
- - tag: package-2016-05
- - tag: package-2015-05-preview
-```
-
-### Tag: package-2018-09 and java
-
-These settings apply only when `--tag=package-2018-09 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.devtestlab.v2018_09_15
- output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2018_09_15
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2016-05 and java
-
-These settings apply only when `--tag=package-2016-05 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.devtestlab.v2016_05_15
- output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2016_05_15
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2015-05-preview and java
-
-These settings apply only when `--tag=package-2015-05-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2015-05-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.devtestlab.v2015_05_21_preview
- output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2015_05_21_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-
+See configuration in [readme.java.md](./readme.java.md)
\ No newline at end of file
diff --git a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
index 0d2582a667dc..b84735e9dc70 100644
--- a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
+++ b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
@@ -16,7 +16,7 @@
"format": "date-time",
"type": "string"
},
- "hub": {
+ "hubName": {
"description": "The hub of connected client connection.",
"type": "string"
},
@@ -39,7 +39,7 @@
"format": "date-time",
"type": "string"
},
- "hub": {
+ "hubName": {
"description": "The hub of connected client connection.",
"type": "string"
},
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterDelete.json
index 7ba2aa0baf20..455a9036a4d5 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterDelete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "clusterName": "testCluster",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-01-01-preview",
- "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
+ "parameters": {
+ "clusterName": "testCluster",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-01-01-preview",
+ "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json
index 2a257820d9cb..decf1dc12a9f 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterGet.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json
index 4539946ee5aa..49d40843e81d 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPatch.json
@@ -4,57 +4,57 @@
"resourceGroupName": "myResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
- "parameters":{
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- }
- }
+ "parameters": {
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ }
+ }
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
- "name": "testCluster",
- "type": "Microsoft.EventHub/Clusters",
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
+ "name": "testCluster",
+ "type": "Microsoft.EventHub/Clusters",
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ },
"sku": {
"name": "Dedicated",
"capacity": 4
},
- "properties": {
- "created": "2017-06-01T21:37:04.46Z",
- "updated": "2017-06-01T21:37:53.413Z",
- "metricId": "SN6-008"
- }
- }
+ "properties": {
+ "created": "2017-06-01T21:37:04.46Z",
+ "updated": "2017-06-01T21:37:53.413Z",
+ "metricId": "SN6-008"
+ }
+ }
},
"201": {
"body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
- "name": "testCluster",
- "type": "Microsoft.EventHub/Clusters",
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
+ "name": "testCluster",
+ "type": "Microsoft.EventHub/Clusters",
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ },
"sku": {
"name": "Dedicated",
"capacity": 4
},
- "properties": {
- "created": "2017-06-01T21:37:04.46Z",
- "updated": "2017-06-01T21:37:53.413Z",
- "metricId": "SN6-008"
- }
- }
+ "properties": {
+ "created": "2017-06-01T21:37:04.46Z",
+ "updated": "2017-06-01T21:37:53.413Z",
+ "metricId": "SN6-008"
+ }
+ }
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPut.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPut.json
index d71150f6dfbc..47d7194db72e 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPut.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterPut.json
@@ -1,64 +1,64 @@
{
+ "parameters": {
+ "clusterName": "testCluster",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-01-01-preview",
+ "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"parameters": {
- "clusterName": "testCluster",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-01-01-preview",
- "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
- "parameters": {
- "sku": {
- "tier": "Dedicated",
- "capacity": 1
- },
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- }
+ "sku": {
+ "tier": "Dedicated",
+ "capacity": 1
+ },
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
+ "name": "testCluster",
+ "type": "Microsoft.EventHub/Clusters",
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "sku": {
+ "name": "Dedicated",
+ "capacity": 1
+ },
+ "properties": {
+ "created": "2017-05-24T23:23:27.877Z",
+ "updated": "2017-05-24T23:23:27.877Z",
+ "metricId": "SN6-008"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
- "name": "testCluster",
- "type": "Microsoft.EventHub/Clusters",
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- },
- "sku": {
- "name": "Dedicated",
- "capacity": 1
- },
- "properties": {
- "created": "2017-05-24T23:23:27.877Z",
- "updated": "2017-05-24T23:23:27.877Z",
- "metricId": "SN6-008"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
+ "name": "testCluster",
+ "type": "Microsoft.EventHub/Clusters",
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
},
- "201": {
- "body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/myResourceGroup/providers/Microsoft.EventHub/clusters/testCluster",
- "name": "testCluster",
- "type": "Microsoft.EventHub/Clusters",
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- },
- "sku": {
- "name": "Dedicated",
- "capacity": 1
- },
- "properties": {
- "created": "2017-05-24T23:23:27.877Z",
- "updated": "2017-05-24T23:23:27.877Z",
- "metricId": "SN6-008"
- }
- }
+ "sku": {
+ "name": "Dedicated",
+ "capacity": 1
},
- "202" : {}
- }
+ "properties": {
+ "created": "2017-05-24T23:23:27.877Z",
+ "updated": "2017-05-24T23:23:27.877Z",
+ "metricId": "SN6-008"
+ }
+ }
+ },
+ "202": {}
+ }
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json
index c5ea73433060..8139d5613de8 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationGet.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "clusterName": "testCluster",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-01-01-preview",
- "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
- },
- "responses": {
- "200": {
- "body": {
- "settings": {
- "namespaces-per-cluster-quota": "200",
- "eventhub-per-namespace-quota": "20"
- }
- }
+ "parameters": {
+ "clusterName": "testCluster",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-01-01-preview",
+ "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "settings": {
+ "namespaces-per-cluster-quota": "200",
+ "eventhub-per-namespace-quota": "20"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json
index d214e8c44414..3f4b9d4ba1f9 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClusterQuotaConfigurationPatch.json
@@ -30,4 +30,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json
index c4a2b3c1c9a9..8f80c72ed5c0 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListByResourceGroup.json
@@ -1,31 +1,31 @@
{
- "parameters": {
- "api-version": "2017-04-01",
- "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
- "resourceGroupName": "myResourceGroup"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster",
- "name": "testCluster",
- "type": "Microsoft.EventHub/Clusters",
- "location": "South Central US",
- "tags": {},
- "sku": {
- "name": "Dedicated",
- "capacity": 4
- },
- "properties": {
- "created": "2016-09-13T23:17:25.24Z",
- "updated": "2016-09-13T23:17:28.223Z",
- "metricId": "SN6-008"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2017-04-01",
+ "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
+ "resourceGroupName": "myResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster",
+ "name": "testCluster",
+ "type": "Microsoft.EventHub/Clusters",
+ "location": "South Central US",
+ "tags": {},
+ "sku": {
+ "name": "Dedicated",
+ "capacity": 4
+ },
+ "properties": {
+ "created": "2016-09-13T23:17:25.24Z",
+ "updated": "2016-09-13T23:17:28.223Z",
+ "metricId": "SN6-008"
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json
index b88ab50c0324..4d4e78b47ed5 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ClustersListBySubscription.json
@@ -1,30 +1,30 @@
{
- "parameters": {
- "api-version": "2018-01-01-preview",
- "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster",
- "name": "testCluster",
- "type": "Microsoft.EventHub/Clusters",
- "location": "South Central US",
- "tags": {},
- "sku": {
- "name": "Dedicated",
- "capacity": 4
- },
- "properties": {
- "created": "2016-09-13T23:17:25.24Z",
- "updated": "2016-09-13T23:17:28.223Z",
- "metricId": "SN6-008"
- }
- }
- ]
+ "parameters": {
+ "api-version": "2018-01-01-preview",
+ "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/clusters/testCluster",
+ "name": "testCluster",
+ "type": "Microsoft.EventHub/Clusters",
+ "location": "South Central US",
+ "tags": {},
+ "sku": {
+ "name": "Dedicated",
+ "capacity": 4
+ },
+ "properties": {
+ "created": "2016-09-13T23:17:25.24Z",
+ "updated": "2016-09-13T23:17:28.223Z",
+ "metricId": "SN6-008"
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListAvailableClustersGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListAvailableClustersGet.json
index 891fca989139..479ccfee5b6e 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListAvailableClustersGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListAvailableClustersGet.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "api-version": "2018-01-01-preview",
- "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "location": "westus"
- },
- {
- "location": "eastus"
- }
- ]
- }
- }
+ "parameters": {
+ "api-version": "2018-01-01-preview",
+ "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "westus"
+ },
+ {
+ "location": "eastus"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListNamespacesInClusterGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListNamespacesInClusterGet.json
index 8d78ebd0cf63..309fe95a493a 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListNamespacesInClusterGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Clusters/ListNamespacesInClusterGet.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "clusterName": "testCluster",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-01-01-preview",
- "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ns1"
- },
- {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns2-int7"
- },
- {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/db3-rrama-foo1"
- }
- ]
- }
- }
+ "parameters": {
+ "clusterName": "testCluster",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-01-01-preview",
+ "subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-int7-ns1"
+ },
+ {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-EventHub-SouthCentralUS/providers/Microsoft.EventHub/namespaces/rrama-ehns2-int7"
+ },
+ {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/Default-ServiceBus-SouthCentralUS/providers/Microsoft.EventHub/namespaces/db3-rrama-foo1"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json
index 3c2e7ebd7e50..9b5d1193e4b5 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceCreate.json
@@ -42,33 +42,33 @@
"serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
}
}
- },
- "201": {
- "body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
- "name": "sdk-Namespace-5849",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Created",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
- "createdAt": "2017-05-24T23:23:27.877Z",
- "updatedAt": "2017-05-24T23:23:27.877Z",
- "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
- }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
+ "name": "sdk-Namespace-5849",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Created",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
+ "createdAt": "2017-05-24T23:23:27.877Z",
+ "updatedAt": "2017-05-24T23:23:27.877Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
}
- },
- "202": {}
+ }
+ },
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json
index b8b3ad3635e0..b697874b2418 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json
index fc61c3002d2f..7a662298808e 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceGet.json
@@ -8,55 +8,55 @@
"responses": {
"200": {
"body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
- "name": "sdk-Namespace-5849",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Created",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
- "createdAt": "2017-05-24T23:23:27.877Z",
- "updatedAt": "2017-05-24T23:23:27.877Z",
- "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
- }
- }
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
+ "name": "sdk-Namespace-5849",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Created",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
+ "createdAt": "2017-05-24T23:23:27.877Z",
+ "updatedAt": "2017-05-24T23:23:27.877Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
+ }
+ }
},
- "201": {
+ "201": {
"body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
- "name": "sdk-Namespace-5849",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Created",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
- "createdAt": "2017-05-24T23:23:27.877Z",
- "updatedAt": "2017-05-24T23:23:27.877Z",
- "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
- }
- }
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
+ "name": "sdk-Namespace-5849",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Created",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
+ "createdAt": "2017-05-24T23:23:27.877Z",
+ "updatedAt": "2017-05-24T23:23:27.877Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
+ }
+ }
}
}
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceList.json
index 5c8d199e1ac0..a05c321ff63a 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceList.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceList.json
@@ -1358,4 +1358,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json
index be277d878c9d..fc43b939227d 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceListByResourceGroup.json
@@ -309,4 +309,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json
index 6bee975d1190..29a9c6f32529 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/EHNameSpaceUpdate.json
@@ -4,66 +4,66 @@
"resourceGroupName": "ArunMonocle",
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
- "parameters":{
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- }
- }
+ "parameters": {
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ }
+ }
},
"responses": {
"200": {
"body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668",
- "name": "sdk-Namespace-3668",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Updating",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668",
- "createdAt": "2017-06-01T21:37:04.46Z",
- "updatedAt": "2017-06-01T21:37:53.413Z",
- "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/"
- }
- }
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668",
+ "name": "sdk-Namespace-3668",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Updating",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668",
+ "createdAt": "2017-06-01T21:37:04.46Z",
+ "updatedAt": "2017-06-01T21:37:53.413Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/"
+ }
+ }
},
"201": {
"body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668",
- "name": "sdk-Namespace-3668",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Updating",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668",
- "createdAt": "2017-06-01T21:37:04.46Z",
- "updatedAt": "2017-06-01T21:37:53.413Z",
- "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/"
- }
- }
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668",
+ "name": "sdk-Namespace-3668",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Updating",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668",
+ "createdAt": "2017-06-01T21:37:04.46Z",
+ "updatedAt": "2017-06-01T21:37:53.413Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/"
+ }
+ }
},
"202": {}
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json
index bcefa956851e..52485839683e 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIPFilterRuleListAll.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json
index b114af890566..84ef236a04fa 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleCreateorUpdate.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json
index 91b4cda17551..3cf7783a59c7 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleDelete.json
@@ -7,7 +7,7 @@
"ipFilterRuleName": "sdk-IPFilterRules-7337"
},
"responses": {
- "200": { },
- "204": { }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json
index 5ae908f796aa..23808d27ec79 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleGet.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json
index 0bfaea95486f..42b29c8427a2 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/IPFilterRule/EHNameSpaceIpFilterRuleUpdate.json
@@ -4,7 +4,7 @@
"resourceGroupName": "ResourceGroup",
"api-version": "2018-01-01-preview",
"subscriptionId": "Subscription",
- "ipFilterRuleName": "sdk-IPFilterRules-7337",
+ "ipFilterRuleName": "sdk-IPFilterRules-7337",
"parameters": {
"properties": {
"ipMask": "13.78.143.246/32",
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json
index 05cecc4b578a..e2f63871f214 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleDelete.json
@@ -7,7 +7,7 @@
"virtualNetworkRuleName": "sdk-VirtualNetworkRules-9191"
},
"responses": {
- "200": { },
- "204": { }
+ "200": {},
+ "204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json
index c0067a14d070..ae96ec6fefd1 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleListAll.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json
index 666b79b83407..a704f210cbad 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNameSpaceVirtualNetworkRuleupdate.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json
index e90b46f684d9..e7969c387337 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json
@@ -62,15 +62,21 @@
"defaultAction": "Deny",
"virtualNetworkRules": [
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2"
+ },
"ignoreMissingVnetServiceEndpoint": true
},
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3"
+ },
"ignoreMissingVnetServiceEndpoint": false
},
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6"
+ },
"ignoreMissingVnetServiceEndpoint": false
}
],
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json
index ddd005ee3956..d63c8fbad4bd 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json
@@ -15,15 +15,21 @@
"defaultAction": "Deny",
"virtualNetworkRules": [
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2"
+ },
"ignoreMissingVnetServiceEndpoint": true
},
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3"
+ },
"ignoreMissingVnetServiceEndpoint": false
},
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6"
+ },
"ignoreMissingVnetServiceEndpoint": false
}
],
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Operations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Operations_List.json
index 9736d035b582..2b7934171ac1 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Operations_List.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/examples/Operations_List.json
@@ -226,4 +226,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2014-09-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2014-09-01/EventHub.json
index dcc80378a9db..8ccd63c6dfdb 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2014-09-01/EventHub.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2014-09-01/EventHub.json
@@ -93,7 +93,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/CheckNamespaceAvailability": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.EventHub/CheckNamespaceAvailability": {
"post": {
"tags": [
"Namespaces"
@@ -384,7 +384,7 @@
"nextLinkName": "nextLink"
}
},
- "post": {
+ "post": {
"tags": [
"Namespaces"
],
@@ -555,7 +555,7 @@
}
}
}
- },
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs": {
"get": {
"tags": [
@@ -908,7 +908,7 @@
}
}
}
- },
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/consumergroups/{consumerGroupName}": {
"put": {
"tags": [
@@ -1433,7 +1433,7 @@
],
"description": "AuthorizationRule properties."
},
- "SharedAccessAuthorizationRuleResource": {
+ "SharedAccessAuthorizationRuleResource": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
@@ -1788,4 +1788,4 @@
"description": "The consumer group name"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json
index c89708b4a04d..c9c13c235a16 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json
@@ -41,7 +41,9 @@
],
"operationId": "Operations_List",
"x-ms-examples": {
- "EHOperations_List": { "$ref": "./examples/EHOperations_List.json" }
+ "EHOperations_List": {
+ "$ref": "./examples/EHOperations_List.json"
+ }
},
"description": "Lists all of the available Event Hub REST API operations.",
"parameters": [
@@ -69,7 +71,9 @@
],
"operationId": "Namespaces_CheckNameAvailability",
"x-ms-examples": {
- "NamespacesCheckNameAvailability": { "$ref": "./examples/EHNameSpaceCheckNameAvailability.json" }
+ "NamespacesCheckNameAvailability": {
+ "$ref": "./examples/EHNameSpaceCheckNameAvailability.json"
+ }
},
"description": "Check the give Namespace name availability.",
"parameters": [
@@ -106,7 +110,9 @@
],
"operationId": "Namespaces_ListBySubscription",
"x-ms-examples": {
- "NamespacesListBySubscription": { "$ref": "./examples/EHNameSpaceList.json" }
+ "NamespacesListBySubscription": {
+ "$ref": "./examples/EHNameSpaceList.json"
+ }
},
"description": "Lists all the available Namespaces within a subscription, irrespective of the resource groups.",
"parameters": [
@@ -137,7 +143,9 @@
],
"operationId": "Namespaces_ListByResourceGroup",
"x-ms-examples": {
- "NamespaceListByResourceGroup": { "$ref": "./examples/EHNameSpaceListByResourceGroup.json" }
+ "NamespaceListByResourceGroup": {
+ "$ref": "./examples/EHNameSpaceListByResourceGroup.json"
+ }
},
"description": "Lists the available Namespaces within a resource group.",
"parameters": [
@@ -171,7 +179,9 @@
],
"operationId": "Namespaces_CreateOrUpdate",
"x-ms-examples": {
- "NamespaceCreate": { "$ref": "./examples/EHNameSpaceCreate.json" }
+ "NamespaceCreate": {
+ "$ref": "./examples/EHNameSpaceCreate.json"
+ }
},
"description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.",
"parameters": [
@@ -222,7 +232,9 @@
],
"operationId": "Namespaces_Delete",
"x-ms-examples": {
- "NameSpaceDelete": { "$ref": "./examples/EHNameSpaceDelete.json" }
+ "NameSpaceDelete": {
+ "$ref": "./examples/EHNameSpaceDelete.json"
+ }
},
"description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.",
"parameters": [
@@ -258,7 +270,9 @@
],
"operationId": "Namespaces_Get",
"x-ms-examples": {
- "NameSpaceGet": { "$ref": "./examples/EHNameSpaceGet.json" }
+ "NameSpaceGet": {
+ "$ref": "./examples/EHNameSpaceGet.json"
+ }
},
"description": "Gets the description of the specified namespace.",
"parameters": [
@@ -296,7 +310,9 @@
],
"operationId": "Namespaces_Update",
"x-ms-examples": {
- "NamespacesUpdate": { "$ref": "./examples/EHNameSpaceUpdate.json" }
+ "NamespacesUpdate": {
+ "$ref": "./examples/EHNameSpaceUpdate.json"
+ }
},
"description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.",
"parameters": [
@@ -348,7 +364,9 @@
],
"operationId": "Namespaces_ListAuthorizationRules",
"x-ms-examples": {
- "ListAuthorizationRules": { "$ref": "./examples/EHNameSpaceAuthorizationRuleListAll.json" }
+ "ListAuthorizationRules": {
+ "$ref": "./examples/EHNameSpaceAuthorizationRuleListAll.json"
+ }
},
"description": "Gets a list of authorization rules for a Namespace.",
"parameters": [
@@ -385,7 +403,9 @@
],
"operationId": "Namespaces_CreateOrUpdateAuthorizationRule",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/EHNameSpaceAuthorizationRuleCreate.json" }
+ "NameSpaceAuthorizationRuleCreate": {
+ "$ref": "./examples/EHNameSpaceAuthorizationRuleCreate.json"
+ }
},
"description": "Creates or updates an AuthorizationRule for a Namespace.",
"parameters": [
@@ -429,7 +449,9 @@
],
"operationId": "Namespaces_DeleteAuthorizationRule",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleDelete": { "$ref": "./examples/EHNameSpaceAuthorizationRuleDelete.json" }
+ "NameSpaceAuthorizationRuleDelete": {
+ "$ref": "./examples/EHNameSpaceAuthorizationRuleDelete.json"
+ }
},
"description": "Deletes an AuthorizationRule for a Namespace.",
"parameters": [
@@ -464,7 +486,9 @@
],
"operationId": "Namespaces_GetAuthorizationRule",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleGet": { "$ref": "./examples/EHNameSpaceAuthorizationRuleGet.json" }
+ "NameSpaceAuthorizationRuleGet": {
+ "$ref": "./examples/EHNameSpaceAuthorizationRuleGet.json"
+ }
},
"description": "Gets an AuthorizationRule for a Namespace by rule name.",
"parameters": [
@@ -501,7 +525,9 @@
],
"operationId": "Namespaces_ListKeys",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/EHNameSpaceAuthorizationRuleListKey.json" }
+ "NameSpaceAuthorizationRuleListKey": {
+ "$ref": "./examples/EHNameSpaceAuthorizationRuleListKey.json"
+ }
},
"description": "Gets the primary and secondary connection strings for the Namespace.",
"parameters": [
@@ -538,7 +564,9 @@
],
"operationId": "Namespaces_RegenerateKeys",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleRegenerateKey": { "$ref": "./examples/EHNameSpaceAuthorizationRuleRegenerateKey.json" }
+ "NameSpaceAuthorizationRuleRegenerateKey": {
+ "$ref": "./examples/EHNameSpaceAuthorizationRuleRegenerateKey.json"
+ }
},
"description": "Regenerates the primary or secondary connection strings for the specified Namespace.",
"parameters": [
@@ -584,7 +612,9 @@
],
"operationId": "EventHubs_ListAll",
"x-ms-examples": {
- "EventHubsListAll": { "$ref": "./examples/EHEventHubListByNameSpace.json" }
+ "EventHubsListAll": {
+ "$ref": "./examples/EHEventHubListByNameSpace.json"
+ }
},
"description": "Gets all the Event Hubs in a Namespace.",
"externalDocs": {
@@ -624,7 +654,9 @@
],
"operationId": "EventHubs_CreateOrUpdate",
"x-ms-examples": {
- "EventHubCreate": { "$ref": "./examples/EHEventHubCreate.json" }
+ "EventHubCreate": {
+ "$ref": "./examples/EHEventHubCreate.json"
+ }
},
"description": "Creates or updates a new Event Hub as a nested resource within a Namespace.",
"externalDocs": {
@@ -671,7 +703,9 @@
],
"operationId": "EventHubs_Delete",
"x-ms-examples": {
- "EventHubDelete": { "$ref": "./examples/EHEventHubDelete.json" }
+ "EventHubDelete": {
+ "$ref": "./examples/EHEventHubDelete.json"
+ }
},
"description": "Deletes an Event Hub from the specified Namespace and resource group.",
"externalDocs": {
@@ -709,7 +743,9 @@
],
"operationId": "EventHubs_Get",
"x-ms-examples": {
- "EventHubGet": { "$ref": "./examples/EHEventHubGet.json" }
+ "EventHubGet": {
+ "$ref": "./examples/EHEventHubGet.json"
+ }
},
"description": "Gets an Event Hubs description for the specified Event Hub.",
"externalDocs": {
@@ -749,7 +785,9 @@
],
"operationId": "EventHubs_ListAuthorizationRules",
"x-ms-examples": {
- "EventHubAuthorizationRuleListAll": { "$ref": "./examples/EHEventHubAuthorizationRuleListAll.json" }
+ "EventHubAuthorizationRuleListAll": {
+ "$ref": "./examples/EHEventHubAuthorizationRuleListAll.json"
+ }
},
"description": "Gets the authorization rules for an Event Hub.",
"parameters": [
@@ -789,7 +827,9 @@
],
"operationId": "EventHubs_CreateOrUpdateAuthorizationRule",
"x-ms-examples": {
- "EventHubAuthorizationRuleCreate": { "$ref": "./examples/EHEventHubAuthorizationRuleCreate.json" }
+ "EventHubAuthorizationRuleCreate": {
+ "$ref": "./examples/EHEventHubAuthorizationRuleCreate.json"
+ }
},
"description": "Creates or updates an AuthorizationRule for the specified Event Hub.",
"externalDocs": {
@@ -839,7 +879,9 @@
],
"operationId": "EventHubs_GetAuthorizationRule",
"x-ms-examples": {
- "EventHubAuthorizationRuleGet": { "$ref": "./examples/EHEventHubAuthorizationRuleGet.json" }
+ "EventHubAuthorizationRuleGet": {
+ "$ref": "./examples/EHEventHubAuthorizationRuleGet.json"
+ }
},
"description": "Gets an AuthorizationRule for an Event Hub by rule name.",
"externalDocs": {
@@ -878,9 +920,11 @@
"tags": [
"EventHubs"
],
- "operationId": "EventHubs_PosttAuthorizationRule",
+ "operationId": "EventHubs_PostAuthorizationRule",
"x-ms-examples": {
- "EventHubAuthorizationRuleGet": { "$ref": "./examples/EHEventHubAuthorizationRuleGet.json" }
+ "EventHubAuthorizationRuleGet": {
+ "$ref": "./examples/EHEventHubAuthorizationRuleGet.json"
+ }
},
"description": "Gets an AuthorizationRule for an Event Hub by rule name.",
"externalDocs": {
@@ -921,7 +965,9 @@
],
"operationId": "EventHubs_DeleteAuthorizationRule",
"x-ms-examples": {
- "EventHubAuthorizationRuleDelete": { "$ref": "./examples/EHEventHubAuthorizationRuleDelete.json" }
+ "EventHubAuthorizationRuleDelete": {
+ "$ref": "./examples/EHEventHubAuthorizationRuleDelete.json"
+ }
},
"description": "Deletes an Event Hub AuthorizationRule.",
"externalDocs": {
@@ -964,7 +1010,9 @@
],
"operationId": "EventHubs_ListKeys",
"x-ms-examples": {
- "EventHubAuthorizationRuleListKey": { "$ref": "./examples/EHEventHubAuthorizationRuleListKey.json" }
+ "EventHubAuthorizationRuleListKey": {
+ "$ref": "./examples/EHEventHubAuthorizationRuleListKey.json"
+ }
},
"description": "Gets the ACS and SAS connection strings for the Event Hub.",
"externalDocs": {
@@ -1007,7 +1055,9 @@
],
"operationId": "EventHubs_RegenerateKeys",
"x-ms-examples": {
- "EventHubAuthorizationRuleRegenerateKey": { "$ref": "./examples/EHEventHubAuthorizationRuleRegenerateKey.json" }
+ "EventHubAuthorizationRuleRegenerateKey": {
+ "$ref": "./examples/EHEventHubAuthorizationRuleRegenerateKey.json"
+ }
},
"description": "Regenerates the ACS and SAS connection strings for the Event Hub.",
"externalDocs": {
@@ -1059,7 +1109,9 @@
],
"operationId": "ConsumerGroups_CreateOrUpdate",
"x-ms-examples": {
- "ConsumerGroupCreate": { "$ref": "./examples/EHConsumerGroupCreate.json" }
+ "ConsumerGroupCreate": {
+ "$ref": "./examples/EHConsumerGroupCreate.json"
+ }
},
"description": "Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.",
"externalDocs": {
@@ -1109,7 +1161,9 @@
],
"operationId": "ConsumerGroups_Delete",
"x-ms-examples": {
- "ConsumerGroupDelete": { "$ref": "./examples/EHConsumerGroupDelete.json" }
+ "ConsumerGroupDelete": {
+ "$ref": "./examples/EHConsumerGroupDelete.json"
+ }
},
"description": "Deletes a consumer group from the specified Event Hub and resource group.",
"externalDocs": {
@@ -1150,7 +1204,9 @@
],
"operationId": "ConsumerGroups_Get",
"x-ms-examples": {
- "ConsumerGroupGet": { "$ref": "./examples/EHConsumerGroupGet.json" }
+ "ConsumerGroupGet": {
+ "$ref": "./examples/EHConsumerGroupGet.json"
+ }
},
"description": "Gets a description for the specified consumer group.",
"externalDocs": {
@@ -1193,7 +1249,9 @@
],
"operationId": "ConsumerGroups_ListAll",
"x-ms-examples": {
- "ConsumerGroupsListAll": { "$ref": "./examples/EHConsumerGroupListByEventHub.json" }
+ "ConsumerGroupsListAll": {
+ "$ref": "./examples/EHConsumerGroupListByEventHub.json"
+ }
},
"description": "Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.",
"externalDocs": {
@@ -1921,4 +1979,3 @@
}
}
}
-
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupCreate.json
index b15bd21d10d3..66101b77f73a 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupCreate.json
@@ -6,9 +6,9 @@
"consumerGroupName": "sdk-ConsumerGroup115",
"api-version": "2015-08-01",
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093",
- "parameters": {
- "location": "West US"
- }
+ "parameters": {
+ "location": "West US"
+ }
},
"responses": {
"200": {
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupDelete.json
index e280d554927d..5e3895ea510c 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupDelete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupListByEventHub.json
index 00d19dc56965..aaca34366d7e 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupListByEventHub.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHConsumerGroupListByEventHub.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json
index b26ed4f9cf28..657115665c70 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json
@@ -21,8 +21,13 @@
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace2290/eventhubs/sdk-EventHub8887/authorizationRules/sdk-Authrules9261",
"name": "sdk-Authrules9261",
"type": "Microsoft.EventHub/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleDelete.json
index d3e3df638d72..f3d3ad894671 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleDelete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleGet.json
index f4c484208b04..7acaf1c13efa 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleGet.json
@@ -13,8 +13,13 @@
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace2290/eventhubs/sdk-EventHub8887/authorizationRules/sdk-Authrules9261",
"name": "sdk-Authrules9261",
"type": "Microsoft.EventHub/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListAll.json
index a60653c10140..90ed61c3ac9d 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListAll.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListAll.json
@@ -12,10 +12,15 @@
"value": [
{
"name": "sdk-Authrules9261",
- "properties": { "rights": [ "Listen", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json
index 3c2383c472cc..4a3dc086419c 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json
@@ -18,4 +18,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleRegenerateKey.json
index 888bf145addb..4463d644e34e 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleRegenerateKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleRegenerateKey.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json
index 936298a0f788..db1337d96df2 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json
@@ -21,8 +21,12 @@
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace2290/eventhubs/sdk-EventHub8887/authorizationRules/sdk-Authrules9261",
"name": "sdk-Authrules9261",
"type": "Microsoft.EventHub/AuthorizationRules",
- "properties": { "rights": [ "Listen" ] }
+ "properties": {
+ "rights": [
+ "Listen"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubCreate.json
index b476ad3fcdb7..ce1ddd83fca2 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubCreate.json
@@ -4,10 +4,10 @@
"resourceGroupName": "Default-ServiceBus-WestUS",
"eventHubName": "sdk-EventHub6448",
"api-version": "2015-08-01",
- "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093",
+ "subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093",
"parameters": {
- "location": "West US",
- "properties": {
+ "location": "West US",
+ "properties": {
"messageRetentionInDays": 7,
"status": "Active",
"partitionCount": 4
@@ -26,9 +26,14 @@
"createdAt": "2017-03-12T20:37:09.28Z",
"updatedAt": "2017-03-12T20:37:18.64Z",
"partitionCount": 4,
- "partitionIds": [ "0", "1", "2", "3" ]
+ "partitionIds": [
+ "0",
+ "1",
+ "2",
+ "3"
+ ]
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubDelete.json
index 5632abfafd9d..9f188179bdb4 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubGet.json
index 1c1f8709314d..a67190d01771 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubGet.json
@@ -18,7 +18,12 @@
"createdAt": "2017-03-12T09:19:03.577Z",
"updatedAt": "2017-03-12T09:19:05.577Z",
"partitionCount": 4,
- "partitionIds": [ "0", "1", "2", "3" ]
+ "partitionIds": [
+ "0",
+ "1",
+ "2",
+ "3"
+ ]
}
}
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubListByNameSpace.json
index 439e7650faef..8b8fc44e883f 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubListByNameSpace.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubListByNameSpace.json
@@ -2,7 +2,7 @@
"parameters": {
"namespaceName": "sdk-Namespace4919",
"resourceGroupName": "Default-ServiceBus-WestUS",
- "api-version": "2015-08-01",
+ "api-version": "2015-08-01",
"eventHubName": "sdk-eventhub4839",
"subscriptionId": "e2f361f0-3b27-4503-a9cc-21cfba380093"
},
@@ -20,11 +20,16 @@
"createdAt": "2017-03-12T07:39:13.31Z",
"updatedAt": "2017-03-12T07:39:15.41Z",
"partitionCount": 4,
- "partitionIds": [ "0", "1", "2", "3" ]
+ "partitionIds": [
+ "0",
+ "1",
+ "2",
+ "3"
+ ]
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubUpdate.json
index 95715fbf99ac..e54f2116b5fb 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHEventHubUpdate.json
@@ -15,8 +15,10 @@
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace4919/eventhubs/sdk-EventHub4839",
"name": "sdk-EventHub4839",
"type": "Microsoft.EventHub/EventHubs",
- "properties": { "messageRetentionInDays": 5 }
+ "properties": {
+ "messageRetentionInDays": 5
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json
index 0bffa38b6e27..010dcbda76d0 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json
@@ -20,9 +20,14 @@
"body": {
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace743/AuthorizationRules/sdk-Authrules4867",
"name": "sdk-Authrules4867",
- "type": "Microsoft.EventHub/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
+ "type": "Microsoft.EventHub/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleDelete.json
index 22f41a6d1ec5..6913c213587a 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleGet.json
index e38c7c5c37cb..23f8e0c38cb3 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleGet.json
@@ -12,8 +12,14 @@
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace743/AuthorizationRules/RootManageSharedAccessKey",
"name": "RootManageSharedAccessKey",
"type": "Microsoft.EventHub/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Manage", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Manage",
+ "Send"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListAll.json
index e3989e5d7d69..10a203d9b933 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListAll.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListAll.json
@@ -11,14 +11,25 @@
"value": [
{
"name": "RootManageSharedAccessKey",
- "properties": { "rights": [ "Listen", "Manage", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Manage",
+ "Send"
+ ]
+ }
},
{
"name": "sdk-Authrules4867",
- "properties": { "rights": [ "Listen", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json
index 127b18d1dc2e..a92ea655622c 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenerateKey.json
index 493eebf3dffc..c92fd9cc2f9d 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenerateKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenerateKey.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json
index 38229971a699..d0875ba95314 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json
@@ -20,8 +20,12 @@
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace743/AuthorizationRules/sdk-Authrules4867",
"name": "sdk-Authrules4867",
"type": "Microsoft.EventHub/AuthorizationRules",
- "properties": { "rights": [ "Listen" ] }
+ "properties": {
+ "rights": [
+ "Listen"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json
index 909c83db5bcc..698020253a02 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCreate.json
index 139c3d2f600d..c9b5314c17c6 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceCreate.json
@@ -61,4 +61,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceDelete.json
index 9df958402fac..f1a62961e93a 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceGet.json
index 8b26aeb55f6a..34cc27a07ac6 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceGet.json
@@ -32,7 +32,7 @@
}
}
},
- "201": {
+ "201": {
"body": {
"id": "/subscriptions/e2f361f0-3b27-4503-a9cc-21cfba380093/resourceGroups/Default-ServiceBus-WestUS/providers/Microsoft.EventHub/namespaces/sdk-Namespace8107",
"name": "sdk-Namespace8107",
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceList.json
index 97c19a4ec68d..83778b6e0d61 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceList.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceList.json
@@ -95,4 +95,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceListByResourceGroup.json
index 1dfe55f928c5..7000ad62ec1c 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceListByResourceGroup.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceListByResourceGroup.json
@@ -96,4 +96,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceUpdate.json
index d24cd80547b1..f616ef03239b 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHNameSpaceUpdate.json
@@ -5,12 +5,12 @@
"api-version": "2015-08-01",
"subscriptionId": "8c246e6a-cbc6-4a87-aff1-d6a886f376ef",
"location": "West US",
- "parameters":{
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- }
- }
+ "parameters": {
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ }
+ }
},
"responses": {
"200": {
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHOperations_List.json
index 7da7c1956580..2722fb1257b6 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHOperations_List.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/examples/EHOperations_List.json
@@ -11,8 +11,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "Non Resource Operation",
- "operation": "Get namespace availability.",
- "description": "Checks availability of namespace under given subscription."
+ "operation": "Get namespace availability."
}
},
{
@@ -20,8 +19,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub Resource Provider",
- "operation": "Registers the EventHub Resource Provider",
- "description": "Registers the subscription for the EventHub resource provider and enables the creation of EventHub resources"
+ "operation": "Registers the EventHub Resource Provider"
}
},
{
@@ -29,8 +27,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "Namespace",
- "operation": "Create Or Update Namespace ",
- "description": "Create a Namespace Resource and Update its properties. Tags and status of the Namespace are the properties which can be updated."
+ "operation": "Create Or Update Namespace "
}
},
{
@@ -38,8 +35,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "Namespace",
- "operation": "Get Namespace Resource",
- "description": "Get the list of Namespace Resource Description"
+ "operation": "Get Namespace Resource"
}
},
{
@@ -47,8 +43,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "Namespace",
- "operation": "Delete Namespace",
- "description": "Delete Namespace Resource"
+ "operation": "Delete Namespace"
}
},
{
@@ -56,8 +51,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "AuthorizationRules",
- "operation": "Get Namespace Authorization Rules",
- "description": "Get the list of Namespaces Authorization Rules description."
+ "operation": "Get Namespace Authorization Rules"
}
},
{
@@ -65,8 +59,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "AuthorizationRules",
- "operation": "Create or Update Namespace Authorization Rules",
- "description": "Create a Namespace level Authorization Rules and update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated."
+ "operation": "Create or Update Namespace Authorization Rules"
}
},
{
@@ -74,8 +67,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "AuthorizationRules",
- "operation": "Delete Namespace Authorization Rule",
- "description": "Delete Namespace Authorization Rule. The Default Namespace Authorization Rule cannot be deleted. "
+ "operation": "Delete Namespace Authorization Rule"
}
},
{
@@ -83,8 +75,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "AuthorizationRules",
- "operation": "Get Namespace Listkeys",
- "description": "Get the Connection String to the Namespace"
+ "operation": "Get Namespace Listkeys"
}
},
{
@@ -92,8 +83,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "AuthorizationRules",
- "operation": "Resource Regeneratekeys",
- "description": "Regenerate the Primary or Secondary key to the Resource"
+ "operation": "Resource Regeneratekeys"
}
},
{
@@ -101,8 +91,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub",
- "operation": "Create or Update EventHub",
- "description": "Create or Update EventHub properties."
+ "operation": "Create or Update EventHub"
}
},
{
@@ -110,8 +99,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub",
- "operation": "Get EventHub",
- "description": "Get list of EventHub Resource Descriptions"
+ "operation": "Get EventHub"
}
},
{
@@ -119,8 +107,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub",
- "operation": "Delete EventHub",
- "description": "Operation to delete EventHub Resource"
+ "operation": "Delete EventHub"
}
},
{
@@ -128,8 +115,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub AuthorizationRules",
- "operation": " Get EventHub Authorization Rules",
- "description": " Get the list of EventHub Authorization Rules"
+ "operation": " Get EventHub Authorization Rules"
}
},
{
@@ -137,8 +123,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub AuthorizationRules",
- "operation": "Create or Update EventHub Authorization Rule",
- "description": "Create EventHub Authorization Rules and Update its properties. The Authorization Rules Access Rights, the Primary and Secondary Keys can be updated."
+ "operation": "Create or Update EventHub Authorization Rule"
}
},
{
@@ -146,8 +131,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub AuthorizationRules",
- "operation": "Delete EventHub Authorization Rules",
- "description": "Operation to delete EventHub Authorization Rules"
+ "operation": "Delete EventHub Authorization Rules"
}
},
{
@@ -155,8 +139,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub AuthorizationRules",
- "operation": "List EventHub keys",
- "description": "Get the Connection String to EventHub"
+ "operation": "List EventHub keys"
}
},
{
@@ -164,8 +147,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "EventHub AuthorizationRules",
- "operation": "Resource Regeneratekeys",
- "description": "Regenerate the Primary or Secondary key to the Resource"
+ "operation": "Resource Regeneratekeys"
}
},
{
@@ -173,8 +155,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "ConsumerGroup",
- "operation": "Create or Update ConsumerGroup",
- "description": "Create or Update ConsumerGroup properties."
+ "operation": "Create or Update ConsumerGroup"
}
},
{
@@ -182,8 +163,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "ConsumerGroup",
- "operation": "Get ConsumerGroup",
- "description": "Get list of ConsumerGroup Resource Descriptions"
+ "operation": "Get ConsumerGroup"
}
},
{
@@ -191,8 +171,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "ConsumerGroup",
- "operation": "Delete ConsumerGroup",
- "description": "Operation to delete ConsumerGroup Resource"
+ "operation": "Delete ConsumerGroup"
}
},
{
@@ -200,17 +179,15 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "Namespace metrics",
- "operation": "Get Namespace metrics",
- "description": "Get list of Namespace metrics Resource Descriptions"
- }
+ "operation": "Get Namespace metrics"
+ }
},
{
"name": "Microsoft.EventHub/namespaces/diagnosticSettings/read",
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "Namespace diagnostic settings",
- "operation": "Get Namespace diagnostic settings",
- "description": "Get list of Namespace diagnostic settings Resource Descriptions"
+ "operation": "Get Namespace diagnostic settings"
}
},
{
@@ -218,8 +195,7 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "Namespace diagnostic settings",
- "operation": "Create or Update Namespace diagnostic settings",
- "description": "Get list of Namespace diagnostic settings Resource Descriptions"
+ "operation": "Create or Update Namespace diagnostic settings"
}
},
{
@@ -227,12 +203,11 @@
"display": {
"provider": "Microsoft Azure EventHub",
"resource": "Namespace logs",
- "operation": "Get Namespace logs",
- "description": "Get list of Namespace logs Resource Descriptions"
+ "operation": "Get Namespace logs"
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json
index cadcaa5fe705..304bc8c7d25b 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/EventHub.json
@@ -41,7 +41,9 @@
],
"operationId": "Operations_List",
"x-ms-examples": {
- "EHOperations_List": { "$ref": "./examples/EHOperations_List.json" }
+ "EHOperations_List": {
+ "$ref": "./examples/EHOperations_List.json"
+ }
},
"description": "Lists all of the available Event Hub REST API operations.",
"parameters": [
@@ -75,7 +77,9 @@
],
"operationId": "Namespaces_CheckNameAvailability",
"x-ms-examples": {
- "NamespacesCheckNameAvailability": { "$ref": "./examples/NameSpaces/EHNameSpaceCheckNameAvailability.json" }
+ "NamespacesCheckNameAvailability": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceCheckNameAvailability.json"
+ }
},
"description": "Check the give Namespace name availability.",
"parameters": [
@@ -118,7 +122,9 @@
],
"operationId": "Namespaces_List",
"x-ms-examples": {
- "NamespacesListBySubscription": { "$ref": "./examples/NameSpaces/EHNameSpaceList.json" }
+ "NamespacesListBySubscription": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceList.json"
+ }
},
"description": "Lists all the available Namespaces within a subscription, irrespective of the resource groups.",
"parameters": [
@@ -155,7 +161,9 @@
],
"operationId": "Namespaces_ListByResourceGroup",
"x-ms-examples": {
- "NamespaceListByResourceGroup": { "$ref": "./examples/NameSpaces/EHNameSpaceListByResourceGroup.json" }
+ "NamespaceListByResourceGroup": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceListByResourceGroup.json"
+ }
},
"description": "Lists the available Namespaces within a resource group.",
"parameters": [
@@ -195,7 +203,9 @@
],
"operationId": "Namespaces_CreateOrUpdate",
"x-ms-examples": {
- "NamespaceCreate": { "$ref": "./examples/NameSpaces/EHNameSpaceCreate.json" }
+ "NamespaceCreate": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceCreate.json"
+ }
},
"description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.",
"parameters": [
@@ -255,7 +265,9 @@
],
"operationId": "Namespaces_Delete",
"x-ms-examples": {
- "NameSpaceDelete": { "$ref": "./examples/NameSpaces/EHNameSpaceDelete.json" }
+ "NameSpaceDelete": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceDelete.json"
+ }
},
"description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.",
"parameters": [
@@ -297,7 +309,9 @@
],
"operationId": "Namespaces_Get",
"x-ms-examples": {
- "NameSpaceGet": { "$ref": "./examples/NameSpaces/EHNameSpaceGet.json" }
+ "NameSpaceGet": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceGet.json"
+ }
},
"description": "Gets the description of the specified namespace.",
"parameters": [
@@ -341,7 +355,9 @@
],
"operationId": "Namespaces_Update",
"x-ms-examples": {
- "NamespacesUpdate": { "$ref": "./examples/NameSpaces/EHNameSpaceUpdate.json" }
+ "NamespacesUpdate": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceUpdate.json"
+ }
},
"description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.",
"parameters": [
@@ -399,7 +415,9 @@
],
"operationId": "Namespaces_GetMessagingPlan",
"x-ms-examples": {
- "GetNamespaceMessagingPlan": { "$ref": "./examples/NameSpaces/EHNameSpaceGetMessagingPlan.json" }
+ "GetNamespaceMessagingPlan": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceGetMessagingPlan.json"
+ }
},
"description": "Gets messaging plan for specified namespace.",
"parameters": [
@@ -439,7 +457,9 @@
],
"operationId": "Namespaces_ListAuthorizationRules",
"x-ms-examples": {
- "ListAuthorizationRules": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json" }
+ "ListAuthorizationRules": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json"
+ }
},
"description": "Gets a list of authorization rules for a Namespace.",
"parameters": [
@@ -482,7 +502,9 @@
],
"operationId": "Namespaces_CreateOrUpdateAuthorizationRule",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json" }
+ "NameSpaceAuthorizationRuleCreate": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json"
+ }
},
"description": "Creates or updates an AuthorizationRule for a Namespace.",
"parameters": [
@@ -532,7 +554,9 @@
],
"operationId": "Namespaces_DeleteAuthorizationRule",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleDelete": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json" }
+ "NameSpaceAuthorizationRuleDelete": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json"
+ }
},
"description": "Deletes an AuthorizationRule for a Namespace.",
"parameters": [
@@ -573,7 +597,9 @@
],
"operationId": "Namespaces_GetAuthorizationRule",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleGet": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json" }
+ "NameSpaceAuthorizationRuleGet": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json"
+ }
},
"description": "Gets an AuthorizationRule for a Namespace by rule name.",
"parameters": [
@@ -616,7 +642,9 @@
],
"operationId": "Namespaces_ListKeys",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json" }
+ "NameSpaceAuthorizationRuleListKey": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json"
+ }
},
"description": "Gets the primary and secondary connection strings for the Namespace.",
"parameters": [
@@ -659,7 +687,9 @@
],
"operationId": "Namespaces_RegenerateKeys",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleRegenerateKey": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json" }
+ "NameSpaceAuthorizationRuleRegenerateKey": {
+ "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json"
+ }
},
"description": "Regenerates the primary or secondary connection strings for the specified Namespace.",
"parameters": [
@@ -711,7 +741,9 @@
],
"operationId": "DisasterRecoveryConfigs_CheckNameAvailability",
"x-ms-examples": {
- "NamespacesCheckNameAvailability": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json" }
+ "NamespacesCheckNameAvailability": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json"
+ }
},
"description": "Check the give Namespace name availability.",
"parameters": [
@@ -760,7 +792,9 @@
],
"operationId": "DisasterRecoveryConfigs_List",
"x-ms-examples": {
- "EHAliasList": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasList.json" }
+ "EHAliasList": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasList.json"
+ }
},
"description": "Gets all Alias(Disaster Recovery configurations)",
"parameters": [
@@ -803,7 +837,9 @@
],
"operationId": "DisasterRecoveryConfigs_CreateOrUpdate",
"x-ms-examples": {
- "EHAliasCreate": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasCreate.json" }
+ "EHAliasCreate": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasCreate.json"
+ }
},
"description": "Creates or updates a new Alias(Disaster Recovery configuration)",
"parameters": [
@@ -856,7 +892,9 @@
],
"operationId": "DisasterRecoveryConfigs_Delete",
"x-ms-examples": {
- "EHAliasDelete": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasDelete.json" }
+ "EHAliasDelete": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasDelete.json"
+ }
},
"description": "Deletes an Alias(Disaster Recovery configuration)",
"parameters": [
@@ -894,7 +932,9 @@
],
"operationId": "DisasterRecoveryConfigs_Get",
"x-ms-examples": {
- "EHAliasGet": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasGet.json" }
+ "EHAliasGet": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasGet.json"
+ }
},
"description": "Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace",
"parameters": [
@@ -937,7 +977,9 @@
],
"operationId": "DisasterRecoveryConfigs_BreakPairing",
"x-ms-examples": {
- "EHAliasBreakPairing": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasBreakPairing.json" }
+ "EHAliasBreakPairing": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasBreakPairing.json"
+ }
},
"description": "This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces",
"parameters": [
@@ -977,7 +1019,9 @@
],
"operationId": "DisasterRecoveryConfigs_FailOver",
"x-ms-examples": {
- "EHAliasFailOver": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasFailOver.json" }
+ "EHAliasFailOver": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasFailOver.json"
+ }
},
"description": "Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace",
"parameters": [
@@ -1017,7 +1061,9 @@
],
"operationId": "DisasterRecoveryConfigs_ListAuthorizationRules",
"x-ms-examples": {
- "ListAuthorizationRules": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json" }
+ "ListAuthorizationRules": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json"
+ }
},
"description": "Gets a list of authorization rules for a Namespace.",
"parameters": [
@@ -1063,7 +1109,9 @@
],
"operationId": "DisasterRecoveryConfigs_GetAuthorizationRule",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleGet": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json" }
+ "NameSpaceAuthorizationRuleGet": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json"
+ }
},
"description": "Gets an AuthorizationRule for a Namespace by rule name.",
"parameters": [
@@ -1109,7 +1157,9 @@
],
"operationId": "DisasterRecoveryConfigs_ListKeys",
"x-ms-examples": {
- "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json" }
+ "NameSpaceAuthorizationRuleListKey": {
+ "$ref": "./examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json"
+ }
},
"description": "Gets the primary and secondary connection strings for the Namespace.",
"parameters": [
@@ -1155,7 +1205,9 @@
],
"operationId": "EventHubs_ListByNamespace",
"x-ms-examples": {
- "EventHubsListAll": { "$ref": "./examples/EventHubs/EHEventHubListByNameSpace.json" }
+ "EventHubsListAll": {
+ "$ref": "./examples/EventHubs/EHEventHubListByNameSpace.json"
+ }
},
"description": "Gets all the Event Hubs in a Namespace.",
"parameters": [
@@ -1204,7 +1256,9 @@
],
"operationId": "EventHubs_CreateOrUpdate",
"x-ms-examples": {
- "EventHubCreate": { "$ref": "./examples/EventHubs/EHEventHubCreate.json" }
+ "EventHubCreate": {
+ "$ref": "./examples/EventHubs/EHEventHubCreate.json"
+ }
},
"description": "Creates or updates a new Event Hub as a nested resource within a Namespace.",
"parameters": [
@@ -1254,7 +1308,9 @@
],
"operationId": "EventHubs_Delete",
"x-ms-examples": {
- "EventHubDelete": { "$ref": "./examples/EventHubs/EHEventHubDelete.json" }
+ "EventHubDelete": {
+ "$ref": "./examples/EventHubs/EHEventHubDelete.json"
+ }
},
"description": "Deletes an Event Hub from the specified Namespace and resource group.",
"parameters": [
@@ -1295,7 +1351,9 @@
],
"operationId": "EventHubs_Get",
"x-ms-examples": {
- "EventHubGet": { "$ref": "./examples/EventHubs/EHEventHubGet.json" }
+ "EventHubGet": {
+ "$ref": "./examples/EventHubs/EHEventHubGet.json"
+ }
},
"description": "Gets an Event Hubs description for the specified Event Hub.",
"parameters": [
@@ -1338,7 +1396,9 @@
],
"operationId": "EventHubs_ListAuthorizationRules",
"x-ms-examples": {
- "EventHubAuthorizationRuleListAll": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListAll.json" }
+ "EventHubAuthorizationRuleListAll": {
+ "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListAll.json"
+ }
},
"description": "Gets the authorization rules for an Event Hub.",
"parameters": [
@@ -1384,7 +1444,9 @@
],
"operationId": "EventHubs_CreateOrUpdateAuthorizationRule",
"x-ms-examples": {
- "EventHubAuthorizationRuleCreate": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleCreate.json" }
+ "EventHubAuthorizationRuleCreate": {
+ "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleCreate.json"
+ }
},
"description": "Creates or updates an AuthorizationRule for the specified Event Hub.",
"parameters": [
@@ -1437,7 +1499,9 @@
],
"operationId": "EventHubs_GetAuthorizationRule",
"x-ms-examples": {
- "EventHubAuthorizationRuleGet": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleGet.json" }
+ "EventHubAuthorizationRuleGet": {
+ "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleGet.json"
+ }
},
"description": "Gets an AuthorizationRule for an Event Hub by rule name.",
"parameters": [
@@ -1481,7 +1545,9 @@
],
"operationId": "EventHubs_DeleteAuthorizationRule",
"x-ms-examples": {
- "EventHubAuthorizationRuleDelete": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleDelete.json" }
+ "EventHubAuthorizationRuleDelete": {
+ "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleDelete.json"
+ }
},
"description": "Deletes an Event Hub AuthorizationRule.",
"parameters": [
@@ -1527,7 +1593,9 @@
],
"operationId": "EventHubs_ListKeys",
"x-ms-examples": {
- "EventHubAuthorizationRuleListKey": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListKey.json" }
+ "EventHubAuthorizationRuleListKey": {
+ "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListKey.json"
+ }
},
"description": "Gets the ACS and SAS connection strings for the Event Hub.",
"parameters": [
@@ -1573,7 +1641,9 @@
],
"operationId": "EventHubs_RegenerateKeys",
"x-ms-examples": {
- "EventHubAuthorizationRuleRegenerateKey": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json" }
+ "EventHubAuthorizationRuleRegenerateKey": {
+ "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json"
+ }
},
"description": "Regenerates the ACS and SAS connection strings for the Event Hub.",
"parameters": [
@@ -1628,7 +1698,9 @@
],
"operationId": "ConsumerGroups_CreateOrUpdate",
"x-ms-examples": {
- "ConsumerGroupCreate": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupCreate.json" }
+ "ConsumerGroupCreate": {
+ "$ref": "./examples/ConsumerGroup/EHConsumerGroupCreate.json"
+ }
},
"description": "Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.",
"parameters": [
@@ -1681,7 +1753,9 @@
],
"operationId": "ConsumerGroups_Delete",
"x-ms-examples": {
- "ConsumerGroupDelete": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupDelete.json" }
+ "ConsumerGroupDelete": {
+ "$ref": "./examples/ConsumerGroup/EHConsumerGroupDelete.json"
+ }
},
"description": "Deletes a consumer group from the specified Event Hub and resource group.",
"parameters": [
@@ -1725,7 +1799,9 @@
],
"operationId": "ConsumerGroups_Get",
"x-ms-examples": {
- "ConsumerGroupGet": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupGet.json" }
+ "ConsumerGroupGet": {
+ "$ref": "./examples/ConsumerGroup/EHConsumerGroupGet.json"
+ }
},
"description": "Gets a description for the specified consumer group.",
"parameters": [
@@ -1771,7 +1847,9 @@
],
"operationId": "ConsumerGroups_ListByEventHub",
"x-ms-examples": {
- "ConsumerGroupsListAll": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupListByEventHub.json" }
+ "ConsumerGroupsListAll": {
+ "$ref": "./examples/ConsumerGroup/EHConsumerGroupListByEventHub.json"
+ }
},
"description": "Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.",
"parameters": [
@@ -1823,8 +1901,12 @@
],
"operationId": "Regions_ListBySku",
"x-ms-examples": {
- "RegionsListBySkuBasic": { "$ref": "./examples/EHRegionsListBySkuBasic.json" },
- "RegionsListBySkuStandard": { "$ref": "./examples/EHRegionsListBySkuStandard.json" }
+ "RegionsListBySkuBasic": {
+ "$ref": "./examples/EHRegionsListBySkuBasic.json"
+ },
+ "RegionsListBySkuStandard": {
+ "$ref": "./examples/EHRegionsListBySkuStandard.json"
+ }
},
"description": "Gets the available Regions for a given sku",
"parameters": [
@@ -1857,7 +1939,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/networkRuleSets/default": {
"put": {
"tags": [
"Namespaces"
@@ -2293,7 +2375,6 @@
"captureDescription": {
"$ref": "#/definitions/CaptureDescription",
"description": "Properties of capture description"
-
}
},
"description": "Properties supplied to the Create Or Update Event Hub operation."
@@ -2704,7 +2785,7 @@
],
"description": "Messaging Plan for the namespace"
},
- "Subnet": {
+ "Subnet": {
"properties": {
"id": {
"type": "string",
@@ -2899,4 +2980,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json
index 6daf3ebe8b17..3e5ef9079db4 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json
@@ -6,23 +6,23 @@
"consumerGroupName": "sdk-ConsumerGroup-5563",
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
- "parameters": {
- "properties": {
- "userMetadata": "New consumergroup"
- }
- }
+ "parameters": {
+ "properties": {
+ "userMetadata": "New consumergroup"
+ }
+ }
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563",
- "name": "sdk-ConsumerGroup-5563",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
- "properties": {
- "createdAt": "2017-05-25T03:43:09.4536234Z",
- "updatedAt": "2017-05-25T03:43:09.4536234Z"
- }
- }
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563",
+ "name": "sdk-ConsumerGroup-5563",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
+ "properties": {
+ "createdAt": "2017-05-25T03:43:09.4536234Z",
+ "updatedAt": "2017-05-25T03:43:09.4536234Z"
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json
index 957bba87aa1d..53dd502e6311 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json
index a8c5701bf0b2..fa44e7bcbc85 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json
@@ -10,14 +10,14 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563",
- "name": "sdk-ConsumerGroup-5563",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
- "properties": {
- "createdAt": "2017-05-25T03:43:08.7152556Z",
- "updatedAt": "2017-05-25T03:43:08.7152556Z"
- }
- }
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-ConsumerGroup-5563",
+ "name": "sdk-ConsumerGroup-5563",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
+ "properties": {
+ "createdAt": "2017-05-25T03:43:08.7152556Z",
+ "updatedAt": "2017-05-25T03:43:08.7152556Z"
+ }
+ }
}
}
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json
index 9f2d0be42f56..42aa18e2cd60 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json
@@ -9,27 +9,27 @@
"responses": {
"200": {
"body": {
- "value": [
- {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/$Default",
- "name": "$Default",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
- "properties": {
- "createdAt": "2017-05-25T03:42:52.287Z",
- "updatedAt": "2017-05-25T03:42:52.287Z"
- }
- },
- {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-consumergroup-5563",
- "name": "sdk-consumergroup-5563",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
- "properties": {
- "createdAt": "2017-05-25T03:43:09.314Z",
- "updatedAt": "2017-05-25T03:43:09.314Z"
- }
- }
- ]
- }
+ "value": [
+ {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/$Default",
+ "name": "$Default",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
+ "properties": {
+ "createdAt": "2017-05-25T03:42:52.287Z",
+ "updatedAt": "2017-05-25T03:42:52.287Z"
+ }
+ },
+ {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2661/eventhubs/sdk-EventHub-6681/consumergroups/sdk-consumergroup-5563",
+ "name": "sdk-consumergroup-5563",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
+ "properties": {
+ "createdAt": "2017-05-25T03:43:09.314Z",
+ "updatedAt": "2017-05-25T03:43:09.314Z"
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json
index c5da3e459f6f..697b4fc61af6 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json
@@ -6,27 +6,27 @@
"consumerGroupName": "sdk-ConsumerGroup-1535",
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
- "parameters": {
- "properties": {
- "userMetadata": "Updated the user meta data"
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-882/eventhubs/sdk-EventHub-8990/consumergroups/sdk-ConsumerGroup-1535",
- "name": "sdk-ConsumerGroup-1535",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups"
- }
+ "parameters": {
+ "properties": {
+ "userMetadata": "Updated the user meta data"
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-882/eventhubs/sdk-EventHub-8990/consumergroups/sdk-ConsumerGroup-1535",
+ "name": "sdk-ConsumerGroup-1535",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups"
+ }
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-882/eventhubs/sdk-EventHub-8990/consumergroups/sdk-ConsumerGroup-1535",
- "name": "sdk-ConsumerGroup-1535",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
- "properties": {
- "createdAt": "2017-05-31T18:26:47.4845811Z",
- "updatedAt": "2017-05-31T18:26:47.4845811Z",
- "userMetadata": "Updated the user meta data"
- }
- }
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-882/eventhubs/sdk-EventHub-8990/consumergroups/sdk-ConsumerGroup-1535",
+ "name": "sdk-ConsumerGroup-1535",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/ConsumerGroups",
+ "properties": {
+ "createdAt": "2017-05-31T18:26:47.4845811Z",
+ "updatedAt": "2017-05-31T18:26:47.4845811Z",
+ "userMetadata": "Updated the user meta data"
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json
index 8d29635d7fa7..2722fb1257b6 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EHOperations_List.json
@@ -5,209 +5,209 @@
"responses": {
"200": {
"body": {
- "value": [
- {
- "name": "Microsoft.EventHub/checkNameAvailability/action",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "Non Resource Operation",
- "operation": "Get namespace availability."
- }
- },
- {
- "name": "Microsoft.EventHub/register/action",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub Resource Provider",
- "operation": "Registers the EventHub Resource Provider"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/write",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "Namespace",
- "operation": "Create Or Update Namespace "
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/read",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "Namespace",
- "operation": "Get Namespace Resource"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/Delete",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "Namespace",
- "operation": "Delete Namespace"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/authorizationRules/read",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "AuthorizationRules",
- "operation": "Get Namespace Authorization Rules"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/authorizationRules/write",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "AuthorizationRules",
- "operation": "Create or Update Namespace Authorization Rules"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/authorizationRules/delete",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "AuthorizationRules",
- "operation": "Delete Namespace Authorization Rule"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/authorizationRules/listkeys/action",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "AuthorizationRules",
- "operation": "Get Namespace Listkeys"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/authorizationRules/regenerateKeys/action",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "AuthorizationRules",
- "operation": "Resource Regeneratekeys"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventhubs/write",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub",
- "operation": "Create or Update EventHub"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventhubs/read",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub",
- "operation": "Get EventHub"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventhubs/Delete",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub",
- "operation": "Delete EventHub"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/read",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub AuthorizationRules",
- "operation": " Get EventHub Authorization Rules"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/write",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub AuthorizationRules",
- "operation": "Create or Update EventHub Authorization Rule"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/delete",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub AuthorizationRules",
- "operation": "Delete EventHub Authorization Rules"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/listkeys/action",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub AuthorizationRules",
- "operation": "List EventHub keys"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/regenerateKeys/action",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "EventHub AuthorizationRules",
- "operation": "Resource Regeneratekeys"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/write",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "ConsumerGroup",
- "operation": "Create or Update ConsumerGroup"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/read",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "ConsumerGroup",
- "operation": "Get ConsumerGroup"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/Delete",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "ConsumerGroup",
- "operation": "Delete ConsumerGroup"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/metricDefinitions/read",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "Namespace metrics",
- "operation": "Get Namespace metrics"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "Namespace diagnostic settings",
- "operation": "Get Namespace diagnostic settings"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "Namespace diagnostic settings",
- "operation": "Create or Update Namespace diagnostic settings"
- }
- },
- {
- "name": "Microsoft.EventHub/namespaces/logDefinitions/read",
- "display": {
- "provider": "Microsoft Azure EventHub",
- "resource": "Namespace logs",
- "operation": "Get Namespace logs"
- }
- }
- ]
- }
+ "value": [
+ {
+ "name": "Microsoft.EventHub/checkNameAvailability/action",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "Non Resource Operation",
+ "operation": "Get namespace availability."
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/register/action",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub Resource Provider",
+ "operation": "Registers the EventHub Resource Provider"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/write",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "Namespace",
+ "operation": "Create Or Update Namespace "
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/read",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "Namespace",
+ "operation": "Get Namespace Resource"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/Delete",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "Namespace",
+ "operation": "Delete Namespace"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/authorizationRules/read",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "AuthorizationRules",
+ "operation": "Get Namespace Authorization Rules"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/authorizationRules/write",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "AuthorizationRules",
+ "operation": "Create or Update Namespace Authorization Rules"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/authorizationRules/delete",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "AuthorizationRules",
+ "operation": "Delete Namespace Authorization Rule"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/authorizationRules/listkeys/action",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "AuthorizationRules",
+ "operation": "Get Namespace Listkeys"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/authorizationRules/regenerateKeys/action",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "AuthorizationRules",
+ "operation": "Resource Regeneratekeys"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventhubs/write",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub",
+ "operation": "Create or Update EventHub"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventhubs/read",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub",
+ "operation": "Get EventHub"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventhubs/Delete",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub",
+ "operation": "Delete EventHub"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/read",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub AuthorizationRules",
+ "operation": " Get EventHub Authorization Rules"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/write",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub AuthorizationRules",
+ "operation": "Create or Update EventHub Authorization Rule"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/delete",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub AuthorizationRules",
+ "operation": "Delete EventHub Authorization Rules"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/listkeys/action",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub AuthorizationRules",
+ "operation": "List EventHub keys"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventhubs/authorizationRules/regenerateKeys/action",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "EventHub AuthorizationRules",
+ "operation": "Resource Regeneratekeys"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/write",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "ConsumerGroup",
+ "operation": "Create or Update ConsumerGroup"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/read",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "ConsumerGroup",
+ "operation": "Get ConsumerGroup"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/eventHubs/consumergroups/Delete",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "ConsumerGroup",
+ "operation": "Delete ConsumerGroup"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "Namespace metrics",
+ "operation": "Get Namespace metrics"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "Namespace diagnostic settings",
+ "operation": "Get Namespace diagnostic settings"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "Namespace diagnostic settings",
+ "operation": "Create or Update Namespace diagnostic settings"
+ }
+ },
+ {
+ "name": "Microsoft.EventHub/namespaces/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Azure EventHub",
+ "resource": "Namespace logs",
+ "operation": "Get Namespace logs"
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json
index 90d090dfc857..619ca52dee7f 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json
@@ -7,22 +7,27 @@
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"parameters": {
- "properties": {
- "rights": [
- "Listen",
- "Send"
- ]
- }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513",
- "name": "sdk-Authrules-2513",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
- }
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513",
+ "name": "sdk-Authrules-2513",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json
index da56b40775ac..1676d142b370 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleDelete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json
index 9325ce48f000..db8f036a7888 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleGet.json
@@ -10,11 +10,16 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513",
- "name": "sdk-Authrules-2513",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
- }
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513",
+ "name": "sdk-Authrules-2513",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json
index fd40f732bc7e..a95a3a8ac576 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListAll.json
@@ -9,15 +9,20 @@
"responses": {
"200": {
"body": {
- "value": [
- {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513",
- "name": "sdk-Authrules-2513",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
- }
- ]
- }
+ "value": [
+ {
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513",
+ "name": "sdk-Authrules-2513",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json
index 5c10a7e20d3e..7a1f458b3238 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json
@@ -10,12 +10,12 @@
"responses": {
"200": {
"body": {
- "primaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532",
- "secondaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532",
- "primaryKey": "############################################",
- "secondaryKey": "############################################",
- "keyName": "sdk-Authrules-2513"
- }
+ "primaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532",
+ "secondaryConnectionString": "Endpoint=sb://sdk-namespace-960.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-2513;SharedAccessKey=############################################;EntityPath=sdk-EventHub-532",
+ "primaryKey": "############################################",
+ "secondaryKey": "############################################",
+ "keyName": "sdk-Authrules-2513"
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json
index 9879ae50a617..f5d6cdcb9d23 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenerateKey.json
@@ -7,18 +7,18 @@
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"parameters": {
- "keyType": "PrimaryKey"
- }
+ "keyType": "PrimaryKey"
+ }
},
"responses": {
"200": {
"body": {
- "primaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647",
- "secondaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647",
- "primaryKey": "#############################################",
- "secondaryKey": "#############################################",
- "keyName": "sdk-Authrules-1534"
- }
+ "primaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647",
+ "secondaryConnectionString": "Endpoint=sb://sdk-namespace-9027.servicebus.windows-int.net/;SharedAccessKeyName=sdk-Authrules-1534;SharedAccessKey=#############################################;EntityPath=sdk-EventHub-1647",
+ "primaryKey": "#############################################",
+ "secondaryKey": "#############################################",
+ "keyName": "sdk-Authrules-1534"
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json
index 5dc4abfccf02..3f18b7010177 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json
@@ -7,21 +7,25 @@
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
"parameters": {
- "properties": {
- "rights": [
- "Listen"
- ]
- }
- }
+ "properties": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ }
},
"responses": {
"200": {
"body": {
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513",
- "name": "sdk-Authrules-2513",
- "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules",
- "properties": { "rights": [ "Listen" ] }
- }
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-960/eventhubs/sdk-EventHub-532/authorizationRules/sdk-Authrules-2513",
+ "name": "sdk-Authrules-2513",
+ "type": "Microsoft.EventHub/Namespaces/EventHubs/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen"
+ ]
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubCreate.json
index 8c7c6262ae08..b5fdb2067157 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubCreate.json
@@ -39,7 +39,12 @@
"status": "Active",
"createdAt": "2017-06-28T02:45:55.877Z",
"updatedAt": "2017-06-28T02:46:05.877Z",
- "partitionIds": [ "0", "1", "2", "3" ],
+ "partitionIds": [
+ "0",
+ "1",
+ "2",
+ "3"
+ ],
"captureDescription": {
"enabled": true,
"encoding": "Avro",
@@ -58,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubDelete.json
index 0674a189c411..dc0f0cdea8eb 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubGet.json
index ddfd8b56e4b9..aee868c1f814 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubGet.json
@@ -18,7 +18,12 @@
"status": "Active",
"createdAt": "2017-06-28T02:45:55.877Z",
"updatedAt": "2017-06-28T02:46:05.877Z",
- "partitionIds": [ "0", "1", "2", "3" ],
+ "partitionIds": [
+ "0",
+ "1",
+ "2",
+ "3"
+ ],
"captureDescription": {
"enabled": true,
"encoding": "Avro",
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json
index b0cd513887b5..90f1998c3ae7 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json
@@ -20,7 +20,12 @@
"status": "Active",
"createdAt": "2017-06-28T02:45:55.877Z",
"updatedAt": "2017-06-28T02:46:05.877Z",
- "partitionIds": [ "0", "1", "2", "3" ],
+ "partitionIds": [
+ "0",
+ "1",
+ "2",
+ "3"
+ ],
"captureDescription": {
"enabled": true,
"encoding": "Avro",
@@ -41,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubUpdate.json
index 535fdfe1eb2b..61159e75563b 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/EventHubs/EHEventHubUpdate.json
@@ -59,4 +59,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json
index f8143d91853a..e172fb235027 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json
@@ -20,8 +20,13 @@
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules/sdk-Authrules-1746",
"name": "sdk-Authrules-1746",
"type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json
index ee6c5d1f334f..3959bf946e15 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json
index 9542dfb59ac4..58933ddd6f8a 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleGet.json
@@ -12,8 +12,13 @@
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules/sdk-Authrules-1746",
"name": "sdk-Authrules-1746",
"type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json
index bb5d1f32f4fd..1d62c51ef999 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListAll.json
@@ -13,16 +13,27 @@
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules?api-version=2017-04-01/RootManageSharedAccessKey",
"name": "RootManageSharedAccessKey",
"type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Manage", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Manage",
+ "Send"
+ ]
+ }
},
{
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules?api-version=2017-04-01/sdk-Authrules-1746",
"name": "sdk-Authrules-1746",
"type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json
index b3efe1477c39..e999173bfb53 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json
index 47784b064d9f..31f25dcd6721 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenerateKey.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json
index a2bfa9df1839..30765d61499d 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json
@@ -19,8 +19,12 @@
"id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2702/AuthorizationRules/sdk-Authrules-1746",
"name": "sdk-Authrules-1746",
"type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen" ] }
+ "properties": {
+ "rights": [
+ "Listen"
+ ]
+ }
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json
index 304f1bb28812..b1f2ccf66711 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json
@@ -15,4 +15,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json
index 3c2e7ebd7e50..9b5d1193e4b5 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json
@@ -42,33 +42,33 @@
"serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
}
}
- },
- "201": {
- "body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
- "name": "sdk-Namespace-5849",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Created",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
- "createdAt": "2017-05-24T23:23:27.877Z",
- "updatedAt": "2017-05-24T23:23:27.877Z",
- "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
- }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
+ "name": "sdk-Namespace-5849",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Created",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
+ "createdAt": "2017-05-24T23:23:27.877Z",
+ "updatedAt": "2017-05-24T23:23:27.877Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
}
- },
- "202": {}
+ }
+ },
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json
index b8b3ad3635e0..b697874b2418 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json
index fc61c3002d2f..7a662298808e 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json
@@ -8,55 +8,55 @@
"responses": {
"200": {
"body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
- "name": "sdk-Namespace-5849",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Created",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
- "createdAt": "2017-05-24T23:23:27.877Z",
- "updatedAt": "2017-05-24T23:23:27.877Z",
- "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
- }
- }
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
+ "name": "sdk-Namespace-5849",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Created",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
+ "createdAt": "2017-05-24T23:23:27.877Z",
+ "updatedAt": "2017-05-24T23:23:27.877Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
+ }
+ }
},
- "201": {
+ "201": {
"body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
- "name": "sdk-Namespace-5849",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag1": "value1",
- "tag2": "value2"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Created",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
- "createdAt": "2017-05-24T23:23:27.877Z",
- "updatedAt": "2017-05-24T23:23:27.877Z",
- "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
- }
- }
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5849",
+ "name": "sdk-Namespace-5849",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Created",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-5849",
+ "createdAt": "2017-05-24T23:23:27.877Z",
+ "updatedAt": "2017-05-24T23:23:27.877Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-5849.servicebus.windows-int.net:443/"
+ }
+ }
}
}
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceList.json
index 5c8d199e1ac0..a05c321ff63a 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceList.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceList.json
@@ -1358,4 +1358,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json
index be277d878c9d..fc43b939227d 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json
@@ -309,4 +309,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json
index 6bee975d1190..29a9c6f32529 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json
@@ -4,66 +4,66 @@
"resourceGroupName": "ArunMonocle",
"api-version": "2017-04-01",
"subscriptionId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4",
- "parameters":{
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- }
- }
+ "parameters": {
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ }
+ }
},
"responses": {
"200": {
"body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668",
- "name": "sdk-Namespace-3668",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Updating",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668",
- "createdAt": "2017-06-01T21:37:04.46Z",
- "updatedAt": "2017-06-01T21:37:53.413Z",
- "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/"
- }
- }
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668",
+ "name": "sdk-Namespace-3668",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Updating",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668",
+ "createdAt": "2017-06-01T21:37:04.46Z",
+ "updatedAt": "2017-06-01T21:37:53.413Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/"
+ }
+ }
},
"201": {
"body": {
- "sku": {
- "name": "Standard",
- "tier": "Standard",
- "capacity": 1
- },
- "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668",
- "name": "sdk-Namespace-3668",
- "type": "Microsoft.EventHub/Namespaces",
- "location": "South Central US",
- "tags": {
- "tag3": "value3",
- "tag4": "value4"
- },
- "properties": {
- "isAutoInflateEnabled": false,
- "maximumThroughputUnits": 0,
- "provisioningState": "Updating",
- "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668",
- "createdAt": "2017-06-01T21:37:04.46Z",
- "updatedAt": "2017-06-01T21:37:53.413Z",
- "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/"
- }
- }
+ "sku": {
+ "name": "Standard",
+ "tier": "Standard",
+ "capacity": 1
+ },
+ "id": "/subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-3668",
+ "name": "sdk-Namespace-3668",
+ "type": "Microsoft.EventHub/Namespaces",
+ "location": "South Central US",
+ "tags": {
+ "tag3": "value3",
+ "tag4": "value4"
+ },
+ "properties": {
+ "isAutoInflateEnabled": false,
+ "maximumThroughputUnits": 0,
+ "provisioningState": "Updating",
+ "metricId": "5f750a97-50d9-4e36-8081-c9ee4c0210d4:sdk-namespace-3668",
+ "createdAt": "2017-06-01T21:37:04.46Z",
+ "updatedAt": "2017-06-01T21:37:53.413Z",
+ "serviceBusEndpoint": "https://sdk-Namespace-3668.servicebus.windows-int.net:443/"
+ }
+ }
},
"202": {}
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json
index 509bc7792ac5..322df5bf0143 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetCreate.json
@@ -62,15 +62,21 @@
"defaultAction": "Deny",
"virtualNetworkRules": [
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2"
+ },
"ignoreMissingVnetServiceEndpoint": true
},
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3"
+ },
"ignoreMissingVnetServiceEndpoint": false
},
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6"
+ },
"ignoreMissingVnetServiceEndpoint": false
}
],
@@ -100,4 +106,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json
index 17afbaf88b5f..2deef86c8131 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/NameSpaces/VirtualNetworkRule/EHNetworkRuleSetGet.json
@@ -15,15 +15,21 @@
"defaultAction": "Deny",
"virtualNetworkRules": [
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet2"
+ },
"ignoreMissingVnetServiceEndpoint": true
},
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet3"
+ },
"ignoreMissingVnetServiceEndpoint": false
},
{
- "subnet": { "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6" },
+ "subnet": {
+ "id": "/subscriptions/subscriptionid/resourcegroups/resourcegroupid/providers/Microsoft.Network/virtualNetworks/myvn/subnets/subnet6"
+ },
"ignoreMissingVnetServiceEndpoint": false
}
],
@@ -53,4 +59,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json
index 5b68f17551f9..816d91a8eb51 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleGet.json
@@ -10,11 +10,16 @@
"responses": {
"200": {
"body": {
- "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879",
- "name": "sdk-Authrules-4879",
- "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
- }
+ "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879",
+ "name": "sdk-Authrules-4879",
+ "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json
index 4cf93f185ee6..5d7edf18a121 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListAll.json
@@ -9,33 +9,54 @@
"responses": {
"200": {
"body": {
- "value": [
- {
- "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey",
- "name": "RootManageSharedAccessKey",
- "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Manage", "Send" ] }
- },
- {
- "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067",
- "name": "sdk-Authrules-1067",
- "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
- },
- {
- "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684",
- "name": "sdk-Authrules-1684",
- "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
- },
- {
- "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879",
- "name": "sdk-Authrules-4879",
- "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
- "properties": { "rights": [ "Listen", "Send" ] }
- }
- ]
- }
+ "value": [
+ {
+ "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/RootManageSharedAccessKey",
+ "name": "RootManageSharedAccessKey",
+ "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Manage",
+ "Send"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1067",
+ "name": "sdk-Authrules-1067",
+ "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-1684",
+ "name": "sdk-Authrules-1684",
+ "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/exampleSubscriptionId/resourceGroups/exampleResourceGroup/providers/Microsoft.EventHub/namespaces/sdk-Namespace-9080/disasterRecoveryConfigs/sdk-DisasterRecovery-4047/AuthorizationRules/sdk-Authrules-4879",
+ "name": "sdk-Authrules-4879",
+ "type": "Microsoft.EventHub/Namespaces/AuthorizationRules",
+ "properties": {
+ "rights": [
+ "Listen",
+ "Send"
+ ]
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json
index 7a0f84b9447a..0a737fe403ff 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasAuthorizationRuleListKey.json
@@ -10,12 +10,12 @@
"responses": {
"200": {
"body": {
- "aliasPrimaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
- "aliasSecondaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
+ "aliasPrimaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
+ "aliasSecondaryConnectionString": "Endpoint=sb://sdk-disasterrecovery-4047.servicebus.windows-int.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=############################################",
"primaryKey": "############################################",
"secondaryKey": "############################################",
"keyName": "sdk-Authrules-1746"
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json
index f856b118c127..002c618a643b 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCheckNameAvailability.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCreate.json
index 8ecd7319b358..08225024cf70 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCreate.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasCreate.json
@@ -20,11 +20,10 @@
"properties": {
"provisioningState": "Accepted",
"partnerNamespace": "sdk-Namespace-37",
- "role": "Primary",
- "type": "MetadataReplication"
+ "role": "Primary"
}
}
},
"201": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasDelete.json
index b01a5def8c25..432bcbfe75ae 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasDelete.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasDelete.json
@@ -9,4 +9,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json
index 871ce3d48bfc..eba0ce34bcda 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasFailOver.json
@@ -9,4 +9,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasGet.json
index 6ab7cf000d25..693f54cd778f 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasGet.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasGet.json
@@ -16,7 +16,6 @@
"provisioningState": "Accepted",
"partnerNamespace": "sdk-Namespace-8859",
"role": "Secondary",
- "type": "MetadataReplication",
"pendingReplicationOperationsCount": 0
}
}
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasList.json
index 37dbbc1a4634..517c5c216a05 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasList.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/examples/disasterRecoveryConfigs/EHAliasList.json
@@ -17,12 +17,11 @@
"properties": {
"provisioningState": "Accepted",
"partnerNamespace": "sdk-Namespace-37",
- "role": "Primary",
- "type": "MetadataReplication"
+ "role": "Primary"
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/eventhub/resource-manager/readme.java.md b/specification/eventhub/resource-manager/readme.java.md
new file mode 100644
index 000000000000..3b9b1a0e5243
--- /dev/null
+++ b/specification/eventhub/resource-manager/readme.java.md
@@ -0,0 +1,62 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.eventhubs
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventhubs
+service-name: EventHubs
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-01-preview
+ - tag: package-2015-08
+ - tag: package-2017-04
+```
+
+### Tag: package-2018-01-preview and java
+
+These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.eventhubs.v2018_01_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2018_01_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2015-08 and java
+
+These settings apply only when `--tag=package-2015-08 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.eventhubs.v2015_08_01
+ output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2015_08_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-04 and java
+
+These settings apply only when `--tag=package-2017-04 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.eventhubs.v2017_04_01
+ output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2017_04_01
+regenerate-manager: true
+generate-interface: true
+```
diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md
index 856e1309bbc9..0f8148207e85 100644
--- a/specification/eventhub/resource-manager/readme.md
+++ b/specification/eventhub/resource-manager/readme.md
@@ -82,6 +82,8 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
+ after_scripts:
+ - python ./scripts/multiapi_init_gen.py azure-mgmt-eventhub
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
@@ -116,64 +118,4 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.eventhub
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventhub
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-01-preview
- - tag: package-2015-08
- - tag: package-2017-04
-```
-
-### Tag: package-2018-01-preview and java
-
-These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.eventhub.v2018_01_01_preview
- output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2018_01_01_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2015-08 and java
-
-These settings apply only when `--tag=package-2015-08 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.eventhub.v2015_08_01
- output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2015_08_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2017-04 and java
-
-These settings apply only when `--tag=package-2017-04 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.eventhub.v2017_04_01
- output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2017_04_01
-regenerate-manager: true
-generate-interface: true
-```
-
-
+See configuration in [readme.java.md](./readme.java.md)
\ No newline at end of file
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json
new file mode 100644
index 000000000000..ecfa2c7e10c3
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "hanaInstanceName": "myHanaInstance"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json
new file mode 100644
index 000000000000..ecfa2c7e10c3
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "hanaInstanceName": "myHanaInstance"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json
new file mode 100644
index 000000000000..10f8de0e3941
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor",
+ "sapMonitorParameter": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPassword": "",
+ "HanaDbPasswordKeyVaultURL": "",
+ "HanaDbCredentialsMsiID": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance",
+ "name": "myHanaInstance",
+ "type": "Microsoft.HanaOnAzure/hanaInstances",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance",
+ "name": "myHanaInstance",
+ "type": "Microsoft.HanaOnAzure/hanaInstances",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json
new file mode 100644
index 000000000000..4b82a98dfefc
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json
new file mode 100644
index 000000000000..ea1b1cee9229
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json
new file mode 100644
index 000000000000..dad3f9d0c1bd
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor1",
+ "name": "mySapMonitor1",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor2",
+ "name": "mySapMonitor2",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json
new file mode 100644
index 000000000000..62a785b4a80a
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor",
+ "tagsParameter": {
+ "tags": {
+ "testkey": "testvalue"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "testkey": "testvalue"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json
new file mode 100644
index 000000000000..af464a6f3549
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor",
+ "tagsParameter": {
+ "tags": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
index 4937fc445a20..66d514dd23d2 100644
--- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
@@ -377,6 +377,110 @@
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/start": {
+ "post": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "HanaInstances_Start",
+ "x-ms-long-running-operation": true,
+ "description": "The operation to start a SAP HANA instance.",
+ "x-ms-examples": {
+ "Start a HANA instance": {
+ "$ref": "./examples/HanaInstances_Start.json"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/HanaInstanceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/shutdown": {
+ "post": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "HanaInstances_Shutdown",
+ "x-ms-long-running-operation": true,
+ "description": "The operation to shutdown a SAP HANA instance.",
+ "x-ms-examples": {
+ "Shutdown a HANA instance": {
+ "$ref": "./examples/HanaInstances_Shutdown.json"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/HanaInstanceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
}
}
@@ -426,6 +530,235 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/sapMonitors": {
+ "get": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_List",
+ "summary": "Gets a list of SAP monitors in the specified subscription.",
+ "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.",
+ "x-ms-examples": {
+ "List all SAP Monitors in a subscription": {
+ "$ref": "./examples/SapMonitors_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapMonitorListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/sapMonitors/{sapMonitorName}": {
+ "get": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_Get",
+ "summary": "Gets properties of a SAP monitor.",
+ "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Get properties of a SAP monitor": {
+ "$ref": "./examples/SapMonitors_Get.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_Create",
+ "x-ms-long-running-operation": true,
+ "summary": "Creates a SAP monitor.",
+ "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Create a SAP Monitor": {
+ "$ref": "./examples/SapMonitors_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Created SapMonitor",
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ }
+ },
+ "201": {
+ "description": "Creating SapMonitor",
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_Delete",
+ "x-ms-long-running-operation": true,
+ "summary": "Deletes a SAP monitor.",
+ "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name.",
+ "x-ms-examples": {
+ "Deletes a SAP monitor": {
+ "$ref": "./examples/SapMonitors_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Deleted SapMonitor"
+ },
+ "202": {
+ "description": "Deleting SapMonitor"
+ },
+ "204": {
+ "description": "No SapMonitor to delete"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_Update",
+ "summary": "Patches the Tags field of a SAP monitor.",
+ "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name.",
+ "x-ms-examples": {
+ "Update Tags field of a SAP monitor": {
+ "$ref": "./examples/SapMonitors_PatchTags.json"
+ },
+ "Delete Tags field of a SAP monitor": {
+ "$ref": "./examples/SapMonitors_PatchTags_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TagsParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -821,6 +1154,92 @@
}
},
"description": "Details needed to monitor a Hana Instance"
+ },
+ "SapMonitorListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SapMonitor"
+ },
+ "description": "The list of SAP monitors."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of SAP monitors."
+ }
+ },
+ "description": "The response from the List SAP monitors operation."
+ },
+ "SapMonitor": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SapMonitorProperties",
+ "description": "SAP monitor properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "SAP monitor info on Azure (ARM properties and SAP monitor properties)"
+ },
+ "SapMonitorProperties": {
+ "properties": {
+ "hanaSubnet": {
+ "type": "string",
+ "description": "Specifies the SAP monitor unique ID."
+ },
+ "hanaHostname": {
+ "type": "string",
+ "description": "Hostname of the HANA instance."
+ },
+ "hanaDbName": {
+ "type": "string",
+ "description": "Database name of the HANA instance."
+ },
+ "hanaDbSqlPort": {
+ "type": "integer",
+ "description": "Database port of the HANA instance."
+ },
+ "hanaDbUsername": {
+ "type": "string",
+ "description": "Database username of the HANA instance."
+ },
+ "hanaDbPassword": {
+ "type": "string",
+ "description": "Database password of the HANA instance."
+ },
+ "hanaDbPasswordKeyVaultUrl": {
+ "type": "string",
+ "description": "KeyVault URL link to the password for the HANA database."
+ },
+ "hanaDbCredentialsMsiId": {
+ "type": "string",
+ "description": "MSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ],
+ "x-ms-enum": {
+ "name": "HanaProvisioningStatesEnum",
+ "modelAsString": true
+ },
+ "description": "State of provisioning of the HanaInstance"
+ }
+ },
+ "description": "Describes the properties of a SAP monitor."
}
},
"parameters": {
@@ -847,6 +1266,14 @@
"description": "Name of the SAP HANA on Azure instance.",
"x-ms-parameter-location": "method"
},
+ "SapMonitorNameParameter": {
+ "name": "sapMonitorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the SAP monitor resource.",
+ "x-ms-parameter-location": "method"
+ },
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
@@ -883,6 +1310,16 @@
},
"description": "Request body representing a HanaInstance",
"x-ms-parameter-location": "method"
+ },
+ "SapMonitorParameter": {
+ "name": "sapMonitorParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ },
+ "description": "Request body representing a SAP Monitor",
+ "x-ms-parameter-location": "method"
}
}
}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json
index 36c26a2c3cff..fe26f51c7c4b 100644
--- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json
@@ -9,7 +9,8 @@
"schemes": [
"https"
],
- "security": [{
+ "security": [
+ {
"azure_auth": [
"user_impersonation"
]
@@ -35,20 +36,23 @@
"operationId": "DedicatedHsm_CreateOrUpdate",
"x-ms-long-running-operation": true,
"description": "Create or Update a dedicated HSM in the specified subscription.",
- "parameters": [{
+ "parameters": [
+ {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the Resource Group to which the resource belongs."
- }, {
+ },
+ {
"name": "name",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$",
"description": "Name of the dedicated Hsm"
- }, {
+ },
+ {
"name": "parameters",
"in": "body",
"required": true,
@@ -56,9 +60,11 @@
"$ref": "#/definitions/DedicatedHsm"
},
"description": "Parameters to create or update the dedicated hsm"
- }, {
+ },
+ {
"$ref": "#/parameters/ApiVersionParameter"
- }, {
+ },
+ {
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
@@ -101,20 +107,23 @@
"operationId": "DedicatedHsm_Update",
"x-ms-long-running-operation": true,
"description": "Update a dedicated HSM in the specified subscription.",
- "parameters": [{
+ "parameters": [
+ {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the Resource Group to which the server belongs."
- }, {
+ },
+ {
"name": "name",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$",
"description": "Name of the dedicated HSM"
- }, {
+ },
+ {
"name": "parameters",
"in": "body",
"required": true,
@@ -123,9 +132,11 @@
"$ref": "#/definitions/DedicatedHsmPatchParameters"
},
"description": "Parameters to patch the dedicated HSM"
- }, {
+ },
+ {
"$ref": "#/parameters/ApiVersionParameter"
- }, {
+ },
+ {
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
@@ -162,21 +173,25 @@
"operationId": "DedicatedHsm_Delete",
"x-ms-long-running-operation": true,
"description": "Deletes the specified Azure Dedicated HSM.",
- "parameters": [{
+ "parameters": [
+ {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the Resource Group to which the dedicated HSM belongs."
- }, {
+ },
+ {
"name": "name",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the dedicated HSM to delete"
- }, {
+ },
+ {
"$ref": "#/parameters/ApiVersionParameter"
- }, {
+ },
+ {
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
@@ -215,21 +230,25 @@
],
"operationId": "DedicatedHsm_Get",
"description": "Gets the specified Azure dedicated HSM.",
- "parameters": [{
+ "parameters": [
+ {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the Resource Group to which the dedicated hsm belongs."
- }, {
+ },
+ {
"name": "name",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the dedicated HSM."
- }, {
+ },
+ {
"$ref": "#/parameters/ApiVersionParameter"
- }, {
+ },
+ {
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
@@ -267,21 +286,25 @@
],
"operationId": "DedicatedHsm_ListByResourceGroup",
"description": "The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.",
- "parameters": [{
+ "parameters": [
+ {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the Resource Group to which the dedicated HSM belongs."
- }, {
+ },
+ {
"name": "$top",
"in": "query",
"type": "integer",
"format": "int32",
"description": "Maximum number of results to return."
- }, {
+ },
+ {
"$ref": "#/parameters/ApiVersionParameter"
- }, {
+ },
+ {
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
@@ -322,15 +345,18 @@
],
"operationId": "DedicatedHsm_ListBySubscription",
"description": "The List operation gets information about the dedicated HSMs associated with the subscription.",
- "parameters": [{
+ "parameters": [
+ {
"name": "$top",
"in": "query",
"type": "integer",
"format": "int32",
"description": "Maximum number of results to return."
- }, {
+ },
+ {
"$ref": "#/parameters/ApiVersionParameter"
- }, {
+ },
+ {
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
@@ -375,14 +401,14 @@
},
"description": "The API entity reference."
},
- "NetworkInterface": {
+ "NetworkInterface": {
"properties": {
"id": {
"readOnly": true,
"type": "string",
"description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..."
},
- "privateIpAddress": {
+ "privateIpAddress": {
"type": "string",
"description": "Private Ip address of the interface"
}
@@ -392,15 +418,15 @@
"NetworkProfile": {
"properties": {
"subnet": {
- "$ref": "#/definitions/ApiEntityReference",
- "description": "Specifies the identifier of the subnet."
+ "$ref": "#/definitions/ApiEntityReference",
+ "description": "Specifies the identifier of the subnet."
},
"networkInterfaces": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/NetworkInterface"
- },
- "description": "Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM."
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterface"
+ },
+ "description": "Specifies the list of resource Ids for the network interfaces associated with the dedicated HSM."
}
}
},
@@ -434,7 +460,15 @@
"readOnly": true,
"type": "string",
"description": "Provisioning state.",
- "enum": [ "Succeeded", "Provisioning", "Allocating", "Connecting", "Failed", "CheckingQuota", "Deleting" ],
+ "enum": [
+ "Succeeded",
+ "Provisioning",
+ "Allocating",
+ "Connecting",
+ "Failed",
+ "CheckingQuota",
+ "Deleting"
+ ],
"x-ms-enum": {
"name": "JsonWebKeyType",
"modelAsString": true,
@@ -481,7 +515,8 @@
"description": "Properties of the dedicated HSM"
}
},
- "allOf": [{
+ "allOf": [
+ {
"$ref": "#/definitions/Resource"
}
],
@@ -628,4 +663,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json
index daec9380477f..a2d30ce4c42f 100644
--- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_CreateOrUpdate.json
@@ -1,96 +1,96 @@
{
+ "parameters": {
+ "resourceGroupName": "hsm-group",
+ "name": "hsm1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-10-31-preview",
"parameters": {
- "resourceGroupName": "hsm-group",
- "name": "hsm1",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "api-version": "2018-10-31-preview",
- "parameters": {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.1"
- }
- ]
- },
- "stampId": "stamp01"
- },
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood"
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.1"
}
+ ]
+ },
+ "stampId": "stamp01"
+ },
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.1"
+ }
+ ]
+ },
+ "stampId": "stamp01",
+ "provisioningState": "Provisioning",
+ "statusMessage": "DedicatedHsm device is being provisioned."
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
+ "name": "hsm1",
+ "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
}
+ }
},
- "responses": {
- "201": {
- "body": {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.1"
- }
- ]
- },
- "stampId": "stamp01",
- "provisioningState": "Provisioning",
- "statusMessage": "DedicatedHsm device is being provisioned."
- },
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
- "name": "hsm1",
- "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood"
- }
- }
+ "200": {
+ "body": {
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.1"
+ }
+ ]
+ },
+ "stampId": "stamp01",
+ "provisioningState": "Succeeded",
+ "statusMessage": "DedicatedHsm device is functional."
},
- "200": {
- "body": {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.1"
- }
- ]
- },
- "stampId": "stamp01",
- "provisioningState": "Succeeded",
- "statusMessage": "DedicatedHsm device is functional."
- },
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
- "name": "hsm1",
- "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood"
- }
- }
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
+ "name": "hsm1",
+ "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json
index 0d44a07fbd2e..a3b2a5432755 100644
--- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Delete.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "resourceGroupName": "hsm-group",
- "name": "hsm1",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "api-version": "2018-10-31-preview"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "resourceGroupName": "hsm-group",
+ "name": "hsm1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-10-31-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json
index 93986fb65cc1..661d042e750a 100644
--- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Get.json
@@ -1,42 +1,42 @@
{
- "parameters": {
- "resourceGroupName": "hsm-group",
+ "parameters": {
+ "resourceGroupName": "hsm-group",
+ "name": "hsm1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-10-31-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.1"
+ }
+ ]
+ },
+ "stampId": "stamp01",
+ "provisioningState": "Succeeded",
+ "statusMessage": "DedicatedHsm device is functional."
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
"name": "hsm1",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "api-version": "2018-10-31-preview"
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.1"
- }
- ]
- },
- "stampId": "stamp01",
- "provisioningState": "Succeeded",
- "statusMessage": "DedicatedHsm device is functional."
- },
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
- "name": "hsm1",
- "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood",
- "Slice": "A"
- }
- }
+ "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "A"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json
index 9f35454fc969..b343a4345a8a 100644
--- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListByResourceGroup.json
@@ -1,76 +1,76 @@
{
- "parameters": {
- "resourceGroupName": "hsm-group",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "api-version": "2018-10-31-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.1"
- }
- ]
- },
- "stampId": "stamp01",
- "provisioningState": "Succeeded",
- "statusMessage": "DedicatedHsm device is functional."
- },
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
- "name": "hsm1",
- "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood",
- "Slice": "A"
- }
- },
- {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.2"
- }
- ]
- },
- "stampId": "stamp01",
- "provisioningState": "Succeeded",
- "statusMessage": "DedicatedHsm device is functional."
- },
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm2",
- "name": "hsm1",
- "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood",
- "Slice": "B"
- }
- }
- ],
- "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
+ "parameters": {
+ "resourceGroupName": "hsm-group",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-10-31-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.1"
+ }
+ ]
+ },
+ "stampId": "stamp01",
+ "provisioningState": "Succeeded",
+ "statusMessage": "DedicatedHsm device is functional."
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
+ "name": "hsm1",
+ "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "A"
}
- }
+ },
+ {
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.2"
+ }
+ ]
+ },
+ "stampId": "stamp01",
+ "provisioningState": "Succeeded",
+ "statusMessage": "DedicatedHsm device is functional."
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm2",
+ "name": "hsm1",
+ "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "B"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json
index 90866755637d..d5268cb396e4 100644
--- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_ListBySubscription.json
@@ -1,75 +1,75 @@
{
- "parameters": {
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "api-version": "2018-10-31-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.1"
- }
- ]
- },
- "stampId": "stamp01",
- "provisioningState": "Succeeded",
- "statusMessage": "DedicatedHsm device is functional."
- },
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
- "name": "hsm1",
- "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood",
- "Slice": "A"
- }
- },
- {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.2"
- }
- ]
- },
- "stampId": "stamp01",
- "provisioningState": "Succeeded",
- "statusMessage": "DedicatedHsm device is functional."
- },
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm2",
- "name": "hsm1",
- "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood",
- "Slice": "B"
- }
- }
- ],
- "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-10-31-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.1"
+ }
+ ]
+ },
+ "stampId": "stamp01",
+ "provisioningState": "Succeeded",
+ "statusMessage": "DedicatedHsm device is functional."
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
+ "name": "hsm1",
+ "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "A"
}
- }
+ },
+ {
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.2"
+ }
+ ]
+ },
+ "stampId": "stamp01",
+ "provisioningState": "Succeeded",
+ "statusMessage": "DedicatedHsm device is functional."
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm2",
+ "name": "hsm1",
+ "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "B"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs?api-version=2018-10-31-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json
index 36758632cb28..18a78b7a583c 100644
--- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json
+++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/examples/DedicatedHsm_Update.json
@@ -1,49 +1,49 @@
{
+ "parameters": {
+ "resourceGroupName": "hsm-group",
+ "name": "hsm1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "api-version": "2018-10-31-preview",
"parameters": {
- "resourceGroupName": "hsm-group",
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "A"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "networkProfile": {
+ "subnet": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
+ "privateIpAddress": "1.0.0.1"
+ }
+ ]
+ },
+ "stampId": "stamp01",
+ "provisioningState": "Succeeded",
+ "statusMessage": "DedicatedHsm device is functional."
+ },
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
"name": "hsm1",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "api-version": "2018-10-31-preview",
- "parameters": {
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood",
- "Slice": "A"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "networkProfile": {
- "subnet": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/virtualNetworks/stamp01/subnets/stamp01"
- },
- "networkInterfaces": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.Network/networkInterfaces/hsm_vnic",
- "privateIpAddress": "1.0.0.1"
- }
- ]
- },
- "stampId": "stamp01",
- "provisioningState": "Succeeded",
- "statusMessage": "DedicatedHsm device is functional."
- },
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs/hsm1",
- "name": "hsm1",
- "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
- "location": "westus",
- "sku": {
- "name": "SafeNet Luna Network HSM A790"
- },
- "tags": {
- "Dept": "hsm",
- "Environment": "dogfood",
- "Slice": "A"
- }
- }
+ "type": "Microsoft.HardwareSecurityModules/dedicatedHSMs",
+ "location": "westus",
+ "sku": {
+ "name": "SafeNet Luna Network HSM A790"
+ },
+ "tags": {
+ "Dept": "hsm",
+ "Environment": "dogfood",
+ "Slice": "A"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
index 263fc59b3384..f12668bbc9c1 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
@@ -56,6 +56,9 @@
},
"Create Hadoop cluster with Azure Data Lake Storage Gen 2": {
"$ref": "./examples/CreateLinuxHadoopAdlsGen2.json"
+ },
+ "Create HDInsight cluster with Autoscale configuration": {
+ "$ref": "./examples/CreateHDInsightClusterWithAutoscaleConfig.json"
}
},
"parameters": [
@@ -605,6 +608,98 @@
}
}
},
+ "AutoscaleTimeAndCapacity": {
+ "properties": {
+ "time": {
+ "type": "string",
+ "description": "24-hour time in the form xx:xx"
+ },
+ "minInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum instance count of the cluster"
+ },
+ "maxInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum instance count of the cluster"
+ }
+ },
+ "description": "Time and capacity request parameters"
+ },
+ "AutoscaleSchedule": {
+ "properties": {
+ "days": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "x-ms-enum": {
+ "name": "DaysOfWeek",
+ "modelAsString": false
+ }
+ },
+ "description": "Days of the week for a schedule-based autoscale rule"
+ },
+ "timeAndCapacity": {
+ "$ref": "#/definitions/AutoscaleTimeAndCapacity",
+ "description": "Time and capacity for a schedule-based autoscale rule"
+ }
+ },
+ "description": "Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity"
+ },
+ "AutoscaleCapacity": {
+ "properties": {
+ "minInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum instance count of the cluster"
+ },
+ "maxInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum instance count of the cluster"
+ }
+ },
+ "description": "The load-based autoscale request parameters"
+ },
+ "AutoscaleRecurrence": {
+ "properties": {
+ "timeZone": {
+ "type": "string",
+ "description": "The time zone for the autoscale schedule times"
+ },
+ "schedule": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutoscaleSchedule"
+ },
+ "description": "Array of schedule-based autoscale rules"
+ }
+ },
+ "description": "Schedule-based autoscale request parameters"
+ },
+ "Autoscale": {
+ "properties": {
+ "capacity": {
+ "$ref": "#/definitions/AutoscaleCapacity",
+ "description": "Parameters for load-based autoscale"
+ },
+ "recurrence": {
+ "$ref": "#/definitions/AutoscaleRecurrence",
+ "description": "Parameters for schedule-based autoscale"
+ }
+ },
+ "description": "The autoscale request parameters"
+ },
"HardwareProfile": {
"properties": {
"vmSize": {
@@ -710,6 +805,11 @@
"format": "int32",
"description": "The instance count of the cluster."
},
+ "autoscale": {
+ "$ref": "#/definitions/Autoscale",
+ "x-ms-client-name": "autoscaleConfiguration",
+ "description": "The autoscale configurations."
+ },
"hardwareProfile": {
"$ref": "#/definitions/HardwareProfile",
"description": "The hardware profile."
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
new file mode 100644
index 000000000000..7d11ae887c01
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "clusterName": "cluster1",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-03-01-preview",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "clusterVersion": "3.6",
+ "osType": "Linux",
+ "tier": "Standard",
+ "clusterDefinition": {
+ "kind": "hadoop",
+ "componentVersion": {
+ "Hadoop": "2.7"
+ },
+ "configurations": {
+ "gateway": {
+ "restAuthCredential.isEnabled": true,
+ "restAuthCredential.username": "admin",
+ "restAuthCredential.password": "**********"
+ }
+ }
+ },
+ "storageProfile": {
+ "storageaccounts": [
+ {
+ "name": "mystorage.blob.core.windows.net",
+ "isDefault": true,
+ "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
+ "key": "storagekey"
+ }
+ ]
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "autoscale": {
+ "capacity": null,
+ "recurrence": {
+ "timeZone": "China Standard Time",
+ "schedule": [
+ {
+ "days": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "timeAndCapacity": {
+ "time": "09:00",
+ "minInstanceCount": 3,
+ "maxInstanceCount": 3
+ }
+ },
+ {
+ "days": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "timeAndCapacity": {
+ "time": "18:00",
+ "minInstanceCount": 6,
+ "maxInstanceCount": 6
+ }
+ },
+ {
+ "days": [
+ "Saturday",
+ "Sunday"
+ ],
+ "timeAndCapacity": {
+ "time": "09:00",
+ "minInstanceCount": 2,
+ "maxInstanceCount": 2
+ }
+ },
+ {
+ "days": [
+ "Saturday",
+ "Sunday"
+ ],
+ "timeAndCapacity": {
+ "time": "18:00",
+ "minInstanceCount": 4,
+ "maxInstanceCount": 4
+ }
+ }
+ ]
+ }
+ },
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "Standard_D4_V2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ },
+ "virtualNetworkProfile": null,
+ "scriptActions": [],
+ "dataDisksGroups": null
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json
index e6cd831b81d9..9efdd944e0b3 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json
@@ -6,19 +6,19 @@
},
"responses": {
"200": {
- "Body": {
+ "body": {
"versions": {
"paas": {
"available": [
{
"friendlyName": "1.6",
"displayName": "HdInsight version 1.6.1.0.335536",
- "isDefault": false
+ "isDefault": "false"
},
{
"friendlyName": "2.1",
"displayName": "Version 2.1.9.406.1221105",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "1.3",
"Hadoop": "1.2.0"
@@ -27,7 +27,7 @@
{
"friendlyName": "3.0",
"displayName": "Version 3.0.6.989.2441725",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.0",
"Hadoop": "2.2.0"
@@ -36,7 +36,7 @@
{
"friendlyName": "3.1",
"displayName": "Version 3.1.4.989.2441725",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.1.7",
"Hadoop": "2.4.0",
@@ -46,7 +46,7 @@
{
"friendlyName": "3.2",
"displayName": "Version 3.2.7.989.2441725",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.2",
"Hadoop": "2.6.0",
@@ -57,7 +57,7 @@
{
"friendlyName": "3.3",
"displayName": "Version 3.3.0.989.2441725",
- "isDefault": true,
+ "isDefault": "true",
"componentVersions": {
"HDP": "2.3",
"Hadoop": "2.7.0",
@@ -72,7 +72,7 @@
{
"friendlyName": "3.2",
"displayName": "Version 3.2.1000.0.8840373",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.2",
"Hadoop": "2.6.0",
@@ -83,7 +83,7 @@
{
"friendlyName": "3.3",
"displayName": "Version 3.3.1000.0.9776961",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.3",
"Hadoop": "2.7.0",
@@ -95,7 +95,7 @@
{
"friendlyName": "3.4",
"displayName": "Version 3.4.1000.0.9719475",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.4",
"Hadoop": "2.7.1",
@@ -108,7 +108,7 @@
{
"friendlyName": "3.5",
"displayName": "Version 3.5.1000.0.9732704",
- "isDefault": true,
+ "isDefault": "true",
"componentVersions": {
"HDP": "2.5",
"Hadoop": "2.7.3",
@@ -122,7 +122,7 @@
{
"friendlyName": "3.6",
"displayName": "Version 3.6.1000.0.9503998",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.6",
"Spark": "2.1.0"
@@ -131,7 +131,7 @@
{
"friendlyName": "99.152",
"displayName": "Version 99.152.1000.0.6943836",
- "isDefault": false
+ "isDefault": "false"
}
]
}
@@ -184,7 +184,7 @@
]
}
},
- "vmsizes": {
+ "vmSizes": {
"paas": {
"available": [
"A5",
@@ -242,7 +242,7 @@
]
}
},
- "vmsize_filters": [
+ "vmSize_filters": [
{
"FilterMode": "Exclude",
"Regions": [
@@ -257,10 +257,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -280,10 +277,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -302,10 +296,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -325,10 +316,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -347,10 +335,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -368,10 +353,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A6"
]
},
@@ -390,10 +372,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A6"
]
},
@@ -413,10 +392,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A6"
]
},
@@ -435,10 +411,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A6"
]
},
@@ -456,10 +429,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A7"
]
},
@@ -478,10 +448,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A7"
]
},
@@ -501,10 +468,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A7"
]
},
@@ -523,10 +487,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A7"
]
},
@@ -544,10 +505,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"EXTRALARGE"
]
},
@@ -566,10 +524,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"EXTRALARGE"
]
},
@@ -591,10 +546,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"EXTRALARGE"
]
},
@@ -613,10 +565,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"EXTRALARGE"
]
},
@@ -634,10 +583,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"LARGE"
]
},
@@ -656,10 +602,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"LARGE"
]
},
@@ -679,10 +622,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"LARGE"
]
},
@@ -701,10 +641,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"LARGE"
]
},
@@ -722,10 +659,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"MEDIUM"
]
},
@@ -745,10 +679,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"MEDIUM"
]
},
@@ -767,10 +698,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"MEDIUM"
]
},
@@ -788,10 +716,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"SMALL"
]
},
@@ -811,10 +736,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"SMALL"
]
},
@@ -833,10 +755,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"SMALL"
]
},
@@ -855,10 +774,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"SMALL"
]
},
@@ -876,10 +792,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -899,10 +812,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -921,10 +831,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -942,10 +849,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -965,10 +869,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -987,10 +888,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -1008,10 +906,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1031,10 +926,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1053,10 +945,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1075,10 +964,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1098,10 +984,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1120,10 +1003,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1141,10 +1021,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1164,10 +1041,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1186,10 +1060,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1207,10 +1078,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1230,10 +1098,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1252,10 +1117,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1273,10 +1135,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1296,10 +1155,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1318,10 +1174,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1340,10 +1193,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1363,10 +1213,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1385,10 +1232,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1406,10 +1250,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1428,10 +1269,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1449,10 +1287,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1472,10 +1307,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1494,10 +1326,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1515,10 +1344,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1537,10 +1363,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1559,10 +1382,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1582,10 +1402,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1604,10 +1421,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1625,10 +1439,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13"
]
},
@@ -1647,10 +1458,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13"
]
},
@@ -1668,10 +1476,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13"
]
},
@@ -1691,10 +1496,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13"
]
},
@@ -1713,10 +1515,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -1735,10 +1534,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -1758,10 +1554,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -1779,10 +1572,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14"
]
},
@@ -1801,10 +1591,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14"
]
},
@@ -1822,10 +1609,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14"
]
},
@@ -1845,10 +1629,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14"
]
},
@@ -1866,10 +1647,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -1888,10 +1666,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -1910,10 +1685,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -1933,10 +1705,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -1954,10 +1723,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -1977,10 +1743,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -1999,10 +1762,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -2020,10 +1780,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -2043,10 +1800,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -2065,10 +1819,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -2086,10 +1837,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2109,10 +1857,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2131,10 +1876,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2153,10 +1895,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2176,10 +1915,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2198,10 +1934,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2219,10 +1952,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2241,10 +1971,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2262,10 +1989,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2285,10 +2009,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2307,10 +2028,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2328,10 +2046,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2350,10 +2065,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2372,10 +2084,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2395,10 +2104,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2417,10 +2123,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2438,10 +2141,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2460,10 +2160,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2481,10 +2178,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2504,10 +2198,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2526,10 +2217,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2547,10 +2235,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2569,10 +2254,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2591,10 +2273,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2614,10 +2293,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2636,10 +2312,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2657,10 +2330,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2679,10 +2349,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2701,10 +2368,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2724,10 +2388,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2746,10 +2407,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2768,10 +2426,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -2790,10 +2445,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -2812,10 +2464,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -2834,10 +2483,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -2856,10 +2502,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -2878,10 +2521,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -2900,10 +2540,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -2922,10 +2559,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -2944,10 +2578,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2966,10 +2597,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2988,10 +2616,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -3010,10 +2635,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -3032,10 +2654,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
}
@@ -3124,8 +2743,6 @@
"VMSIZES_AUX"
],
"quota": {
- "cores_used": 72,
- "max_cores_allowed": 1000,
"regionalQuotas": [
{
"region_name": "Australia East",
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json
index f645c70420bd..b0f912900acb 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json
@@ -6,7 +6,7 @@
},
"responses": {
"200": {
- "Body": {
+ "body": {
"value": [
{
"unit": "Count",
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
index da62bfa19376..3d361ab8180c 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
@@ -15,6 +15,11 @@
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
}
+ },
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json
new file mode 100644
index 000000000000..de9a1182d869
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "location": "East US 2",
+ "api-version": "2015-03-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "vmSizes": [
+ "A5",
+ "A6",
+ "A7"
+ ],
+ "vmSizeFilters": [
+ {
+ "filterMode": "Exclude",
+ "regions": null,
+ "clusterFlavors": null,
+ "nodeTypes": null,
+ "clusterVersions": null,
+ "osType": null,
+ "vmSizes": null
+ }
+ ],
+ "billingResources": [
+ {
+ "region": "East US 2",
+ "billingMeters": [],
+ "diskBillingMeters": []
+ },
+ {
+ "region": "default",
+ "billingMeters": [
+ {
+ "meterParameter": "default",
+ "meter": "11111111-1111-1111-1111-111111111111",
+ "unit": "CoreHours"
+ },
+ {
+ "meterParameter": "Kafka",
+ "meter": "11111111-1111-1111-1111-111111111111",
+ "unit": "CoreHours"
+ }
+ ],
+ "diskBillingMeters": [
+ {
+ "diskRpMeter": "11111111-1111-1111-1111-111111111111",
+ "sku": "All",
+ "tier": "Standard"
+ },
+ {
+ "diskRpMeter": "11111111-1111-1111-1111-111111111111",
+ "sku": "All",
+ "tier": "Standard"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
index cb49fa0aedd1..631b580d5216 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
@@ -111,6 +111,45 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs": {
+ "get": {
+ "tags": [
+ "Regions"
+ ],
+ "operationId": "Locations_ListBillingSpecs",
+ "description": "Lists the billingSpecs for the specified subscription and location.",
+ "x-ms-examples": {
+ "Get the subscription billingSpecs for the specified location": {
+ "$ref": "./examples/HDI_Locations_ListBillingSpecs.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./operations.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "OK response definition.",
+ "schema": {
+ "$ref": "#/definitions/BillingResponseListResult"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -338,6 +377,169 @@
}
}
}
+ },
+ "BillingResponseListResult": {
+ "type": "object",
+ "description": "The response for the operation to get regional billingSpecs for a subscription.",
+ "properties": {
+ "vmSizes": {
+ "description": "The virtual machine sizes to include or exclude.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "vmSizeFilters": {
+ "description": "The virtual machine filtering mode. Effectively this can enabling or disabling the virtual machine sizes in a particular set.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VmSizeCompatibilityFilterV2"
+ }
+ },
+ "billingResources": {
+ "description": "The billing and managed disk billing resources for a region.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BillingResources"
+ }
+ }
+ }
+ },
+ "VmSizeCompatibilityFilterV2": {
+ "type": "object",
+ "description": "This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted.",
+ "properties": {
+ "filterMode": {
+ "description": "The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.",
+ "type": "string",
+ "enum": [
+ "Exclude",
+ "Include"
+ ],
+ "x-ms-enum": {
+ "name": "FilterMode",
+ "modelAsString": true
+ }
+ },
+ "regions": {
+ "description": "The list of regions under the effect of the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "clusterFlavors": {
+ "description": "The list of cluster flavors under the effect of the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nodeTypes": {
+ "description": "The list of node types affected by the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "clusterVersions": {
+ "description": "The list of cluster versions affected in Major.Minor format.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "osType": {
+ "description": "The OSType affected, Windows or Linux.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": false
+ }
+ }
+ },
+ "vmSizes": {
+ "description": "The list of virtual machine sizes to include or exclude.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "BillingResources": {
+ "type": "object",
+ "description": "The billing resources.",
+ "properties": {
+ "region": {
+ "description": "The region or location.",
+ "type": "string"
+ },
+ "billingMeters": {
+ "description": "The billing meter information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BillingMeters"
+ }
+ },
+ "diskBillingMeters": {
+ "description": "The managed disk billing information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskBillingMeters"
+ }
+ }
+ }
+ },
+ "BillingMeters": {
+ "type": "object",
+ "description": "The billing meters.",
+ "properties": {
+ "meterParameter": {
+ "description": "The virtual machine sizes.",
+ "type": "string"
+ },
+ "meter": {
+ "description": "The HDInsight meter guid.",
+ "type": "string"
+ },
+ "unit": {
+ "description": "The unit of meter, VMHours or CoreHours.",
+ "type": "string"
+ }
+ }
+ },
+ "DiskBillingMeters": {
+ "type": "object",
+ "description": "The disk billing meters.",
+ "properties": {
+ "diskRpMeter": {
+ "description": "The managed disk meter guid.",
+ "type": "string"
+ },
+ "sku": {
+ "description": "The managed disk billing sku, P30 or S30.",
+ "type": "string"
+ },
+ "tier": {
+ "description": "The managed disk billing tier, Standard or Premium.",
+ "type": "string",
+ "enum": [
+ "Standard",
+ "Premium"
+ ],
+ "x-ms-enum": {
+ "name": "Tier",
+ "modelAsString": false
+ }
+ }
+ }
}
},
"parameters": {
@@ -353,7 +555,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The location.",
+ "description": "The Azure location (region) for which to make the request.",
"x-ms-parameter-location": "method"
},
"ApiVersionParameter": {
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json
index 17c51569e7fa..c64ce0bb3291 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json
@@ -253,7 +253,7 @@
},
"subDomainSuffix": {
"type": "string",
- "description": "The subDomainSuffix of the application and can not greater than 3 characters."
+ "description": "The subDomainSuffix of the application."
},
"disableGatewayAuth": {
"type": "boolean",
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
index fc18241a07fa..c55dbec56870 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
@@ -56,6 +56,9 @@
},
"Create Hadoop cluster with Azure Data Lake Storage Gen 2": {
"$ref": "./examples/CreateLinuxHadoopAdlsGen2.json"
+ },
+ "Create HDInsight cluster with Autoscale configuration": {
+ "$ref": "./examples/CreateHDInsightClusterWithAutoscaleConfig.json"
}
},
"parameters": [
@@ -605,6 +608,98 @@
}
}
},
+ "AutoscaleTimeAndCapacity": {
+ "properties": {
+ "time": {
+ "type": "string",
+ "description": "24-hour time in the form xx:xx"
+ },
+ "minInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum instance count of the cluster"
+ },
+ "maxInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum instance count of the cluster"
+ }
+ },
+ "description": "Time and capacity request parameters"
+ },
+ "AutoscaleSchedule": {
+ "properties": {
+ "days": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "x-ms-enum": {
+ "name": "DaysOfWeek",
+ "modelAsString": false
+ }
+ },
+ "description": "Days of the week for a schedule-based autoscale rule"
+ },
+ "timeAndCapacity": {
+ "$ref": "#/definitions/AutoscaleTimeAndCapacity",
+ "description": "Time and capacity for a schedule-based autoscale rule"
+ }
+ },
+ "description": "Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity"
+ },
+ "AutoscaleCapacity": {
+ "properties": {
+ "minInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum instance count of the cluster"
+ },
+ "maxInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum instance count of the cluster"
+ }
+ },
+ "description": "The load-based autoscale request parameters"
+ },
+ "AutoscaleRecurrence": {
+ "properties": {
+ "timeZone": {
+ "type": "string",
+ "description": "The time zone for the autoscale schedule times"
+ },
+ "schedule": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutoscaleSchedule"
+ },
+ "description": "Array of schedule-based autoscale rules"
+ }
+ },
+ "description": "Schedule-based autoscale request parameters"
+ },
+ "Autoscale": {
+ "properties": {
+ "capacity": {
+ "$ref": "#/definitions/AutoscaleCapacity",
+ "description": "Parameters for load-based autoscale"
+ },
+ "recurrence": {
+ "$ref": "#/definitions/AutoscaleRecurrence",
+ "description": "Parameters for schedule-based autoscale"
+ }
+ },
+ "description": "The autoscale request parameters"
+ },
"HardwareProfile": {
"properties": {
"vmSize": {
@@ -710,6 +805,11 @@
"format": "int32",
"description": "The instance count of the cluster."
},
+ "autoscale": {
+ "$ref": "#/definitions/Autoscale",
+ "x-ms-client-name": "autoscaleConfiguration",
+ "description": "The autoscale configurations."
+ },
"hardwareProfile": {
"$ref": "#/definitions/HardwareProfile",
"description": "The hardware profile."
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
new file mode 100644
index 000000000000..dc7278ca8a9f
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "clusterName": "cluster1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "clusterVersion": "3.6",
+ "osType": "Linux",
+ "tier": "Standard",
+ "clusterDefinition": {
+ "kind": "hadoop",
+ "componentVersion": {
+ "Hadoop": "2.7"
+ },
+ "configurations": {
+ "gateway": {
+ "restAuthCredential.isEnabled": true,
+ "restAuthCredential.username": "admin",
+ "restAuthCredential.password": "**********"
+ }
+ }
+ },
+ "storageProfile": {
+ "storageaccounts": [
+ {
+ "name": "mystorage.blob.core.windows.net",
+ "isDefault": true,
+ "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
+ "key": "storagekey"
+ }
+ ]
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "autoscale": {
+ "capacity": null,
+ "recurrence": {
+ "timeZone": "China Standard Time",
+ "schedule": [
+ {
+ "days": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "timeAndCapacity": {
+ "time": "09:00",
+ "minInstanceCount": 3,
+ "maxInstanceCount": 3
+ }
+ },
+ {
+ "days": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "timeAndCapacity": {
+ "time": "18:00",
+ "minInstanceCount": 6,
+ "maxInstanceCount": 6
+ }
+ },
+ {
+ "days": [
+ "Saturday",
+ "Sunday"
+ ],
+ "timeAndCapacity": {
+ "time": "09:00",
+ "minInstanceCount": 2,
+ "maxInstanceCount": 2
+ }
+ },
+ {
+ "days": [
+ "Saturday",
+ "Sunday"
+ ],
+ "timeAndCapacity": {
+ "time": "18:00",
+ "minInstanceCount": 4,
+ "maxInstanceCount": 4
+ }
+ }
+ ]
+ }
+ },
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "Standard_D4_V2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ },
+ "virtualNetworkProfile": null,
+ "scriptActions": [],
+ "dataDisksGroups": null
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json
index 50b293477e9b..d8dad62f927c 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json
@@ -6,7 +6,7 @@
},
"responses": {
"200": {
- "Body": {
+ "body": {
"value": [
{
"unit": "Count",
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
index 306db252822e..85ac80339028 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
@@ -15,6 +15,11 @@
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
}
+ },
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json
new file mode 100644
index 000000000000..2ff11cb94c13
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "location": "East US 2",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "vmSizes": [
+ "A5",
+ "A6",
+ "A7"
+ ],
+ "vmSizeFilters": [
+ {
+ "filterMode": "Exclude",
+ "regions": null,
+ "clusterFlavors": null,
+ "nodeTypes": null,
+ "clusterVersions": null,
+ "osType": null,
+ "vmSizes": null
+ }
+ ],
+ "billingResources": [
+ {
+ "region": "East US 2",
+ "billingMeters": [],
+ "diskBillingMeters": []
+ },
+ {
+ "region": "default",
+ "billingMeters": [
+ {
+ "meterParameter": "default",
+ "meter": "11111111-1111-1111-1111-111111111111",
+ "unit": "CoreHours"
+ },
+ {
+ "meterParameter": "Kafka",
+ "meter": "11111111-1111-1111-1111-111111111111",
+ "unit": "CoreHours"
+ }
+ ],
+ "diskBillingMeters": [
+ {
+ "diskRpMeter": "11111111-1111-1111-1111-111111111111",
+ "sku": "All",
+ "tier": "Standard"
+ },
+ {
+ "diskRpMeter": "11111111-1111-1111-1111-111111111111",
+ "sku": "All",
+ "tier": "Standard"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
index efc0d5c7d043..d44ce2f71502 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
@@ -72,6 +72,45 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs": {
+ "get": {
+ "tags": [
+ "Regions"
+ ],
+ "operationId": "Locations_ListBillingSpecs",
+ "description": "Lists the billingSpecs for the specified subscription and location.",
+ "x-ms-examples": {
+ "Get the subscription billingSpecs for the specified location": {
+ "$ref": "./examples/HDI_Locations_ListBillingSpecs.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./operations.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "OK response definition.",
+ "schema": {
+ "$ref": "#/definitions/BillingResponseListResult"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -123,6 +162,169 @@
}
},
"readOnly": true
+ },
+ "BillingResponseListResult": {
+ "type": "object",
+ "description": "The response for the operation to get regional billingSpecs for a subscription.",
+ "properties": {
+ "vmSizes": {
+ "description": "The virtual machine sizes to include or exclude.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "vmSizeFilters": {
+ "description": "The virtual machine filtering mode. Effectively this can enabling or disabling the virtual machine sizes in a particular set.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VmSizeCompatibilityFilterV2"
+ }
+ },
+ "billingResources": {
+ "description": "The billing and managed disk billing resources for a region.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BillingResources"
+ }
+ }
+ }
+ },
+ "VmSizeCompatibilityFilterV2": {
+ "type": "object",
+ "description": "This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted.",
+ "properties": {
+ "filterMode": {
+ "description": "The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.",
+ "type": "string",
+ "enum": [
+ "Exclude",
+ "Include"
+ ],
+ "x-ms-enum": {
+ "name": "FilterMode",
+ "modelAsString": true
+ }
+ },
+ "regions": {
+ "description": "The list of regions under the effect of the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "clusterFlavors": {
+ "description": "The list of cluster flavors under the effect of the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nodeTypes": {
+ "description": "The list of node types affected by the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "clusterVersions": {
+ "description": "The list of cluster versions affected in Major.Minor format.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "osType": {
+ "description": "The OSType affected, Windows or Linux.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": false
+ }
+ }
+ },
+ "vmSizes": {
+ "description": "The list of virtual machine sizes to include or exclude.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "BillingResources": {
+ "type": "object",
+ "description": "The billing resources.",
+ "properties": {
+ "region": {
+ "description": "The region or location.",
+ "type": "string"
+ },
+ "billingMeters": {
+ "description": "The billing meter information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BillingMeters"
+ }
+ },
+ "diskBillingMeters": {
+ "description": "The managed disk billing information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskBillingMeters"
+ }
+ }
+ }
+ },
+ "BillingMeters": {
+ "type": "object",
+ "description": "The billing meters.",
+ "properties": {
+ "meterParameter": {
+ "description": "The virtual machine sizes.",
+ "type": "string"
+ },
+ "meter": {
+ "description": "The HDInsight meter guid.",
+ "type": "string"
+ },
+ "unit": {
+ "description": "The unit of meter, VMHours or CoreHours.",
+ "type": "string"
+ }
+ }
+ },
+ "DiskBillingMeters": {
+ "type": "object",
+ "description": "The disk billing meters.",
+ "properties": {
+ "diskRpMeter": {
+ "description": "The managed disk meter guid.",
+ "type": "string"
+ },
+ "sku": {
+ "description": "The managed disk billing sku, P30 or S30.",
+ "type": "string"
+ },
+ "tier": {
+ "description": "The managed disk billing tier, Standard or Premium.",
+ "type": "string",
+ "enum": [
+ "Standard",
+ "Premium"
+ ],
+ "x-ms-enum": {
+ "name": "Tier",
+ "modelAsString": false
+ }
+ }
+ }
}
},
"parameters": {
@@ -138,7 +340,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The location to get capabilities for.",
+ "description": "The Azure location (region) for which to make the request.",
"x-ms-parameter-location": "method"
},
"ApiVersionParameter": {
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json
deleted file mode 100644
index c0b3fe732dee..000000000000
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-08-20-preview",
- "subscriptionId": "subid",
- "resourceGroupName": "resourceGroup",
- "moveResourcesInputs": {
- "targetSubscriptionId": "newSubscriptionId",
- "targetResourceGroupName": "newResourceGroup",
- "resourceIdsToMove": [
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1"
- ]
- }
- },
- "responses": {
- "202": {}
- }
-}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json
index f64fb2404040..525a5eacaff5 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json
@@ -16,7 +16,33 @@
{
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
}
- ]
+ ],
+ "cosmosDbConfiguration": {
+ "offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
+ }
}
}
},
@@ -42,6 +68,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
@@ -67,6 +116,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json
index cd19a503e675..34a87cee468d 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json
@@ -27,6 +27,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json
index 1bb954eb9eaa..b489bcc1779d 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json
@@ -27,6 +27,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json
index d814b8550a41..06396f3dc97f 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json
@@ -28,6 +28,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json
index 4e358150decc..54c299513b12 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json
@@ -36,6 +36,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
index 9512f0a86092..8f0593080242 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
@@ -392,52 +392,6 @@
"deprecated": false
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/moveResources": {
- "post": {
- "tags": [
- "Proxy"
- ],
- "description": "Moves resources to another subscription and/or resource group.",
- "operationId": "Services_MoveResources",
- "x-ms-examples": {
- "ServiceList": {
- "$ref": "./examples/MoveResourcesPost.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupName"
- },
- {
- "name": "moveResourcesInputs",
- "in": "body",
- "description": "Set the move resource structure to the name of the service instance to check.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/MoveResourcesParameters"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted - Move request accepted; the operation will complete asynchronously."
- },
- "default": {
- "description": "DefaultErrorResponse",
- "schema": {
- "$ref": "#/definitions/ErrorDetails"
- }
- }
- },
- "deprecated": false
- }
- },
"/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}": {
"get": {
"tags": [
@@ -486,55 +440,6 @@
},
"deprecated": false
}
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/moveResourcesStatus/{operationResultId}": {
- "get": {
- "tags": [
- "Resource"
- ],
- "description": "Get the operation result for a long running move operation.",
- "operationId": "MoveResourcesStatus_Get",
- "x-ms-examples": {
- "OperationResultsGet": {
- "$ref": "./examples/OperationResultsGet.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/locationName"
- },
- {
- "$ref": "#/parameters/operationResultId"
- }
- ],
- "responses": {
- "200": {
- "description": "The body contains all of the properties of the operation result.",
- "schema": {
- "$ref": "#/definitions/OperationResultsDescription"
- }
- },
- "404": {
- "description": "No operation result was found matching operationResultId.",
- "schema": {
- "$ref": "#/definitions/ErrorDetails"
- }
- },
- "default": {
- "description": "Default error response",
- "schema": {
- "$ref": "#/definitions/ErrorDetails"
- }
- }
- },
- "deprecated": false
- }
}
},
"definitions": {
@@ -569,6 +474,14 @@
"cosmosDbConfiguration": {
"$ref": "#/definitions/ServiceCosmosDbConfigurationInfo",
"description": "The settings for the Cosmos DB database backing the service."
+ },
+ "authenticationConfiguration": {
+ "$ref": "#/definitions/ServiceAuthenticationConfigurationInfo",
+ "description": "The authentication configuration for the service instance."
+ },
+ "corsConfiguration": {
+ "$ref": "#/definitions/ServiceCorsConfigurationInfo",
+ "description": "The settings for the CORS configuration of the service instance."
}
},
"required": [
@@ -603,10 +516,88 @@
"offerThroughput": {
"type": "integer",
"description": "The provisioned throughput for the backing database.",
+ "readOnly": false,
+ "minimum": 400,
+ "maximum": 10000
+ }
+ }
+ },
+ "ServiceAuthenticationConfigurationInfo": {
+ "description": "Authentication configuration information",
+ "type": "object",
+ "properties": {
+ "authority": {
+ "type": "string",
+ "description": "The authority url for the service",
+ "readOnly": false
+ },
+ "audience": {
+ "type": "string",
+ "description": "The audience url for the service",
+ "readOnly": false
+ },
+ "smartProxyEnabled": {
+ "type": "boolean",
+ "description": "If the SMART on FHIR proxy is enabled",
+ "readOnly": false
+ }
+ }
+ },
+ "ServiceCorsConfigurationInfo": {
+ "description": "The settings for the CORS configuration of the service instance.",
+ "type": "object",
+ "properties": {
+ "origins": {
+ "type": "array",
+ "description": "The origins to be allowed via CORS.",
+ "readOnly": false,
+ "items": {
+ "$ref": "#/definitions/ServiceCorsConfigurationOriginEntry"
+ }
+ },
+ "headers": {
+ "type": "array",
+ "description": "The headers to be allowed via CORS.",
+ "readOnly": false,
+ "items": {
+ "$ref": "#/definitions/ServiceCorsConfigurationHeaderEntry"
+ }
+ },
+ "methods": {
+ "type": "array",
+ "description": "The methods to be allowed via CORS.",
+ "readOnly": false,
+ "items": {
+ "$ref": "#/definitions/ServiceCorsConfigurationMethodEntry"
+ }
+ },
+ "maxAge": {
+ "type": "integer",
+ "description": "The max age to be allowed via CORS.",
+ "readOnly": false,
+ "minimum": 0,
+ "maximum": 99999
+ },
+ "allowCredentials": {
+ "type": "boolean",
+ "description": "If credentials are allowed via CORS.",
"readOnly": false
}
}
},
+ "ServiceCorsConfigurationOriginEntry": {
+ "description": "An origin for CORS.",
+ "type": "string",
+ "pattern": "^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$"
+ },
+ "ServiceCorsConfigurationHeaderEntry": {
+ "description": "A header for CORS.",
+ "type": "string"
+ },
+ "ServiceCorsConfigurationMethodEntry": {
+ "description": "A method for CORS.",
+ "type": "string"
+ },
"ServicesDescription": {
"description": "The description of the service.",
"type": "object",
@@ -851,34 +842,6 @@
}
}
},
- "MoveResourcesParameters": {
- "description": "Input values.",
- "type": "object",
- "properties": {
- "targetSubscriptionId": {
- "description": "The target subscription to move resources to.",
- "type": "string"
- },
- "targetResourceGroupName": {
- "description": "The target resource group to move resources to.",
- "type": "string"
- },
- "resourceIdsToMove": {
- "description": "The list of resources to move.",
- "type": "array",
- "minItems": 1,
- "maxItems": 250,
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "targetSubscriptionId",
- "targetResourceGroupName",
- "resourceIdsToMove"
- ]
- },
"OperationResultsDescription": {
"description": "The properties indicating the operation result of an operation on a service.",
"type": "object",
@@ -927,8 +890,7 @@
"in": "path",
"description": "The subscription identifier.",
"required": true,
- "type": "string",
- "format": "uuid"
+ "type": "string"
},
"api-version": {
"name": "api-version",
diff --git a/specification/healthcareapis/resource-manager/readme.go.md b/specification/healthcareapis/resource-manager/readme.go.md
index 9f499c737b1f..59f303cd7ff2 100644
--- a/specification/healthcareapis/resource-manager/readme.go.md
+++ b/specification/healthcareapis/resource-manager/readme.go.md
@@ -12,14 +12,14 @@ These settings apply only when `--go` is specified on the command line.
``` yaml $(go) && $(multiapi)
batch:
- - tag: package-2018-08
+ - tag: package-2018-08-preview
```
-### Tag: package-2018-08
+### Tag: package-2018-08-preview
-These settings apply only when `--tag=package-2018-08 --go` is specified on the command line.
+These settings apply only when `--tag=package-2018-08-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
-``` yaml $(tag) == 'package-2018-08' && $(go)
+``` yaml $(tag) == 'package-2018-08-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-08-20-preview/$(namespace)
```
\ No newline at end of file
diff --git a/specification/healthcareapis/resource-manager/readme.md b/specification/healthcareapis/resource-manager/readme.md
index e94b13939883..cb00819f4447 100644
--- a/specification/healthcareapis/resource-manager/readme.md
+++ b/specification/healthcareapis/resource-manager/readme.md
@@ -28,16 +28,16 @@ These are the global settings for the HANA on Azure API.
title: HealthcareApisManagementClient
description: Azure Healthcare APIs Client
openapi-type: arm
-tag: package-2018-08
+tag: package-2018-08-preview
azure-arm: true
```
### Tag: package-2018-08-preview
-These settings apply only when `--tag=package-2018-08` is specified on the command line.
+These settings apply only when `--tag=package-2018-08-preview` is specified on the command line.
-``` yaml $(tag) == 'package-2018-08'
+``` yaml $(tag) == 'package-2018-08-preview'
input-file:
- Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
```
@@ -108,15 +108,15 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-healthcareapis
``` yaml $(java) && $(multiapi)
batch:
- - tag: package-2018-08
+ - tag: package-2018-08-preview
```
-### Tag: package-2018-08 and java
+### Tag: package-2018-08-preview and java
-These settings apply only when `--tag=package-2018-08 --java` is specified on the command line.
+These settings apply only when `--tag=package-2018-08-preview --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=`.
-``` yaml $(tag) == 'package-2018-08' && $(java) && $(multiapi)
+``` yaml $(tag) == 'package-2018-08-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.healthcareapis.v2018_08_20_preview
output-folder: $(azure-libraries-for-java-folder)/healthcareapis/resource-manager/v2018_08_20_preview
diff --git a/specification/healthcareapis/resource-manager/readme.python.md b/specification/healthcareapis/resource-manager/readme.python.md
new file mode 100644
index 000000000000..efe1e791be4e
--- /dev/null
+++ b/specification/healthcareapis/resource-manager/readme.python.md
@@ -0,0 +1,27 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.healthcareapis
+ package-name: azure-mgmt-healthcareapis
+ clear-output-folder: true
+ package-version: 0.1.0
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/healthcareapis/azure-mgmt-healthcareapis/azure/mgmt/healthcareapis
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/healthcareapis/azure-mgmt-healthcareapis
+```
diff --git a/specification/healthcareapis/resource-manager/readme.typescript.md b/specification/healthcareapis/resource-manager/readme.typescript.md
index 55bd3c06bde8..3dbe1c766327 100644
--- a/specification/healthcareapis/resource-manager/readme.typescript.md
+++ b/specification/healthcareapis/resource-manager/readme.typescript.md
@@ -7,6 +7,6 @@ Please also specify `--typescript-sdks-folder=`.
+
+```yaml $(tag) == 'package-2019-02-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/2019-02-01/$(namespace)
+```
diff --git a/specification/imds/data-plane/readme.md b/specification/imds/data-plane/readme.md
index 246faba00e21..8d5bc2be3d7b 100644
--- a/specification/imds/data-plane/readme.md
+++ b/specification/imds/data-plane/readme.md
@@ -22,10 +22,53 @@ These are the global settings for the Instance Metadata Service API.
``` yaml
openapi-type: data-plane
azure-arm: true
-tag: package-2018-05
+tag: package-2019-02-01
+output-folder: ./Generated
+```
+
+### Tag: package-2018-10-01
+
+These settings apply only when `--tag=package-2018-10-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2018-10-01'
input-file:
- Microsoft.InstanceMetadataService/stable/2018-10-01/imds.json
-output-folder: ./Generated
+```
+
+### Tag: package-2019-02-01
+
+These settings apply only when `--tag=package-2019-02-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-02-01'
+input-file:
+- Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json
+```
+
+### Tag: package-2019-03-11
+
+These settings apply only when `--tag=package-2019-03-11` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-03-11'
+input-file:
+- Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json
+```
+
+### Tag: package-2019-04-30
+
+These settings apply only when `--tag=package-2019-04-30` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-04-30'
+input-file:
+- Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
+```
+
+### Tag: package-2019-06-01
+
+These settings apply only when `--tag=package-2019-06-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-06-01'
+input-file:
+- Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json
```
## Suppression
@@ -46,6 +89,70 @@ output-folder: ./Generated
- $.definitions.IdentityTokenResponse.properties.object_id
- $.definitions.IdentityTokenResponse.properties.msi_res_id
- $.definitions.IdentityErrorResponse.properties.error_description
+
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ reason: The following properties follow the Oath2 spec, which does not use camelCase.
+ from: Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json
+ where:
+ - $.definitions.IdentityTokenResponse.properties.access_token
+ - $.definitions.IdentityTokenResponse.properties.expires_in
+ - $.definitions.IdentityTokenResponse.properties.expires_on
+ - $.definitions.IdentityTokenResponse.properties.ext_expires_in
+ - $.definitions.IdentityTokenResponse.properties.not_before
+ - $.definitions.IdentityTokenResponse.properties.resource
+ - $.definitions.IdentityTokenResponse.properties.token_type
+ - $.definitions.IdentityTokenResponse.properties.client_id
+ - $.definitions.IdentityTokenResponse.properties.object_id
+ - $.definitions.IdentityTokenResponse.properties.msi_res_id
+ - $.definitions.IdentityErrorResponse.properties.error_description
+
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ reason: The following properties follow the Oath2 spec, which does not use camelCase.
+ from: Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json
+ where:
+ - $.definitions.IdentityTokenResponse.properties.access_token
+ - $.definitions.IdentityTokenResponse.properties.expires_in
+ - $.definitions.IdentityTokenResponse.properties.expires_on
+ - $.definitions.IdentityTokenResponse.properties.ext_expires_in
+ - $.definitions.IdentityTokenResponse.properties.not_before
+ - $.definitions.IdentityTokenResponse.properties.resource
+ - $.definitions.IdentityTokenResponse.properties.token_type
+ - $.definitions.IdentityTokenResponse.properties.client_id
+ - $.definitions.IdentityTokenResponse.properties.object_id
+ - $.definitions.IdentityTokenResponse.properties.msi_res_id
+ - $.definitions.IdentityErrorResponse.properties.error_description
+
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ reason: The following properties follow the Oath2 spec, which does not use camelCase.
+ from: Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
+ where:
+ - $.definitions.IdentityTokenResponse.properties.access_token
+ - $.definitions.IdentityTokenResponse.properties.expires_in
+ - $.definitions.IdentityTokenResponse.properties.expires_on
+ - $.definitions.IdentityTokenResponse.properties.ext_expires_in
+ - $.definitions.IdentityTokenResponse.properties.not_before
+ - $.definitions.IdentityTokenResponse.properties.resource
+ - $.definitions.IdentityTokenResponse.properties.token_type
+ - $.definitions.IdentityTokenResponse.properties.client_id
+ - $.definitions.IdentityTokenResponse.properties.object_id
+ - $.definitions.IdentityTokenResponse.properties.msi_res_id
+ - $.definitions.IdentityErrorResponse.properties.error_description
+
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ reason: The following properties follow the Oath2 spec, which does not use camelCase.
+ from: Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json
+ where:
+ - $.definitions.IdentityTokenResponse.properties.access_token
+ - $.definitions.IdentityTokenResponse.properties.expires_in
+ - $.definitions.IdentityTokenResponse.properties.expires_on
+ - $.definitions.IdentityTokenResponse.properties.ext_expires_in
+ - $.definitions.IdentityTokenResponse.properties.not_before
+ - $.definitions.IdentityTokenResponse.properties.resource
+ - $.definitions.IdentityTokenResponse.properties.token_type
+ - $.definitions.IdentityTokenResponse.properties.client_id
+ - $.definitions.IdentityTokenResponse.properties.object_id
+ - $.definitions.IdentityTokenResponse.properties.msi_res_id
+ - $.definitions.IdentityErrorResponse.properties.error_description
```
---
diff --git a/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json b/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json
index a57d5d1377a9..d68efe39d150 100644
--- a/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json
+++ b/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-preview/intune.json
@@ -2495,4 +2495,4 @@
"description": "Service Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json b/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json
index 620d04da427d..f47b20d070e0 100644
--- a/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json
+++ b/specification/intune/resource-manager/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json
@@ -2490,4 +2490,4 @@
"description": "Service Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CheckNameAvailability.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CheckNameAvailability.json
index 0b6098bd619f..c631a16720e6 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CheckNameAvailability.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CheckNameAvailability.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CreateOrUpdate.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CreateOrUpdate.json
index d894da696294..a0c5c2f7753a 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CreateOrUpdate.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_CreateOrUpdate.json
@@ -53,4 +53,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Delete.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Delete.json
index 85a89bf34018..c5e0e72bf9d8 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Delete.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Delete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Get.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Get.json
index 07dd1f85209c..75c2f159cdab 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Get.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Get.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListByResourceGroup.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListByResourceGroup.json
index 846e92484a2f..24016a92867c 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListByResourceGroup.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListByResourceGroup.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListBySubscription.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListBySubscription.json
index 01929b226fe0..0dc864659d14 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListBySubscription.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_ListBySubscription.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Update.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Update.json
index ed53dc94cd68..d84a44a5e92c 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Update.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Apps_Update.json
@@ -29,4 +29,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Operations_List.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Operations_List.json
index 498ce5dfd996..a59174b0144d 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Operations_List.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/examples/Operations_List.json
@@ -56,4 +56,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json
index daa814b1499f..0996f65a1ee7 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckNameAvailability.json
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json
index 1d7bac270480..ab65e95d2f3d 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CheckSubdomainAvailability.json
@@ -11,7 +11,7 @@
"200": {
"description": "Returns information about resource subdomain availability",
"headers": {
- "code": "200"
+ "code": "200"
},
"body": {
"nameAvailable": true
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json
index 8416e881acd2..9d626fc30b83 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_CreateOrUpdate.json
@@ -77,4 +77,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.json
index 6cadd187fed0..335c6cb51d5b 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Delete.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.json
index fe6000962120..82b75ed101be 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Get.json
@@ -29,7 +29,7 @@
"name": "F1"
}
}
- },
+ },
"default": {
"description": "Error message returned for an unexpected response",
"headers": {},
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.json
index d3321d10ea59..c44ed4df8d63 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListByResourceGroup.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.json
index 6392fc8ad6bb..9952cbcd8470 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_ListBySubscription.json
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Templates.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Templates.json
index 2b244dee3848..9a80de984780 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Templates.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Templates.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json
index 431b094216d8..ba7205ca84ad 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Apps_Update.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json
index 121472301642..2c26d0ba9936 100644
--- a/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json
+++ b/specification/iotcentral/resource-manager/Microsoft.IoTCentral/stable/2018-09-01/examples/Operations_List.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json
index 8e6e36ef3200..0b7ce5e15432 100644
--- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json
+++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json
@@ -5,26 +5,15 @@
"api-version": "2019-03-22-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"iotHubDescription": {
- "name": "iot-dps-cit-hub-1",
- "type": "Microsoft.Devices/IotHubs",
"location": "centraluseuap",
"tags": {},
"etag": "AAAAAAFD6M4=",
"properties": {
- "state": "Active",
- "provisioningState": "Succeeded",
"ipFilterRules": [],
- "hostName": "iot-dps-cit-hub-1.azure-devices.net",
"eventHubEndpoints": {
"events": {
"retentionTimeInDays": 1,
- "partitionCount": 2,
- "partitionIds": [
- "0",
- "1"
- ],
- "path": "iot-dps-cit-hub-1",
- "endpoint": "sb://iothub-ns-iot-dps-ci-245306-76aca8e13b.servicebus.windows.net/"
+ "partitionCount": 2
}
},
"routing": {
@@ -74,7 +63,6 @@
},
"sku": {
"name": "S1",
- "tier": "Standard",
"capacity": 1
}
}
diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json
index 8e6dd33b5cbe..06ca87816cb8 100644
--- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json
+++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json
@@ -78,7 +78,17 @@
"streamingEndpoints": [
"https://streams.azure-devices-int.net:9443"
]
- }
+ },
+ "locations": [
+ {
+ "location": "West US",
+ "role": "primary"
+ },
+ {
+ "location": "East US",
+ "role": "secondary"
+ }
+ ]
},
"sku": {
"name": "S1",
diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json
index 22364230d82d..121d86871358 100644
--- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json
+++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json
@@ -2045,6 +2045,14 @@
"name": "Capabilities",
"modelAsString": true
}
+ },
+ "locations": {
+ "description": "Primary and secondary location for iot hub",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IotHubLocationDescription"
+ }
}
}
},
@@ -3453,6 +3461,28 @@
"required": [
"failoverRegion"
]
+ },
+ "IotHubLocationDescription": {
+ "description": "Public representation of one of the locations where a resource is provisioned.",
+ "type": "object",
+ "properties": {
+ "location": {
+ "description": "Azure Geo Regions",
+ "type": "string"
+ },
+ "role": {
+ "description": "Specific Role assigned to this location",
+ "enum": [
+ "primary",
+ "secondary"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IotHubReplicaRoleType",
+ "modelAsString": true
+ }
+ }
+ }
}
},
"parameters": {
diff --git a/specification/iothub/resource-manager/readme.java.md b/specification/iothub/resource-manager/readme.java.md
new file mode 100644
index 000000000000..3b3ca91ecd2f
--- /dev/null
+++ b/specification/iothub/resource-manager/readme.java.md
@@ -0,0 +1,61 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.iothub
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-preview-2019-03
+ - tag: package-2018-12-preview
+ - tag: package-2018-04
+```
+
+### Tag: package-preview-2019-03
+
+These settings apply only when `--tag=package-preview-2019-03 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-preview-2019-03' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.iothub.v2019_03_22_preview
+ output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2019_03_22_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-12-preview and java
+
+These settings apply only when `--tag=package-2018-12-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2018-12-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.iothub.v2018_12_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_12_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-04 and java
+
+These settings apply only when `--tag=package-2018-04 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.iothub.v2018_04_01
+ output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_04_01
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md
index c77400fb8613..71942bac7156 100644
--- a/specification/iothub/resource-manager/readme.md
+++ b/specification/iothub/resource-manager/readme.md
@@ -133,48 +133,4 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.iothub
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-12-preview
- - tag: package-2018-04
-```
-
-### Tag: package-2018-12-preview and java
-
-These settings apply only when `--tag=package-2018-12-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2018-12-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.iothub.v2018_12_01_preview
- output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_12_01_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2018-04 and java
-
-These settings apply only when `--tag=package-2018-04 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.iothub.v2018_04_01
- output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_04_01
-regenerate-manager: true
-generate-interface: true
-```
+See configuration in [readme.java.md](./readme.go.md)
diff --git a/specification/keyvault/resource-manager/readme.java.md b/specification/keyvault/resource-manager/readme.java.md
new file mode 100644
index 000000000000..e79af082ec30
--- /dev/null
+++ b/specification/keyvault/resource-manager/readme.java.md
@@ -0,0 +1,97 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+namespace: com.microsoft.azure.management.keyvault
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault
+```
+
+### Java multi-api
+
+```yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-02-14-preview
+ - tag: package-2016-10
+ - tag: package-2015-06
+```
+
+### Tag: package-2018-02-14-preview and java
+
+These settings apply only when `--tag=package-2018-02-14-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2018-02-14-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.keyvault.v2018_02_14_preview
+ output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2018_02_14_preview
+regenerate-manager: true
+generate-interface: true
+directive:
+ from: keyvault.json
+ where: $.paths["/subscriptions/{subscriptionId}/resources"].get
+ transform: $['operationId'] = 'Vaults_ListResource'
+```
+
+### Tag: package-2016-10 and java
+
+These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.keyvault.v2016_10_01
+ output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01
+regenerate-manager: true
+generate-interface: true
+directive:
+ from: keyvault.json
+ where: $.paths["/subscriptions/{subscriptionId}/resources"].get
+ transform: $['operationId'] = 'Vaults_ListResource'
+```
+
+### Tag: package-2016-10 and java
+
+These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.keyvault.v2016_10_01
+ output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01
+regenerate-manager: true
+generate-interface: true
+directive:
+ from: keyvault.json
+ where: $.paths["/subscriptions/{subscriptionId}/resources"].get
+ transform: $['operationId'] = 'Vaults_ListResource'
+```
+
+### Tag: package-2015-06 and java
+
+These settings apply only when `--tag=package-2015-06 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2015-06' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.keyvault.v2015_06_01
+ output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2015_06_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: profile-hybrid-2019-03-01
+
+These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
+Creating this tag to pick proper resources from the hybrid profile.
+
+``` yaml $(tag) == 'profile-hybrid-2019-03-01'
+input-file:
+- Microsoft.KeyVault/stable/2016-10-01/providers.json
+- Microsoft.KeyVault/stable/2016-10-01/keyvault.json
+- Microsoft.KeyVault/stable/2016-10-01/secrets.json
+```
diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md
index 77c0d24ebcb0..4084492bcbfc 100644
--- a/specification/keyvault/resource-manager/readme.md
+++ b/specification/keyvault/resource-manager/readme.md
@@ -30,6 +30,18 @@ tag: package-2018-02
```
+### Tag: package-2018-02-14-preview
+
+These settings apply only when `--tag=package-2018-02-14-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-02-14-preview'
+input-file:
+- Microsoft.KeyVault/preview/2018-02-14-preview/keyvault.json
+- Microsoft.KeyVault/preview/2018-02-14-preview/providers.json
+- Microsoft.KeyVault/preview/2018-02-14-preview/secrets.json
+```
+
+
### Tag: package-2018-02
These settings apply only when `--tag=package-2018-02` is specified on the command line.
@@ -92,63 +104,4 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-namespace: com.microsoft.azure.management.keyvault
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault
-```
-
-### Java multi-api
-
-```yaml $(java) && $(multiapi)
-batch:
- - tag: package-2016-10
- - tag: package-2015-06
-```
-
-### Tag: package-2016-10 and java
-
-These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.keyvault.v2016_10_01
- output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01
-regenerate-manager: true
-generate-interface: true
-directive:
- from: keyvault.json
- where: $.paths["/subscriptions/{subscriptionId}/resources"].get
- transform: $['operationId'] = 'Vaults_ListResource'
-```
-
-### Tag: package-2015-06 and java
-
-These settings apply only when `--tag=package-2015-06 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2015-06' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.keyvault.v2015_06_01
- output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2015_06_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: profile-hybrid-2019-03-01
-
-These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
-Creating this tag to pick proper resources from the hybrid profile.
-
-``` yaml $(tag) == 'profile-hybrid-2019-03-01'
-input-file:
-- Microsoft.KeyVault/stable/2016-10-01/providers.json
-- Microsoft.KeyVault/stable/2016-10-01/keyvault.json
-- Microsoft.KeyVault/stable/2016-10-01/secrets.json
-```
+See configuration in [readme.java.md](./readme.java.md)
\ No newline at end of file
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json
index c96c55860d0a..6c275897383e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2015-02-01-preview/logic.json
@@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "LogicManagementClient",
- "description":"REST API for Azure Logic Apps.",
+ "description": "REST API for Azure Logic Apps.",
"version": "2015-02-01-preview"
},
"host": "management.azure.com",
@@ -1388,7 +1388,7 @@
},
"Object": {
"type": "object",
- "properties": { }
+ "properties": {}
},
"ResourceReference": {
"type": "object",
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2015-08-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2015-08-01-preview/logic.json
index 5e7722b0701c..5d02033be523 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2015-08-01-preview/logic.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2015-08-01-preview/logic.json
@@ -1,3684 +1,3674 @@
{
- "swagger": "2.0",
- "info": {
- "title": "LogicManagementClient",
- "description":"REST API for Azure Logic Apps.",
- "version": "2015-08-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json",
- "text/json"
- ],
- "produces": [
- "application/json",
- "text/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationAccounts": {
- "get": {
- "tags": [
- "IntegrationAccounts"
- ],
- "operationId": "IntegrationAccounts_ListBySubscription",
- "description": "Gets a list of integration accounts by subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "$top",
- "description": "The number of items to be included in the result.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts": {
- "get": {
- "tags": [
- "IntegrationAccounts"
- ],
- "operationId": "IntegrationAccounts_ListByResourceGroup",
- "description": "Gets a list of integration accounts by resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "$top",
- "description": "The number of items to be included in the result.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}": {
- "get": {
- "tags": [
- "IntegrationAccounts"
- ],
- "operationId": "IntegrationAccounts_Get",
- "description": "Gets an integration account.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccount"
- }
- }
- }
- },
- "put": {
- "tags": [
- "IntegrationAccounts"
- ],
- "operationId": "IntegrationAccounts_CreateOrUpdate",
- "description": "Creates or updates an integration account.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "integrationAccount",
- "description": "The integration account.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IntegrationAccount"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccount"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/IntegrationAccount"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "IntegrationAccounts"
- ],
- "operationId": "IntegrationAccounts_Update",
- "description": "Updates an integration account.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "integrationAccount",
- "description": "The integration account.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IntegrationAccount"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccount"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "IntegrationAccounts"
- ],
- "operationId": "IntegrationAccounts_Delete",
- "description": "Deletes an integration account.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "No Content"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl": {
- "post": {
- "tags": [
- "IntegrationAccounts"
- ],
- "operationId": "IntegrationAccounts_ListCallbackUrl",
- "description": "Lists the integration account callback URL.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "parameters",
- "description": "The callback URL parameters.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ListCallbackUrlParameters"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CallbackUrl"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas": {
- "get": {
- "tags": [
- "IntegrationAccountSchemas"
- ],
- "operationId": "IntegrationAccountSchemas_List",
- "description": "Gets a list of integration account schemas.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "$top",
- "description": "The number of items to be included in the result.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "$filter",
- "description": "The filter to apply on the operation.",
- "in": "query",
- "required": false,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountSchemaListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/IntegrationAccountSchemaFilter"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}": {
- "get": {
- "tags": [
- "IntegrationAccountSchemas"
- ],
- "operationId": "IntegrationAccountSchemas_Get",
- "description": "Gets an integration account schema.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "schemaName",
- "description": "The integration account schema name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountSchema"
- }
- }
- }
- },
- "put": {
- "tags": [
- "IntegrationAccountSchemas"
- ],
- "operationId": "IntegrationAccountSchemas_CreateOrUpdate",
- "description": "Creates or updates an integration account schema.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "schemaName",
- "description": "The integration account schema name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "schema",
- "description": "The integration account schema.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IntegrationAccountSchema"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountSchema"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountSchema"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "IntegrationAccountSchemas"
- ],
- "operationId": "IntegrationAccountSchemas_Delete",
- "description": "Deletes an integration account schema.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "schemaName",
- "description": "The integration account schema name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "No Content"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps": {
- "get": {
- "tags": [
- "IntegrationAccountMaps"
- ],
- "operationId": "IntegrationAccountMaps_List",
- "description": "Gets a list of integration account maps.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "$top",
- "description": "The number of items to be included in the result.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "$filter",
- "description": "The filter to apply on the operation.",
- "in": "query",
- "required": false,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountMapListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/IntegrationAccountMapFilter"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}": {
- "get": {
- "tags": [
- "IntegrationAccountMaps"
- ],
- "operationId": "IntegrationAccountMaps_Get",
- "description": "Gets an integration account map.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "mapName",
- "description": "The integration account map name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountMap"
- }
- }
- }
- },
- "put": {
- "tags": [
- "IntegrationAccountMaps"
- ],
- "operationId": "IntegrationAccountMaps_CreateOrUpdate",
- "description": "Creates or updates an integration account map.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "mapName",
- "description": "The integration account map name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "map",
- "description": "The integration account map.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IntegrationAccountMap"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountMap"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountMap"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "IntegrationAccountMaps"
- ],
- "operationId": "IntegrationAccountMaps_Delete",
- "description": "Deletes an integration account map.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "mapName",
- "description": "The integration account map name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "No Content"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners": {
- "get": {
- "tags": [
- "IntegrationAccountPartners"
- ],
- "operationId": "IntegrationAccountPartners_List",
- "description": "Gets a list of integration account partners.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "$top",
- "description": "The number of items to be included in the result.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "$filter",
- "description": "The filter to apply on the operation.",
- "in": "query",
- "required": false,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountPartnerListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/IntegrationAccountPartnerFilter"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}": {
- "get": {
- "tags": [
- "IntegrationAccountPartners"
- ],
- "operationId": "IntegrationAccountPartners_Get",
- "description": "Gets an integration account partner.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "partnerName",
- "description": "The integration account partner name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountPartner"
- }
- }
- }
- },
- "put": {
- "tags": [
- "IntegrationAccountPartners"
- ],
- "operationId": "IntegrationAccountPartners_CreateOrUpdate",
- "description": "Creates or updates an integration account partner.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "partnerName",
- "description": "The integration account partner name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "partner",
- "description": "The integration account partner.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IntegrationAccountPartner"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountPartner"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountPartner"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "IntegrationAccountPartners"
- ],
- "operationId": "IntegrationAccountPartners_Delete",
- "description": "Deletes an integration account partner.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "partnerName",
- "description": "The integration account partner name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "No Content"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements": {
- "get": {
- "tags": [
- "IntegrationAccountAgreements"
- ],
- "operationId": "IntegrationAccountAgreements_List",
- "description": "Gets a list of integration account agreements.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "$top",
- "description": "The number of items to be included in the result.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "$filter",
- "description": "The filter to apply on the operation.",
- "in": "query",
- "required": false,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountAgreementListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/IntegrationAccountAgreementFilter"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}": {
- "get": {
- "tags": [
- "IntegrationAccountAgreements"
- ],
- "operationId": "IntegrationAccountAgreements_Get",
- "description": "Gets an integration account agreement.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "agreementName",
- "description": "The integration account agreement name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountAgreement"
- }
- }
- }
- },
- "put": {
- "tags": [
- "IntegrationAccountAgreements"
- ],
- "operationId": "IntegrationAccountAgreements_CreateOrUpdate",
- "description": "Creates or updates an integration account agreement.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "agreementName",
- "description": "The integration account agreement name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "agreement",
- "description": "The integration account agreement.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IntegrationAccountAgreement"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountAgreement"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountAgreement"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "IntegrationAccountAgreements"
- ],
- "operationId": "IntegrationAccountAgreements_Delete",
- "description": "Deletes an integration account agreement.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "agreementName",
- "description": "The integration account agreement name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "No Content"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates": {
- "get": {
- "tags": [
- "IntegrationAccountCertificates"
- ],
- "operationId": "IntegrationAccountCertificates_List",
- "description": "Gets a list of integration account certificates.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "$top",
- "description": "The number of items to be included in the result.",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountCertificateListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}": {
- "get": {
- "tags": [
- "IntegrationAccountCertificates"
- ],
- "operationId": "IntegrationAccountCertificates_Get",
- "description": "Gets an integration account certificate.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "certificateName",
- "description": "The integration account certificate name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountCertificate"
- }
- }
- }
- },
- "put": {
- "tags": [
- "IntegrationAccountCertificates"
- ],
- "operationId": "IntegrationAccountCertificates_CreateOrUpdate",
- "description": "Creates or updates an integration account certificate.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "certificateName",
- "description": "The integration account certificate name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "name": "certificate",
- "description": "The integration account certificate.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IntegrationAccountCertificate"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountCertificate"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/IntegrationAccountCertificate"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "IntegrationAccountCertificates"
- ],
- "operationId": "IntegrationAccountCertificates_Delete",
- "description": "Deletes an integration account certificate.",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "name": "resourceGroupName",
- "description": "The resource group name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "integrationAccountName",
- "description": "The integration account name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "name": "certificateName",
- "description": "The integration account certificate name.",
- "in": "path",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "204": {
- "description": "No Content"
- }
- }
- }
+ "swagger": "2.0",
+ "info": {
+ "title": "LogicManagementClient",
+ "description": "REST API for Azure Logic Apps.",
+ "version": "2015-08-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json",
+ "text/json"
+ ],
+ "produces": [
+ "application/json",
+ "text/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Logic/integrationAccounts": {
+ "get": {
+ "tags": [
+ "IntegrationAccounts"
+ ],
+ "operationId": "IntegrationAccounts_ListBySubscription",
+ "description": "Gets a list of integration accounts by subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$top",
+ "description": "The number of items to be included in the result.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
+ }
},
- "definitions": {
- "IntegrationAccountResource": {
- "properties": {
- "id": {
- "type": "string",
- "description": "The resource id."
- },
- "name": {
- "type": "string",
- "description": "The resource name."
- },
- "type": {
- "type": "string",
- "description": "The resource type."
- },
- "location": {
- "type": "string",
- "description": "The resource location."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "The resource tags."
- }
- },
- "x-ms-azure-resource": true
- },
- "IntegrationAccountSkuName": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Free",
- "Shared",
- "Basic",
- "Standard",
- "Premium"
- ],
- "x-ms-enum": {
- "name": "SkuName",
- "modelAsString": false
- }
- },
- "IntegrationAccountContentLink": {
- "type": "object",
- "properties": {
- "uri": {
- "type": "string",
- "description": "The content link URI."
- },
- "contentVersion": {
- "type": "string",
- "description": "The content version."
- },
- "contentSize": {
- "type": "integer",
- "format": "int64",
- "description": "The content size."
- },
- "contentHash": {
- "$ref": "#/definitions/IntegrationAccountContentHash",
- "description": "The content hash."
- },
- "metadata": {
- "type": "object",
- "description": "The metadata.",
- "properties": {
- }
- }
- }
- },
- "IntegrationAccountContentHash": {
- "type": "object",
- "properties": {
- "algorithm": {
- "type": "string",
- "description": "The content hash algorithm."
- },
- "value": {
- "type": "string",
- "description": "The content hash value."
- }
- }
- },
- "IntegrationAccount": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/IntegrationAccountProperties",
- "description": "The integration account properties."
- },
- "sku": {
- "$ref": "#/definitions/IntegrationAccountSku",
- "description": "The sku."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/IntegrationAccountResource"
- }
- ]
- },
- "IntegrationAccountProperties": {
- "type": "object"
- },
- "IntegrationAccountListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/IntegrationAccount"
- },
- "description": "The list of integration accounts."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results."
- }
- }
- },
- "ListCallbackUrlParameters": {
- "type": "object",
- "properties": {
- "NotAfter": {
- "type": "string",
- "format": "date-time",
- "description": "The expiry time."
- }
- }
- },
- "CallbackUrl": {
- "type": "object",
- "properties": {
- "value": {
- "type": "string",
- "description": "The URL value."
- }
- }
- },
- "IntegrationAccountSchema": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/IntegrationAccountSchemaProperties",
- "description": "The integration account schema properties."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/IntegrationAccountResource"
- }
- ]
- },
- "IntegrationAccountSchemaProperties": {
- "type": "object",
- "properties": {
- "schemaType": {
- "$ref": "#/definitions/SchemaType",
- "description": "The schema type."
- },
- "targetNamespace": {
- "type": "string",
- "description": "The target namespace."
- },
- "createdTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The created time."
- },
- "changedTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The changed time."
- },
- "content": {
- "type": "object",
- "description": "The content.",
- "properties": {
- }
- },
- "contentType": {
- "type": "string",
- "description": "The content type."
- },
- "contentLink": {
- "$ref": "#/definitions/IntegrationAccountContentLink",
- "readOnly": true,
- "description": "The content link."
- },
- "metadata": {
- "type": "object",
- "description": "The metadata.",
- "properties": {
- }
- }
- }
- },
- "IntegrationAccountSchemaListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/IntegrationAccountSchema"
- },
- "description": "The list of integration account schemas."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results."
- }
- }
- },
- "IntegrationAccountSchemaFilter": {
- "type": "object",
- "properties": {
- "schemaType": {
- "$ref": "#/definitions/SchemaType",
- "description": "The schema type of integration account schema."
- }
- }
- },
- "SchemaType": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Xml"
- ],
- "x-ms-enum": {
- "name": "SchemaType",
- "modelAsString": false
- }
- },
- "IntegrationAccountMap": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/IntegrationAccountMapProperties",
- "description": "The integration account map properties."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/IntegrationAccountResource"
- }
- ]
- },
- "IntegrationAccountMapProperties": {
- "type": "object",
- "properties": {
- "mapType": {
- "$ref": "#/definitions/MapType",
- "description": "The map type."
- },
- "createdTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The created time."
- },
- "changedTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The changed time."
- },
- "content": {
- "type": "object",
- "description": "The content.",
- "properties": {
- }
- },
- "contentType": {
- "type": "string",
- "description": "The content type."
- },
- "contentLink": {
- "$ref": "#/definitions/IntegrationAccountContentLink",
- "readOnly": true,
- "description": "The content link."
- },
- "metadata": {
- "type": "object",
- "description": "The metadata.",
- "properties": {
- }
- }
- }
- },
- "IntegrationAccountMapListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/IntegrationAccountMap"
- },
- "description": "The list of integration account maps."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results."
- }
- }
- },
- "IntegrationAccountMapFilter": {
- "type": "object",
- "properties": {
- "schemaType": {
- "$ref": "#/definitions/MapType",
- "description": "The map type of integration account map."
- }
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts": {
+ "get": {
+ "tags": [
+ "IntegrationAccounts"
+ ],
+ "operationId": "IntegrationAccounts_ListByResourceGroup",
+ "description": "Gets a list of integration accounts by resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$top",
+ "description": "The number of items to be included in the result.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}": {
+ "get": {
+ "tags": [
+ "IntegrationAccounts"
+ ],
+ "operationId": "IntegrationAccounts_Get",
+ "description": "Gets an integration account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccount"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "IntegrationAccounts"
+ ],
+ "operationId": "IntegrationAccounts_CreateOrUpdate",
+ "description": "Creates or updates an integration account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "integrationAccount",
+ "description": "The integration account.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccount"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccount"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccount"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "IntegrationAccounts"
+ ],
+ "operationId": "IntegrationAccounts_Update",
+ "description": "Updates an integration account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "integrationAccount",
+ "description": "The integration account.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccount"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccount"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IntegrationAccounts"
+ ],
+ "operationId": "IntegrationAccounts_Delete",
+ "description": "Deletes an integration account.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/listCallbackUrl": {
+ "post": {
+ "tags": [
+ "IntegrationAccounts"
+ ],
+ "operationId": "IntegrationAccounts_ListCallbackUrl",
+ "description": "Lists the integration account callback URL.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "parameters",
+ "description": "The callback URL parameters.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ListCallbackUrlParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/CallbackUrl"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas": {
+ "get": {
+ "tags": [
+ "IntegrationAccountSchemas"
+ ],
+ "operationId": "IntegrationAccountSchemas_List",
+ "description": "Gets a list of integration account schemas.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$top",
+ "description": "The number of items to be included in the result.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$filter",
+ "description": "The filter to apply on the operation.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountSchemaListResult"
}
+ }
},
- "MapType": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Xslt"
- ],
- "x-ms-enum": {
- "name": "MapType",
- "modelAsString": false
- }
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
},
- "IntegrationAccountSku": {
- "type": "object",
- "properties": {
- "name": {
- "$ref": "#/definitions/IntegrationAccountSkuName",
- "description": "The sku name."
- }
+ "x-ms-odata": "#/definitions/IntegrationAccountSchemaFilter"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/schemas/{schemaName}": {
+ "get": {
+ "tags": [
+ "IntegrationAccountSchemas"
+ ],
+ "operationId": "IntegrationAccountSchemas_Get",
+ "description": "Gets an integration account schema.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schemaName",
+ "description": "The integration account schema name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountSchema"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "IntegrationAccountSchemas"
+ ],
+ "operationId": "IntegrationAccountSchemas_CreateOrUpdate",
+ "description": "Creates or updates an integration account schema.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schemaName",
+ "description": "The integration account schema name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "schema",
+ "description": "The integration account schema.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountSchema"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountSchema"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountSchema"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IntegrationAccountSchemas"
+ ],
+ "operationId": "IntegrationAccountSchemas_Delete",
+ "description": "Deletes an integration account schema.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "schemaName",
+ "description": "The integration account schema name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps": {
+ "get": {
+ "tags": [
+ "IntegrationAccountMaps"
+ ],
+ "operationId": "IntegrationAccountMaps_List",
+ "description": "Gets a list of integration account maps.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$top",
+ "description": "The number of items to be included in the result.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$filter",
+ "description": "The filter to apply on the operation.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountMapListResult"
}
+ }
},
- "IntegrationAccountPartnerListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/IntegrationAccountPartner"
- },
- "description": "The list of integration account partners."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results."
- }
- }
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
},
- "IntegrationAccountPartnerFilter": {
- "type": "object",
- "properties": {
- "partnerType": {
- "$ref": "#/definitions/PartnerType",
- "description": "The partner type of integration account partner."
- }
+ "x-ms-odata": "#/definitions/IntegrationAccountMapFilter"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/maps/{mapName}": {
+ "get": {
+ "tags": [
+ "IntegrationAccountMaps"
+ ],
+ "operationId": "IntegrationAccountMaps_Get",
+ "description": "Gets an integration account map.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "mapName",
+ "description": "The integration account map name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountMap"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "IntegrationAccountMaps"
+ ],
+ "operationId": "IntegrationAccountMaps_CreateOrUpdate",
+ "description": "Creates or updates an integration account map.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "mapName",
+ "description": "The integration account map name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "map",
+ "description": "The integration account map.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountMap"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountMap"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountMap"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IntegrationAccountMaps"
+ ],
+ "operationId": "IntegrationAccountMaps_Delete",
+ "description": "Deletes an integration account map.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "mapName",
+ "description": "The integration account map name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners": {
+ "get": {
+ "tags": [
+ "IntegrationAccountPartners"
+ ],
+ "operationId": "IntegrationAccountPartners_List",
+ "description": "Gets a list of integration account partners.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$top",
+ "description": "The number of items to be included in the result.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$filter",
+ "description": "The filter to apply on the operation.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountPartnerListResult"
}
+ }
},
- "IntegrationAccountPartner": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/IntegrationAccountPartnerProperties",
- "description": "The integration account partner properties."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/IntegrationAccountResource"
- }
- ]
- },
- "IntegrationAccountPartnerProperties": {
- "type": "object",
- "properties": {
- "partnerType": {
- "$ref": "#/definitions/PartnerType",
- "description": "The partner type."
- },
- "createdTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The created time."
- },
- "changedTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The changed time."
- },
- "metadata": {
- "type": "object",
- "description": "The metadata.",
- "properties": {
- }
- },
- "content": {
- "$ref": "#/definitions/PartnerContent",
- "description": "The partner content."
- }
- }
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
},
- "PartnerType": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "B2B"
- ],
- "x-ms-enum": {
- "name": "PartnerType",
- "modelAsString": false
+ "x-ms-odata": "#/definitions/IntegrationAccountPartnerFilter"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/partners/{partnerName}": {
+ "get": {
+ "tags": [
+ "IntegrationAccountPartners"
+ ],
+ "operationId": "IntegrationAccountPartners_Get",
+ "description": "Gets an integration account partner.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "partnerName",
+ "description": "The integration account partner name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountPartner"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "IntegrationAccountPartners"
+ ],
+ "operationId": "IntegrationAccountPartners_CreateOrUpdate",
+ "description": "Creates or updates an integration account partner.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "partnerName",
+ "description": "The integration account partner name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "partner",
+ "description": "The integration account partner.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountPartner"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountPartner"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountPartner"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IntegrationAccountPartners"
+ ],
+ "operationId": "IntegrationAccountPartners_Delete",
+ "description": "Deletes an integration account partner.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "partnerName",
+ "description": "The integration account partner name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements": {
+ "get": {
+ "tags": [
+ "IntegrationAccountAgreements"
+ ],
+ "operationId": "IntegrationAccountAgreements_List",
+ "description": "Gets a list of integration account agreements.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$top",
+ "description": "The number of items to be included in the result.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$filter",
+ "description": "The filter to apply on the operation.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountAgreementListResult"
}
+ }
},
- "PartnerContent": {
- "type": "object",
- "properties": {
- "b2b": {
- "$ref": "#/definitions/B2BPartnerContent",
- "description": "The B2B partner content."
- }
- }
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
},
- "B2BPartnerContent": {
- "type": "object",
- "properties": {
- "businessIdentities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/BusinessIdentity"
- },
- "description": "The list of partner business identities."
- }
- }
- },
- "BusinessIdentity": {
- "type": "object",
- "properties": {
- "Qualifier": {
- "type": "string",
- "description": "The business identity qualifier."
- },
- "Value": {
- "type": "string",
- "description": "The business identity value."
- }
- }
- },
- "IntegrationAccountAgreementListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/IntegrationAccountAgreement"
- },
- "description": "The list of integration account agreements."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results."
- }
- }
- },
- "IntegrationAccountAgreementFilter": {
- "type": "object",
- "properties": {
- "agreementType": {
- "$ref": "#/definitions/AgreementType",
- "description": "The agreement type of integration account agreement."
- }
- }
- },
- "IntegrationAccountAgreement": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/IntegrationAccountAgreementProperties",
- "description": "The integration account agreement properties."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/IntegrationAccountResource"
- }
- ]
- },
- "IntegrationAccountAgreementProperties": {
- "type": "object",
- "properties": {
- "createdTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The created time."
- },
- "changedTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The changed time."
- },
- "metadata": {
- "type": "object",
- "description": "The metadata.",
- "properties": {
- }
- },
- "agreementType": {
- "$ref": "#/definitions/AgreementType",
- "description": "The agreement type."
- },
- "hostPartner": {
- "type": "string",
- "description": "The host partner."
- },
- "guestPartner": {
- "type": "string",
- "description": "The guest partner."
- },
- "hostIdentity": {
- "$ref": "#/definitions/BusinessIdentity",
- "description": "The host identity."
- },
- "guestIdentity": {
- "$ref": "#/definitions/BusinessIdentity",
- "description": "The guest identity."
- },
- "content": {
- "$ref": "#/definitions/AgreementContent",
- "description": "The agreement content."
- }
- }
- },
- "AgreementType": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "AS2",
- "X12",
- "Edifact"
- ],
- "x-ms-enum": {
- "name": "AgreementType",
- "modelAsString": false
- }
- },
- "AgreementContent": {
- "type": "object",
- "properties": {
- "AS2": {
- "$ref": "#/definitions/AS2AgreementContent",
- "description": "The AS2 agreement content."
- },
- "X12": {
- "$ref": "#/definitions/X12AgreementContent",
- "description": "The X12 agreement content."
- },
- "Edifact": {
- "$ref": "#/definitions/EdifactAgreementContent",
- "description": "The EDIFACT agreement content."
- }
- }
- },
- "AS2AgreementContent": {
- "type": "object",
- "properties": {
- "receiveAgreement": {
- "$ref": "#/definitions/AS2OneWayAgreement",
- "description": "The AS2 one-way receive agreement."
- },
- "sendAgreement": {
- "$ref": "#/definitions/AS2OneWayAgreement",
- "description": "The AS2 one-way send agreement."
- }
- }
- },
- "AS2OneWayAgreement": {
- "type": "object",
- "properties": {
- "senderBusinessIdentity": {
- "$ref": "#/definitions/BusinessIdentity",
- "description": "The sender business identity"
- },
- "receiverBusinessIdentity": {
- "$ref": "#/definitions/BusinessIdentity",
- "description": "The receiver business identity"
- },
- "protocolSettings": {
- "$ref": "#/definitions/AS2ProtocolSettings",
- "description": "The AS2 protocol settings."
- }
- }
- },
- "AS2ProtocolSettings": {
- "type": "object",
- "properties": {
- "messageConnectionSettings": {
- "$ref": "#/definitions/AS2MessageConnectionSettings",
- "description": "The message connection settings."
- },
- "acknowledgementConnectionSettings": {
- "$ref": "#/definitions/AS2AcknowledgementConnectionSettings",
- "description": "The acknowledgement connection settings."
- },
- "mdnSettings": {
- "$ref": "#/definitions/AS2MdnSettings",
- "description": "The MDN settings."
- },
- "securitySettings": {
- "$ref": "#/definitions/AS2SecuritySettings",
- "description": "The security settings."
- },
- "validationSettings": {
- "$ref": "#/definitions/AS2ValidationSettings",
- "description": "The validation settings."
- },
- "envelopeSettings": {
- "$ref": "#/definitions/AS2EnvelopeSettings",
- "description": "The envelope settings."
- },
- "errorSettings": {
- "$ref": "#/definitions/AS2ErrorSettings",
- "description": "The error settings."
- }
- }
- },
- "AS2AcknowledgementConnectionSettings": {
- "type": "object",
- "properties": {
- "ignoreCertificateNameMismatch": {
- "type": "boolean",
- "description": "The value indicating whether to ignore mismatch in certificate name."
- },
- "supportHttpStatusCodeContinue": {
- "type": "boolean",
- "description": "The value indicating whether to support HTTP status code 'CONTINUE'."
- },
- "keepHttpConnectionAlive": {
- "type": "boolean",
- "description": "The value indicating whether to keep the connection alive."
- },
- "unfoldHttpHeaders": {
- "type": "boolean",
- "description": "The value indicating whether to unfold the HTTP headers."
- }
- }
- },
- "AS2MessageConnectionSettings": {
- "type": "object",
- "properties": {
- "ignoreCertificateNameMismatch": {
- "type": "boolean",
- "description": "The value indicating whether to ignore mismatch in certificate name."
- },
- "supportHttpStatusCodeContinue": {
- "type": "boolean",
- "description": "The value indicating whether to support HTTP status code 'CONTINUE'."
- },
- "keepHttpConnectionAlive": {
- "type": "boolean",
- "description": "The value indicating whether to keep the connection alive."
- },
- "unfoldHttpHeaders": {
- "type": "boolean",
- "description": "The value indicating whether to unfold the HTTP headers."
- }
- }
- },
- "AS2MdnSettings": {
- "type": "object",
- "properties": {
- "needMdn": {
- "type": "boolean",
- "description": "The value indicating whether to send or request a MDN."
- },
- "signMdn": {
- "type": "boolean",
- "description": "The value indicating whether the MDN needs to be signed or not."
- },
- "sendMdnAsynchronously": {
- "type": "boolean",
- "description": "The value indicating whether to send the asynchronous MDN."
- },
- "receiptDeliveryUrl": {
- "type": "string",
- "description": "The receipt delivery URL."
- },
- "dispositionNotificationTo": {
- "type": "string",
- "description": "The disposition notification to header value."
- },
- "signOutboundMdnIfOptional": {
- "type": "boolean",
- "description": "The value indicating whether to sign the outbound MDN if optional."
- },
- "mdnText": {
- "type": "string",
- "description": "The MDN text."
- },
- "sendInboundMdnToMessageBox": {
- "type": "boolean",
- "description": "The value indicating whether to send inbound MDN to message box."
- },
- "micHashingAlgorithm": {
- "$ref": "#/definitions/HashingAlgorithm",
- "description": "The signing or hashing algorithm."
- }
- }
- },
- "AS2SecuritySettings": {
- "type": "object",
- "properties": {
- "overrideGroupSigningCertificate": {
- "type": "boolean",
- "description": "The value indicating whether to send or request a MDN."
- },
- "signingCertificateName": {
- "type": "string",
- "description": "The name of the signing certificate."
- },
- "encryptionCertificateName": {
- "type": "string",
- "description": "The name of the encryption certificate."
- },
- "enableNrrForInboundEncodedMessages": {
- "type": "boolean",
- "description": "The value indicating whether to enable NRR for inbound encoded messages."
- },
- "enableNrrForInboundDecodedMessages": {
- "type": "boolean",
- "description": "The value indicating whether to enable NRR for inbound decoded messages."
- },
- "enableNrrForOutboundMdn": {
- "type": "boolean",
- "description": "The value indicating whether to enable NRR for outbound MDN."
- },
- "enableNrrForOutboundEncodedMessages": {
- "type": "boolean",
- "description": "The value indicating whether to enable NRR for outbound encoded messages."
- },
- "enableNrrForOutboundDecodedMessages": {
- "type": "boolean",
- "description": "The value indicating whether to enable NRR for outbound decoded messages."
- },
- "enableNrrForInboundMdn": {
- "type": "boolean",
- "description": "The value indicating whether to enable NRR for inbound MDN."
- }
- }
- },
- "AS2ValidationSettings": {
- "type": "object",
- "properties": {
- "overrideMessageProperties": {
- "type": "boolean",
- "description": "The value indicating whether to override incoming message properties with those in agreement."
- },
- "encryptMessage": {
- "type": "boolean",
- "description": "The value indicating whether the message has to be encrypted."
- },
- "signMessage": {
- "type": "boolean",
- "description": "The value indicating whether the message has to be signed."
- },
- "compressMessage": {
- "type": "boolean",
- "description": "The value indicating whether the message has to be compressed."
- },
- "checkDuplicateMessage": {
- "type": "boolean",
- "description": "The value indicating whether to check for duplicate message."
- },
- "interchangeDuplicatesValidityDays": {
- "type": "integer",
- "format": "int32",
- "description": "The number of days to look back for duplicate interchange."
- },
- "checkCertificateRevocationListOnSend": {
- "type": "boolean",
- "description": "The value indicating whether to check for certificate revocation list on send."
- },
- "checkCertificateRevocationListOnReceive": {
- "type": "boolean",
- "description": "The value indicating whether to check for certificate revocation list on receive."
- },
- "encryptionAlgorithm": {
- "$ref": "#/definitions/EncryptionAlgorithm",
- "description": "The encryption algorithm."
- }
- }
- },
- "AS2EnvelopeSettings": {
- "type": "object",
- "properties": {
- "messageContentType": {
- "type": "string",
- "description": "The message content type."
- },
- "transmitFileNameInMimeHeader": {
- "type": "boolean",
- "description": "The value indicating whether to transmit file name in mime header."
- },
- "fileNameTemplate": {
- "type": "string",
- "description": "The template for file name."
- },
- "SuspendMessageOnFileNameGenerationError": {
- "type": "boolean",
- "description": "The value indicating whether to suspend message on file name generation error."
- },
- "AutogenerateFileName": {
- "type": "boolean",
- "description": "The value indicating whether to auto generate file name."
- }
- }
- },
- "AS2ErrorSettings": {
- "type": "object",
- "properties": {
- "SuspendDuplicateMessage": {
- "type": "boolean",
- "description": "The value indicating whether to suspend duplicate message."
- },
- "ResendIfMdnNotReceived": {
- "type": "boolean",
- "description": "The value indicating whether to resend message If MDN is not received."
- }
- }
- },
- "X12AgreementContent": {
- "type": "object",
- "properties": {
- "receiveAgreement": {
- "$ref": "#/definitions/X12OneWayAgreement",
- "description": "The X12 one-way receive agreement."
- },
- "sendAgreement": {
- "$ref": "#/definitions/X12OneWayAgreement",
- "description": "The X12 one-way send agreement."
- }
- }
- },
- "X12OneWayAgreement": {
- "type": "object",
- "properties": {
- "senderBusinessIdentity": {
- "$ref": "#/definitions/BusinessIdentity",
- "description": "The sender business identity"
- },
- "receiverBusinessIdentity": {
- "$ref": "#/definitions/BusinessIdentity",
- "description": "The receiver business identity"
- },
- "protocolSettings": {
- "$ref": "#/definitions/X12ProtocolSettings",
- "description": "The X12 protocol settings."
- }
- }
- },
- "X12ProtocolSettings": {
- "type": "object",
- "properties": {
- "validationSettings": {
- "$ref": "#/definitions/X12ValidationSettings",
- "description": "The X12 validation settings."
- },
- "framingSettings": {
- "$ref": "#/definitions/X12FramingSettings",
- "description": "The X12 framing settings."
- },
- "envelopeSettings": {
- "$ref": "#/definitions/X12EnvelopeSettings",
- "description": "The X12 envelope settings."
- },
- "acknowledgementSettings": {
- "$ref": "#/definitions/X12AcknowledgementSettings",
- "description": "The X12 acknowledgment settings."
- },
- "messageFilter": {
- "$ref": "#/definitions/X12MessageFilter",
- "description": "The X12 message filter."
- },
- "securitySettings": {
- "$ref": "#/definitions/X12SecuritySettings",
- "description": "The X12 security settings."
- },
- "processingSettings": {
- "$ref": "#/definitions/X12ProcessingSettings",
- "description": "The X12 processing settings."
- },
- "envelopeOverrides": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/X12EnvelopeOverride"
- },
- "description": "The X12 envelope override settings."
- },
- "validationOverrides": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/X12ValidationOverride"
- },
- "description": "The X12 validation override settings."
- },
- "messageFilterList": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/X12MessageIdentifier"
- },
- "description": "The X12 message filter list."
- },
- "schemaReferences": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/X12SchemaReference"
- },
- "description": "The X12 schema references."
- },
- "x12DelimiterOverrides": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/X12DelimiterOverrides"
- },
- "description": "The X12 delimiter override settings."
- }
- }
- },
- "X12ValidationSettings": {
- "type": "object",
- "properties": {
- "validateCharacterSet": {
- "type": "boolean",
- "description": "The value indicating whether to validate character set in the message."
- },
- "checkDuplicateInterchangeControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to check for duplicate interchange control number."
- },
- "interchangeControlNumberValidityDays": {
- "type": "integer",
- "format": "int32",
- "description": "The validity period of interchange control number."
- },
- "checkDuplicateGroupControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to check for duplicate group control number."
- },
- "checkDuplicateTransactionSetControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to check for duplicate transaction set control number."
- },
- "validateEDITypes": {
- "type": "boolean",
- "description": "The value indicating whether to Whether to validate EDI types."
- },
- "validateXSDTypes": {
- "type": "boolean",
- "description": "The value indicating whether to Whether to validate XSD types."
- },
- "allowLeadingAndTrailingSpacesAndZeroes": {
- "type": "boolean",
- "description": "The value indicating whether to allow leading and trailing spaces and zeroes."
- },
- "trimLeadingAndTrailingSpacesAndZeroes": {
- "type": "boolean",
- "description": "The value indicating whether to trim leading and trailing spaces and zeroes."
- },
- "trailingSeparatorPolicy": {
- "$ref": "#/definitions/TrailingSeparatorPolicy",
- "description": "The trailing separator policy."
- }
- }
- },
- "X12FramingSettings": {
- "type": "object",
- "properties": {
- "dataElementSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The data element separator."
- },
- "componentSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The component separator."
- },
- "replaceSeparatorsInPayload": {
- "type": "boolean",
- "description": "The value indicating whether to replace separators in payload."
- },
- "replaceCharacter": {
- "type": "integer",
- "format": "int32",
- "description": "The replacement character."
- },
- "segmentTerminator": {
- "type": "integer",
- "format": "int32",
- "description": "The segment terminator."
- },
- "characterSet": {
- "$ref": "#/definitions/X12CharacterSet",
- "description": "The X12 character set."
- },
- "segmentTerminatorSuffix": {
- "$ref": "#/definitions/SegmentTerminatorSuffix",
- "description": "The segment terminator suffix."
- }
-
- }
- },
- "X12EnvelopeSettings": {
- "type": "object",
- "properties": {
- "controlStandardsId": {
- "type": "integer",
- "format": "int32",
- "description": "The controls standards id."
- },
- "useControlStandardsIdAsRepetitionCharacter": {
- "type": "boolean",
- "description": "The value indicating whether to use control standards id as repetition character."
- },
- "senderApplicationId": {
- "type": "string",
- "description": "The sender application id."
- },
- "receiverApplicationId": {
- "type": "string",
- "description": "The receiver application id."
- },
- "controlVersionNumber": {
- "type": "string",
- "description": "The control version number."
- },
- "interchangeControlNumberLowerBound": {
- "type": "integer",
- "format": "int32",
- "description": "The interchange control number lower bound."
- },
- "interchangeControlNumberUpperBound": {
- "type": "integer",
- "format": "int32",
- "description": "The interchange control number upper bound."
- },
- "rolloverInterchangeControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to rollover interchange control number."
- },
- "enableDefaultGroupHeaders": {
- "type": "boolean",
- "description": "The value indicating whether to enable default group headers."
- },
- "functionalGroupId": {
- "type": "string",
- "description": "The functional group id."
- },
- "groupControlNumberLowerBound": {
- "type": "integer",
- "format": "int32",
- "description": "The group control number lower bound."
- },
- "groupControlNumberUpperBound": {
- "type": "integer",
- "format": "int32",
- "description": "The group control number upper bound."
- },
- "rolloverGroupControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to rollover group control number."
- },
- "groupHeaderAgencyCode": {
- "type": "string",
- "description": "The group header agency code."
- },
- "groupHeaderVersion": {
- "type": "string",
- "description": "The group header version."
- },
- "transactionSetControlNumberLowerBound": {
- "type": "integer",
- "format": "int32",
- "description": "The transaction set control number lower bound."
- },
- "transactionSetControlNumberUpperBound": {
- "type": "integer",
- "format": "int32",
- "description": "The transaction set control number upper bound."
- },
- "rolloverTransactionSetControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to rollover transaction set control number."
- },
- "transactionSetControlNumberPrefix": {
- "type": "string",
- "description": "The transaction set control number prefix."
- },
- "transactionSetControlNumberSuffix": {
- "type": "string",
- "description": "The transaction set control number suffix."
- },
- "overwriteExistingTransactionSetControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to overwrite existing transaction set control number."
- },
- "groupHeaderDateFormat": {
- "$ref": "#/definitions/X12DateFormat",
- "description": "The group header date format."
- },
- "groupHeaderTimeFormat": {
- "$ref": "#/definitions/X12TimeFormat",
- "description": "The group header time format."
- },
- "usageIndicator": {
- "$ref": "#/definitions/UsageIndicator",
- "description": "The usage indicator."
- }
- }
- },
- "X12AcknowledgementSettings": {
- "type": "object",
- "properties": {
- "needTechnicalAcknowledgement": {
- "type": "boolean",
- "description": "The value indicating whether technical acknowledgement is needed."
- },
- "batchTechnicalAcknowledgements": {
- "type": "boolean",
- "description": "The value indicating whether to batch the technical acknowledgements."
- },
- "needFunctionalAcknowledgement": {
- "type": "boolean",
- "description": "The value indicating whether functional acknowledgement is needed."
- },
- "functionalAcknowledgementVersion": {
- "type": "string",
- "description": "The functional acknowledgement version."
- },
- "batchFunctionalAcknowledgements": {
- "type": "boolean",
- "description": "The value indicating whether to batch functional acknowledgements."
- },
- "needImplementationAcknowledgement": {
- "type": "boolean",
- "description": "The value indicating whether implementation acknowledgement is needed."
- },
- "implementationAcknowledgementVersion": {
- "type": "string",
- "description": "The implementation acknowledgement version."
- },
- "batchImplementationAcknowledgements": {
- "type": "boolean",
- "description": "The value indicating whether to batch implementation acknowledgements."
- },
- "needLoopForValidMessages": {
- "type": "boolean",
- "description": "The value indicating whether a loop is needed for valid messages."
- },
- "sendSynchronousAcknowledgement": {
- "type": "boolean",
- "description": "The value indicating whether to send synchronous acknowledgement."
- },
- "acknowledgementControlNumberPrefix": {
- "type": "string",
- "description": "The acknowledgement control number prefix."
- },
- "acknowledgementControlNumberSuffix": {
- "type": "string",
- "description": "The acknowledgement control number suffix."
- },
- "acknowledgementControlNumberLowerBound": {
- "type": "integer",
- "format": "int32",
- "description": "The acknowledgement control number lower bound."
- },
- "acknowledgementControlNumberUpperBound": {
- "type": "integer",
- "format": "int32",
- "description": "The acknowledgement control number upper bound."
- },
- "rolloverAcknowledgementControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to rollover acknowledgement control number."
- }
- }
- },
- "X12MessageFilter": {
- "type": "object",
- "properties": {
- "messageFilterType": {
- "$ref": "#/definitions/MessageFilterType",
- "description": "The message filter type."
- }
- }
- },
- "X12SecuritySettings": {
- "type": "object",
- "properties": {
- "authorizationQualifier": {
- "type": "string",
- "description": "The authorization qualifier."
- },
- "authorizationValue": {
- "type": "string",
- "description": "The authorization value."
- },
- "securityQualifier": {
- "type": "string",
- "description": "The security qualifier."
- },
- "passwordValue": {
- "type": "string",
- "description": "The password value."
- }
- }
- },
- "X12ProcessingSettings": {
- "type": "object",
- "properties": {
- "maskSecurityInfo": {
- "type": "boolean",
- "description": "The value indicating whether to mask security information."
- },
- "convertImpliedDecimal": {
- "type": "boolean",
- "description": "The value indicating whether to convert numerical type to implied decimal."
- },
- "preserveInterchange": {
- "type": "boolean",
- "description": "The value indicating whether to preserve interchange."
- },
- "suspendInterchangeOnError": {
- "type": "boolean",
- "description": "The value indicating whether to suspend interchange on error."
- },
- "createEmptyXmlTagsForTrailingSeparators": {
- "type": "boolean",
- "description": "The value indicating whether to create empty xml tags for trailing separators."
- },
- "useDotAsDecimalSeparator": {
- "type": "boolean",
- "description": "The value indicating whether to use dot as decimal separator."
- }
- }
- },
- "X12EnvelopeOverride": {
- "type": "object",
- "properties": {
- "targetNamespace": {
- "type": "string",
- "description": "The target namespace on which this envelope settings has to be applied."
- },
- "protocolVersion": {
- "type": "string",
- "description": "The protocol version on which this envelope settings has to be applied."
- },
- "messageId": {
- "type": "string",
- "description": "The message id on which this envelope settings has to be applied."
- },
- "responsibleAgencyCode": {
- "type": "integer",
- "format": "int32",
- "description": "The responsible agency code."
- },
- "headerVersion": {
- "type": "string",
- "description": "The header version."
- },
- "senderApplicationId": {
- "type": "string",
- "description": "The sender application id."
- },
- "receiverApplicationId": {
- "type": "string",
- "description": "The receiver application id."
- },
- "functionalIdentifierCode": {
- "type": "string",
- "description": "The functional identifier code."
- },
- "dateFormat": {
- "$ref": "#/definitions/X12DateFormat",
- "description": "The date format."
- },
- "timeFormat": {
- "$ref": "#/definitions/X12TimeFormat",
- "description": "The time format."
- }
- }
- },
- "X12ValidationOverride": {
- "type": "object",
- "properties": {
- "messageId": {
- "type": "string",
- "description": "The message id on which the validation settings has to be applied."
- },
- "validateEDITypes": {
- "type": "boolean",
- "description": "The value indicating whether to validate EDI types."
- },
- "validateXSDTypes": {
- "type": "boolean",
- "description": "The value indicating whether to validate XSD types."
- },
- "allowLeadingAndTrailingSpacesAndZeroes": {
- "type": "boolean",
- "description": "The value indicating whether to allow leading and trailing spaces and zeroes."
- },
- "validateCharacterSet": {
- "type": "boolean",
- "description": "The value indicating whether to validate character Set."
- },
- "trimLeadingAndTrailingSpacesAndZeroes": {
- "type": "boolean",
- "description": "The value indicating whether to trim leading and trailing spaces and zeroes."
- },
- "trailingSeparatorPolicy": {
- "$ref": "#/definitions/TrailingSeparatorPolicy",
- "description": "The trailing separator policy."
- }
- }
- },
- "X12MessageIdentifier": {
- "type": "object",
- "properties": {
- "messageId": {
- "type": "string",
- "description": "The message id."
- }
- }
- },
- "X12SchemaReference": {
- "type": "object",
- "properties": {
- "messageId": {
- "type": "string",
- "description": "The message id."
- },
- "senderApplicationId": {
- "type": "string",
- "description": "The sender application id."
- },
- "schemaVersion": {
- "type": "string",
- "description": "The schema version."
- },
- "schemaName": {
- "type": "string",
- "description": "The schema name."
- }
- }
- },
- "X12DelimiterOverrides": {
- "type": "object",
- "properties": {
- "protocolVersion": {
- "type": "string",
- "description": "The protocol version."
- },
- "messageId": {
- "type": "string",
- "description": "The message id."
- },
- "dataElementSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The data element separator."
- },
- "componentSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The component separator."
- },
- "segmentTerminator": {
- "type": "integer",
- "format": "int32",
- "description": "The segment terminator."
- },
- "segmentTerminatorSuffix": {
- "$ref": "#/definitions/SegmentTerminatorSuffix",
- "description": "The segment terminator suffix."
- },
- "replaceCharacter": {
- "type": "integer",
- "format": "int32",
- "description": "The replacement character."
- },
- "replaceSeparatorsInPayload": {
- "type": "boolean",
- "description": "The value indicating whether to replace separators in payload."
- },
- "targetNamespace": {
- "type": "string",
- "description": "The target namespace on which this delimiter settings has to be applied."
- }
- }
- },
- "X12CharacterSet": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Basic",
- "Extended",
- "UTF8"
- ],
- "x-ms-enum": {
- "name": "X12CharacterSet",
- "modelAsString": false
- }
- },
- "SegmentTerminatorSuffix": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "None",
- "CR",
- "LF",
- "CRLF"
- ],
- "x-ms-enum": {
- "name": "SegmentTerminatorSuffix",
- "modelAsString": false
- }
- },
- "X12DateFormat": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "CCYYMMDD",
- "YYMMDD"
- ],
- "x-ms-enum": {
- "name": "X12DateFormat",
- "modelAsString": false
- }
- },
- "X12TimeFormat": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "HHMM",
- "HHMMSS",
- "HHMMSSdd",
- "HHMMSSd"
- ],
- "x-ms-enum": {
- "name": "X12TimeFormat",
- "modelAsString": false
- }
- },
- "UsageIndicator": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Test",
- "Information",
- "Production"
- ],
- "x-ms-enum": {
- "name": "UsageIndicator",
- "modelAsString": false
- }
- },
- "MessageFilterType": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Include",
- "Exclude"
- ],
- "x-ms-enum": {
- "name": "MessageFilterType",
- "modelAsString": false
- }
- },
- "HashingAlgorithm": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "None",
- "SHA2256",
- "SHA2384",
- "SHA2512"
- ],
- "x-ms-enum": {
- "name": "HashingAlgorithm",
- "modelAsString": false
- }
- },
- "EncryptionAlgorithm": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "None",
- "DES3",
- "RC2",
- "AES128",
- "AES192",
- "AES256"
- ],
- "x-ms-enum": {
- "name": "EncryptionAlgorithm",
- "modelAsString": false
- }
- },
- "TrailingSeparatorPolicy": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "NotAllowed",
- "Optional",
- "Mandatory"
- ],
- "x-ms-enum": {
- "name": "TrailingSeparatorPolicy",
- "modelAsString": false
- }
- },
- "EdifactAgreementContent": {
- "type": "object",
- "properties": {
- "receiveAgreement": {
- "$ref": "#/definitions/EdifactOneWayAgreement",
- "description": "The EDIFACT one-way receive agreement."
- },
- "sendAgreement": {
- "$ref": "#/definitions/EdifactOneWayAgreement",
- "description": "The EDIFACT one-way send agreement."
- }
- }
- },
- "EdifactOneWayAgreement": {
- "type": "object",
- "properties": {
- "senderBusinessIdentity": {
- "$ref": "#/definitions/BusinessIdentity",
- "description": "The sender business identity"
- },
- "receiverBusinessIdentity": {
- "$ref": "#/definitions/BusinessIdentity",
- "description": "The receiver business identity"
- },
- "protocolSettings": {
- "$ref": "#/definitions/EdifactProtocolSettings",
- "description": "The EDIFACT protocol settings."
- }
- }
- },
- "EdifactProtocolSettings": {
- "type": "object",
- "properties": {
- "validationSettings": {
- "$ref": "#/definitions/EdifactValidationSettings",
- "description": "The EDIFACT validation settings."
- },
- "framingSettings": {
- "$ref": "#/definitions/EdifactFramingSettings",
- "description": "The EDIFACT framing settings."
- },
- "envelopeSettings": {
- "$ref": "#/definitions/EdifactEnvelopeSettings",
- "description": "The EDIFACT envelope settings."
- },
- "acknowledgementSettings": {
- "$ref": "#/definitions/EdifactAcknowledgementSettings",
- "description": "The EDIFACT acknowledgement settings."
- },
- "messageFilter": {
- "$ref": "#/definitions/EdifactMessageFilter",
- "description": "The EDIFACT message filter."
- },
- "processingSettings": {
- "$ref": "#/definitions/EdifactProcessingSettings",
- "description": "The EDIFACT processing Settings."
- },
- "envelopeOverrides": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EdifactEnvelopeOverride"
- },
- "description": "The EDIFACT envelope override settings."
- },
- "messageFilterList": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EdifactMessageIdentifier"
- },
- "description": "The EDIFACT message filter list."
- },
- "schemaReferences": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EdifactSchemaReference"
- },
- "description": "The EDIFACT schema references."
- },
- "validationOverrides": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EdifactValidationOverride"
- },
- "description": "The EDIFACT validation override settings."
- },
- "edifactDelimiterOverrides": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EdifactDelimiterOverride"
- },
- "description": "The EDIFACT delimiter override settings."
- }
- }
- },
- "EdifactValidationSettings": {
- "type": "object",
- "properties": {
- "validateCharacterSet": {
- "type": "boolean",
- "description": "The value indicating whether to validate character set in the message."
- },
- "checkDuplicateInterchangeControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to check for duplicate interchange control number."
- },
- "interchangeControlNumberValidityDays": {
- "type": "integer",
- "format": "int32",
- "description": "The validity period of interchange control number."
- },
- "checkDuplicateGroupControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to check for duplicate group control number."
- },
- "checkDuplicateTransactionSetControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to check for duplicate transaction set control number."
- },
- "validateEDITypes": {
- "type": "boolean",
- "description": "The value indicating whether to Whether to validate EDI types."
- },
- "validateXSDTypes": {
- "type": "boolean",
- "description": "The value indicating whether to Whether to validate XSD types."
- },
- "allowLeadingAndTrailingSpacesAndZeroes": {
- "type": "boolean",
- "description": "The value indicating whether to allow leading and trailing spaces and zeroes."
- },
- "trimLeadingAndTrailingSpacesAndZeroes": {
- "type": "boolean",
- "description": "The value indicating whether to trim leading and trailing spaces and zeroes."
- },
- "trailingSeparatorPolicy": {
- "$ref": "#/definitions/TrailingSeparatorPolicy",
- "description": "The trailing separator policy."
- }
- }
- },
- "EdifactFramingSettings": {
- "type": "object",
- "properties": {
- "serviceCodeListDirectoryVersion": {
- "type": "string",
- "description": "The service code list directory version."
- },
- "characterEncoding": {
- "type": "string",
- "description": "The character encoding."
- },
- "protocolVersion": {
- "type": "integer",
- "format": "int32",
- "description": "The protocol version."
- },
- "dataElementSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The data element separator."
- },
- "componentSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The component separator."
- },
- "segmentTerminator": {
- "type": "integer",
- "format": "int32",
- "description": "The segment terminator."
- },
- "releaseIndicator": {
- "type": "integer",
- "format": "int32",
- "description": "The release indicator."
- },
- "repetitionSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The repetition separator."
- },
- "characterSet": {
- "$ref": "#/definitions/EdifactCharacterSet",
- "description": "The EDIFACT frame setting characterSet."
- },
- "decimalPointIndicator": {
- "$ref": "#/definitions/EdifactDecimalIndicator",
- "description": "The EDIFACT frame setting decimal indicator."
- },
- "segmentTerminatorSuffix": {
- "$ref": "#/definitions/SegmentTerminatorSuffix",
- "description": "The EDIFACT frame setting segment terminator suffix."
- }
- }
- },
- "EdifactEnvelopeSettings": {
- "type": "object",
- "properties": {
- "groupAssociationAssignedCode": {
- "type": "string",
- "description": "The group association assigned code."
- },
- "communicationAgreementId": {
- "type": "string",
- "description": "The communication agreement id."
- },
- "applyDelimiterStringAdvice": {
- "type": "boolean",
- "description": "The value indicating whether to apply delimiter string advice."
- },
- "createGroupingSegments": {
- "type": "boolean",
- "description": "The value indicating whether to create grouping segments."
- },
- "enableDefaultGroupHeaders": {
- "type": "boolean",
- "description": "The value indicating whether to enable default group headers."
- },
- "recipientReferencePasswordValue": {
- "type": "string",
- "description": "The recipient reference password value."
- },
- "recipientReferencePasswordQualifier": {
- "type": "string",
- "description": "The recipient reference password qualifier."
- },
- "applicationReferenceId": {
- "type": "string",
- "description": "The application reference id."
- },
- "processingPriorityCode": {
- "type": "string",
- "description": "The processing priority code."
- },
- "interchangeControlNumberLowerBound": {
- "type": "integer",
- "format": "int64",
- "description": "The interchange control number lower bound."
- },
- "interchangeControlNumberUpperBound": {
- "type": "integer",
- "format": "int64",
- "description": "The interchange control number upper bound."
- },
- "rolloverInterchangeControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to rollover interchange control number."
- },
- "interchangeControlNumberPrefix": {
- "type": "string",
- "description": "The interchange control number prefix."
- },
- "interchangeControlNumberSuffix": {
- "type": "string",
- "description": "The interchange control number suffix."
- },
- "senderReverseRoutingAddress": {
- "type": "string",
- "description": "The sender reverse routing address."
- },
- "receiverReverseRoutingAddress": {
- "type": "string",
- "description": "The receiver reverse routing address."
- },
- "functionalGroupId": {
- "type": "string",
- "description": "The functional group id."
- },
- "groupControllingAgencyCode": {
- "type": "string",
- "description": "The group controlling agency code."
- },
- "groupMessageVersion": {
- "type": "string",
- "description": "The group message version."
- },
- "groupMessageRelease": {
- "type": "string",
- "description": "The group message release."
- },
- "groupControlNumberLowerBound": {
- "type": "integer",
- "format": "int64",
- "description": "The group control number lower bound."
- },
- "groupControlNumberUpperBound": {
- "type": "integer",
- "format": "int64",
- "description": "The group control number upper bound."
- },
- "rolloverGroupControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to rollover group control number."
- },
- "groupControlNumberPrefix": {
- "type": "string",
- "description": "The group control number prefix."
- },
- "groupControlNumberSuffix": {
- "type": "string",
- "description": "The group control number suffix."
- },
- "groupApplicationReceiverQualifier": {
- "type": "string",
- "description": "The group application receiver qualifier."
- },
- "groupApplicationReceiverId": {
- "type": "string",
- "description": "The group application receiver id."
- },
- "groupApplicationSenderQualifier": {
- "type": "string",
- "description": "The group application sender qualifier."
- },
- "groupApplicationSenderId": {
- "type": "string",
- "description": "The group application sender id."
- },
- "groupApplicationPassword": {
- "type": "string",
- "description": "The group application password."
- },
- "overwriteExistingTransactionSetControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to overwrite existing transaction set control number."
- },
- "transactionSetControlNumberPrefix": {
- "type": "string",
- "description": "The transaction set control number prefix."
- },
- "transactionSetControlNumberSuffix": {
- "type": "string",
- "description": "The transaction set control number suffix."
- },
- "transactionSetControlNumberLowerBound": {
- "type": "integer",
- "format": "int64",
- "description": "The transaction set control number lower bound."
- },
- "transactionSetControlNumberUpperBound": {
- "type": "integer",
- "format": "int64",
- "description": "The transaction set control number upper bound."
- },
- "rolloverTransactionSetControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to rollover transaction set control number."
- },
- "isTestInterchange": {
- "type": "boolean",
- "description": "The value indicating whether the message is a test interchange."
- },
- "senderInternalIdentification": {
- "type": "string",
- "description": "The sender internal identification."
- },
- "senderInternalSubIdentification": {
- "type": "string",
- "description": "The sender internal sub identification."
- },
- "receiverInternalIdentification": {
- "type": "string",
- "description": "The receiver internal identification."
- },
- "receiverInternalSubIdentification": {
- "type": "string",
- "description": "The receiver internal sub identification."
- }
- }
- },
- "EdifactAcknowledgementSettings": {
- "type": "object",
- "properties": {
- "needTechnicalAcknowledgement": {
- "type": "boolean",
- "description": "The value indicating whether technical acknowledgement is needed."
- },
- "batchTechnicalAcknowledgements": {
- "type": "boolean",
- "description": "The value indicating whether to batch the technical acknowledgements."
- },
- "needFunctionalAcknowledgement": {
- "type": "boolean",
- "description": "The value indicating whether functional acknowledgement is needed."
- },
- "batchFunctionalAcknowledgements": {
- "type": "boolean",
- "description": "The value indicating whether to batch functional acknowledgements."
- },
- "needLoopForValidMessages": {
- "type": "boolean",
- "description": "The value indicating whether a loop is needed for valid messages."
- },
- "sendSynchronousAcknowledgement": {
- "type": "boolean",
- "description": "The value indicating whether to send synchronous acknowledgement."
- },
- "acknowledgementControlNumberPrefix": {
- "type": "string",
- "description": "The acknowledgement control number prefix."
- },
- "acknowledgementControlNumberSuffix": {
- "type": "string",
- "description": "The acknowledgement control number suffix."
- },
- "acknowledgementControlNumberLowerBound": {
- "type": "integer",
- "format": "int32",
- "description": "The acknowledgement control number lower bound."
- },
- "acknowledgementControlNumberUpperBound": {
- "type": "integer",
- "format": "int32",
- "description": "The acknowledgement control number upper bound."
- },
- "rolloverAcknowledgementControlNumber": {
- "type": "boolean",
- "description": "The value indicating whether to rollover acknowledgement control number."
- }
- }
- },
- "EdifactMessageFilter": {
- "type": "object",
- "properties": {
- "messageFilterType": {
- "$ref": "#/definitions/MessageFilterType",
- "description": "The message filter type."
- }
- }
- },
- "EdifactProcessingSettings": {
- "type": "object",
- "properties": {
- "maskSecurityInfo": {
- "type": "boolean",
- "description": "The value indicating whether to mask security information."
- },
- "preserveInterchange": {
- "type": "boolean",
- "description": "The value indicating whether to preserve interchange."
- },
- "suspendInterchangeOnError": {
- "type": "boolean",
- "description": "The value indicating whether to suspend interchange on error."
- },
- "createEmptyXmlTagsForTrailingSeparators": {
- "type": "boolean",
- "description": "The value indicating whether to create empty xml tags for trailing separators."
- },
- "useDotAsDecimalSeparator": {
- "type": "boolean",
- "description": "The value indicating whether to use dot as decimal separator."
- }
- }
- },
- "EdifactEnvelopeOverride": {
- "type": "object",
- "properties": {
- "messageId": {
- "type": "string",
- "description": "The message id on which this envelope settings has to be applied."
- },
- "messageVersion": {
- "type": "string",
- "description": "The message version on which this envelope settings has to be applied."
- },
- "messageRelease": {
- "type": "string",
- "description": "The message release version on which this envelope settings has to be applied."
- },
- "messageAssociationAssignedCode": {
- "type": "string",
- "description": "The message association assigned code."
- },
- "targetNamespace": {
- "type": "string",
- "description": "The target namespace on which this envelope settings has to be applied."
- },
- "functionalGroupId": {
- "type": "string",
- "description": "The functional group id."
- },
- "senderApplicationQualifier": {
- "type": "string",
- "description": "The sender application qualifier."
- },
- "senderApplicationId": {
- "type": "string",
- "description": "The sender application id."
- },
- "receiverApplicationQualifier": {
- "type": "string",
- "description": "The receiver application qualifier."
-
- },
- "receiverApplicationId": {
- "type": "string",
- "description": "The receiver application id."
- },
- "controllingAgencyCode": {
- "type": "string",
- "description": "The controlling agency code."
- },
- "groupHeaderMessageVersion": {
- "type": "string",
- "description": "The group header message version."
- },
- "groupHeaderMessageRelease": {
- "type": "string",
- "description": "The group header message release."
- },
- "associationAssignedCode": {
- "type": "string",
- "description": "The association assigned code."
- },
- "applicationPassword": {
- "type": "string",
- "description": "The application password."
- }
- }
- },
- "EdifactMessageIdentifier": {
- "type": "object",
- "properties": {
- "messageId": {
- "type": "string",
- "description": "The message id on which this envelope settings has to be applied."
- }
- }
- },
- "EdifactSchemaReference": {
- "type": "object",
- "properties": {
- "messageId": {
- "type": "string",
- "description": "The message id."
- },
- "messageVersion": {
- "type": "string",
- "description": "The message version."
- },
- "messageRelease": {
- "type": "string",
- "description": "The message release version."
- },
- "senderApplicationId": {
- "type": "string",
- "description": "The sender application id."
- },
- "senderApplicationQualifier": {
- "type": "string",
- "description": "The sender application qualifier."
- },
- "associationAssignedCode": {
- "type": "string",
- "description": "The association assigned code."
- },
- "schemaName": {
- "type": "string",
- "description": "The schema name."
- }
- }
- },
- "EdifactValidationOverride": {
- "type": "object",
- "properties": {
- "messageId": {
- "type": "string",
- "description": "The message id on which the validation settings has to be applied."
- },
- "enforceCharacterSet": {
- "type": "boolean",
- "description": "The value indicating whether to validate character Set."
- },
- "validateEDITypes": {
- "type": "boolean",
- "description": "The value indicating whether to validate EDI types."
- },
- "validateXSDTypes": {
- "type": "boolean",
- "description": "The value indicating whether to validate XSD types."
- },
- "allowLeadingAndTrailingSpacesAndZeroes": {
- "type": "boolean",
- "description": "The value indicating whether to allow leading and trailing spaces and zeroes."
- },
- "trailingSeparatorPolicy": {
- "$ref": "#/definitions/TrailingSeparatorPolicy",
- "description": "The trailing separator policy."
- },
- "trimLeadingAndTrailingSpacesAndZeroes": {
- "type": "boolean",
- "description": "The value indicating whether to trim leading and trailing spaces and zeroes."
- }
- }
- },
- "EdifactDelimiterOverride": {
- "type": "object",
- "properties": {
- "messageId": {
- "type": "string",
- "description": "The message id."
- },
- "messageVersion": {
- "type": "string",
- "description": "The message version."
- },
- "messageRelease": {
- "type": "string",
- "description": "The message release version."
- },
- "dataElementSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The data element separator."
- },
- "componentSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The component separator."
- },
- "segmentTerminator": {
- "type": "integer",
- "format": "int32",
- "description": "The segment terminator."
- },
- "repetitionSeparator": {
- "type": "integer",
- "format": "int32",
- "description": "The repetition separator."
- },
- "segmentTerminatorSuffix": {
- "$ref": "#/definitions/SegmentTerminatorSuffix",
- "description": "The segment terminator suffix."
- },
- "decimalPointIndicator": {
- "$ref": "#/definitions/EdifactDecimalIndicator",
- "description": "The decimal point indicator."
- },
- "releaseIndicator": {
- "type": "integer",
- "format": "int32",
- "description": "The release indicator."
- },
- "messageAssociationAssignedCode": {
- "type": "string",
- "description": "The message association assigned code."
- },
- "targetNamespace": {
- "type": "string",
- "description": "The target namespace on which this delimiter settings has to be applied."
- }
- }
- },
- "EdifactCharacterSet": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "UNOB",
- "UNOA",
- "UNOC",
- "UNOD",
- "UNOE",
- "UNOF",
- "UNOG",
- "UNOH",
- "UNOI",
- "UNOJ",
- "UNOK",
- "UNOX",
- "UNOY",
- "KECA"
- ],
- "x-ms-enum": {
- "name": "EdifactCharacterSet",
- "modelAsString": false
- }
- },
- "EdifactDecimalIndicator": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Comma",
- "Decimal"
- ],
- "x-ms-enum": {
- "name": "EdifactDecimalIndicator",
- "modelAsString": false
- }
- },
- "IntegrationAccountCertificateListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/IntegrationAccountCertificate"
- },
- "description": "The list of integration account certificates."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of results."
- }
- }
- },
- "IntegrationAccountCertificate": {
- "type": "object",
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/IntegrationAccountCertificateProperties",
- "description": "The integration account certificate properties."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/IntegrationAccountResource"
- }
- ]
- },
- "IntegrationAccountCertificateProperties": {
- "type": "object",
- "properties": {
- "createdTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The created time."
- },
- "changedTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "The changed time."
- },
- "metadata": {
- "type": "object",
- "description": "The metadata.",
- "properties": {
- }
- },
- "key": {
- "$ref": "#/definitions/KeyVaultKeyReference",
- "description": "The key details in the key vault."
- },
- "publicCertificate": {
- "type": "string",
- "description": "The public certificate."
- }
- }
- },
- "KeyVaultKeyReference": {
- "type": "object",
- "properties": {
- "keyVault": {
- "type": "object",
- "description": "The key vault reference.",
- "properties": {
- "id": {
- "type": "string",
- "description": "The resource id."
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "The resource name."
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "The resource type."
- }
- }
- },
- "keyName": {
- "type": "string",
- "description": "The private key name in key vault."
- },
- "keyVersion": {
- "type": "string",
- "description": "The private key version in key vault."
- }
- }
+ "x-ms-odata": "#/definitions/IntegrationAccountAgreementFilter"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/agreements/{agreementName}": {
+ "get": {
+ "tags": [
+ "IntegrationAccountAgreements"
+ ],
+ "operationId": "IntegrationAccountAgreements_Get",
+ "description": "Gets an integration account agreement.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "agreementName",
+ "description": "The integration account agreement name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountAgreement"
+ }
+ }
}
+ },
+ "put": {
+ "tags": [
+ "IntegrationAccountAgreements"
+ ],
+ "operationId": "IntegrationAccountAgreements_CreateOrUpdate",
+ "description": "Creates or updates an integration account agreement.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "agreementName",
+ "description": "The integration account agreement name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "agreement",
+ "description": "The integration account agreement.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountAgreement"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountAgreement"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountAgreement"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IntegrationAccountAgreements"
+ ],
+ "operationId": "IntegrationAccountAgreements_Delete",
+ "description": "Deletes an integration account agreement.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "agreementName",
+ "description": "The integration account agreement name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ }
},
- "parameters": {
- "subscriptionId": {
- "name": "subscriptionId",
- "description": "The subscription id.",
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates": {
+ "get": {
+ "tags": [
+ "IntegrationAccountCertificates"
+ ],
+ "operationId": "IntegrationAccountCertificates_List",
+ "description": "Gets a list of integration account certificates.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
"in": "path",
"required": true,
"type": "string"
- },
- "api-version": {
- "name": "api-version",
- "description": "The API version.",
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$top",
+ "description": "The number of items to be included in the result.",
"in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountCertificateListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName}": {
+ "get": {
+ "tags": [
+ "IntegrationAccountCertificates"
+ ],
+ "operationId": "IntegrationAccountCertificates_Get",
+ "description": "Gets an integration account certificate.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "certificateName",
+ "description": "The integration account certificate name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountCertificate"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "IntegrationAccountCertificates"
+ ],
+ "operationId": "IntegrationAccountCertificates_CreateOrUpdate",
+ "description": "Creates or updates an integration account certificate.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "certificateName",
+ "description": "The integration account certificate name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "certificate",
+ "description": "The integration account certificate.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountCertificate"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountCertificate"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountCertificate"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IntegrationAccountCertificates"
+ ],
+ "operationId": "IntegrationAccountCertificates_Delete",
+ "description": "Deletes an integration account certificate.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
"required": true,
"type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "certificateName",
+ "description": "The integration account certificate name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "IntegrationAccountResource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The resource id."
+ },
+ "name": {
+ "type": "string",
+ "description": "The resource name."
+ },
+ "type": {
+ "type": "string",
+ "description": "The resource type."
+ },
+ "location": {
+ "type": "string",
+ "description": "The resource location."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The resource tags."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "IntegrationAccountSkuName": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Free",
+ "Shared",
+ "Basic",
+ "Standard",
+ "Premium"
+ ],
+ "x-ms-enum": {
+ "name": "SkuName",
+ "modelAsString": false
+ }
+ },
+ "IntegrationAccountContentLink": {
+ "type": "object",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "The content link URI."
+ },
+ "contentVersion": {
+ "type": "string",
+ "description": "The content version."
+ },
+ "contentSize": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The content size."
+ },
+ "contentHash": {
+ "$ref": "#/definitions/IntegrationAccountContentHash",
+ "description": "The content hash."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The metadata.",
+ "properties": {}
+ }
+ }
+ },
+ "IntegrationAccountContentHash": {
+ "type": "object",
+ "properties": {
+ "algorithm": {
+ "type": "string",
+ "description": "The content hash algorithm."
+ },
+ "value": {
+ "type": "string",
+ "description": "The content hash value."
+ }
+ }
+ },
+ "IntegrationAccount": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IntegrationAccountProperties",
+ "description": "The integration account properties."
+ },
+ "sku": {
+ "$ref": "#/definitions/IntegrationAccountSku",
+ "description": "The sku."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/IntegrationAccountResource"
+ }
+ ]
+ },
+ "IntegrationAccountProperties": {
+ "type": "object"
+ },
+ "IntegrationAccountListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IntegrationAccount"
+ },
+ "description": "The list of integration accounts."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "ListCallbackUrlParameters": {
+ "type": "object",
+ "properties": {
+ "NotAfter": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The expiry time."
+ }
+ }
+ },
+ "CallbackUrl": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The URL value."
+ }
+ }
+ },
+ "IntegrationAccountSchema": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IntegrationAccountSchemaProperties",
+ "description": "The integration account schema properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/IntegrationAccountResource"
+ }
+ ]
+ },
+ "IntegrationAccountSchemaProperties": {
+ "type": "object",
+ "properties": {
+ "schemaType": {
+ "$ref": "#/definitions/SchemaType",
+ "description": "The schema type."
+ },
+ "targetNamespace": {
+ "type": "string",
+ "description": "The target namespace."
+ },
+ "createdTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The created time."
+ },
+ "changedTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The changed time."
+ },
+ "content": {
+ "type": "object",
+ "description": "The content.",
+ "properties": {}
+ },
+ "contentType": {
+ "type": "string",
+ "description": "The content type."
+ },
+ "contentLink": {
+ "$ref": "#/definitions/IntegrationAccountContentLink",
+ "readOnly": true,
+ "description": "The content link."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The metadata.",
+ "properties": {}
+ }
+ }
+ },
+ "IntegrationAccountSchemaListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IntegrationAccountSchema"
+ },
+ "description": "The list of integration account schemas."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "IntegrationAccountSchemaFilter": {
+ "type": "object",
+ "properties": {
+ "schemaType": {
+ "$ref": "#/definitions/SchemaType",
+ "description": "The schema type of integration account schema."
+ }
+ }
+ },
+ "SchemaType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Xml"
+ ],
+ "x-ms-enum": {
+ "name": "SchemaType",
+ "modelAsString": false
+ }
+ },
+ "IntegrationAccountMap": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IntegrationAccountMapProperties",
+ "description": "The integration account map properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/IntegrationAccountResource"
+ }
+ ]
+ },
+ "IntegrationAccountMapProperties": {
+ "type": "object",
+ "properties": {
+ "mapType": {
+ "$ref": "#/definitions/MapType",
+ "description": "The map type."
+ },
+ "createdTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The created time."
+ },
+ "changedTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The changed time."
+ },
+ "content": {
+ "type": "object",
+ "description": "The content.",
+ "properties": {}
+ },
+ "contentType": {
+ "type": "string",
+ "description": "The content type."
+ },
+ "contentLink": {
+ "$ref": "#/definitions/IntegrationAccountContentLink",
+ "readOnly": true,
+ "description": "The content link."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The metadata.",
+ "properties": {}
+ }
+ }
+ },
+ "IntegrationAccountMapListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IntegrationAccountMap"
+ },
+ "description": "The list of integration account maps."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "IntegrationAccountMapFilter": {
+ "type": "object",
+ "properties": {
+ "schemaType": {
+ "$ref": "#/definitions/MapType",
+ "description": "The map type of integration account map."
+ }
+ }
+ },
+ "MapType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Xslt"
+ ],
+ "x-ms-enum": {
+ "name": "MapType",
+ "modelAsString": false
+ }
+ },
+ "IntegrationAccountSku": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/IntegrationAccountSkuName",
+ "description": "The sku name."
+ }
+ }
+ },
+ "IntegrationAccountPartnerListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IntegrationAccountPartner"
+ },
+ "description": "The list of integration account partners."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "IntegrationAccountPartnerFilter": {
+ "type": "object",
+ "properties": {
+ "partnerType": {
+ "$ref": "#/definitions/PartnerType",
+ "description": "The partner type of integration account partner."
+ }
+ }
+ },
+ "IntegrationAccountPartner": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IntegrationAccountPartnerProperties",
+ "description": "The integration account partner properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/IntegrationAccountResource"
+ }
+ ]
+ },
+ "IntegrationAccountPartnerProperties": {
+ "type": "object",
+ "properties": {
+ "partnerType": {
+ "$ref": "#/definitions/PartnerType",
+ "description": "The partner type."
+ },
+ "createdTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The created time."
+ },
+ "changedTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The changed time."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The metadata.",
+ "properties": {}
+ },
+ "content": {
+ "$ref": "#/definitions/PartnerContent",
+ "description": "The partner content."
+ }
+ }
+ },
+ "PartnerType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "B2B"
+ ],
+ "x-ms-enum": {
+ "name": "PartnerType",
+ "modelAsString": false
+ }
+ },
+ "PartnerContent": {
+ "type": "object",
+ "properties": {
+ "b2b": {
+ "$ref": "#/definitions/B2BPartnerContent",
+ "description": "The B2B partner content."
+ }
+ }
+ },
+ "B2BPartnerContent": {
+ "type": "object",
+ "properties": {
+ "businessIdentities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BusinessIdentity"
+ },
+ "description": "The list of partner business identities."
+ }
+ }
+ },
+ "BusinessIdentity": {
+ "type": "object",
+ "properties": {
+ "Qualifier": {
+ "type": "string",
+ "description": "The business identity qualifier."
+ },
+ "Value": {
+ "type": "string",
+ "description": "The business identity value."
+ }
+ }
+ },
+ "IntegrationAccountAgreementListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IntegrationAccountAgreement"
+ },
+ "description": "The list of integration account agreements."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "IntegrationAccountAgreementFilter": {
+ "type": "object",
+ "properties": {
+ "agreementType": {
+ "$ref": "#/definitions/AgreementType",
+ "description": "The agreement type of integration account agreement."
+ }
+ }
+ },
+ "IntegrationAccountAgreement": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IntegrationAccountAgreementProperties",
+ "description": "The integration account agreement properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/IntegrationAccountResource"
+ }
+ ]
+ },
+ "IntegrationAccountAgreementProperties": {
+ "type": "object",
+ "properties": {
+ "createdTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The created time."
+ },
+ "changedTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The changed time."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The metadata.",
+ "properties": {}
+ },
+ "agreementType": {
+ "$ref": "#/definitions/AgreementType",
+ "description": "The agreement type."
+ },
+ "hostPartner": {
+ "type": "string",
+ "description": "The host partner."
+ },
+ "guestPartner": {
+ "type": "string",
+ "description": "The guest partner."
+ },
+ "hostIdentity": {
+ "$ref": "#/definitions/BusinessIdentity",
+ "description": "The host identity."
+ },
+ "guestIdentity": {
+ "$ref": "#/definitions/BusinessIdentity",
+ "description": "The guest identity."
+ },
+ "content": {
+ "$ref": "#/definitions/AgreementContent",
+ "description": "The agreement content."
+ }
+ }
+ },
+ "AgreementType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "AS2",
+ "X12",
+ "Edifact"
+ ],
+ "x-ms-enum": {
+ "name": "AgreementType",
+ "modelAsString": false
+ }
+ },
+ "AgreementContent": {
+ "type": "object",
+ "properties": {
+ "AS2": {
+ "$ref": "#/definitions/AS2AgreementContent",
+ "description": "The AS2 agreement content."
+ },
+ "X12": {
+ "$ref": "#/definitions/X12AgreementContent",
+ "description": "The X12 agreement content."
+ },
+ "Edifact": {
+ "$ref": "#/definitions/EdifactAgreementContent",
+ "description": "The EDIFACT agreement content."
+ }
+ }
+ },
+ "AS2AgreementContent": {
+ "type": "object",
+ "properties": {
+ "receiveAgreement": {
+ "$ref": "#/definitions/AS2OneWayAgreement",
+ "description": "The AS2 one-way receive agreement."
+ },
+ "sendAgreement": {
+ "$ref": "#/definitions/AS2OneWayAgreement",
+ "description": "The AS2 one-way send agreement."
+ }
+ }
+ },
+ "AS2OneWayAgreement": {
+ "type": "object",
+ "properties": {
+ "senderBusinessIdentity": {
+ "$ref": "#/definitions/BusinessIdentity",
+ "description": "The sender business identity"
+ },
+ "receiverBusinessIdentity": {
+ "$ref": "#/definitions/BusinessIdentity",
+ "description": "The receiver business identity"
+ },
+ "protocolSettings": {
+ "$ref": "#/definitions/AS2ProtocolSettings",
+ "description": "The AS2 protocol settings."
+ }
+ }
+ },
+ "AS2ProtocolSettings": {
+ "type": "object",
+ "properties": {
+ "messageConnectionSettings": {
+ "$ref": "#/definitions/AS2MessageConnectionSettings",
+ "description": "The message connection settings."
+ },
+ "acknowledgementConnectionSettings": {
+ "$ref": "#/definitions/AS2AcknowledgementConnectionSettings",
+ "description": "The acknowledgement connection settings."
+ },
+ "mdnSettings": {
+ "$ref": "#/definitions/AS2MdnSettings",
+ "description": "The MDN settings."
+ },
+ "securitySettings": {
+ "$ref": "#/definitions/AS2SecuritySettings",
+ "description": "The security settings."
+ },
+ "validationSettings": {
+ "$ref": "#/definitions/AS2ValidationSettings",
+ "description": "The validation settings."
+ },
+ "envelopeSettings": {
+ "$ref": "#/definitions/AS2EnvelopeSettings",
+ "description": "The envelope settings."
+ },
+ "errorSettings": {
+ "$ref": "#/definitions/AS2ErrorSettings",
+ "description": "The error settings."
+ }
+ }
+ },
+ "AS2AcknowledgementConnectionSettings": {
+ "type": "object",
+ "properties": {
+ "ignoreCertificateNameMismatch": {
+ "type": "boolean",
+ "description": "The value indicating whether to ignore mismatch in certificate name."
+ },
+ "supportHttpStatusCodeContinue": {
+ "type": "boolean",
+ "description": "The value indicating whether to support HTTP status code 'CONTINUE'."
+ },
+ "keepHttpConnectionAlive": {
+ "type": "boolean",
+ "description": "The value indicating whether to keep the connection alive."
+ },
+ "unfoldHttpHeaders": {
+ "type": "boolean",
+ "description": "The value indicating whether to unfold the HTTP headers."
+ }
+ }
+ },
+ "AS2MessageConnectionSettings": {
+ "type": "object",
+ "properties": {
+ "ignoreCertificateNameMismatch": {
+ "type": "boolean",
+ "description": "The value indicating whether to ignore mismatch in certificate name."
+ },
+ "supportHttpStatusCodeContinue": {
+ "type": "boolean",
+ "description": "The value indicating whether to support HTTP status code 'CONTINUE'."
+ },
+ "keepHttpConnectionAlive": {
+ "type": "boolean",
+ "description": "The value indicating whether to keep the connection alive."
+ },
+ "unfoldHttpHeaders": {
+ "type": "boolean",
+ "description": "The value indicating whether to unfold the HTTP headers."
+ }
+ }
+ },
+ "AS2MdnSettings": {
+ "type": "object",
+ "properties": {
+ "needMdn": {
+ "type": "boolean",
+ "description": "The value indicating whether to send or request a MDN."
+ },
+ "signMdn": {
+ "type": "boolean",
+ "description": "The value indicating whether the MDN needs to be signed or not."
+ },
+ "sendMdnAsynchronously": {
+ "type": "boolean",
+ "description": "The value indicating whether to send the asynchronous MDN."
+ },
+ "receiptDeliveryUrl": {
+ "type": "string",
+ "description": "The receipt delivery URL."
+ },
+ "dispositionNotificationTo": {
+ "type": "string",
+ "description": "The disposition notification to header value."
+ },
+ "signOutboundMdnIfOptional": {
+ "type": "boolean",
+ "description": "The value indicating whether to sign the outbound MDN if optional."
+ },
+ "mdnText": {
+ "type": "string",
+ "description": "The MDN text."
+ },
+ "sendInboundMdnToMessageBox": {
+ "type": "boolean",
+ "description": "The value indicating whether to send inbound MDN to message box."
+ },
+ "micHashingAlgorithm": {
+ "$ref": "#/definitions/HashingAlgorithm",
+ "description": "The signing or hashing algorithm."
+ }
+ }
+ },
+ "AS2SecuritySettings": {
+ "type": "object",
+ "properties": {
+ "overrideGroupSigningCertificate": {
+ "type": "boolean",
+ "description": "The value indicating whether to send or request a MDN."
+ },
+ "signingCertificateName": {
+ "type": "string",
+ "description": "The name of the signing certificate."
+ },
+ "encryptionCertificateName": {
+ "type": "string",
+ "description": "The name of the encryption certificate."
+ },
+ "enableNrrForInboundEncodedMessages": {
+ "type": "boolean",
+ "description": "The value indicating whether to enable NRR for inbound encoded messages."
+ },
+ "enableNrrForInboundDecodedMessages": {
+ "type": "boolean",
+ "description": "The value indicating whether to enable NRR for inbound decoded messages."
+ },
+ "enableNrrForOutboundMdn": {
+ "type": "boolean",
+ "description": "The value indicating whether to enable NRR for outbound MDN."
+ },
+ "enableNrrForOutboundEncodedMessages": {
+ "type": "boolean",
+ "description": "The value indicating whether to enable NRR for outbound encoded messages."
+ },
+ "enableNrrForOutboundDecodedMessages": {
+ "type": "boolean",
+ "description": "The value indicating whether to enable NRR for outbound decoded messages."
+ },
+ "enableNrrForInboundMdn": {
+ "type": "boolean",
+ "description": "The value indicating whether to enable NRR for inbound MDN."
+ }
+ }
+ },
+ "AS2ValidationSettings": {
+ "type": "object",
+ "properties": {
+ "overrideMessageProperties": {
+ "type": "boolean",
+ "description": "The value indicating whether to override incoming message properties with those in agreement."
+ },
+ "encryptMessage": {
+ "type": "boolean",
+ "description": "The value indicating whether the message has to be encrypted."
+ },
+ "signMessage": {
+ "type": "boolean",
+ "description": "The value indicating whether the message has to be signed."
+ },
+ "compressMessage": {
+ "type": "boolean",
+ "description": "The value indicating whether the message has to be compressed."
+ },
+ "checkDuplicateMessage": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for duplicate message."
+ },
+ "interchangeDuplicatesValidityDays": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of days to look back for duplicate interchange."
+ },
+ "checkCertificateRevocationListOnSend": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for certificate revocation list on send."
+ },
+ "checkCertificateRevocationListOnReceive": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for certificate revocation list on receive."
+ },
+ "encryptionAlgorithm": {
+ "$ref": "#/definitions/EncryptionAlgorithm",
+ "description": "The encryption algorithm."
}
+ }
+ },
+ "AS2EnvelopeSettings": {
+ "type": "object",
+ "properties": {
+ "messageContentType": {
+ "type": "string",
+ "description": "The message content type."
+ },
+ "transmitFileNameInMimeHeader": {
+ "type": "boolean",
+ "description": "The value indicating whether to transmit file name in mime header."
+ },
+ "fileNameTemplate": {
+ "type": "string",
+ "description": "The template for file name."
+ },
+ "SuspendMessageOnFileNameGenerationError": {
+ "type": "boolean",
+ "description": "The value indicating whether to suspend message on file name generation error."
+ },
+ "AutogenerateFileName": {
+ "type": "boolean",
+ "description": "The value indicating whether to auto generate file name."
+ }
+ }
+ },
+ "AS2ErrorSettings": {
+ "type": "object",
+ "properties": {
+ "SuspendDuplicateMessage": {
+ "type": "boolean",
+ "description": "The value indicating whether to suspend duplicate message."
+ },
+ "ResendIfMdnNotReceived": {
+ "type": "boolean",
+ "description": "The value indicating whether to resend message If MDN is not received."
+ }
+ }
+ },
+ "X12AgreementContent": {
+ "type": "object",
+ "properties": {
+ "receiveAgreement": {
+ "$ref": "#/definitions/X12OneWayAgreement",
+ "description": "The X12 one-way receive agreement."
+ },
+ "sendAgreement": {
+ "$ref": "#/definitions/X12OneWayAgreement",
+ "description": "The X12 one-way send agreement."
+ }
+ }
+ },
+ "X12OneWayAgreement": {
+ "type": "object",
+ "properties": {
+ "senderBusinessIdentity": {
+ "$ref": "#/definitions/BusinessIdentity",
+ "description": "The sender business identity"
+ },
+ "receiverBusinessIdentity": {
+ "$ref": "#/definitions/BusinessIdentity",
+ "description": "The receiver business identity"
+ },
+ "protocolSettings": {
+ "$ref": "#/definitions/X12ProtocolSettings",
+ "description": "The X12 protocol settings."
+ }
+ }
+ },
+ "X12ProtocolSettings": {
+ "type": "object",
+ "properties": {
+ "validationSettings": {
+ "$ref": "#/definitions/X12ValidationSettings",
+ "description": "The X12 validation settings."
+ },
+ "framingSettings": {
+ "$ref": "#/definitions/X12FramingSettings",
+ "description": "The X12 framing settings."
+ },
+ "envelopeSettings": {
+ "$ref": "#/definitions/X12EnvelopeSettings",
+ "description": "The X12 envelope settings."
+ },
+ "acknowledgementSettings": {
+ "$ref": "#/definitions/X12AcknowledgementSettings",
+ "description": "The X12 acknowledgment settings."
+ },
+ "messageFilter": {
+ "$ref": "#/definitions/X12MessageFilter",
+ "description": "The X12 message filter."
+ },
+ "securitySettings": {
+ "$ref": "#/definitions/X12SecuritySettings",
+ "description": "The X12 security settings."
+ },
+ "processingSettings": {
+ "$ref": "#/definitions/X12ProcessingSettings",
+ "description": "The X12 processing settings."
+ },
+ "envelopeOverrides": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/X12EnvelopeOverride"
+ },
+ "description": "The X12 envelope override settings."
+ },
+ "validationOverrides": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/X12ValidationOverride"
+ },
+ "description": "The X12 validation override settings."
+ },
+ "messageFilterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/X12MessageIdentifier"
+ },
+ "description": "The X12 message filter list."
+ },
+ "schemaReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/X12SchemaReference"
+ },
+ "description": "The X12 schema references."
+ },
+ "x12DelimiterOverrides": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/X12DelimiterOverrides"
+ },
+ "description": "The X12 delimiter override settings."
+ }
+ }
+ },
+ "X12ValidationSettings": {
+ "type": "object",
+ "properties": {
+ "validateCharacterSet": {
+ "type": "boolean",
+ "description": "The value indicating whether to validate character set in the message."
+ },
+ "checkDuplicateInterchangeControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for duplicate interchange control number."
+ },
+ "interchangeControlNumberValidityDays": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The validity period of interchange control number."
+ },
+ "checkDuplicateGroupControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for duplicate group control number."
+ },
+ "checkDuplicateTransactionSetControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for duplicate transaction set control number."
+ },
+ "validateEDITypes": {
+ "type": "boolean",
+ "description": "The value indicating whether to Whether to validate EDI types."
+ },
+ "validateXSDTypes": {
+ "type": "boolean",
+ "description": "The value indicating whether to Whether to validate XSD types."
+ },
+ "allowLeadingAndTrailingSpacesAndZeroes": {
+ "type": "boolean",
+ "description": "The value indicating whether to allow leading and trailing spaces and zeroes."
+ },
+ "trimLeadingAndTrailingSpacesAndZeroes": {
+ "type": "boolean",
+ "description": "The value indicating whether to trim leading and trailing spaces and zeroes."
+ },
+ "trailingSeparatorPolicy": {
+ "$ref": "#/definitions/TrailingSeparatorPolicy",
+ "description": "The trailing separator policy."
+ }
+ }
+ },
+ "X12FramingSettings": {
+ "type": "object",
+ "properties": {
+ "dataElementSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The data element separator."
+ },
+ "componentSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The component separator."
+ },
+ "replaceSeparatorsInPayload": {
+ "type": "boolean",
+ "description": "The value indicating whether to replace separators in payload."
+ },
+ "replaceCharacter": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The replacement character."
+ },
+ "segmentTerminator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The segment terminator."
+ },
+ "characterSet": {
+ "$ref": "#/definitions/X12CharacterSet",
+ "description": "The X12 character set."
+ },
+ "segmentTerminatorSuffix": {
+ "$ref": "#/definitions/SegmentTerminatorSuffix",
+ "description": "The segment terminator suffix."
+ }
+ }
+ },
+ "X12EnvelopeSettings": {
+ "type": "object",
+ "properties": {
+ "controlStandardsId": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The controls standards id."
+ },
+ "useControlStandardsIdAsRepetitionCharacter": {
+ "type": "boolean",
+ "description": "The value indicating whether to use control standards id as repetition character."
+ },
+ "senderApplicationId": {
+ "type": "string",
+ "description": "The sender application id."
+ },
+ "receiverApplicationId": {
+ "type": "string",
+ "description": "The receiver application id."
+ },
+ "controlVersionNumber": {
+ "type": "string",
+ "description": "The control version number."
+ },
+ "interchangeControlNumberLowerBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The interchange control number lower bound."
+ },
+ "interchangeControlNumberUpperBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The interchange control number upper bound."
+ },
+ "rolloverInterchangeControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to rollover interchange control number."
+ },
+ "enableDefaultGroupHeaders": {
+ "type": "boolean",
+ "description": "The value indicating whether to enable default group headers."
+ },
+ "functionalGroupId": {
+ "type": "string",
+ "description": "The functional group id."
+ },
+ "groupControlNumberLowerBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The group control number lower bound."
+ },
+ "groupControlNumberUpperBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The group control number upper bound."
+ },
+ "rolloverGroupControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to rollover group control number."
+ },
+ "groupHeaderAgencyCode": {
+ "type": "string",
+ "description": "The group header agency code."
+ },
+ "groupHeaderVersion": {
+ "type": "string",
+ "description": "The group header version."
+ },
+ "transactionSetControlNumberLowerBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The transaction set control number lower bound."
+ },
+ "transactionSetControlNumberUpperBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The transaction set control number upper bound."
+ },
+ "rolloverTransactionSetControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to rollover transaction set control number."
+ },
+ "transactionSetControlNumberPrefix": {
+ "type": "string",
+ "description": "The transaction set control number prefix."
+ },
+ "transactionSetControlNumberSuffix": {
+ "type": "string",
+ "description": "The transaction set control number suffix."
+ },
+ "overwriteExistingTransactionSetControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to overwrite existing transaction set control number."
+ },
+ "groupHeaderDateFormat": {
+ "$ref": "#/definitions/X12DateFormat",
+ "description": "The group header date format."
+ },
+ "groupHeaderTimeFormat": {
+ "$ref": "#/definitions/X12TimeFormat",
+ "description": "The group header time format."
+ },
+ "usageIndicator": {
+ "$ref": "#/definitions/UsageIndicator",
+ "description": "The usage indicator."
+ }
+ }
+ },
+ "X12AcknowledgementSettings": {
+ "type": "object",
+ "properties": {
+ "needTechnicalAcknowledgement": {
+ "type": "boolean",
+ "description": "The value indicating whether technical acknowledgement is needed."
+ },
+ "batchTechnicalAcknowledgements": {
+ "type": "boolean",
+ "description": "The value indicating whether to batch the technical acknowledgements."
+ },
+ "needFunctionalAcknowledgement": {
+ "type": "boolean",
+ "description": "The value indicating whether functional acknowledgement is needed."
+ },
+ "functionalAcknowledgementVersion": {
+ "type": "string",
+ "description": "The functional acknowledgement version."
+ },
+ "batchFunctionalAcknowledgements": {
+ "type": "boolean",
+ "description": "The value indicating whether to batch functional acknowledgements."
+ },
+ "needImplementationAcknowledgement": {
+ "type": "boolean",
+ "description": "The value indicating whether implementation acknowledgement is needed."
+ },
+ "implementationAcknowledgementVersion": {
+ "type": "string",
+ "description": "The implementation acknowledgement version."
+ },
+ "batchImplementationAcknowledgements": {
+ "type": "boolean",
+ "description": "The value indicating whether to batch implementation acknowledgements."
+ },
+ "needLoopForValidMessages": {
+ "type": "boolean",
+ "description": "The value indicating whether a loop is needed for valid messages."
+ },
+ "sendSynchronousAcknowledgement": {
+ "type": "boolean",
+ "description": "The value indicating whether to send synchronous acknowledgement."
+ },
+ "acknowledgementControlNumberPrefix": {
+ "type": "string",
+ "description": "The acknowledgement control number prefix."
+ },
+ "acknowledgementControlNumberSuffix": {
+ "type": "string",
+ "description": "The acknowledgement control number suffix."
+ },
+ "acknowledgementControlNumberLowerBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The acknowledgement control number lower bound."
+ },
+ "acknowledgementControlNumberUpperBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The acknowledgement control number upper bound."
+ },
+ "rolloverAcknowledgementControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to rollover acknowledgement control number."
+ }
+ }
+ },
+ "X12MessageFilter": {
+ "type": "object",
+ "properties": {
+ "messageFilterType": {
+ "$ref": "#/definitions/MessageFilterType",
+ "description": "The message filter type."
+ }
+ }
+ },
+ "X12SecuritySettings": {
+ "type": "object",
+ "properties": {
+ "authorizationQualifier": {
+ "type": "string",
+ "description": "The authorization qualifier."
+ },
+ "authorizationValue": {
+ "type": "string",
+ "description": "The authorization value."
+ },
+ "securityQualifier": {
+ "type": "string",
+ "description": "The security qualifier."
+ },
+ "passwordValue": {
+ "type": "string",
+ "description": "The password value."
+ }
+ }
+ },
+ "X12ProcessingSettings": {
+ "type": "object",
+ "properties": {
+ "maskSecurityInfo": {
+ "type": "boolean",
+ "description": "The value indicating whether to mask security information."
+ },
+ "convertImpliedDecimal": {
+ "type": "boolean",
+ "description": "The value indicating whether to convert numerical type to implied decimal."
+ },
+ "preserveInterchange": {
+ "type": "boolean",
+ "description": "The value indicating whether to preserve interchange."
+ },
+ "suspendInterchangeOnError": {
+ "type": "boolean",
+ "description": "The value indicating whether to suspend interchange on error."
+ },
+ "createEmptyXmlTagsForTrailingSeparators": {
+ "type": "boolean",
+ "description": "The value indicating whether to create empty xml tags for trailing separators."
+ },
+ "useDotAsDecimalSeparator": {
+ "type": "boolean",
+ "description": "The value indicating whether to use dot as decimal separator."
+ }
+ }
+ },
+ "X12EnvelopeOverride": {
+ "type": "object",
+ "properties": {
+ "targetNamespace": {
+ "type": "string",
+ "description": "The target namespace on which this envelope settings has to be applied."
+ },
+ "protocolVersion": {
+ "type": "string",
+ "description": "The protocol version on which this envelope settings has to be applied."
+ },
+ "messageId": {
+ "type": "string",
+ "description": "The message id on which this envelope settings has to be applied."
+ },
+ "responsibleAgencyCode": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The responsible agency code."
+ },
+ "headerVersion": {
+ "type": "string",
+ "description": "The header version."
+ },
+ "senderApplicationId": {
+ "type": "string",
+ "description": "The sender application id."
+ },
+ "receiverApplicationId": {
+ "type": "string",
+ "description": "The receiver application id."
+ },
+ "functionalIdentifierCode": {
+ "type": "string",
+ "description": "The functional identifier code."
+ },
+ "dateFormat": {
+ "$ref": "#/definitions/X12DateFormat",
+ "description": "The date format."
+ },
+ "timeFormat": {
+ "$ref": "#/definitions/X12TimeFormat",
+ "description": "The time format."
+ }
+ }
+ },
+ "X12ValidationOverride": {
+ "type": "object",
+ "properties": {
+ "messageId": {
+ "type": "string",
+ "description": "The message id on which the validation settings has to be applied."
+ },
+ "validateEDITypes": {
+ "type": "boolean",
+ "description": "The value indicating whether to validate EDI types."
+ },
+ "validateXSDTypes": {
+ "type": "boolean",
+ "description": "The value indicating whether to validate XSD types."
+ },
+ "allowLeadingAndTrailingSpacesAndZeroes": {
+ "type": "boolean",
+ "description": "The value indicating whether to allow leading and trailing spaces and zeroes."
+ },
+ "validateCharacterSet": {
+ "type": "boolean",
+ "description": "The value indicating whether to validate character Set."
+ },
+ "trimLeadingAndTrailingSpacesAndZeroes": {
+ "type": "boolean",
+ "description": "The value indicating whether to trim leading and trailing spaces and zeroes."
+ },
+ "trailingSeparatorPolicy": {
+ "$ref": "#/definitions/TrailingSeparatorPolicy",
+ "description": "The trailing separator policy."
+ }
+ }
+ },
+ "X12MessageIdentifier": {
+ "type": "object",
+ "properties": {
+ "messageId": {
+ "type": "string",
+ "description": "The message id."
+ }
+ }
+ },
+ "X12SchemaReference": {
+ "type": "object",
+ "properties": {
+ "messageId": {
+ "type": "string",
+ "description": "The message id."
+ },
+ "senderApplicationId": {
+ "type": "string",
+ "description": "The sender application id."
+ },
+ "schemaVersion": {
+ "type": "string",
+ "description": "The schema version."
+ },
+ "schemaName": {
+ "type": "string",
+ "description": "The schema name."
+ }
+ }
+ },
+ "X12DelimiterOverrides": {
+ "type": "object",
+ "properties": {
+ "protocolVersion": {
+ "type": "string",
+ "description": "The protocol version."
+ },
+ "messageId": {
+ "type": "string",
+ "description": "The message id."
+ },
+ "dataElementSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The data element separator."
+ },
+ "componentSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The component separator."
+ },
+ "segmentTerminator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The segment terminator."
+ },
+ "segmentTerminatorSuffix": {
+ "$ref": "#/definitions/SegmentTerminatorSuffix",
+ "description": "The segment terminator suffix."
+ },
+ "replaceCharacter": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The replacement character."
+ },
+ "replaceSeparatorsInPayload": {
+ "type": "boolean",
+ "description": "The value indicating whether to replace separators in payload."
+ },
+ "targetNamespace": {
+ "type": "string",
+ "description": "The target namespace on which this delimiter settings has to be applied."
+ }
+ }
+ },
+ "X12CharacterSet": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Basic",
+ "Extended",
+ "UTF8"
+ ],
+ "x-ms-enum": {
+ "name": "X12CharacterSet",
+ "modelAsString": false
+ }
+ },
+ "SegmentTerminatorSuffix": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "None",
+ "CR",
+ "LF",
+ "CRLF"
+ ],
+ "x-ms-enum": {
+ "name": "SegmentTerminatorSuffix",
+ "modelAsString": false
+ }
+ },
+ "X12DateFormat": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "CCYYMMDD",
+ "YYMMDD"
+ ],
+ "x-ms-enum": {
+ "name": "X12DateFormat",
+ "modelAsString": false
+ }
+ },
+ "X12TimeFormat": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "HHMM",
+ "HHMMSS",
+ "HHMMSSdd",
+ "HHMMSSd"
+ ],
+ "x-ms-enum": {
+ "name": "X12TimeFormat",
+ "modelAsString": false
+ }
+ },
+ "UsageIndicator": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Test",
+ "Information",
+ "Production"
+ ],
+ "x-ms-enum": {
+ "name": "UsageIndicator",
+ "modelAsString": false
+ }
+ },
+ "MessageFilterType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Include",
+ "Exclude"
+ ],
+ "x-ms-enum": {
+ "name": "MessageFilterType",
+ "modelAsString": false
+ }
+ },
+ "HashingAlgorithm": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "None",
+ "SHA2256",
+ "SHA2384",
+ "SHA2512"
+ ],
+ "x-ms-enum": {
+ "name": "HashingAlgorithm",
+ "modelAsString": false
+ }
+ },
+ "EncryptionAlgorithm": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "None",
+ "DES3",
+ "RC2",
+ "AES128",
+ "AES192",
+ "AES256"
+ ],
+ "x-ms-enum": {
+ "name": "EncryptionAlgorithm",
+ "modelAsString": false
+ }
+ },
+ "TrailingSeparatorPolicy": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "NotAllowed",
+ "Optional",
+ "Mandatory"
+ ],
+ "x-ms-enum": {
+ "name": "TrailingSeparatorPolicy",
+ "modelAsString": false
+ }
+ },
+ "EdifactAgreementContent": {
+ "type": "object",
+ "properties": {
+ "receiveAgreement": {
+ "$ref": "#/definitions/EdifactOneWayAgreement",
+ "description": "The EDIFACT one-way receive agreement."
+ },
+ "sendAgreement": {
+ "$ref": "#/definitions/EdifactOneWayAgreement",
+ "description": "The EDIFACT one-way send agreement."
+ }
+ }
+ },
+ "EdifactOneWayAgreement": {
+ "type": "object",
+ "properties": {
+ "senderBusinessIdentity": {
+ "$ref": "#/definitions/BusinessIdentity",
+ "description": "The sender business identity"
+ },
+ "receiverBusinessIdentity": {
+ "$ref": "#/definitions/BusinessIdentity",
+ "description": "The receiver business identity"
+ },
+ "protocolSettings": {
+ "$ref": "#/definitions/EdifactProtocolSettings",
+ "description": "The EDIFACT protocol settings."
+ }
+ }
+ },
+ "EdifactProtocolSettings": {
+ "type": "object",
+ "properties": {
+ "validationSettings": {
+ "$ref": "#/definitions/EdifactValidationSettings",
+ "description": "The EDIFACT validation settings."
+ },
+ "framingSettings": {
+ "$ref": "#/definitions/EdifactFramingSettings",
+ "description": "The EDIFACT framing settings."
+ },
+ "envelopeSettings": {
+ "$ref": "#/definitions/EdifactEnvelopeSettings",
+ "description": "The EDIFACT envelope settings."
+ },
+ "acknowledgementSettings": {
+ "$ref": "#/definitions/EdifactAcknowledgementSettings",
+ "description": "The EDIFACT acknowledgement settings."
+ },
+ "messageFilter": {
+ "$ref": "#/definitions/EdifactMessageFilter",
+ "description": "The EDIFACT message filter."
+ },
+ "processingSettings": {
+ "$ref": "#/definitions/EdifactProcessingSettings",
+ "description": "The EDIFACT processing Settings."
+ },
+ "envelopeOverrides": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EdifactEnvelopeOverride"
+ },
+ "description": "The EDIFACT envelope override settings."
+ },
+ "messageFilterList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EdifactMessageIdentifier"
+ },
+ "description": "The EDIFACT message filter list."
+ },
+ "schemaReferences": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EdifactSchemaReference"
+ },
+ "description": "The EDIFACT schema references."
+ },
+ "validationOverrides": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EdifactValidationOverride"
+ },
+ "description": "The EDIFACT validation override settings."
+ },
+ "edifactDelimiterOverrides": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EdifactDelimiterOverride"
+ },
+ "description": "The EDIFACT delimiter override settings."
+ }
+ }
+ },
+ "EdifactValidationSettings": {
+ "type": "object",
+ "properties": {
+ "validateCharacterSet": {
+ "type": "boolean",
+ "description": "The value indicating whether to validate character set in the message."
+ },
+ "checkDuplicateInterchangeControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for duplicate interchange control number."
+ },
+ "interchangeControlNumberValidityDays": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The validity period of interchange control number."
+ },
+ "checkDuplicateGroupControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for duplicate group control number."
+ },
+ "checkDuplicateTransactionSetControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to check for duplicate transaction set control number."
+ },
+ "validateEDITypes": {
+ "type": "boolean",
+ "description": "The value indicating whether to Whether to validate EDI types."
+ },
+ "validateXSDTypes": {
+ "type": "boolean",
+ "description": "The value indicating whether to Whether to validate XSD types."
+ },
+ "allowLeadingAndTrailingSpacesAndZeroes": {
+ "type": "boolean",
+ "description": "The value indicating whether to allow leading and trailing spaces and zeroes."
+ },
+ "trimLeadingAndTrailingSpacesAndZeroes": {
+ "type": "boolean",
+ "description": "The value indicating whether to trim leading and trailing spaces and zeroes."
+ },
+ "trailingSeparatorPolicy": {
+ "$ref": "#/definitions/TrailingSeparatorPolicy",
+ "description": "The trailing separator policy."
+ }
+ }
+ },
+ "EdifactFramingSettings": {
+ "type": "object",
+ "properties": {
+ "serviceCodeListDirectoryVersion": {
+ "type": "string",
+ "description": "The service code list directory version."
+ },
+ "characterEncoding": {
+ "type": "string",
+ "description": "The character encoding."
+ },
+ "protocolVersion": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The protocol version."
+ },
+ "dataElementSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The data element separator."
+ },
+ "componentSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The component separator."
+ },
+ "segmentTerminator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The segment terminator."
+ },
+ "releaseIndicator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The release indicator."
+ },
+ "repetitionSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The repetition separator."
+ },
+ "characterSet": {
+ "$ref": "#/definitions/EdifactCharacterSet",
+ "description": "The EDIFACT frame setting characterSet."
+ },
+ "decimalPointIndicator": {
+ "$ref": "#/definitions/EdifactDecimalIndicator",
+ "description": "The EDIFACT frame setting decimal indicator."
+ },
+ "segmentTerminatorSuffix": {
+ "$ref": "#/definitions/SegmentTerminatorSuffix",
+ "description": "The EDIFACT frame setting segment terminator suffix."
+ }
+ }
+ },
+ "EdifactEnvelopeSettings": {
+ "type": "object",
+ "properties": {
+ "groupAssociationAssignedCode": {
+ "type": "string",
+ "description": "The group association assigned code."
+ },
+ "communicationAgreementId": {
+ "type": "string",
+ "description": "The communication agreement id."
+ },
+ "applyDelimiterStringAdvice": {
+ "type": "boolean",
+ "description": "The value indicating whether to apply delimiter string advice."
+ },
+ "createGroupingSegments": {
+ "type": "boolean",
+ "description": "The value indicating whether to create grouping segments."
+ },
+ "enableDefaultGroupHeaders": {
+ "type": "boolean",
+ "description": "The value indicating whether to enable default group headers."
+ },
+ "recipientReferencePasswordValue": {
+ "type": "string",
+ "description": "The recipient reference password value."
+ },
+ "recipientReferencePasswordQualifier": {
+ "type": "string",
+ "description": "The recipient reference password qualifier."
+ },
+ "applicationReferenceId": {
+ "type": "string",
+ "description": "The application reference id."
+ },
+ "processingPriorityCode": {
+ "type": "string",
+ "description": "The processing priority code."
+ },
+ "interchangeControlNumberLowerBound": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The interchange control number lower bound."
+ },
+ "interchangeControlNumberUpperBound": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The interchange control number upper bound."
+ },
+ "rolloverInterchangeControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to rollover interchange control number."
+ },
+ "interchangeControlNumberPrefix": {
+ "type": "string",
+ "description": "The interchange control number prefix."
+ },
+ "interchangeControlNumberSuffix": {
+ "type": "string",
+ "description": "The interchange control number suffix."
+ },
+ "senderReverseRoutingAddress": {
+ "type": "string",
+ "description": "The sender reverse routing address."
+ },
+ "receiverReverseRoutingAddress": {
+ "type": "string",
+ "description": "The receiver reverse routing address."
+ },
+ "functionalGroupId": {
+ "type": "string",
+ "description": "The functional group id."
+ },
+ "groupControllingAgencyCode": {
+ "type": "string",
+ "description": "The group controlling agency code."
+ },
+ "groupMessageVersion": {
+ "type": "string",
+ "description": "The group message version."
+ },
+ "groupMessageRelease": {
+ "type": "string",
+ "description": "The group message release."
+ },
+ "groupControlNumberLowerBound": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The group control number lower bound."
+ },
+ "groupControlNumberUpperBound": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The group control number upper bound."
+ },
+ "rolloverGroupControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to rollover group control number."
+ },
+ "groupControlNumberPrefix": {
+ "type": "string",
+ "description": "The group control number prefix."
+ },
+ "groupControlNumberSuffix": {
+ "type": "string",
+ "description": "The group control number suffix."
+ },
+ "groupApplicationReceiverQualifier": {
+ "type": "string",
+ "description": "The group application receiver qualifier."
+ },
+ "groupApplicationReceiverId": {
+ "type": "string",
+ "description": "The group application receiver id."
+ },
+ "groupApplicationSenderQualifier": {
+ "type": "string",
+ "description": "The group application sender qualifier."
+ },
+ "groupApplicationSenderId": {
+ "type": "string",
+ "description": "The group application sender id."
+ },
+ "groupApplicationPassword": {
+ "type": "string",
+ "description": "The group application password."
+ },
+ "overwriteExistingTransactionSetControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to overwrite existing transaction set control number."
+ },
+ "transactionSetControlNumberPrefix": {
+ "type": "string",
+ "description": "The transaction set control number prefix."
+ },
+ "transactionSetControlNumberSuffix": {
+ "type": "string",
+ "description": "The transaction set control number suffix."
+ },
+ "transactionSetControlNumberLowerBound": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The transaction set control number lower bound."
+ },
+ "transactionSetControlNumberUpperBound": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The transaction set control number upper bound."
+ },
+ "rolloverTransactionSetControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to rollover transaction set control number."
+ },
+ "isTestInterchange": {
+ "type": "boolean",
+ "description": "The value indicating whether the message is a test interchange."
+ },
+ "senderInternalIdentification": {
+ "type": "string",
+ "description": "The sender internal identification."
+ },
+ "senderInternalSubIdentification": {
+ "type": "string",
+ "description": "The sender internal sub identification."
+ },
+ "receiverInternalIdentification": {
+ "type": "string",
+ "description": "The receiver internal identification."
+ },
+ "receiverInternalSubIdentification": {
+ "type": "string",
+ "description": "The receiver internal sub identification."
+ }
+ }
+ },
+ "EdifactAcknowledgementSettings": {
+ "type": "object",
+ "properties": {
+ "needTechnicalAcknowledgement": {
+ "type": "boolean",
+ "description": "The value indicating whether technical acknowledgement is needed."
+ },
+ "batchTechnicalAcknowledgements": {
+ "type": "boolean",
+ "description": "The value indicating whether to batch the technical acknowledgements."
+ },
+ "needFunctionalAcknowledgement": {
+ "type": "boolean",
+ "description": "The value indicating whether functional acknowledgement is needed."
+ },
+ "batchFunctionalAcknowledgements": {
+ "type": "boolean",
+ "description": "The value indicating whether to batch functional acknowledgements."
+ },
+ "needLoopForValidMessages": {
+ "type": "boolean",
+ "description": "The value indicating whether a loop is needed for valid messages."
+ },
+ "sendSynchronousAcknowledgement": {
+ "type": "boolean",
+ "description": "The value indicating whether to send synchronous acknowledgement."
+ },
+ "acknowledgementControlNumberPrefix": {
+ "type": "string",
+ "description": "The acknowledgement control number prefix."
+ },
+ "acknowledgementControlNumberSuffix": {
+ "type": "string",
+ "description": "The acknowledgement control number suffix."
+ },
+ "acknowledgementControlNumberLowerBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The acknowledgement control number lower bound."
+ },
+ "acknowledgementControlNumberUpperBound": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The acknowledgement control number upper bound."
+ },
+ "rolloverAcknowledgementControlNumber": {
+ "type": "boolean",
+ "description": "The value indicating whether to rollover acknowledgement control number."
+ }
+ }
+ },
+ "EdifactMessageFilter": {
+ "type": "object",
+ "properties": {
+ "messageFilterType": {
+ "$ref": "#/definitions/MessageFilterType",
+ "description": "The message filter type."
+ }
+ }
+ },
+ "EdifactProcessingSettings": {
+ "type": "object",
+ "properties": {
+ "maskSecurityInfo": {
+ "type": "boolean",
+ "description": "The value indicating whether to mask security information."
+ },
+ "preserveInterchange": {
+ "type": "boolean",
+ "description": "The value indicating whether to preserve interchange."
+ },
+ "suspendInterchangeOnError": {
+ "type": "boolean",
+ "description": "The value indicating whether to suspend interchange on error."
+ },
+ "createEmptyXmlTagsForTrailingSeparators": {
+ "type": "boolean",
+ "description": "The value indicating whether to create empty xml tags for trailing separators."
+ },
+ "useDotAsDecimalSeparator": {
+ "type": "boolean",
+ "description": "The value indicating whether to use dot as decimal separator."
+ }
+ }
+ },
+ "EdifactEnvelopeOverride": {
+ "type": "object",
+ "properties": {
+ "messageId": {
+ "type": "string",
+ "description": "The message id on which this envelope settings has to be applied."
+ },
+ "messageVersion": {
+ "type": "string",
+ "description": "The message version on which this envelope settings has to be applied."
+ },
+ "messageRelease": {
+ "type": "string",
+ "description": "The message release version on which this envelope settings has to be applied."
+ },
+ "messageAssociationAssignedCode": {
+ "type": "string",
+ "description": "The message association assigned code."
+ },
+ "targetNamespace": {
+ "type": "string",
+ "description": "The target namespace on which this envelope settings has to be applied."
+ },
+ "functionalGroupId": {
+ "type": "string",
+ "description": "The functional group id."
+ },
+ "senderApplicationQualifier": {
+ "type": "string",
+ "description": "The sender application qualifier."
+ },
+ "senderApplicationId": {
+ "type": "string",
+ "description": "The sender application id."
+ },
+ "receiverApplicationQualifier": {
+ "type": "string",
+ "description": "The receiver application qualifier."
+ },
+ "receiverApplicationId": {
+ "type": "string",
+ "description": "The receiver application id."
+ },
+ "controllingAgencyCode": {
+ "type": "string",
+ "description": "The controlling agency code."
+ },
+ "groupHeaderMessageVersion": {
+ "type": "string",
+ "description": "The group header message version."
+ },
+ "groupHeaderMessageRelease": {
+ "type": "string",
+ "description": "The group header message release."
+ },
+ "associationAssignedCode": {
+ "type": "string",
+ "description": "The association assigned code."
+ },
+ "applicationPassword": {
+ "type": "string",
+ "description": "The application password."
+ }
+ }
+ },
+ "EdifactMessageIdentifier": {
+ "type": "object",
+ "properties": {
+ "messageId": {
+ "type": "string",
+ "description": "The message id on which this envelope settings has to be applied."
+ }
+ }
+ },
+ "EdifactSchemaReference": {
+ "type": "object",
+ "properties": {
+ "messageId": {
+ "type": "string",
+ "description": "The message id."
+ },
+ "messageVersion": {
+ "type": "string",
+ "description": "The message version."
+ },
+ "messageRelease": {
+ "type": "string",
+ "description": "The message release version."
+ },
+ "senderApplicationId": {
+ "type": "string",
+ "description": "The sender application id."
+ },
+ "senderApplicationQualifier": {
+ "type": "string",
+ "description": "The sender application qualifier."
+ },
+ "associationAssignedCode": {
+ "type": "string",
+ "description": "The association assigned code."
+ },
+ "schemaName": {
+ "type": "string",
+ "description": "The schema name."
+ }
+ }
+ },
+ "EdifactValidationOverride": {
+ "type": "object",
+ "properties": {
+ "messageId": {
+ "type": "string",
+ "description": "The message id on which the validation settings has to be applied."
+ },
+ "enforceCharacterSet": {
+ "type": "boolean",
+ "description": "The value indicating whether to validate character Set."
+ },
+ "validateEDITypes": {
+ "type": "boolean",
+ "description": "The value indicating whether to validate EDI types."
+ },
+ "validateXSDTypes": {
+ "type": "boolean",
+ "description": "The value indicating whether to validate XSD types."
+ },
+ "allowLeadingAndTrailingSpacesAndZeroes": {
+ "type": "boolean",
+ "description": "The value indicating whether to allow leading and trailing spaces and zeroes."
+ },
+ "trailingSeparatorPolicy": {
+ "$ref": "#/definitions/TrailingSeparatorPolicy",
+ "description": "The trailing separator policy."
+ },
+ "trimLeadingAndTrailingSpacesAndZeroes": {
+ "type": "boolean",
+ "description": "The value indicating whether to trim leading and trailing spaces and zeroes."
+ }
+ }
+ },
+ "EdifactDelimiterOverride": {
+ "type": "object",
+ "properties": {
+ "messageId": {
+ "type": "string",
+ "description": "The message id."
+ },
+ "messageVersion": {
+ "type": "string",
+ "description": "The message version."
+ },
+ "messageRelease": {
+ "type": "string",
+ "description": "The message release version."
+ },
+ "dataElementSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The data element separator."
+ },
+ "componentSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The component separator."
+ },
+ "segmentTerminator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The segment terminator."
+ },
+ "repetitionSeparator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The repetition separator."
+ },
+ "segmentTerminatorSuffix": {
+ "$ref": "#/definitions/SegmentTerminatorSuffix",
+ "description": "The segment terminator suffix."
+ },
+ "decimalPointIndicator": {
+ "$ref": "#/definitions/EdifactDecimalIndicator",
+ "description": "The decimal point indicator."
+ },
+ "releaseIndicator": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The release indicator."
+ },
+ "messageAssociationAssignedCode": {
+ "type": "string",
+ "description": "The message association assigned code."
+ },
+ "targetNamespace": {
+ "type": "string",
+ "description": "The target namespace on which this delimiter settings has to be applied."
+ }
+ }
+ },
+ "EdifactCharacterSet": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "UNOB",
+ "UNOA",
+ "UNOC",
+ "UNOD",
+ "UNOE",
+ "UNOF",
+ "UNOG",
+ "UNOH",
+ "UNOI",
+ "UNOJ",
+ "UNOK",
+ "UNOX",
+ "UNOY",
+ "KECA"
+ ],
+ "x-ms-enum": {
+ "name": "EdifactCharacterSet",
+ "modelAsString": false
+ }
+ },
+ "EdifactDecimalIndicator": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Comma",
+ "Decimal"
+ ],
+ "x-ms-enum": {
+ "name": "EdifactDecimalIndicator",
+ "modelAsString": false
+ }
+ },
+ "IntegrationAccountCertificateListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IntegrationAccountCertificate"
+ },
+ "description": "The list of integration account certificates."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ }
+ },
+ "IntegrationAccountCertificate": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IntegrationAccountCertificateProperties",
+ "description": "The integration account certificate properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/IntegrationAccountResource"
+ }
+ ]
+ },
+ "IntegrationAccountCertificateProperties": {
+ "type": "object",
+ "properties": {
+ "createdTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The created time."
+ },
+ "changedTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The changed time."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The metadata.",
+ "properties": {}
+ },
+ "key": {
+ "$ref": "#/definitions/KeyVaultKeyReference",
+ "description": "The key details in the key vault."
+ },
+ "publicCertificate": {
+ "type": "string",
+ "description": "The public certificate."
+ }
+ }
+ },
+ "KeyVaultKeyReference": {
+ "type": "object",
+ "properties": {
+ "keyVault": {
+ "type": "object",
+ "description": "The key vault reference.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The resource id."
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource name."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource type."
+ }
+ }
+ },
+ "keyName": {
+ "type": "string",
+ "description": "The private key name in key vault."
+ },
+ "keyVersion": {
+ "type": "string",
+ "description": "The private key version in key vault."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "description": "The subscription id.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ "api-version": {
+ "name": "api-version",
+ "description": "The API version.",
+ "in": "query",
+ "required": true,
+ "type": "string"
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json
index 4a9cba6b9e51..9320d27ebeeb 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_CreateOrUpdate.json
@@ -36,9 +36,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -48,12 +48,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -75,7 +75,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -102,9 +102,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -114,12 +114,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -141,7 +141,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -194,9 +194,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -206,12 +206,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -233,7 +233,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -260,9 +260,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -272,12 +272,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -299,7 +299,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -353,9 +353,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -365,12 +365,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -392,7 +392,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -419,9 +419,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -431,12 +431,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -458,7 +458,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -482,4 +482,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json
index 7370ee946a49..af2fb7da3f5e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json
index 8d1048b35fb4..ea476007e128 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_Get.json
@@ -38,9 +38,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -50,12 +50,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -77,7 +77,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -104,9 +104,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -116,12 +116,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -143,7 +143,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -167,4 +167,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json
index b846b64a0dcd..a1adff3dc391 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_List.json
@@ -237,9 +237,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -249,12 +249,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -276,7 +276,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -303,9 +303,9 @@
"unfoldHttpHeaders": true
},
"mdnSettings": {
- "needMdn": true,
- "signMdn": true,
- "sendMdnAsynchronously": true,
+ "needMDN": true,
+ "signMDN": true,
+ "sendMDNAsynchronously": true,
"receiptDeliveryUrl": "http://tempuri.org",
"dispositionNotificationTo": "http://tempuri.org",
"signOutboundMdnIfOptional": true,
@@ -315,12 +315,12 @@
},
"securitySettings": {
"overrideGroupSigningCertificate": false,
- "enableNrrForInboundEncodedMessages": true,
- "enableNrrForInboundDecodedMessages": true,
- "enableNrrForOutboundMdn": true,
- "enableNrrForOutboundEncodedMessages": true,
- "enableNrrForOutboundDecodedMessages": true,
- "enableNrrForInboundMdn": true
+ "enableNRRForInboundEncodedMessages": true,
+ "enableNRRForInboundDecodedMessages": true,
+ "enableNRRForOutboundMDN": true,
+ "enableNRRForOutboundEncodedMessages": true,
+ "enableNRRForOutboundDecodedMessages": true,
+ "enableNRRForInboundMDN": true
},
"validationSettings": {
"overrideMessageProperties": true,
@@ -342,7 +342,7 @@
},
"errorSettings": {
"suspendDuplicateMessage": true,
- "resendIfMdnNotReceived": true
+ "resendIfMDNNotReceived": true
}
},
"senderBusinessIdentity": {
@@ -595,4 +595,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json
index 8a20a322d403..793219e611f0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAgreements_ListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json
index 1540af5978e1..f51838538f8f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_CreateOrUpdate.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json
index ff7cef029e43..46b9b5817548 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json
index 686b9e165072..719be6f5c4da 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_Get.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json
index 5ab3d785b34b..96d39b9d374c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_List.json
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json
index 7f45cd32e4d1..318d21320132 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountAssemblies_ListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json
index 1371671cb47d..117b15e0b0d4 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_CreateOrUpdate.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json
index 6c3fa83a06e6..af82162d9608 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json
index cd8558f6cbfb..9851ed918d99 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_Get.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json
index 4b7730575f41..0923a89360b5 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountBatchConfigurations_List.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json
index c14f44af91cc..c1af8daaba05 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_CreateOrUpdate.json
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json
index 25c61d5bffc3..d304c0decbf6 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json
index 5aebf464fdd9..20e5bf7cf2f2 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_Get.json
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json
index 9dbc85729115..082eb1e9ccf1 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountCertificates_List.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json
index d852355c5d3e..c04a5031957f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_CreateOrUpdate.json
@@ -61,4 +61,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json
index 931ac76dc436..60768e86e9d4 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json
index 4dbd60b4d9db..e685790d2cf0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_Get.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json
index 5cbf34e9385d..b2ecb62b36b9 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_List.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json
index 17e754a767d7..d209463349ad 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountMaps_ListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json
index dcdb12f1b17a..d1c4ef7141ba 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_CreateOrUpdate.json
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json
index 27730f0769f0..5bfce3fe4e59 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json
index a765a94c5a78..53ffd5fff4d0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_Get.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json
index 7332c84bed76..aed4c89bb312 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_List.json
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json
index d2f387f76a6f..e35b16724886 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountPartners_ListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json
index fbd94da5890d..013e23804c76 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_CreateOrUpdate.json
@@ -68,4 +68,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json
index 3d97c07bab66..8d05d8e47016 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json
index 814753c54c1b..9fa9587ba018 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_Get.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json
index 1d039ddf613d..92b651247b60 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_List.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json
index a65312d25165..b008e6953a16 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSchemas_ListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json
index 6a0ff8120ba8..75e216e29e76 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_CreateOrUpdate.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json
index ca8986f09f20..598ca26c236d 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Delete.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json
index 45c3ef54b125..7befaa3b7df4 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_Get.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json
index 5e1e50d41f08..3f3a82ada89c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccountSessions_List.json
@@ -61,4 +61,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json
index 5280a15eb221..d18cd13e37b0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_CreateOrUpdate.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json
index 057e1c062812..d5112bd319e3 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Delete.json
@@ -9,4 +9,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json
index 1c4b761fa9ff..ef94f3a1b879 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Get.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json
index ef95351e238a..28448d9a2155 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListByResourceGroup.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json
index f68b1bdc329e..c82fa5794a6f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListBySubscription.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json
index 380249728ef9..d1264dff4c9f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListCallbackUrl.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json
index 1d0726cbdb32..21f6bd71c7bf 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_ListKeyVaultKeys.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json
index 02cfa29956b9..c220d8126e5e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_LogTrackingEvents.json
@@ -19,7 +19,7 @@
},
"events": [
{
- "eventlevel": "Informational",
+ "eventLevel": "Informational",
"eventTime": "2016-08-05T01:54:49.505567Z",
"recordType": "AS2Message",
"record": {
@@ -56,4 +56,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json
index 739972b5f3cf..fe7b32dd157d 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_RegenerateAccessKey.json
@@ -5,7 +5,7 @@
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"integrationAccountName": "testIntegrationAccount",
"regenerateAccessKey": {
- "KeyType": "Primary"
+ "keyType": "Primary"
}
},
"responses": {
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json
index 0f4499002462..da2684a9b0dc 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationAccounts_Update.json
@@ -26,4 +26,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json
index 2369377ab4c6..3b534cf7c7fd 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApiApiOperations_List.json
@@ -44,4 +44,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json
index fe600bef1ba8..e955e8633e71 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_Get.json
@@ -52,4 +52,4 @@
"location": "brazilsouth"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json
index 2da2bc0a6ed4..7e52eed47cb0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironmentManagedApis_List.json
@@ -55,4 +55,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json
index bc5d08394e95..e59fbda7aa18 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Delete.json
@@ -9,4 +9,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json
index 518b89a8c9f4..3eb6ea4f5dbe 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_Get.json
@@ -24,4 +24,4 @@
"location": "brazilsouth"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json
index 484cfb0cb89e..ae48bff0d1a1 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListByResourceGroup.json
@@ -27,4 +27,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json
index 50c3db652aff..305824048c94 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/IntegrationServiceEnvironments_ListBySubscription.json
@@ -26,4 +26,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json
index 795d67394033..6c24d2e9b220 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json
@@ -1348,4 +1348,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json
index 5b06c98ac5bf..de766490ecac 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json
index 72adfc688a82..f733dc07f2b5 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json
index ce935b634aac..831e2c067f80 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_Get.json
@@ -52,4 +52,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json
index 96d0f071723b..113c5b6390ad 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_List.json
@@ -95,4 +95,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json
index 6ab0922e56c4..1ee7aece6afa 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitions_ListExpressionTraces.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json
index a39cfc2daa86..39a4802d26f6 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json
@@ -65,4 +65,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json
index e2177e2559a4..459964a049df 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json
@@ -68,4 +68,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json
index f08ee5960839..c06e0afe6cb9 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_Get.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json
index 880c4868d67e..53e32709b4a6 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionScopeRepetitions_List.json
@@ -57,4 +57,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json
index 80e875d55f2e..97580408f4fe 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json
@@ -42,4 +42,4 @@
"type": "Microsoft.Logic/workflows/runs/actions"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json
index a1db5925519b..2fded69b8506 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json
@@ -45,4 +45,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json
index 2653e137264a..fdb5405fd0b9 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_ListExpressionTraces.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json
index 49c739e06f33..01c508c39bd6 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunOperations_Get.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json
index 28d6b086f68e..77711bf7cadb 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Cancel.json
@@ -9,4 +9,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json
index d80db8882239..3321ed1e8ce5 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json
@@ -39,4 +39,4 @@
"type": "Microsoft.Logic/workflows/runs"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json
index 78369c18147c..983bb890cca0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json
@@ -42,4 +42,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json
index f3507095e5be..11daf6435e39 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json
index 5e278cffedb3..7d7d56ce1518 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json
@@ -33,4 +33,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json
index 6ea7bc093117..9bcd990642c7 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Resubmit.json
@@ -10,4 +10,4 @@
"responses": {
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json
index 137a55d3a11e..e5ce86368b32 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json
@@ -24,4 +24,4 @@
"type": "Microsoft.Logic/workflows/triggers"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json
index a9c726cf6231..275e166749e1 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_GetSchemaJson.json
@@ -14,4 +14,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json
index bdfdcb07f611..bdfb38ce41ed 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json
@@ -27,4 +27,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json
index a9919d035630..18db606a8127 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_ListCallbackUrl.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json
index 2ca5d88cafc6..7ebf089676fc 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Reset.json
@@ -9,4 +9,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json
index 5d9d83a06365..388aa5eb3ad7 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Run.json
@@ -9,4 +9,4 @@
"responses": {
"default": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json
index 87aab5373b16..c965847f2466 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_SetState.json
@@ -14,4 +14,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json
index a3dc915c5c47..b564fe57071a 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersionTriggers_ListCallbackUrl.json
@@ -26,4 +26,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json
index bf979fb5cfe9..8582e730d11a 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json
@@ -71,4 +71,4 @@
"tags": {}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json
index c6e1294f18c3..db0ac1e2a457 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json
@@ -74,4 +74,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json
index 77914c99b60d..aab93945cbb5 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json
@@ -122,4 +122,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json
index 074b0856a0fc..1481bb2a0f9f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Delete.json
@@ -9,4 +9,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json
index 2f0d9337774d..097eb81b222c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Disable.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json
index 2f0d9337774d..097eb81b222c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Enable.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json
index 3900cc695146..c2c6b1b45499 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json
@@ -23,4 +23,4 @@
"outputs": {}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json
index d4543c548e83..ab6341d47595 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json
@@ -70,4 +70,4 @@
"tags": {}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json
index cc400b578148..bbe4fe2d03de 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json
@@ -73,4 +73,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json
index 5aa89e41cc07..5d18a2201856 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json
@@ -72,4 +72,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json
index 0c686b5b2855..258a876f63d3 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListCallbackUrl.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json
index fd3f5480014a..0f6caf3c881c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListSwagger.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json
index f0aac548afcb..88c7d97f4e5f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Move.json
@@ -12,4 +12,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json
index 369bdae4a828..407dc794b9b7 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_RegenerateAccessKey.json
@@ -11,4 +11,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json
index 77914c99b60d..aab93945cbb5 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json
@@ -122,4 +122,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json
index 3e0a30091f96..40f17679ffe7 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByLocation.json
@@ -30,4 +30,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json
index ffc82989ea63..a373654ad0a2 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ValidateByResourceGroup.json
@@ -30,4 +30,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json
index 8ed24880fc15..eeb28994adaf 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json
@@ -10045,4 +10045,4 @@
"type": "string"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsCreateOrUpdate.json
index 283e9b65b359..0c7905635e50 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsCreateOrUpdate.json
@@ -482,4 +482,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsDelete.json
index ad1e9a1788c7..44197061d5fa 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsGet.json
index 20ba8e5cb95b..b8a14c7cd5cd 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsGet.json
@@ -167,4 +167,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsList.json
index bb0a8abbcb1c..3cf0f670a14d 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsList.json
@@ -595,4 +595,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsListContentCallbackUrl.json
index 58029a4619fa..d5d6bf2cf6a7 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/AgreementsListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesCreateOrUpdate.json
index d738be2cbc85..898e78f1c1eb 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesCreateOrUpdate.json
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesDelete.json
index cb164901e351..14b3e32212be 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesGet.json
index b800699878ae..e41993785b8c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesGet.json
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesList.json
index decfda80d8cd..99166c797fb3 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/CertificatesList.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesCreateOrUpdate.json
index b9d4617037ad..a2d097029428 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesCreateOrUpdate.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesDelete.json
index 7724d4c45959..dbfcb324e607 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesGet.json
index c4ff6eeaf470..7c019af3c2cb 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesGet.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesList.json
index 364a8dc15c45..521b53c94102 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesList.json
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesListContentCallbackUrl.json
index 70fc6b810cf1..03da1d058e32 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountAssembliesListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json
index d90909e8e1c7..4edb3b10ab55 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsDelete.json
index b6a0db5f1b0d..dad0e951f40d 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsGet.json
index 569b275766f9..890b26bb0d6d 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsList.json
index a673e8adb3f1..b891afbd3828 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsList.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json
index 3173331c60fd..7c53a5530716 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsDelete.json
index c01d1c1a6024..316b1ccb643b 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsDelete.json
@@ -9,4 +9,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGet.json
index 529d8d3bb6f7..393cc41f1003 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json
index 87253f73ddc9..5d31487816ea 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json
index 6d6d97bec930..e0b58f10f5c1 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListBySubscription.json
index d67f9891614d..04b2a03169db 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListBySubscription.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListBySubscription.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json
index 0bcda03a220b..7350ef83e347 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json
index 0d1ab9b75b7c..86ec41230460 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json
@@ -19,7 +19,7 @@
},
"events": [
{
- "eventlevel": "Informational",
+ "eventLevel": "Informational",
"eventTime": "2016-08-05T01:54:49.505567Z",
"recordType": "AS2Message",
"record": {
@@ -56,4 +56,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json
index 50f8d244e8af..5eaa86bc22e0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsRegenerateAccessKey.json
@@ -5,7 +5,7 @@
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"integrationAccountName": "testIntegrationAccount",
"regenerateAccessKey": {
- "KeyType": "Primary"
+ "keyType": "Primary"
}
},
"responses": {
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsUpdate.json
index 9b9f43561c7b..1e0cf1356955 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsUpdate.json
@@ -26,4 +26,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsCreateOrUpdate.json
index dc257e403b4e..f6a3d3f1adff 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsCreateOrUpdate.json
@@ -61,4 +61,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsDelete.json
index 3478ce4d46c3..09dc50ef71db 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsGet.json
index 162fc3057cf1..eddb68f0b8c1 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsList.json
index 3efe1781081c..d2f156935ddc 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsList.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsListContentCallbackUrl.json
index 1bc62ce40c21..0d344627a4db 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/MapsListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json
index cf25ee4fdaa1..21f8bc57f4c6 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json
@@ -1348,4 +1348,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersCreateOrUpdate.json
index f7cd4009b41e..dbb733d5ef5f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersCreateOrUpdate.json
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersDelete.json
index 3da0e53fda27..31d68da9b93a 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersGet.json
index 84124ab698d3..7a97420f879f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersGet.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersList.json
index d1a10bbfb0d2..67d54064fc3b 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersList.json
@@ -34,4 +34,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersListContentCallbackUrl.json
index c283a3c523c3..52183566bd8e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/PartnersListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasCreateOrUpdate.json
index 2b69a68fd9f6..177d64859d68 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasCreateOrUpdate.json
@@ -68,4 +68,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasDelete.json
index a5849bf97bb9..7191ea5a2ca4 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasDelete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasGet.json
index 759cdbba6320..387a054b8289 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasGet.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasList.json
index a7fb699daef7..48bf6fea5b41 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasList.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasListContentCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasListContentCallbackUrl.json
index 164f81c819df..5eb9ffe21ac1 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasListContentCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SchemasListContentCallbackUrl.json
@@ -22,4 +22,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsCreateOrUpdate.json
index 2c0e08993096..3ebdfc07e5b2 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsCreateOrUpdate.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsDelete.json
index 8b680068bb7c..c4dbe1f9c433 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsDelete.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsGet.json
index 8f51e78c451c..906e291c6451 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsGet.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsList.json
index ebf589f11796..92606118f4df 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/SessionsList.json
@@ -61,4 +61,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsGet.json
index c39357e542cc..90ad77d6288e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsGet.json
@@ -52,4 +52,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsList.json
index 7501fd2beeb7..f4bc83fe7642 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsList.json
@@ -95,4 +95,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsListExpressionTraces.json
index f3bf713296fe..6328527bd86d 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsListExpressionTraces.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsListExpressionTraces.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json
index 5b06c98ac5bf..de766490ecac 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json
index 72adfc688a82..f733dc07f2b5 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json
index a39cfc2daa86..39a4802d26f6 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json
@@ -65,4 +65,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json
index e2177e2559a4..459964a049df 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json
@@ -68,4 +68,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsGet.json
index abb051738459..992ce812f8cb 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsGet.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsList.json
index d6f94735aa90..96e43b1081aa 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionScopeRepetitionsList.json
@@ -57,4 +57,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json
index 25b0bbd62ccc..79c49a98d260 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json
@@ -42,4 +42,4 @@
"type": "Microsoft.Logic/workflows/runs/actions"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json
index c428a0d857c3..65e48ec70a79 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json
@@ -45,4 +45,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsListExpressionTraces.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsListExpressionTraces.json
index 347d8d3beeb9..2ec7c5b18818 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsListExpressionTraces.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsListExpressionTraces.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunOperationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunOperationsGet.json
index f984164dbdc2..57beec741980 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunOperationsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunOperationsGet.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsCancel.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsCancel.json
index 5ad071d00167..ae7cf7002edc 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsCancel.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsCancel.json
@@ -9,4 +9,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json
index 940a0f986c9d..e2aac39d7dee 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json
@@ -39,4 +39,4 @@
"type": "Microsoft.Logic/workflows/runs"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json
index 9d84df605cc0..a0051eb43519 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json
@@ -42,4 +42,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json
index f28d5b17c967..62075f31e66f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json
index 1907963cb9fe..0a5a49364185 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json
@@ -33,4 +33,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json
index 4089dfb37c4a..dea1de8a0e30 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json
@@ -10,4 +10,4 @@
"responses": {
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json
index f88b136623db..cad2208e14f5 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json
@@ -24,4 +24,4 @@
"type": "Microsoft.Logic/workflows/triggers"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json
index f88b136623db..cad2208e14f5 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json
@@ -24,4 +24,4 @@
"type": "Microsoft.Logic/workflows/triggers"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json
index 51a8a287edc8..b7b460a1337c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json
@@ -27,4 +27,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersListCallbackUrl.json
index e168ec217618..b616985df406 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersListCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersListCallbackUrl.json
@@ -21,4 +21,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersReset.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersReset.json
index f3d5ef689136..5f9b9486396e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersReset.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersReset.json
@@ -9,4 +9,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json
index dc31ffeb5956..cccbaa5b4b43 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json
@@ -9,4 +9,4 @@
"responses": {
"default": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json
index ae4d178e5837..5403d91ae704 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json
@@ -14,4 +14,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json
index 98161f5dae2d..f4e3b1edf5a1 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json
@@ -71,4 +71,4 @@
"tags": {}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json
index c562959c68c3..a44b38d1e452 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json
@@ -74,4 +74,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsTriggersListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsTriggersListCallbackUrl.json
index 3deaeabfbb27..6ceeab9c2346 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsTriggersListCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsTriggersListCallbackUrl.json
@@ -26,4 +26,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json
index 32c4ebf451a7..776e94be8767 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json
@@ -180,4 +180,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDelete.json
index 584368d8cfec..d734f98f381d 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDelete.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDelete.json
@@ -9,4 +9,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDisable.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDisable.json
index fa2962180244..4e1dc873e061 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDisable.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsDisable.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsEnable.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsEnable.json
index fa2962180244..4e1dc873e061 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsEnable.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsEnable.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json
index 4253a1150516..0e1dbdff506c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json
@@ -23,4 +23,4 @@
"outputs": {}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json
index 24911e5f48af..8ec69b492675 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json
@@ -70,4 +70,4 @@
"tags": {}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json
index ca6857d4ac41..f45331bbcadb 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json
@@ -73,4 +73,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json
index 82ad92c5bafb..911ddf497f30 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json
@@ -72,4 +72,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListCallbackUrl.json
index e047718048bd..30d0d8d8dbf0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListCallbackUrl.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListCallbackUrl.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListSwagger.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListSwagger.json
index 39f1ac94bfbe..e152fc6bc466 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListSwagger.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListSwagger.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json
index 46a587c0df85..d0ddd1d86533 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json
@@ -12,4 +12,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsRegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsRegenerateAccessKey.json
index e1b25e484914..72cd4506c01a 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsRegenerateAccessKey.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsRegenerateAccessKey.json
@@ -11,4 +11,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json
index 9715a45041ba..e41aec2e6d3e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json
@@ -122,4 +122,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json
index dcf2be9c50e8..a1ad978dc8c7 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json
@@ -30,4 +30,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json
index 85df6a8554e8..de320d2784ec 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json
@@ -30,4 +30,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json
index 88be3b519f46..5f0b844762c9 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json
@@ -10091,4 +10091,4 @@
"type": "string"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json
index 95274f6d6373..384cf602287e 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/getWebService.json
@@ -102,67 +102,67 @@
}
},
"package": {
- "Nodes": {
+ "nodes": {
"node1": {
- "AssetId": "asset1",
- "Parameters": {
+ "assetId": "asset1",
+ "parameters": {
"R Script": {
- "Value": "The R Script",
- "CertificateThumbprint": ""
+ "value": "The R Script",
+ "certificateThumbprint": ""
},
"R Version": {
- "Value": "CRAN R 3.1.0",
- "CertificateThumbprint": ""
+ "value": "CRAN R 3.1.0",
+ "certificateThumbprint": ""
}
}
},
"node2": {
- "AssetId": "asset2",
- "Parameters": {
+ "assetId": "asset2",
+ "parameters": {
"Please Specify Data Source": {
- "Value": "AzureBlobStorage",
- "CertificateThumbprint": ""
+ "value": "AzureBlobStorage",
+ "certificateThumbprint": ""
},
"Please Specify Authentication Type": {
- "Value": "Account",
- "CertificateThumbprint": ""
+ "value": "Account",
+ "certificateThumbprint": ""
},
"Account Name": {
- "Value": "accountName",
- "CertificateThumbprint": ""
+ "value": "accountName",
+ "certificateThumbprint": ""
},
"Account Key": {
- "Value": "Encrypted Key",
- "CertificateThumbprint": "TheThumbprint"
+ "value": "Encrypted Key",
+ "certificateThumbprint": "TheThumbprint"
}
}
},
"node3": {
- "InputId": "input1"
+ "inputId": "input1"
},
"node4": {
- "OutputId": "output1"
+ "outputId": "output1"
}
},
- "Edges": [
+ "edges": [
{
- "SourceNodeId": "node2",
- "SourcePortId": "Results dataset",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset2"
+ "sourceNodeId": "node2",
+ "sourcePortId": "Results dataset",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset2"
},
{
- "SourceNodeId": "node3",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset1"
+ "sourceNodeId": "node3",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset1"
},
{
- "SourceNodeId": "node1",
- "SourcePortId": "Result Dataset",
- "TargetNodeId": "node4"
+ "sourceNodeId": "node1",
+ "sourcePortId": "Result Dataset",
+ "targetNodeId": "node4"
}
],
- "GraphParameters": {}
+ "graphParameters": {}
},
"exampleRequest": {
"inputs": {
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json
index f39ac13175df..95f890eac1cb 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/patchWebService.json
@@ -112,67 +112,67 @@
}
},
"package": {
- "Nodes": {
+ "nodes": {
"node1": {
- "AssetId": "asset1",
- "Parameters": {
+ "assetId": "asset1",
+ "parameters": {
"R Script": {
- "Value": "The R Script",
- "CertificateThumbprint": ""
+ "value": "The R Script",
+ "certificateThumbprint": ""
},
"R Version": {
- "Value": "CRAN R 3.1.0",
- "CertificateThumbprint": ""
+ "value": "CRAN R 3.1.0",
+ "certificateThumbprint": ""
}
}
},
"node2": {
- "AssetId": "asset2",
- "Parameters": {
+ "assetId": "asset2",
+ "parameters": {
"Please Specify Data Source": {
- "Value": "AzureBlobStorage",
- "CertificateThumbprint": ""
+ "value": "AzureBlobStorage",
+ "certificateThumbprint": ""
},
"Please Specify Authentication Type": {
- "Value": "Account",
- "CertificateThumbprint": ""
+ "value": "Account",
+ "certificateThumbprint": ""
},
"Account Name": {
- "Value": "accountName",
- "CertificateThumbprint": ""
+ "value": "accountName",
+ "certificateThumbprint": ""
},
"Account Key": {
- "Value": "Encrypted Key",
- "CertificateThumbprint": "TheThumbprint"
+ "value": "Encrypted Key",
+ "certificateThumbprint": "TheThumbprint"
}
}
},
"node3": {
- "InputId": "input1"
+ "inputId": "input1"
},
"node4": {
- "OutputId": "output1"
+ "outputId": "output1"
}
},
- "Edges": [
+ "edges": [
{
- "SourceNodeId": "node2",
- "SourcePortId": "Results dataset",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset2"
+ "sourceNodeId": "node2",
+ "sourcePortId": "Results dataset",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset2"
},
{
- "SourceNodeId": "node3",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset1"
+ "sourceNodeId": "node3",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset1"
},
{
- "SourceNodeId": "node1",
- "SourcePortId": "Result Dataset",
- "TargetNodeId": "node4"
+ "sourceNodeId": "node1",
+ "sourcePortId": "Result Dataset",
+ "targetNodeId": "node4"
}
],
- "GraphParameters": {}
+ "graphParameters": {}
},
"exampleRequest": {
"inputs": {
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json
index a780004fa25b..61026523d6e1 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2017-01-01/examples/putWebService.json
@@ -94,67 +94,67 @@
}
},
"package": {
- "Nodes": {
+ "nodes": {
"node1": {
- "AssetId": "asset1",
- "Parameters": {
+ "assetId": "asset1",
+ "parameters": {
"R Script": {
- "Value": "The R Script",
- "CertificateThumbprint": ""
+ "value": "The R Script",
+ "certificateThumbprint": ""
},
"R Version": {
- "Value": "CRAN R 3.1.0",
- "CertificateThumbprint": ""
+ "value": "CRAN R 3.1.0",
+ "certificateThumbprint": ""
}
}
},
"node2": {
- "AssetId": "asset2",
- "Parameters": {
+ "assetId": "asset2",
+ "parameters": {
"Please Specify Data Source": {
- "Value": "AzureBlobStorage",
- "CertificateThumbprint": ""
+ "value": "AzureBlobStorage",
+ "certificateThumbprint": ""
},
"Please Specify Authentication Type": {
- "Value": "Account",
- "CertificateThumbprint": ""
+ "value": "Account",
+ "certificateThumbprint": ""
},
"Account Name": {
- "Value": "accountName",
- "CertificateThumbprint": ""
+ "value": "accountName",
+ "certificateThumbprint": ""
},
"Account Key": {
- "Value": "Encrypted Key",
- "CertificateThumbprint": "TheThumbprint"
+ "value": "Encrypted Key",
+ "certificateThumbprint": "TheThumbprint"
}
}
},
"node3": {
- "InputId": "input1"
+ "inputId": "input1"
},
"node4": {
- "OutputId": "output1"
+ "outputId": "output1"
}
},
- "Edges": [
+ "edges": [
{
- "SourceNodeId": "node2",
- "SourcePortId": "Results dataset",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset2"
+ "sourceNodeId": "node2",
+ "sourcePortId": "Results dataset",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset2"
},
{
- "SourceNodeId": "node3",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset1"
+ "sourceNodeId": "node3",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset1"
},
{
- "SourceNodeId": "node1",
- "SourcePortId": "Result Dataset",
- "TargetNodeId": "node4"
+ "sourceNodeId": "node1",
+ "sourcePortId": "Result Dataset",
+ "targetNodeId": "node4"
}
],
- "GraphParameters": {}
+ "graphParameters": {}
},
"exampleRequest": {
"inputs": {
@@ -280,67 +280,67 @@
}
},
"package": {
- "Nodes": {
+ "nodes": {
"node1": {
- "AssetId": "asset1",
- "Parameters": {
+ "assetId": "asset1",
+ "parameters": {
"R Script": {
- "Value": "The R Script",
- "CertificateThumbprint": ""
+ "value": "The R Script",
+ "certificateThumbprint": ""
},
"R Version": {
- "Value": "CRAN R 3.1.0",
- "CertificateThumbprint": ""
+ "value": "CRAN R 3.1.0",
+ "certificateThumbprint": ""
}
}
},
"node2": {
- "AssetId": "asset2",
- "Parameters": {
+ "assetId": "asset2",
+ "parameters": {
"Please Specify Data Source": {
- "Value": "AzureBlobStorage",
- "CertificateThumbprint": ""
+ "value": "AzureBlobStorage",
+ "certificateThumbprint": ""
},
"Please Specify Authentication Type": {
- "Value": "Account",
- "CertificateThumbprint": ""
+ "value": "Account",
+ "certificateThumbprint": ""
},
"Account Name": {
- "Value": "accountName",
- "CertificateThumbprint": ""
+ "value": "accountName",
+ "certificateThumbprint": ""
},
"Account Key": {
- "Value": "Encrypted Key",
- "CertificateThumbprint": "TheThumbprint"
+ "value": "Encrypted Key",
+ "certificateThumbprint": "TheThumbprint"
}
}
},
"node3": {
- "InputId": "input1"
+ "inputId": "input1"
},
"node4": {
- "OutputId": "output1"
+ "outputId": "output1"
}
},
- "Edges": [
+ "edges": [
{
- "SourceNodeId": "node2",
- "SourcePortId": "Results dataset",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset2"
+ "sourceNodeId": "node2",
+ "sourcePortId": "Results dataset",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset2"
},
{
- "SourceNodeId": "node3",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset1"
+ "sourceNodeId": "node3",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset1"
},
{
- "SourceNodeId": "node1",
- "SourcePortId": "Result Dataset",
- "TargetNodeId": "node4"
+ "sourceNodeId": "node1",
+ "sourcePortId": "Result Dataset",
+ "targetNodeId": "node4"
}
],
- "GraphParameters": {}
+ "graphParameters": {}
},
"exampleRequest": {
"inputs": {
@@ -465,67 +465,67 @@
}
},
"package": {
- "Nodes": {
+ "nodes": {
"node1": {
- "AssetId": "asset1",
- "Parameters": {
+ "assetId": "asset1",
+ "parameters": {
"R Script": {
- "Value": "The R Script",
- "CertificateThumbprint": ""
+ "value": "The R Script",
+ "certificateThumbprint": ""
},
"R Version": {
- "Value": "CRAN R 3.1.0",
- "CertificateThumbprint": ""
+ "value": "CRAN R 3.1.0",
+ "certificateThumbprint": ""
}
}
},
"node2": {
- "AssetId": "asset2",
- "Parameters": {
+ "assetId": "asset2",
+ "parameters": {
"Please Specify Data Source": {
- "Value": "AzureBlobStorage",
- "CertificateThumbprint": ""
+ "value": "AzureBlobStorage",
+ "certificateThumbprint": ""
},
"Please Specify Authentication Type": {
- "Value": "Account",
- "CertificateThumbprint": ""
+ "value": "Account",
+ "certificateThumbprint": ""
},
"Account Name": {
- "Value": "accountName",
- "CertificateThumbprint": ""
+ "value": "accountName",
+ "certificateThumbprint": ""
},
"Account Key": {
- "Value": "Encrypted Key",
- "CertificateThumbprint": "TheThumbprint"
+ "value": "Encrypted Key",
+ "certificateThumbprint": "TheThumbprint"
}
}
},
"node3": {
- "InputId": "input1"
+ "inputId": "input1"
},
"node4": {
- "OutputId": "output1"
+ "outputId": "output1"
}
},
- "Edges": [
+ "edges": [
{
- "SourceNodeId": "node2",
- "SourcePortId": "Results dataset",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset2"
+ "sourceNodeId": "node2",
+ "sourcePortId": "Results dataset",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset2"
},
{
- "SourceNodeId": "node3",
- "TargetNodeId": "node1",
- "TargetPortId": "Dataset1"
+ "sourceNodeId": "node3",
+ "targetNodeId": "node1",
+ "targetPortId": "Dataset1"
},
{
- "SourceNodeId": "node1",
- "SourcePortId": "Result Dataset",
- "TargetNodeId": "node4"
+ "sourceNodeId": "node1",
+ "sourcePortId": "Result Dataset",
+ "targetNodeId": "node4"
}
],
- "GraphParameters": {}
+ "graphParameters": {}
},
"exampleRequest": {
"inputs": {
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json
index 5a9b40a2241e..fb88eb3aba15 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicAKSCompute.json
@@ -1,44 +1,44 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "AKS"
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AKS",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AKS",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.json
index d3f2ffe05ffd..71db1a34d1a4 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicBatchAICompute.json
@@ -1,44 +1,44 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "BatchAI"
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "BatchAI"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "BatchAI",
+ "provisioningState": "Creating"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "BatchAI",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "BatchAI",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "BatchAI",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicDataFactoryCompute.json
index 5dcfa2b1644b..08bf514a47a2 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicDataFactoryCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createBasicDataFactoryCompute.json
@@ -1,44 +1,44 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory"
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json
index 7cd518be87b6..cedbdb567567 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json
@@ -1,60 +1,60 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2018-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2018-03-01-preview",
- "parameters": {
- "location": "eastus2euap",
- "properties": {
- "friendlyName": "HelloName",
- "description": "test description",
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
- }
+ "location": "eastus2euap",
+ "properties": {
+ "friendlyName": "HelloName",
+ "description": "test description",
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteCompute.json
index e0b596696809..cdd95585e41b 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteCompute.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
- "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
+ "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteWorkspace.json
index 307b6e2f6f86..452b097c5492 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/deleteWorkspace.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getAKSCompute.json
index 2b032361a3fd..b43ac99719b0 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getAKSCompute.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.json
index 5e5d75a75a47..db2d7e047fb9 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getBatchAICompute.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2",
- "computeType": "BatchAI",
- "provisioningState": "Succeeded"
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2",
+ "computeType": "BatchAI",
+ "provisioningState": "Succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getComputes.json
index 899e990ea9ef..b96c2eaf315e 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getComputes.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getComputes.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- },
- {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute1234",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
}
- }
+ },
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute1234",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspace.json
index 984545d9ed30..e48b93e29515 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspace.json
@@ -1,29 +1,29 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesByResourceGroup.json
index 43c28a431e8a..ab288f5e8871 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesByResourceGroup.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesByResourceGroup.json
@@ -1,50 +1,50 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
- "name": "testworkspace1",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName 1",
- "description": "test description"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
- }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
+ "name": "testworkspace1",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName 1",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesBySubscription.json
index 3e5037ab6f45..1cf9bfcf7589 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesBySubscription.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/getWorkspacesBySubscription.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
- }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysAKSCompute.json
index 13cd68b7fb4b..b32d1b81d973 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysAKSCompute.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "computeType": "AKS",
- "userKubeConfig": "user kube config...",
- "adminKubeConfig": "admin kube config...",
- "imagePullSecretName": "the image pull secret name"
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AKS",
+ "userKubeConfig": "user kube config...",
+ "adminKubeConfig": "admin kube config...",
+ "imagePullSecretName": "the image pull secret name"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysVirtualMachine.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysVirtualMachine.json
index 12035705d05a..bd2d429f0087 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysVirtualMachine.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listKeysVirtualMachine.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "computeType": "AKS",
- "administratorAccount": {
- "username": "the user name",
- "password": "the password",
- "publicKeyData": "public key...",
- "privateKeyData": "private key..."
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AKS",
+ "administratorAccount": {
+ "username": "the user name",
+ "password": "the password",
+ "publicKeyData": "public key...",
+ "privateKeyData": "private key..."
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listWorkspaceKeys.json
index 36c1dba479fe..0d7f76b0d07f 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listWorkspaceKeys.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/listWorkspaceKeys.json
@@ -1,32 +1,31 @@
{
- "parameters": {
- "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
- "body":
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
+ "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
+ "appInsightsInstrumentationKey": null,
+ "containerRegistryCredentials": {
+ "location": null,
+ "username": "testdemoworkjmjmeykp",
+ "passwords": [
{
- "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
- "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
- "appInsightsInstrumentationKey": null,
- "containerRegistryCredentials": {
- "location": null,
- "username": "testdemoworkjmjmeykp",
- "passwords": [
- {
- "name": "password",
- "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
- },
- {
- "name": "password2",
- "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
- }
- ]
- }
+ "name": "password",
+ "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
+ },
+ {
+ "name": "password2",
+ "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/resyncWorkspaceKeys.json
index 110e00eddc38..0e3115f0badc 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/resyncWorkspaceKeys.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/resyncWorkspaceKeys.json
@@ -1,13 +1,11 @@
{
- "parameters": {
- "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/systemUpdateCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/systemUpdateCompute.json
index e0b596696809..cdd95585e41b 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/systemUpdateCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/systemUpdateCompute.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
- "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
+ "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateAKSCompute.json
index 77a00340ab83..9aef142daae8 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateAKSCompute.json
@@ -1,54 +1,54 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview",
- "parameters": {
- "id": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "properties": {
- "agentCount": 4
- }
- }
+ "id": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "properties": {
+ "agentCount": 4
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Updating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateBatchAICompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateBatchAICompute.json
index a81692e3d392..eb9e7a49b81c 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateBatchAICompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateBatchAICompute.json
@@ -1,60 +1,60 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-03-01-preview",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-03-01-preview",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "BatchAI",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2",
- "computeType": "BatchAI",
- "properties": {
- "scaleSettings": {
- "maxNodeCount": 4,
- "minNodeCount": 4,
- "autoScaleEnabled": false
- }
- }
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "BatchAI",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2",
+ "computeType": "BatchAI",
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "autoScaleEnabled": false
}
+ }
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2",
+ "computeType": "BatchAI",
+ "provisioningState": "Updating"
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2",
- "computeType": "BatchAI",
- "provisioningState": "Updating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2",
- "computeType": "BatchAI",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.BatchAI/clusters/compute123-ccb488844dcc2",
+ "computeType": "BatchAI",
+ "provisioningState": "Updating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateWorkspace.json
index 25eb01e7194b..038c0b6797c1 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/updateWorkspace.json
@@ -1,35 +1,35 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2018-03-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2018-03-01-preview",
- "parameters": {
- "properties": {
- "friendlyName": "New friendly name",
- "description": "new description"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "New friendly name",
- "description": "new description"
- }
- }
+ "properties": {
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "New friendly name",
+ "description": "new description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json
index 6b91c6bc4f85..782995dfe9c5 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json
@@ -73,7 +73,9 @@
"description": "Gets the properties of the specified machine learning workspace.",
"operationId": "Workspaces_Get",
"x-ms-examples": {
- "Get Workspace": { "$ref": "./examples/getWorkspace.json" }
+ "Get Workspace": {
+ "$ref": "./examples/getWorkspace.json"
+ }
},
"parameters": [
{
@@ -111,7 +113,9 @@
"description": "Creates or updates a workspace with the specified parameters.",
"operationId": "Workspaces_CreateOrUpdate",
"x-ms-examples": {
- "Create Workspace": { "$ref": "./examples/createWorkspace.json" }
+ "Create Workspace": {
+ "$ref": "./examples/createWorkspace.json"
+ }
},
"parameters": [
{
@@ -164,7 +168,9 @@
"description": "Deletes a machine learning workspace.",
"operationId": "Workspaces_Delete",
"x-ms-examples": {
- "Delete Workspace": { "$ref": "./examples/deleteWorkspace.json" }
+ "Delete Workspace": {
+ "$ref": "./examples/deleteWorkspace.json"
+ }
},
"parameters": [
{
@@ -202,7 +208,9 @@
"description": "Updates a machine learning workspace with the specified parameters.",
"operationId": "Workspaces_Update",
"x-ms-examples": {
- "Update Workspace": { "$ref": "./examples/updateWorkspace.json" }
+ "Update Workspace": {
+ "$ref": "./examples/updateWorkspace.json"
+ }
},
"parameters": [
{
@@ -251,7 +259,9 @@
"description": "Lists all the available machine learning workspaces under the specified resource group.",
"operationId": "Workspaces_ListByResourceGroup",
"x-ms-examples": {
- "Get Workspaces by Resource Group": { "$ref": "./examples/getWorkspacesByResourceGroup.json" }
+ "Get Workspaces by Resource Group": {
+ "$ref": "./examples/getWorkspacesByResourceGroup.json"
+ }
},
"parameters": [
{
@@ -294,7 +304,9 @@
"description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
"operationId": "Workspaces_ListKeys",
"x-ms-examples": {
- "List Workspace Keys": { "$ref": "./examples/listWorkspaceKeys.json" }
+ "List Workspace Keys": {
+ "$ref": "./examples/listWorkspaceKeys.json"
+ }
},
"parameters": [
{
@@ -334,7 +346,9 @@
"description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
"operationId": "Workspaces_ResyncKeys",
"x-ms-examples": {
- "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" }
+ "Resync Workspace Keys": {
+ "$ref": "./examples/resyncWorkspaceKeys.json"
+ }
},
"parameters": [
{
@@ -371,7 +385,9 @@
"description": "Lists all the available machine learning workspaces under the specified subscription.",
"operationId": "Workspaces_ListBySubscription",
"x-ms-examples": {
- "Get Workspaces by subscription": { "$ref": "./examples/getWorkspacesBySubscription.json" }
+ "Get Workspaces by subscription": {
+ "$ref": "./examples/getWorkspacesBySubscription.json"
+ }
},
"parameters": [
{
@@ -415,7 +431,9 @@
"operationId": "MachineLearningCompute_ListByWorkspace",
"description": "Gets computes in specified workspace.",
"x-ms-examples": {
- "Get Computes": { "$ref": "./examples/getComputes.json" }
+ "Get Computes": {
+ "$ref": "./examples/getComputes.json"
+ }
},
"parameters": [
{
@@ -459,8 +477,12 @@
"operationId": "MachineLearningCompute_Get",
"description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
"x-ms-examples": {
- "Get a AKS Compute": { "$ref": "./examples/getAKSCompute.json" },
- "Get a BatchAI Compute": { "$ref": "./examples/getBatchAICompute.json" }
+ "Get a AKS Compute": {
+ "$ref": "./examples/getAKSCompute.json"
+ },
+ "Get a BatchAI Compute": {
+ "$ref": "./examples/getBatchAICompute.json"
+ }
},
"parameters": [
{
@@ -503,11 +525,21 @@
"description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Create a BatchAI Compute": { "$ref": "./examples/createBasicBatchAICompute.json" },
- "Create AKS Compute": { "$ref": "./examples/createBasicAKSCompute.json" },
- "Create a DataFactory Compute": { "$ref": "./examples/createBasicDataFactoryCompute.json" },
- "Update a BatchAI Compute": { "$ref": "./examples/updateBatchAICompute.json" },
- "Update a AKS Compute": { "$ref": "./examples/updateAKSCompute.json" }
+ "Create a BatchAI Compute": {
+ "$ref": "./examples/createBasicBatchAICompute.json"
+ },
+ "Create AKS Compute": {
+ "$ref": "./examples/createBasicAKSCompute.json"
+ },
+ "Create a DataFactory Compute": {
+ "$ref": "./examples/createBasicDataFactoryCompute.json"
+ },
+ "Update a BatchAI Compute": {
+ "$ref": "./examples/updateBatchAICompute.json"
+ },
+ "Update a AKS Compute": {
+ "$ref": "./examples/updateAKSCompute.json"
+ }
},
"parameters": [
{
@@ -565,7 +597,9 @@
"description": "Deletes specified Machine Learning compute.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Delete Compute": { "$ref": "./examples/deleteCompute.json" }
+ "Delete Compute": {
+ "$ref": "./examples/deleteCompute.json"
+ }
},
"parameters": [
{
@@ -618,7 +652,9 @@
"description": "System Update On Machine Learning compute.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "System Update Compute": { "$ref": "./examples/systemUpdateCompute.json" }
+ "System Update Compute": {
+ "$ref": "./examples/systemUpdateCompute.json"
+ }
},
"parameters": [
{
@@ -672,8 +708,12 @@
"operationId": "MachineLearningCompute_ListKeys",
"description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
"x-ms-examples": {
- "List AKS Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" },
- "List BatchAI Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" }
+ "List AKS Compute Keys": {
+ "$ref": "./examples/listKeysAKSCompute.json"
+ },
+ "List BatchAI Compute Keys": {
+ "$ref": "./examples/listKeysAKSCompute.json"
+ }
},
"parameters": [
{
@@ -1106,7 +1146,7 @@
},
{
"type": "object",
- "properties":{
+ "properties": {
"properties": {
"description": "Compute properties",
"$ref": "#/definitions/Compute"
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json
new file mode 100644
index 000000000000..cedabe460a02
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json
@@ -0,0 +1,455 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "api-version": "2018-11-19",
+ "location": "eastus"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "amlCompute": [
+ {
+ "name": "Standard_F2s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 16384,
+ "memoryGB": 4.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F4s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 32768,
+ "memoryGB": 8.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F8s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 65536,
+ "memoryGB": 16.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F16s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 131072,
+ "memoryGB": 32.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F32s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 32,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 262144,
+ "memoryGB": 64.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F64s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 64,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 524288,
+ "memoryGB": 128.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F72s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 72,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 589824,
+ "memoryGB": 144.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_D1_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 1,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 51200,
+ "memoryGB": 3.5,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D2_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 102400,
+ "memoryGB": 7.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D3_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 204800,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D4_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 409600,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D11_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 102400,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D12_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 204800,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D13_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 409600,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D14_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 819200,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_DS1_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 1,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 7168,
+ "memoryGB": 3.5,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS2_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 14336,
+ "memoryGB": 7.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS3_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 28672,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS4_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 57344,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS5_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 114688,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS11_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 28672,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS12_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 57344,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS13_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 114688,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS14_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 229376,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS15_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 20,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 286720,
+ "memoryGB": 140.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC12s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24rs_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC12s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24rs_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6",
+ "family": "standardNCFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 389120,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC12",
+ "family": "standardNCFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 696320,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC24",
+ "family": "standardNCFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC24r",
+ "family": "standardNCFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV6",
+ "family": "standardNVFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 389120,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV12",
+ "family": "standardNVFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 696320,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV24",
+ "family": "standardNVFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_ND6s",
+ "family": "standardNDSFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND12s",
+ "family": "standardNDSFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND24rs",
+ "family": "standardNDSFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND24s",
+ "family": "standardNDSFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json
index c4cebeebb7d2..5abd75786f2e 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAKSCompute.json
@@ -1,44 +1,44 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "AKS"
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AKS",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AKS",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json
index 04727724e3c1..fcabd5e57cdc 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicAmlCompute.json
@@ -1,53 +1,53 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "AmlCompute",
- "properties": {
- "vmSize": "STANDARD_NC6",
- "vmPriority": "Dedicated",
- "scaleSettings": {
- "maxNodeCount": 1,
- "minNodeCount": 0,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- }
- }
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AmlCompute",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AmlCompute",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json
index 554c24581345..0be750c0f1c4 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createBasicDataFactoryCompute.json
@@ -1,44 +1,44 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory"
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json
index 23e0378b8563..6a032335e30c 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json
@@ -1,57 +1,57 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2018-11-19",
- "parameters": {
- "location": "eastus2euap",
- "properties": {
- "friendlyName": "HelloName",
- "description": "test description",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
- }
+ "location": "eastus2euap",
+ "properties": {
+ "friendlyName": "HelloName",
+ "description": "test description",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteCompute.json
index ff5e91c8a0fb..c3a92a6f0315 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteCompute.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19",
- "underlyingResourceAction": "Delete"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
- "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19",
+ "underlyingResourceAction": "Delete"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
+ "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteWorkspace.json
index 92d50dcc248a..df23a8b03400 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/deleteWorkspace.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAKSCompute.json
index 64c1ec9062c1..0dfe733ecd46 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAKSCompute.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAmlCompute.json
index a04b2a6ff011..7d80e0f73cde 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getAmlCompute.json
@@ -1,48 +1,48 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "createdOn": "2017-09-26T22:28:08.327Z",
- "provisioningState": "Succeeded",
- "properties": {
- "vmSize": "STANDARD_NC6",
- "vmPriority": "Dedicated",
- "subnet": "test-subnet-resource-id",
- "scaleSettings": {
- "maxNodeCount": 1,
- "minNodeCount": 0,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- },
- "allocationState": "Resizing",
- "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
- "errors": null,
- "currentNodeCount": 0,
- "targetNodeCount": 1,
- "nodeStateCounts": {
- "preparingNodeCount": 0,
- "runningNodeCount": 0,
- "idleNodeCount": 0,
- "unusableNodeCount": 0,
- "leavingNodeCount": 0,
- "preemptedNodeCount": 0
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "createdOn": "2017-09-26T22:28:08.327Z",
+ "provisioningState": "Succeeded",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "subnet": "test-subnet-resource-id",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ },
+ "allocationState": "Resizing",
+ "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
+ "errors": null,
+ "currentNodeCount": 0,
+ "targetNodeCount": 1,
+ "nodeStateCounts": {
+ "preparingNodeCount": 0,
+ "runningNodeCount": 0,
+ "idleNodeCount": 0,
+ "unusableNodeCount": 0,
+ "leavingNodeCount": 0,
+ "preemptedNodeCount": 0
}
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getComputes.json
index 926a37304d52..a13a21654ea9 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getComputes.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getComputes.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- },
- {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute1234",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
}
- }
+ },
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute1234",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspace.json
index 4e240953146b..586fc19fd757 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspace.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesByResourceGroup.json
index f3d2500a39d6..f309885452ef 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesByResourceGroup.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesByResourceGroup.json
@@ -1,48 +1,48 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
- "name": "testworkspace1",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName 1",
- "description": "test description"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
- }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
+ "name": "testworkspace1",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName 1",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesBySubscription.json
index ad423570e683..b637e867ee7e 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesBySubscription.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/getWorkspacesBySubscription.json
@@ -1,47 +1,47 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
- }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysAKSCompute.json
index 6558275db967..06ac141d408f 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysAKSCompute.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body": {
- "computeType": "AKS",
- "userKubeConfig": "user kube config...",
- "adminKubeConfig": "admin kube config...",
- "imagePullSecretName": "the image pull secret name"
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AKS",
+ "userKubeConfig": "user kube config...",
+ "adminKubeConfig": "admin kube config...",
+ "imagePullSecretName": "the image pull secret name"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysVirtualMachine.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysVirtualMachine.json
index 670cd7d3dd74..144f1608a036 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysVirtualMachine.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listKeysVirtualMachine.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body": {
- "computeType": "AKS",
- "administratorAccount": {
- "username": "the user name",
- "password": "the password",
- "publicKeyData": "public key...",
- "privateKeyData": "private key..."
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AKS",
+ "administratorAccount": {
+ "username": "the user name",
+ "password": "the password",
+ "publicKeyData": "public key...",
+ "privateKeyData": "private key..."
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listWorkspaceKeys.json
index c2dd79bc4175..7b9279c3a634 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listWorkspaceKeys.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/listWorkspaceKeys.json
@@ -1,32 +1,31 @@
{
- "parameters": {
- "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
- "body":
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
+ "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
+ "appInsightsInstrumentationKey": null,
+ "containerRegistryCredentials": {
+ "location": null,
+ "username": "testdemoworkjmjmeykp",
+ "passwords": [
{
- "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
- "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
- "appInsightsInstrumentationKey": null,
- "containerRegistryCredentials": {
- "location": null,
- "username": "testdemoworkjmjmeykp",
- "passwords": [
- {
- "name": "password",
- "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
- },
- {
- "name": "password2",
- "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
- }
- ]
- }
+ "name": "password",
+ "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
+ },
+ {
+ "name": "password2",
+ "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json
index dc7b4fdf12ce..082d445ec9f9 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json
@@ -1,38 +1,36 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19",
- "parameters": {
- "properties": {
- "properties": {
- "scaleSettings": {
- "maxNodeCount": 4,
- "minNodeCount": 4,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- }
- }
- }
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
}
- },
- "responses": {
- "202": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/resyncWorkspaceKeys.json
index 79684b2deee1..6a3e4d786d27 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/resyncWorkspaceKeys.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/resyncWorkspaceKeys.json
@@ -1,13 +1,11 @@
{
- "parameters": {
- "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/systemUpdateCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/systemUpdateCompute.json
index c2f0b85ae924..367c2830fa12 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/systemUpdateCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/systemUpdateCompute.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
- "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
+ "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAKSCompute.json
index f2cb82862e2c..cf0a568baef6 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAKSCompute.json
@@ -1,54 +1,54 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19",
- "parameters": {
- "id": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "properties": {
- "agentCount": 4
- }
- }
+ "id": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "properties": {
+ "agentCount": 4
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Updating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAmlCompute.json
index e34a72e29c8d..760f79ab8979 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateAmlCompute.json
@@ -1,57 +1,57 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "AmlCompute",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "properties": {
- "scaleSettings": {
- "maxNodeCount": 4,
- "minNodeCount": 4,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- }
- }
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
}
+ }
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "provisioningState": "Updating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateWorkspace.json
index c415abb0636b..9588187be115 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/updateWorkspace.json
@@ -1,34 +1,34 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2018-11-19",
- "parameters": {
- "properties": {
- "friendlyName": "New friendly name",
- "description": "new description"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "New friendly name",
- "description": "new description"
- }
- }
+ "properties": {
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "New friendly name",
+ "description": "new description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
index 2b4c65b55399..d7f0af3f304d 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
@@ -73,7 +73,9 @@
"description": "Gets the properties of the specified machine learning workspace.",
"operationId": "Workspaces_Get",
"x-ms-examples": {
- "Get Workspace": { "$ref": "./examples/getWorkspace.json" }
+ "Get Workspace": {
+ "$ref": "./examples/getWorkspace.json"
+ }
},
"parameters": [
{
@@ -111,7 +113,9 @@
"description": "Creates or updates a workspace with the specified parameters.",
"operationId": "Workspaces_CreateOrUpdate",
"x-ms-examples": {
- "Create Workspace": { "$ref": "./examples/createWorkspace.json" }
+ "Create Workspace": {
+ "$ref": "./examples/createWorkspace.json"
+ }
},
"parameters": [
{
@@ -164,7 +168,9 @@
"description": "Deletes a machine learning workspace.",
"operationId": "Workspaces_Delete",
"x-ms-examples": {
- "Delete Workspace": { "$ref": "./examples/deleteWorkspace.json" }
+ "Delete Workspace": {
+ "$ref": "./examples/deleteWorkspace.json"
+ }
},
"parameters": [
{
@@ -202,7 +208,9 @@
"description": "Updates a machine learning workspace with the specified parameters.",
"operationId": "Workspaces_Update",
"x-ms-examples": {
- "Update Workspace": { "$ref": "./examples/updateWorkspace.json" }
+ "Update Workspace": {
+ "$ref": "./examples/updateWorkspace.json"
+ }
},
"parameters": [
{
@@ -251,7 +259,9 @@
"description": "Lists all the available machine learning workspaces under the specified resource group.",
"operationId": "Workspaces_ListByResourceGroup",
"x-ms-examples": {
- "Get Workspaces by Resource Group": { "$ref": "./examples/getWorkspacesByResourceGroup.json" }
+ "Get Workspaces by Resource Group": {
+ "$ref": "./examples/getWorkspacesByResourceGroup.json"
+ }
},
"parameters": [
{
@@ -294,7 +304,9 @@
"description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
"operationId": "Workspaces_ListKeys",
"x-ms-examples": {
- "List Workspace Keys": { "$ref": "./examples/listWorkspaceKeys.json" }
+ "List Workspace Keys": {
+ "$ref": "./examples/listWorkspaceKeys.json"
+ }
},
"parameters": [
{
@@ -334,7 +346,9 @@
"description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
"operationId": "Workspaces_ResyncKeys",
"x-ms-examples": {
- "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" }
+ "Resync Workspace Keys": {
+ "$ref": "./examples/resyncWorkspaceKeys.json"
+ }
},
"parameters": [
{
@@ -435,8 +449,10 @@
}
}
},
- "x-ms-pageable": {
- "nextLinkName": null
+ "x-ms-examples": {
+ "List VM Sizes": {
+ "$ref": "./examples/ListVMSizesResult.json"
+ }
}
}
},
@@ -448,7 +464,9 @@
"description": "Lists all the available machine learning workspaces under the specified subscription.",
"operationId": "Workspaces_ListBySubscription",
"x-ms-examples": {
- "Get Workspaces by subscription": { "$ref": "./examples/getWorkspacesBySubscription.json" }
+ "Get Workspaces by subscription": {
+ "$ref": "./examples/getWorkspacesBySubscription.json"
+ }
},
"parameters": [
{
@@ -492,7 +510,9 @@
"operationId": "MachineLearningCompute_ListByWorkspace",
"description": "Gets computes in specified workspace.",
"x-ms-examples": {
- "Get Computes": { "$ref": "./examples/getComputes.json" }
+ "Get Computes": {
+ "$ref": "./examples/getComputes.json"
+ }
},
"parameters": [
{
@@ -536,8 +556,12 @@
"operationId": "MachineLearningCompute_Get",
"description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
"x-ms-examples": {
- "Get a AKS Compute": { "$ref": "./examples/getAKSCompute.json" },
- "Get a AML Compute": { "$ref": "./examples/getAmlCompute.json" }
+ "Get a AKS Compute": {
+ "$ref": "./examples/getAKSCompute.json"
+ },
+ "Get a AML Compute": {
+ "$ref": "./examples/getAmlCompute.json"
+ }
},
"parameters": [
{
@@ -580,11 +604,21 @@
"description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Create a AML Compute": { "$ref": "./examples/createBasicAmlCompute.json" },
- "Create AKS Compute": { "$ref": "./examples/createBasicAKSCompute.json" },
- "Create a DataFactory Compute": { "$ref": "./examples/createBasicDataFactoryCompute.json" },
- "Update a AML Compute": { "$ref": "./examples/updateAmlCompute.json" },
- "Update a AKS Compute": { "$ref": "./examples/updateAKSCompute.json" }
+ "Create a AML Compute": {
+ "$ref": "./examples/createBasicAmlCompute.json"
+ },
+ "Create AKS Compute": {
+ "$ref": "./examples/createBasicAKSCompute.json"
+ },
+ "Create a DataFactory Compute": {
+ "$ref": "./examples/createBasicDataFactoryCompute.json"
+ },
+ "Update a AML Compute": {
+ "$ref": "./examples/updateAmlCompute.json"
+ },
+ "Update a AKS Compute": {
+ "$ref": "./examples/updateAKSCompute.json"
+ }
},
"parameters": [
{
@@ -642,7 +676,9 @@
"description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Update a AmlCompute Compute": { "$ref": "./examples/patchAmlCompute.json" }
+ "Update a AmlCompute Compute": {
+ "$ref": "./examples/patchAmlCompute.json"
+ }
},
"parameters": [
{
@@ -671,7 +707,7 @@
}
],
"responses": {
- "202": {
+ "200": {
"description": "Compute update initiated.",
"schema": {
"$ref": "#/definitions/ComputeResource"
@@ -694,7 +730,9 @@
"description": "Deletes specified Machine Learning compute.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Delete Compute": { "$ref": "./examples/deleteCompute.json" }
+ "Delete Compute": {
+ "$ref": "./examples/deleteCompute.json"
+ }
},
"parameters": [
{
@@ -770,7 +808,7 @@
"200": {
"description": "The operation was successful. The response contains the list of IP addresses.",
"schema": {
- "$ref": "#/definitions/ComputeNodesInformation"
+ "$ref": "#/definitions/AmlComputeNodesInformation"
}
},
"default": {
@@ -781,6 +819,7 @@
}
},
"x-ms-pageable": {
+ "itemName": "nodes",
"nextLinkName": "nextLink"
},
"x-ms-examples": {
@@ -799,7 +838,9 @@
"operationId": "MachineLearningCompute_ListKeys",
"description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
"x-ms-examples": {
- "List AKS Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" }
+ "List AKS Compute Keys": {
+ "$ref": "./examples/listKeysAKSCompute.json"
+ }
},
"parameters": [
{
@@ -931,7 +972,7 @@
"modelAsString": true
},
"x-ms-parameter-location": "method"
-}
+ }
},
"definitions": {
"Operation": {
@@ -1102,6 +1143,7 @@
"description": "The Usage Names."
},
"Usage": {
+ "type": "object",
"properties": {
"unit": {
"readOnly": true,
@@ -1393,7 +1435,7 @@
},
{
"type": "object",
- "properties":{
+ "properties": {
"properties": {
"description": "Compute properties",
"$ref": "#/definitions/Compute"
@@ -1559,9 +1601,9 @@
"$ref": "#/definitions/UserAccountCredentials"
},
"subnet": {
- "title": "Subnet.",
- "description": "Virtual network subnet resource ID the compute nodes belong to.",
- "$ref": "#/definitions/ResourceId"
+ "title": "Subnet.",
+ "description": "Virtual network subnet resource ID the compute nodes belong to.",
+ "$ref": "#/definitions/ResourceId"
},
"allocationState": {
"type": "string",
@@ -1590,7 +1632,7 @@
"description": "Collection of errors encountered by various compute nodes during node setup.",
"type": "array",
"items": {
- "$ref": "#/definitions/MachineLearningServiceError"
+ "$ref": "#/definitions/MachineLearningServiceError"
}
},
"currentNodeCount": {
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListUsages.json
new file mode 100644
index 000000000000..967f44e20f9b
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListUsages.json
@@ -0,0 +1,400 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "location": "eastus",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/totalCores/usages",
+ "currentValue": 7,
+ "limit": 100,
+ "name": {
+ "localizedValue": "Clusters",
+ "value": "Clusters"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/dedicatedCores/usages",
+ "currentValue": 14,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Total Cluster Dedicated Regional vCPUs",
+ "value": "Total Cluster Dedicated Regional vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 48,
+ "name": {
+ "localizedValue": "Standard D Family Cluster Dedicated vCPUs",
+ "value": "Standard D Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 2,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster2_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "value": "Standard DSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard Dv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "value": "Standard FSv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 12,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
+ "value": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluser1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
+ "currentValue": 6,
+ "limit": 24,
+ "name": {
+ "value": "Standard NC Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NC Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
+ "value": "Standard NCv3 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
+ "value": "Standard ND Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 0,
+ "name": {
+ "value": "Standard NDv2 Family Cluster Dedicated vCPUs",
+ "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": 24,
+ "name": {
+ "localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
+ "value": "Standard NV Family Cluster Dedicated vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
+ "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages",
+ "currentValue": 18,
+ "limit": 50,
+ "name": {
+ "localizedValue": "Total Cluster LowPriority Regional vCPUs",
+ "value": "Total Cluster LowPriority Regional vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "value": "Standard D Family Cluster LowPriority vCPUs",
+ "localizedValue": "Standard D Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard DSv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard Dv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard FSv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 18,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/usages",
+ "currentValue": 12,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster2_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster3_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/workspace/computes/usages",
+ "currentValue": 6,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
+ "value": "Standard NC Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard NCv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs",
+ "value": "Standard NCv3 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard ND Family Cluster LowPriority vCPUs",
+ "value": "Standard ND Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs",
+ "value": "Standard NDv2 Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs",
+ "type": "Microsoft.MachineLearningServices/vmFamily/usages",
+ "currentValue": 0,
+ "limit": -1,
+ "name": {
+ "localizedValue": "Standard NV Family Cluster LowPriority vCPUs",
+ "value": "Standard NV Family Cluster LowPriority vCPUs"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json
new file mode 100644
index 000000000000..cedabe460a02
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json
@@ -0,0 +1,455 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "api-version": "2018-11-19",
+ "location": "eastus"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "amlCompute": [
+ {
+ "name": "Standard_F2s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 16384,
+ "memoryGB": 4.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F4s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 32768,
+ "memoryGB": 8.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F8s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 65536,
+ "memoryGB": 16.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F16s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 131072,
+ "memoryGB": 32.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F32s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 32,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 262144,
+ "memoryGB": 64.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F64s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 64,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 524288,
+ "memoryGB": 128.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_F72s_v2",
+ "family": "standardFSv2Family",
+ "vCPUs": 72,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 589824,
+ "memoryGB": 144.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_D1_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 1,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 51200,
+ "memoryGB": 3.5,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D2_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 102400,
+ "memoryGB": 7.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D3_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 204800,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D4_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 409600,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D11_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 102400,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D12_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 204800,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D13_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 409600,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_D14_v2",
+ "family": "standardDv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 819200,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_DS1_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 1,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 7168,
+ "memoryGB": 3.5,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS2_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 14336,
+ "memoryGB": 7.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS3_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 28672,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS4_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 57344,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS5_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 114688,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS11_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 2,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 28672,
+ "memoryGB": 14.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS12_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 4,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 57344,
+ "memoryGB": 28.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS13_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 8,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 114688,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS14_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 16,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 229376,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_DS15_v2",
+ "family": "standardDSv2Family",
+ "vCPUs": 20,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 286720,
+ "memoryGB": 140.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC12s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24rs_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24s_v2",
+ "family": "standardNCSv2Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC12s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24rs_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC24s_v3",
+ "family": "standardNCSv3Family",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_NC6",
+ "family": "standardNCFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 389120,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC12",
+ "family": "standardNCFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 696320,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC24",
+ "family": "standardNCFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NC24r",
+ "family": "standardNCFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV6",
+ "family": "standardNVFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 389120,
+ "memoryGB": 56.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV12",
+ "family": "standardNVFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 696320,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_NV24",
+ "family": "standardNVFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1474560,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": false
+ },
+ {
+ "name": "Standard_ND6s",
+ "family": "standardNDSFamily",
+ "vCPUs": 6,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 344064,
+ "memoryGB": 112.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND12s",
+ "family": "standardNDSFamily",
+ "vCPUs": 12,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 688128,
+ "memoryGB": 224.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND24rs",
+ "family": "standardNDSFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ },
+ {
+ "name": "Standard_ND24s",
+ "family": "standardNDSFamily",
+ "vCPUs": 24,
+ "osVhdSizeMB": 1047552,
+ "maxResourceVolumeMB": 1376256,
+ "memoryGB": 448.0,
+ "lowPriorityCapable": true,
+ "premiumIO": true
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/amlComputeListNodes.json
new file mode 100644
index 000000000000..f50a1639fd17
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/amlComputeListNodes.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AmlCompute",
+ "nodes": [
+ {
+ "nodeId": "tvm-3601533753_1-20170719t162906z",
+ "ipAddress": "13.84.190.124",
+ "port": 50000
+ },
+ {
+ "nodeId": "tvm-3601533753_2-20170719t162906z",
+ "ipAddress": "13.84.190.124",
+ "port": 50001
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json
new file mode 100644
index 000000000000..ee48dd333d17
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json
new file mode 100644
index 000000000000..d6ba80c357d8
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json
new file mode 100644
index 000000000000..b201da715bed
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json
new file mode 100644
index 000000000000..1aab6c1ec2fb
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "location": "eastus2euap",
+ "properties": {
+ "friendlyName": "HelloName",
+ "description": "test description",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json
new file mode 100644
index 000000000000..54f2556dd473
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "underlyingResourceAction": "Delete"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
+ "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json
new file mode 100644
index 000000000000..690c28f0d699
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json
new file mode 100644
index 000000000000..f934ecce5a6d
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json
new file mode 100644
index 000000000000..b90f0bc77352
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "createdOn": "2017-09-26T22:28:08.327Z",
+ "provisioningState": "Succeeded",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "subnet": "test-subnet-resource-id",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ },
+ "allocationState": "Resizing",
+ "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
+ "errors": null,
+ "currentNodeCount": 0,
+ "targetNodeCount": 1,
+ "nodeStateCounts": {
+ "preparingNodeCount": 0,
+ "runningNodeCount": 0,
+ "idleNodeCount": 0,
+ "unusableNodeCount": 0,
+ "leavingNodeCount": 0,
+ "preemptedNodeCount": 0
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json
new file mode 100644
index 000000000000..d81e461cbd99
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute1234",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json
new file mode 100644
index 000000000000..1f337f997011
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json
new file mode 100644
index 000000000000..2372abce3514
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
+ "name": "testworkspace1",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName 1",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json
new file mode 100644
index 000000000000..f5773ab7679b
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json
new file mode 100644
index 000000000000..96829acd2c49
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AKS",
+ "userKubeConfig": "user kube config...",
+ "adminKubeConfig": "admin kube config...",
+ "imagePullSecretName": "the image pull secret name"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json
new file mode 100644
index 000000000000..94825e385523
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
+ "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
+ "appInsightsInstrumentationKey": null,
+ "containerRegistryCredentials": {
+ "location": null,
+ "username": "testdemoworkjmjmeykp",
+ "passwords": [
+ {
+ "name": "password",
+ "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
+ },
+ {
+ "name": "password2",
+ "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json
new file mode 100644
index 000000000000..b6a9b2c410bc
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json
new file mode 100644
index 000000000000..67bcfb233275
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json
new file mode 100644
index 000000000000..01f0f9684575
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "id": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "properties": {
+ "agentCount": 4
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json
new file mode 100644
index 000000000000..bcb7cf3c8c31
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json
new file mode 100644
index 000000000000..ed1f3b938cef
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "properties": {
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
new file mode 100644
index 000000000000..750aeedeb7b6
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
@@ -0,0 +1,2241 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Machine Learning Workspaces",
+ "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.",
+ "version": "2019-05-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.MachineLearningServices/operations": {
+ "get": {
+ "tags": [
+ "Operation"
+ ],
+ "description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Gets the properties of the specified machine learning workspace.",
+ "operationId": "Workspaces_Get",
+ "x-ms-examples": {
+ "Get Workspace": {
+ "$ref": "./examples/getWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Creates or updates a workspace with the specified parameters.",
+ "operationId": "Workspaces_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create Workspace": {
+ "$ref": "./examples/createWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for creating or updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "201": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Deletes a machine learning workspace.",
+ "operationId": "Workspaces_Delete",
+ "x-ms-examples": {
+ "Delete Workspace": {
+ "$ref": "./examples/deleteWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "204": {
+ "description": "The machine learning workspace does not exist in the subscription."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Updates a machine learning workspace with the specified parameters.",
+ "operationId": "Workspaces_Update",
+ "x-ms-examples": {
+ "Update Workspace": {
+ "$ref": "./examples/updateWorkspace.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The parameters for updating a machine learning workspace.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/WorkspaceUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified resource group.",
+ "operationId": "Workspaces_ListByResourceGroup",
+ "x-ms-examples": {
+ "Get Workspaces by Resource Group": {
+ "$ref": "./examples/getWorkspacesByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
+ "operationId": "Workspaces_ListKeys",
+ "x-ms-examples": {
+ "List Workspace Keys": {
+ "$ref": "./examples/listWorkspaceKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/ListWorkspaceKeysResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": {
+ "post": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
+ "operationId": "Workspaces_ResyncKeys",
+ "x-ms-examples": {
+ "Resync Workspace Keys": {
+ "$ref": "./examples/resyncWorkspaceKeys.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": {
+ "get": {
+ "tags": [
+ "Usage"
+ ],
+ "operationId": "Usages_List",
+ "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandChildrenParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location for which resource usage is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListUsagesResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Usages": {
+ "$ref": "./examples/ListUsages.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": {
+ "get": {
+ "tags": [
+ "VirtualMachineSizes"
+ ],
+ "operationId": "VirtualMachineSizes_List",
+ "description": "Returns supported VM Sizes in a location",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location upon which virtual-machine-sizes is queried.",
+ "pattern": "^[-\\w\\._]+$"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/VirtualMachineSizeListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List VM Sizes": {
+ "$ref": "./examples/ListVMSizesResult.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": {
+ "get": {
+ "tags": [
+ "Workspaces"
+ ],
+ "description": "Lists all the available machine learning workspaces under the specified subscription.",
+ "operationId": "Workspaces_ListBySubscription",
+ "x-ms-examples": {
+ "Get Workspaces by subscription": {
+ "$ref": "./examples/getWorkspacesBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/WorkspaceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": {
+ "get": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "operationId": "MachineLearningCompute_ListByWorkspace",
+ "description": "Gets computes in specified workspace.",
+ "x-ms-examples": {
+ "Get Computes": {
+ "$ref": "./examples/getComputes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/PaginationParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The response includes a paginated array of Machine Learning computes and a URI to the next set of results, if any. For the more information the limits of the number of items in a resource group, see https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedComputeResourcesList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": {
+ "get": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Get",
+ "description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
+ "x-ms-examples": {
+ "Get a AKS Compute": {
+ "$ref": "./examples/getAKSCompute.json"
+ },
+ "Get a AML Compute": {
+ "$ref": "./examples/getAmlCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_CreateOrUpdate",
+ "description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a AML Compute": {
+ "$ref": "./examples/createBasicAmlCompute.json"
+ },
+ "Create AKS Compute": {
+ "$ref": "./examples/createBasicAKSCompute.json"
+ },
+ "Create a DataFactory Compute": {
+ "$ref": "./examples/createBasicDataFactoryCompute.json"
+ },
+ "Update a AML Compute": {
+ "$ref": "./examples/updateAmlCompute.json"
+ },
+ "Update a AKS Compute": {
+ "$ref": "./examples/updateAKSCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeDefinitionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Compute creation or update initiated.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "201": {
+ "description": "Compute creation or update initiated.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for asynchronous operation status.",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Update",
+ "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update a AmlCompute Compute": {
+ "$ref": "./examples/patchAmlCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ClusterUpdateParameters"
+ },
+ "description": "Additional parameters for cluster update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Compute update initiated.",
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_Delete",
+ "description": "Deletes specified Machine Learning compute.",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete Compute": {
+ "$ref": "./examples/deleteCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/UnderlyingResourceActionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "Compute deletion initiated.",
+ "headers": {
+ "Azure-AsyncOperation": {
+ "description": "URI to poll for asynchronous operation status.",
+ "type": "string"
+ },
+ "Location": {
+ "description": "URI to poll for asynchronous operation result.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the request failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": {
+ "post": {
+ "tags": [
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_ListNodes",
+ "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation was successful. The response contains the list of IP addresses.",
+ "schema": {
+ "$ref": "#/definitions/AmlComputeNodesInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get compute nodes information for a compute": {
+ "$ref": "./examples/amlComputeListNodes.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": {
+ "post": {
+ "tags": [
+ "OperationalizationClusters",
+ "MachineLearningComputes"
+ ],
+ "operationId": "MachineLearningCompute_ListKeys",
+ "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
+ "x-ms-examples": {
+ "List AKS Compute Keys": {
+ "$ref": "./examples/listKeysAKSCompute.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/WorkspaceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ComputeNameParameter"
+ },
+ {
+ "$ref": "#/parameters/APIVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success.",
+ "schema": {
+ "$ref": "#/definitions/ComputeSecrets"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "description": "Azure subscription identifier.",
+ "in": "path",
+ "type": "string",
+ "required": true
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "description": "Name of the resource group in which workspace is located.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "WorkspaceNameParameter": {
+ "name": "workspaceName",
+ "description": "Name of Azure Machine Learning workspace.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeNameParameter": {
+ "name": "computeName",
+ "description": "Name of the Azure Machine Learning compute.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "AsyncOperationIdParameter": {
+ "name": "asyncOperationId",
+ "description": "Identifier of an asynchronous Azure Machine Learning compute operation.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "LocationParameter": {
+ "name": "location",
+ "description": "The name of the Azure location/region.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ "APIVersionParameter": {
+ "in": "query",
+ "name": "api-version",
+ "type": "string",
+ "description": "Version of Azure Machine Learning resource provider API.",
+ "required": true
+ },
+ "ExpandChildrenParameter": {
+ "in": "query",
+ "name": "expandChildren",
+ "type": "string",
+ "description": "Specifies if detailed usages of child resources are required.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "PaginationParameter": {
+ "in": "query",
+ "name": "$skiptoken",
+ "type": "string",
+ "description": "Continuation token for pagination.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeDefinitionParameter": {
+ "in": "body",
+ "name": "parameters",
+ "description": "Payload with Machine Learning compute definition.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ComputeResource"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "ComputeTypeParameter": {
+ "in": "query",
+ "name": "compute-type",
+ "type": "string",
+ "description": "Type of compute to filter by.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "UnderlyingResourceActionParameter": {
+ "in": "query",
+ "name": "underlyingResourceAction",
+ "type": "string",
+ "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.",
+ "required": true,
+ "enum": [
+ "Delete",
+ "Detach"
+ ],
+ "x-ms-enum": {
+ "name": "UnderlyingResourceAction",
+ "modelAsString": true
+ },
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "definitions": {
+ "Operation": {
+ "description": "Azure Machine Learning workspace REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display name of operation",
+ "properties": {
+ "provider": {
+ "description": "The resource provider name: Microsoft.MachineLearningExperimentation",
+ "type": "string"
+ },
+ "resource": {
+ "description": "The resource on which the operation is performed.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "The operation that users can perform.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description for the operation.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "An array of operations supported by the resource provider.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of AML workspace operations supported by the AML workspace resource provider."
+ }
+ }
+ },
+ "Workspace": {
+ "type": "object",
+ "description": "An object that represents a machine learning workspace.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/WorkspaceProperties",
+ "description": "The properties of the machine learning workspace.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspaceProperties": {
+ "type": "object",
+ "description": "The properties of a machine learning workspace.",
+ "properties": {
+ "workspaceId": {
+ "description": "The immutable id associated with this workspace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "description": {
+ "description": "The description of this workspace.",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "The friendly name for this workspace. This name in mutable",
+ "type": "string"
+ },
+ "creationTime": {
+ "format": "date-time",
+ "description": "The creation time of the machine learning workspace in ISO8601 format.",
+ "type": "string",
+ "readOnly": true
+ },
+ "keyVault": {
+ "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "applicationInsights": {
+ "description": "ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "containerRegistry": {
+ "description": "ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "storageAccount": {
+ "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created",
+ "type": "string"
+ },
+ "discoveryUrl": {
+ "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services",
+ "type": "string"
+ },
+ "provisioningState": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Updating",
+ "Creating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true,
+ "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning."
+ }
+ }
+ },
+ "WorkspaceUpdateParameters": {
+ "description": "The parameters for updating a machine learning workspace.",
+ "properties": {
+ "tags": {
+ "description": "The resource tags for the machine learning workspace.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "$ref": "#/definitions/WorkspacePropertiesUpdateParameters",
+ "description": "The properties that the machine learning workspace will be updated with.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "WorkspacePropertiesUpdateParameters": {
+ "description": "The parameters for updating the properties of a machine learning workspace.",
+ "properties": {
+ "description": {
+ "description": "The description of this workspace.",
+ "type": "string"
+ },
+ "friendlyName": {
+ "description": "The friendly name for this workspace.",
+ "type": "string"
+ }
+ }
+ },
+ "UsageName": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "localizedValue": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The localized name of the resource."
+ }
+ },
+ "description": "The Usage Names."
+ },
+ "Usage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource ID."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the resource type."
+ },
+ "unit": {
+ "readOnly": true,
+ "type": "string",
+ "description": "An enum describing the unit of usage measurement.",
+ "enum": [
+ "Count"
+ ],
+ "x-ms-enum": {
+ "name": "UsageUnit",
+ "modelAsString": true
+ }
+ },
+ "currentValue": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The current usage of the resource."
+ },
+ "limit": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int64",
+ "description": "The maximum permitted usage of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "$ref": "#/definitions/UsageName",
+ "description": "The name of the type of usage."
+ }
+ },
+ "description": "Describes AML Resource Usage."
+ },
+ "ListUsagesResult": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Usage"
+ },
+ "description": "The list of AML resource usages."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information."
+ }
+ },
+ "description": "The List Usages operation response."
+ },
+ "VirtualMachineSize": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "Virtual Machine size name",
+ "description": "The name of the virtual machine size.",
+ "readOnly": true
+ },
+ "family": {
+ "type": "string",
+ "title": "Virtual Machine family name",
+ "description": "The family name of the virtual machine size.",
+ "readOnly": true
+ },
+ "vCPUs": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Number of vPUs",
+ "description": "The number of vCPUs supported by the virtual machine size.",
+ "readOnly": true
+ },
+ "osVhdSizeMB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "OS VHD Disk size",
+ "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.",
+ "readOnly": true
+ },
+ "maxResourceVolumeMB": {
+ "type": "integer",
+ "format": "int32",
+ "title": "Resource volume size",
+ "description": "The resource volume size, in MB, allowed by the virtual machine size.",
+ "readOnly": true
+ },
+ "memoryGB": {
+ "type": "number",
+ "format": "double",
+ "title": "Memory size",
+ "description": "The amount of memory, in GB, supported by the virtual machine size.",
+ "readOnly": true
+ },
+ "lowPriorityCapable": {
+ "type": "boolean",
+ "title": "Low priority capable",
+ "description": "Specifies if the virtual machine size supports low priority VMs.",
+ "readOnly": true
+ },
+ "premiumIO": {
+ "type": "boolean",
+ "title": "Premium IO supported",
+ "description": "Specifies if the virtual machine size supports premium IO.",
+ "readOnly": true
+ }
+ },
+ "description": "Describes the properties of a VM size."
+ },
+ "VirtualMachineSizeListResult": {
+ "properties": {
+ "amlCompute": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineSize"
+ },
+ "description": "The list of virtual machine sizes supported by AmlCompute."
+ }
+ },
+ "description": "The List Virtual Machine size operation response."
+ },
+ "WorkspaceListResult": {
+ "description": "The result of a request to list machine learning workspaces.",
+ "properties": {
+ "value": {
+ "description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Workspace"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next list of machine learning workspaces.",
+ "type": "string"
+ }
+ }
+ },
+ "Identity": {
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal ID of resource identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant ID of resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "The identity type.",
+ "enum": [
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ }
+ },
+ "description": "Identity for the resource."
+ },
+ "Resource": {
+ "description": "Azure Resource Manager resource envelope.",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "id": {
+ "description": "Specifies the resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Specifies the name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "readOnly": true,
+ "description": "The identity of the resource."
+ },
+ "location": {
+ "description": "Specifies the location of the resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Specifies the type of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "tags": {
+ "description": "Contains resource tags defined as key/value pairs.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ResourceId": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the resource"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.",
+ "x-ms-azure-resource": true
+ },
+ "ListWorkspaceKeysResult": {
+ "type": "object",
+ "properties": {
+ "userStorageKey": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "userStorageResourceId": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "appInsightsInstrumentationKey": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "containerRegistryCredentials": {
+ "readOnly": true,
+ "$ref": "#/definitions/RegistryListCredentialsResult"
+ }
+ }
+ },
+ "RegistryListCredentialsResult": {
+ "type": "object",
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "username": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "passwords": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Password"
+ }
+ }
+ }
+ },
+ "Password": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string"
+ },
+ "value": {
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "PaginatedComputeResourcesList": {
+ "type": "object",
+ "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.",
+ "items": {
+ "$ref": "#/definitions/ComputeResource"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "A continuation link (absolute URI) to the next page of results in the list."
+ }
+ }
+ },
+ "ComputeResource": {
+ "type": "object",
+ "description": "Machine Learning compute object wrapped into ARM resource envelope.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Compute properties",
+ "$ref": "#/definitions/Compute"
+ }
+ }
+ }
+ ]
+ },
+ "Compute": {
+ "type": "object",
+ "description": "Machine Learning compute object.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ },
+ "computeLocation": {
+ "description": "Location for the underlying compute",
+ "type": "string"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.",
+ "enum": [
+ "Unknown",
+ "Updating",
+ "Creating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the Machine Learning compute."
+ },
+ "createdOn": {
+ "type": "string",
+ "description": "The date and time when the compute was created.",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "modifiedOn": {
+ "type": "string",
+ "description": "The date and time when the compute was last modified.",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "ARM resource id of the underlying compute"
+ },
+ "provisioningErrors": {
+ "type": "array",
+ "description": "Errors during provisioning",
+ "items": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ },
+ "readOnly": true
+ },
+ "isAttachedCompute": {
+ "type": "boolean",
+ "description": "Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AKS": {
+ "description": "A Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "description": "AKS properties",
+ "properties": {
+ "clusterFqdn": {
+ "description": "Cluster full qualified domain name",
+ "type": "string"
+ },
+ "systemServices": {
+ "type": "array",
+ "description": "System services",
+ "items": {
+ "$ref": "#/definitions/SystemService"
+ },
+ "readOnly": true
+ },
+ "agentCount": {
+ "description": "Number of agents",
+ "type": "integer",
+ "minimum": 1
+ },
+ "agentVMSize": {
+ "description": "Agent virtual machine size",
+ "type": "string"
+ },
+ "sslConfiguration": {
+ "description": "SSL configuration",
+ "$ref": "#/definitions/SslConfiguration"
+ },
+ "aksNetworkingConfiguration": {
+ "description": "AKS networking configuration for vnet",
+ "$ref": "#/definitions/AksNetworkingConfiguration"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AKS"
+ },
+ "AmlCompute": {
+ "description": "An Azure Machine Learning compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "AML Compute properties",
+ "type": "object",
+ "properties": {
+ "vmSize": {
+ "description": "Virtual Machine Size",
+ "type": "string"
+ },
+ "vmPriority": {
+ "description": "Virtual Machine priority",
+ "type": "string",
+ "enum": [
+ "Dedicated",
+ "LowPriority"
+ ],
+ "x-ms-enum": {
+ "name": "VmPriority",
+ "modelAsString": true
+ }
+ },
+ "scaleSettings": {
+ "description": "Scale settings for AML Compute",
+ "$ref": "#/definitions/ScaleSettings"
+ },
+ "userAccountCredentials": {
+ "title": "User account credentials.",
+ "description": "Credentials for an administrator user account that will be created on each compute node.",
+ "$ref": "#/definitions/UserAccountCredentials"
+ },
+ "subnet": {
+ "title": "Subnet.",
+ "description": "Virtual network subnet resource ID the compute nodes belong to.",
+ "$ref": "#/definitions/ResourceId"
+ },
+ "allocationState": {
+ "type": "string",
+ "readOnly": true,
+ "title": "Allocation state.",
+ "description": "Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.",
+ "enum": [
+ "Steady",
+ "Resizing"
+ ],
+ "x-ms-enum": {
+ "name": "AllocationState",
+ "modelAsString": true
+ }
+ },
+ "allocationStateTransitionTime": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "title": "Allocation state transition time.",
+ "description": "The time at which the compute entered its current allocation state."
+ },
+ "errors": {
+ "readOnly": true,
+ "title": "Errors.",
+ "description": "Collection of errors encountered by various compute nodes during node setup.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MachineLearningServiceError"
+ }
+ },
+ "currentNodeCount": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int32",
+ "title": "Current node count.",
+ "description": "The number of compute nodes currently assigned to the compute."
+ },
+ "targetNodeCount": {
+ "type": "integer",
+ "readOnly": true,
+ "format": "int32",
+ "title": "Target node count.",
+ "description": "The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation."
+ },
+ "nodeStateCounts": {
+ "title": "Node state counts.",
+ "description": "Counts of various node states on the compute.",
+ "readOnly": true,
+ "$ref": "#/definitions/NodeStateCounts"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "VirtualMachine": {
+ "description": "A Machine Learning compute based on Azure Virtual Machines.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "virtualMachineSize": {
+ "description": "Virtual Machine size",
+ "type": "string"
+ },
+ "sshPort": {
+ "description": "Port open for ssh connections.",
+ "type": "integer"
+ },
+ "address": {
+ "description": "Public IP address of the virtual machine.",
+ "type": "string"
+ },
+ "administratorAccount": {
+ "description": "Admin credentials for virtual machine",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "VirtualMachine"
+ },
+ "HDInsight": {
+ "description": "A HDInsight compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "sshPort": {
+ "description": "Port open for ssh connections on the master node of the cluster.",
+ "type": "integer"
+ },
+ "address": {
+ "description": "Public IP address of the master node of the cluster.",
+ "type": "string"
+ },
+ "administratorAccount": {
+ "description": "Admin credentials for master node of the cluster",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "HDInsight"
+ },
+ "DataFactory": {
+ "description": "A DataFactory compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ }
+ ],
+ "x-ms-discriminator-value": "DataFactory"
+ },
+ "Databricks": {
+ "description": "A DataFactory compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "databricksAccessToken": {
+ "description": "Databricks access token",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "Databricks"
+ },
+ "DataLakeAnalytics": {
+ "description": "A DataLakeAnalytics compute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Compute"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "properties": {
+ "dataLakeStoreAccountName": {
+ "description": "DataLake Store Account Name",
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "DataLakeAnalytics"
+ },
+ "ServicePrincipalCredentials": {
+ "type": "object",
+ "description": "Service principal credentials.",
+ "properties": {
+ "clientId": {
+ "description": "Client Id",
+ "type": "string"
+ },
+ "clientSecret": {
+ "description": "Client secret",
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientId",
+ "clientSecret"
+ ]
+ },
+ "SystemService": {
+ "type": "object",
+ "description": "A system service running on a compute.",
+ "properties": {
+ "systemServiceType": {
+ "description": "The type of this system service.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "Public IP address",
+ "readOnly": true
+ },
+ "version": {
+ "description": "The version for this type.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "SslConfiguration": {
+ "type": "object",
+ "description": "The ssl configuration for scoring",
+ "properties": {
+ "status": {
+ "description": "Enable or disable ssl for scoring",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ]
+ },
+ "cert": {
+ "description": "Cert data",
+ "type": "string"
+ },
+ "key": {
+ "description": "Key data",
+ "type": "string"
+ },
+ "cname": {
+ "description": "CNAME of the cert",
+ "type": "string"
+ }
+ }
+ },
+ "AksNetworkingConfiguration": {
+ "type": "object",
+ "description": "Advance configuration for AKS networking",
+ "properties": {
+ "subnetId": {
+ "description": "Virtual network subnet resource ID the compute nodes belong to",
+ "type": "string"
+ },
+ "serviceCidr": {
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.",
+ "type": "string"
+ },
+ "dnsServiceIP": {
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
+ "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.",
+ "type": "string"
+ },
+ "dockerBridgeCidr": {
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
+ "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.",
+ "type": "string"
+ }
+ }
+ },
+ "UserAccountCredentials": {
+ "properties": {
+ "adminUserName": {
+ "type": "string",
+ "title": "User name.",
+ "description": "Name of the administrator user account which can be used to SSH to nodes."
+ },
+ "adminUserSshPublicKey": {
+ "type": "string",
+ "title": "SSH public key.",
+ "description": "SSH public key of the administrator user account."
+ },
+ "adminUserPassword": {
+ "type": "string",
+ "title": "Password.",
+ "description": "Password of the administrator user account."
+ }
+ },
+ "required": [
+ "adminUserName"
+ ],
+ "description": "Settings for user account that gets created on each on the nodes of a compute."
+ },
+ "ScaleSettings": {
+ "type": "object",
+ "description": "scale settings for AML Compute",
+ "properties": {
+ "maxNodeCount": {
+ "description": "Max number of nodes to use",
+ "type": "integer"
+ },
+ "minNodeCount": {
+ "description": "Min number of nodes to use",
+ "type": "integer",
+ "default": 0
+ },
+ "nodeIdleTimeBeforeScaleDown": {
+ "type": "string",
+ "format": "duration",
+ "description": "Node Idle Time before scaling down amlCompute"
+ }
+ },
+ "required": [
+ "maxNodeCount"
+ ]
+ },
+ "NodeStateCounts": {
+ "properties": {
+ "idleNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Idle node count.",
+ "description": "Number of compute nodes in idle state."
+ },
+ "runningNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Running node count.",
+ "description": "Number of compute nodes which are running jobs."
+ },
+ "preparingNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Preparing node count.",
+ "description": "Number of compute nodes which are being prepared."
+ },
+ "unusableNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Unusable node count.",
+ "description": "Number of compute nodes which are in unusable state."
+ },
+ "leavingNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Leaving node count.",
+ "description": "Number of compute nodes which are leaving the amlCompute."
+ },
+ "preemptedNodeCount": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "title": "Preempted node count.",
+ "description": "Number of compute nodes which are in preempted state."
+ }
+ },
+ "description": "Counts of various compute node states on the amlCompute."
+ },
+ "ClusterUpdateProperties": {
+ "properties": {
+ "scaleSettings": {
+ "$ref": "#/definitions/ScaleSettings",
+ "title": "Scale settings.",
+ "description": "Desired scale settings for the amlCompute."
+ }
+ },
+ "description": "The properties of a amlCompute that need to be updated."
+ },
+ "ClusterUpdateParameters": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ClusterUpdateProperties",
+ "description": "The properties of the amlCompute."
+ }
+ },
+ "description": "AmlCompute update parameters."
+ },
+ "ComputeNodesInformation": {
+ "type": "object",
+ "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The continuation token."
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AmlComputeNodesInformation": {
+ "description": "Compute node information related to a AmlCompute.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeNodesInformation"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "nodes": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AmlComputeNodeInformation"
+ },
+ "description": "The collection of returned AmlCompute nodes details."
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "AmlComputeNodeInformation": {
+ "description": "Compute node information related to a AmlCompute.",
+ "properties": {
+ "nodeId": {
+ "readOnly": true,
+ "type": "string",
+ "title": "Node ID.",
+ "description": "ID of the compute node."
+ },
+ "ipAddress": {
+ "readOnly": true,
+ "type": "string",
+ "title": "IP address.",
+ "description": "Public IP address of the compute node."
+ },
+ "port": {
+ "readOnly": true,
+ "type": "number",
+ "format": "int32",
+ "title": "Port.",
+ "description": "SSH port number of the node."
+ }
+ },
+ "x-ms-discriminator-value": "AmlCompute"
+ },
+ "VirtualMachineSshCredentials": {
+ "type": "object",
+ "description": "Admin credentials for virtual machine",
+ "properties": {
+ "username": {
+ "description": "Username of admin account",
+ "type": "string"
+ },
+ "password": {
+ "description": "Password of admin account",
+ "type": "string"
+ },
+ "publicKeyData": {
+ "description": "Public key data",
+ "type": "string"
+ },
+ "privateKeyData": {
+ "description": "Private key data",
+ "type": "string"
+ }
+ }
+ },
+ "ComputeSecrets": {
+ "type": "object",
+ "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.",
+ "discriminator": "computeType",
+ "properties": {
+ "computeType": {
+ "description": "The type of compute",
+ "$ref": "#/definitions/ComputeType"
+ }
+ },
+ "required": [
+ "computeType"
+ ]
+ },
+ "AksComputeSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "userKubeConfig": {
+ "type": "string",
+ "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
+ },
+ "adminKubeConfig": {
+ "type": "string",
+ "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster."
+ },
+ "imagePullSecretName": {
+ "type": "string",
+ "description": "Image registry pull secret."
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "AKS"
+ },
+ "VirtualMachineSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on AKS.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "administratorAccount": {
+ "description": "Admin credentials for virtual machine.",
+ "$ref": "#/definitions/VirtualMachineSshCredentials"
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "VirtualMachine"
+ },
+ "DatabricksComputeSecrets": {
+ "description": "Secrets related to a Machine Learning compute based on Databricks.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ComputeSecrets"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "databricksAccessToken": {
+ "description": "access token for databricks account.",
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "x-ms-discriminator-value": "Databricks"
+ },
+ "ComputeType": {
+ "type": "string",
+ "description": "The type of compute",
+ "enum": [
+ "AKS",
+ "AmlCompute",
+ "DataFactory",
+ "VirtualMachine",
+ "HDInsight",
+ "Databricks",
+ "DataLakeAnalytics"
+ ],
+ "x-ms-enum": {
+ "name": "ComputeType",
+ "modelAsString": true
+ }
+ },
+ "MachineLearningServiceError": {
+ "type": "object",
+ "description": "Wrapper for error response to follow ARM guidelines.",
+ "properties": {
+ "error": {
+ "description": "The error response.",
+ "$ref": "#/definitions/ErrorResponse",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "type": "object",
+ "description": "Error response information.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code.",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message.",
+ "readOnly": true
+ },
+ "details": {
+ "type": "array",
+ "description": "An array of error detail objects.",
+ "items": {
+ "$ref": "#/definitions/ErrorDetail"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorDetail": {
+ "type": "object",
+ "description": "Error detail information.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/readme.go.md b/specification/machinelearningservices/resource-manager/readme.go.md
index d28844d890f9..83595d1a65eb 100644
--- a/specification/machinelearningservices/resource-manager/readme.go.md
+++ b/specification/machinelearningservices/resource-manager/readme.go.md
@@ -6,21 +6,41 @@ These settings apply only when `--go` is specified on the command line.
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
- namespace: services
+ namespace: machinelearningservices
```
### Go multi-api
```yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-05-01
+ - tag: package-2018-11-19
- tag: package-2018-03-preview
```
+### Tag: package-2019-05-01 and go
+
+These settings apply only when `--tag=package-2019-05-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag)=='package-2019-05-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-05-01/$(namespace)
+```
+
+### Tag: package-2018-11-19 and go
+
+These settings apply only when `--tag=package-2018-11-19 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag)=='package-2018-11-19' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-11-19/$(namespace)
+```
+
### Tag: package-2018-03-preview and go
These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
```yaml $(tag)=='package-2018-03-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/machinelearning/mgmt/2018-03-01-preview/$(namespace)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-03-01-preview/$(namespace)
```
diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md
index ddf600ebad0a..9f255bf53564 100644
--- a/specification/machinelearningservices/resource-manager/readme.md
+++ b/specification/machinelearningservices/resource-manager/readme.md
@@ -19,16 +19,31 @@ To see additional help and options, run:
## Configuration
-
-
### Basic Information
These are the global settings for the Machine Learning Services API.
``` yaml
openapi-type: arm
-tag: package-2018-03-preview
+tag: package-2019-05-01
+```
+
+### Tag: package-2019-05-01
+
+These settings apply only when `--tag=package-2019-05-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-05-01'
+input-file:
+- Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
```
+### Tag: package-2018-11-19
+
+These settings apply only when `--tag=package-2018-11-19` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-11-19'
+input-file:
+- Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
+```
### Tag: package-2018-03-preview
@@ -71,33 +86,6 @@ csharp:
clear-output-folder: true
```
-## Python
-
-These settings apply only when `--python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
-
-``` yaml $(python)
-python-mode: create
-python:
- azure-arm: true
- license-header: MICROSOFT_MIT_NO_VERSION
- payload-flattening-threshold: 2
- namespace: azure.mgmt.machinelearningservices
- package-name: azure-mgmt-machinelearningservices
- package-version: 0.1.0
- clear-output-folder: true
-```
-``` yaml $(python) && $(python-mode) == 'update'
-python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices
-```
-``` yaml $(python) && $(python-mode) == 'create'
-python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/azure-mgmt-machinelearningservices
-```
## Go
@@ -121,9 +109,37 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/ser
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-05-01
+ - tag: package-2018-11-19
- tag: package-2018-03-preview
```
+### Tag: package-2019-05-01 and java
+
+These settings apply only when `--tag=package-2019-05-01 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2019-05-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.machinelearningservices.v2019_05_01
+ output-folder: $(azure-libraries-for-java-folder)/machinelearningservices/resource-manager/v2019_05_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-11-19 and java
+
+These settings apply only when `--tag=package-2018-11-19 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-11-19' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.machinelearningservices.v2018_11_19
+ output-folder: $(azure-libraries-for-java-folder)/machinelearningservices/resource-manager/v2018_11_19
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2018-03-preview and java
These settings apply only when `--tag=package-2018-03-preview --java` is specified on the command line.
@@ -136,5 +152,3 @@ java:
regenerate-manager: true
generate-interface: true
```
-
-
diff --git a/specification/machinelearningservices/resource-manager/readme.python.md b/specification/machinelearningservices/resource-manager/readme.python.md
new file mode 100644
index 000000000000..1adbed6eb50e
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/readme.python.md
@@ -0,0 +1,27 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.machinelearningservices
+ package-name: azure-mgmt-machinelearningservices
+ package-version: 0.1.0
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningservices
+```
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationAssignment.json
index 937e2a8d21dd..b30665b51031 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationAssignment.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationAssignment.json
@@ -2,11 +2,11 @@
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
"registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
- "api-version": "2018-06-01-preview"
+ "api-version": "2019-04-01-preview"
},
"responses": {
"200": {},
"204": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationDefinition.json
index 4e3f74842337..8f7d0ca1e5d9 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationDefinition.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/DeleteRegistrationDefinition.json
@@ -2,10 +2,10 @@
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
"registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
- "api-version": "2018-06-01-preview"
+ "api-version": "2019-04-01-preview"
},
"responses": {
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetOperations.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetOperations.json
index 201a57fde609..0e76bdc3b1c8 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetOperations.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetOperations.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2018-06-01-preview"
+ "api-version": "2019-04-01-preview"
},
"responses": {
"200": {
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignment.json
index 037e28d104e8..efc27f28722e 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignment.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignment.json
@@ -2,7 +2,7 @@
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
"registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
- "api-version": "2018-06-01-preview"
+ "api-version": "2019-04-01-preview"
},
"responses": {
"200": {
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignments.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignments.json
index 927df9775458..f4c0d77582c7 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignments.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationAssignments.json
@@ -1,7 +1,7 @@
{
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
- "api-version": "2018-06-01-preview"
+ "api-version": "2019-04-01-preview"
},
"responses": {
"200": {
@@ -10,9 +10,9 @@
{
"properties": {
"registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
- "provisioningState": "Succeeded",
+ "provisioningState": "Succeeded",
"registrationDefinition": {
- "properties": {
+ "properties": {
"description": "Test",
"registrationDefinitionName": "DefinitionName",
"authorizations": [
@@ -21,7 +21,7 @@
"roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
}
],
- "provisioningState": "Succeeded",
+ "provisioningState": "Succeeded",
"manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854",
"manageeTenantName": "test_test_aad_SbtFhyGiLHPFm",
"managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
@@ -36,8 +36,8 @@
"id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
"type": "Microsoft.ManagedServices/registrationDefinitions",
"name": "26c128c2-fefa-4340-9bb1-8e081c90ada2"
- }
- },
+ }
+ },
"id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
"type": "Microsoft.ManagedServices/registrationAssignments",
"name": "484a7d5f-9729-4b87-bc9b-26610985a013"
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinition.json
index 2cf1f559505b..7b604562f6bd 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinition.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinition.json
@@ -2,7 +2,7 @@
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
"registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
- "api-version": "2018-06-01-preview"
+ "api-version": "2019-04-01-preview"
},
"responses": {
"200": {
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinitions.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinitions.json
index dc36251222c1..6d459491d38d 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinitions.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/GetRegistrationDefinitions.json
@@ -1,14 +1,14 @@
{
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
- "api-version": "2018-06-01-preview"
+ "api-version": "2019-04-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
- "properties": {
+ "properties": {
"description": "Test",
"managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
"registrationDefinitionName": "DefinitionName",
@@ -18,7 +18,7 @@
"roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
}
],
- "provisioningState": "Succeeded",
+ "provisioningState": "Succeeded",
"managedByTenantName": "Test Tenant"
},
"plan": {
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationAssignment.json
index ca06789ce914..5739d8d53cb1 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationAssignment.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationAssignment.json
@@ -2,7 +2,7 @@
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
"registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
- "api-version": "2018-06-01-preview",
+ "api-version": "2019-04-01-preview",
"requestBody": {
"properties": {
"registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2"
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationDefinition.json
index 1c9ec12f207d..1723f91c08b1 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationDefinition.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/examples/PutRegistrationDefinition.json
@@ -2,7 +2,7 @@
"parameters": {
"scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
"registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
- "api-version": "2018-06-01-preview",
+ "api-version": "2019-04-01-preview",
"requestBody": {
"properties": {
"registrationDefinitionName": "DefinitionName",
@@ -77,4 +77,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json
index a09ecd89b0c4..407c38b6327b 100644
--- a/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json
@@ -447,53 +447,53 @@
},
"RegistrationDefinitionProperties": {
"properties": {
- "description": {
- "type": "string",
- "description": "Description of the registration definition."
- },
- "authorizations": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Authorization"
- },
- "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
- },
- "registrationDefinitionName": {
- "type": "string",
- "description": "Name of the registration definition."
- },
- "managedByTenantId": {
- "type": "string",
- "description": "Id of the managedBy tenant."
- },
- "provisioningState": {
- "type": "string",
- "readOnly": true,
- "description": "Current state of the registration definition.",
- "enum": [
- "NotSpecified",
- "Accepted",
- "Running",
- "Ready",
- "Creating",
- "Created",
- "Deleting",
- "Deleted",
- "Canceled",
- "Failed",
- "Succeeded",
- "Updating"
- ],
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true
- }
+ "description": {
+ "type": "string",
+ "description": "Description of the registration definition."
+ },
+ "authorizations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Authorization"
},
- "managedByTenantName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the managedBy tenant."
+ "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
+ },
+ "registrationDefinitionName": {
+ "type": "string",
+ "description": "Name of the registration definition."
+ },
+ "managedByTenantId": {
+ "type": "string",
+ "description": "Id of the managedBy tenant."
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Current state of the registration definition.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
}
+ },
+ "managedByTenantName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the managedBy tenant."
+ }
},
"required": [
"managedByTenantId",
@@ -503,7 +503,7 @@
"description": "Properties of a registration definition."
},
"RegistrationDefinitionList": {
- "properties": {
+ "properties": {
"value": {
"type": "array",
"readOnly": true,
@@ -557,23 +557,23 @@
"type": "string",
"description": "Current state of the registration assignment.",
"enum": [
- "NotSpecified",
- "Accepted",
- "Running",
- "Ready",
- "Creating",
- "Created",
- "Deleting",
- "Deleted",
- "Canceled",
- "Failed",
- "Succeeded",
- "Updating"
- ],
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true
- }
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
},
"registrationDefinition": {
"readOnly": true,
@@ -660,7 +660,9 @@
"description": "Registration definition inside registration assignment."
}
},
- "required":["registrationDefinitionId"],
+ "required": [
+ "registrationDefinitionId"
+ ],
"type": "object",
"description": "Properties of a registration assignment."
},
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json
new file mode 100644
index 000000000000..bf296dd20764
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json
new file mode 100644
index 000000000000..e49cd019a9f7
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json
new file mode 100644
index 000000000000..56d89bd46400
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.ManagedServices/registrationDefinitions/read",
+ "display": {
+ "provider": "Microsoft Managed Services",
+ "resource": "Managed Services Registration Definition",
+ "operation": "List Managed Services Registration Definitions",
+ "description": "Retrieves a list of Managed Services registration definitions."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json
new file mode 100644
index 000000000000..37b79850b164
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded",
+ "registrationDefinition": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854",
+ "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm",
+ "managedByTenantName": "Contoso Corp."
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2"
+ }
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json
new file mode 100644
index 000000000000..f3355d221f1f
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded",
+ "registrationDefinition": {
+ "properties": {
+ "description": "Test",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854",
+ "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "managedByTenantName": "Contoso Corp."
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2"
+ }
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json
new file mode 100644
index 000000000000..a772ff5161d3
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "registrationDefinitionName": "DefinitionName",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json
new file mode 100644
index 000000000000..dbf8cc57fb18
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json
new file mode 100644
index 000000000000..db26691b85b0
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01",
+ "requestBody": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json
new file mode 100644
index 000000000000..5c5fde7daceb
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01",
+ "requestBody": {
+ "properties": {
+ "registrationDefinitionName": "DefinitionName",
+ "description": "Tes1t",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ]
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
new file mode 100644
index 000000000000..6f4a6b03172c
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
@@ -0,0 +1,846 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ManagedServicesClient",
+ "version": "2019-06-01",
+ "description": "Specification for ManagedServices."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.ManagedServices/registrationDefinitions/{registrationDefinitionId}": {
+ "get": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_Get",
+ "description": "Gets the registration definition details.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns the complete registration definition with plan details.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Definition": {
+ "$ref": "./examples/GetRegistrationDefinition.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_Delete",
+ "description": "Deletes the registration definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - The registration definition is deleted."
+ },
+ "204": {
+ "description": "No Content- The registration definition does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Registration Definition": {
+ "$ref": "./examples/DeleteRegistrationDefinition.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "description": "Creates or updates a registration definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "name": "requestBody",
+ "in": "body",
+ "required": true,
+ "description": "The parameters required to create new registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - Returns information about the updated registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "201": {
+ "description": "Created - Returns information about the created registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Put Registration Definition": {
+ "$ref": "./examples/PutRegistrationDefinition.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}": {
+ "get": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_Get",
+ "description": "Gets the details of specified registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandRegistrationDefinition"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns the registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Assignment": {
+ "$ref": "./examples/GetRegistrationAssignment.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_Delete",
+ "x-ms-long-running-operation": true,
+ "description": "Deletes the specified registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - The registration assignment is deleted."
+ },
+ "202": {
+ "description": "Accepted - The registration assignment deletion operation is accepted."
+ },
+ "204": {
+ "description": "No Content- The registration assignment does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Registration Assignment": {
+ "$ref": "./examples/DeleteRegistrationAssignment.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "description": "Creates or updates a registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "requestBody",
+ "in": "body",
+ "required": true,
+ "description": "The parameters required to create new registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - Returns information about the updated registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "201": {
+ "description": "Created - Returns information about the created registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Put Registration Assignment": {
+ "$ref": "./examples/PutRegistrationAssignment.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationDefinitions": {
+ "get": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_List",
+ "description": "Gets a list of the registration definitions.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of the registration definitions.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinitionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Registration Definitions": {
+ "$ref": "./examples/GetRegistrationDefinitions.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationAssignments": {
+ "get": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_List",
+ "description": "Gets a list of the registration assignments.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandRegistrationDefinition"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of the registration assignments.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignmentList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Registration Assignments": {
+ "$ref": "./examples/GetRegistrationAssignments.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ManagedServices/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of the operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Operations": {
+ "$ref": "./examples/GetOperations.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RegistrationDefinition": {
+ "properties": {
+ "properties": {
+ "description": "Properties of a registration definition.",
+ "$ref": "#/definitions/RegistrationDefinitionProperties"
+ },
+ "plan": {
+ "description": "Plan details for the managed services.",
+ "$ref": "#/definitions/Plan"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration definition."
+ }
+ },
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "description": "Registration definition."
+ },
+ "RegistrationDefinitionProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of the registration definition."
+ },
+ "authorizations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Authorization"
+ },
+ "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
+ },
+ "registrationDefinitionName": {
+ "type": "string",
+ "description": "Name of the registration definition."
+ },
+ "managedByTenantId": {
+ "type": "string",
+ "description": "Id of the managedBy tenant."
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Current state of the registration definition.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "managedByTenantName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the managedBy tenant."
+ }
+ },
+ "required": [
+ "managedByTenantId",
+ "authorizations"
+ ],
+ "type": "object",
+ "description": "Properties of a registration definition."
+ },
+ "RegistrationDefinitionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ },
+ "description": "List of registration definitions."
+ },
+ "nextLink": {
+ "description": "Link to next page of registration definitions.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "List of registration definitions."
+ },
+ "RegistrationAssignment": {
+ "properties": {
+ "properties": {
+ "description": "Properties of a registration assignment.",
+ "$ref": "#/definitions/RegistrationAssignmentProperties"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The fully qualified path of the registration assignment."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration assignment."
+ }
+ },
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "description": "Registration assignment."
+ },
+ "RegistrationAssignmentProperties": {
+ "properties": {
+ "registrationDefinitionId": {
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Current state of the registration assignment.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "registrationDefinition": {
+ "readOnly": true,
+ "properties": {
+ "properties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of the registration definition."
+ },
+ "authorizations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Authorization"
+ },
+ "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
+ },
+ "registrationDefinitionName": {
+ "type": "string",
+ "description": "Name of the registration definition."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Current state of the registration definition.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "manageeTenantId": {
+ "type": "string",
+ "description": "Id of the home tenant."
+ },
+ "manageeTenantName": {
+ "type": "string",
+ "description": "Name of the home tenant."
+ },
+ "managedByTenantId": {
+ "type": "string",
+ "description": "Id of the managedBy tenant."
+ },
+ "managedByTenantName": {
+ "type": "string",
+ "description": "Name of the managedBy tenant."
+ }
+ },
+ "description": "Properties of registration definition inside registration assignment."
+ },
+ "plan": {
+ "description": "Plan details for the managed services.",
+ "$ref": "#/definitions/Plan"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource (Microsoft.ManagedServices/registrationDefinitions)."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration definition."
+ }
+ },
+ "type": "object",
+ "description": "Registration definition inside registration assignment."
+ }
+ },
+ "required": [
+ "registrationDefinitionId"
+ ],
+ "type": "object",
+ "description": "Properties of a registration assignment."
+ },
+ "RegistrationAssignmentList": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ },
+ "description": "List of registration assignments."
+ },
+ "nextLink": {
+ "description": "Link to next page of registration assignments.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "List of registration assignments."
+ },
+ "Plan": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The plan name."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "The product code."
+ },
+ "version": {
+ "type": "string",
+ "description": "The plan's version."
+ }
+ },
+ "required": [
+ "name",
+ "publisher",
+ "product",
+ "version"
+ ],
+ "type": "object",
+ "description": "Plan details for the managed services."
+ },
+ "Operation": {
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Operation name: {provider}/{resource}/{operation}"
+ },
+ "display": {
+ "readOnly": true,
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "Service provider: Microsoft.ManagedServices"
+ },
+ "resource": {
+ "type": "string",
+ "description": "Resource on which the operation is performed: Registration definition, registration assignment etc."
+ },
+ "operation": {
+ "type": "string",
+ "description": "Operation type: Read, write, delete, etc."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the operation."
+ }
+ }
+ }
+ },
+ "type": "object",
+ "description": "Object that describes a single Microsoft.ManagedServices operation."
+ },
+ "OperationList": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Microsoft.ManagedServices operations."
+ }
+ },
+ "type": "object",
+ "description": "List of the operations."
+ },
+ "Authorization": {
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription"
+ },
+ "roleDefinitionId": {
+ "type": "string",
+ "description": "The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role."
+ }
+ },
+ "required": [
+ "principalId",
+ "roleDefinitionId"
+ ],
+ "type": "object",
+ "description": "Authorization tuple containing principal Id (of user/service principal/security group) and role definition id."
+ },
+ "ErrorResponse": {
+ "properties": {
+ "error": {
+ "readOnly": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "description": "Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message."
+ }
+ },
+ "description": "Error response."
+ }
+ },
+ "parameters": {
+ "ScopeParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "description": "Scope of the resource."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for this operation."
+ },
+ "RegistrationAssignmentIdParameter": {
+ "name": "registrationAssignmentId",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "Guid of the registration assignment."
+ },
+ "registrationDefinitionIdParameter": {
+ "name": "registrationDefinitionId",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "Guid of the registration definition."
+ },
+ "ExpandRegistrationDefinition": {
+ "name": "$expandRegistrationDefinition",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "description": "Tells whether to return registration definition details also along with registration assignment details."
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/readme.go.md b/specification/managedservices/resource-manager/readme.go.md
index 528ab78e06f5..ccecacca42db 100644
--- a/specification/managedservices/resource-manager/readme.go.md
+++ b/specification/managedservices/resource-manager/readme.go.md
@@ -9,6 +9,24 @@ go:
clear-output-folder: true
```
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-06
+ - tag: package-2019-04-preview
+ - tag: package-2018-06-preview
+```
+
+### Tag: package-2019-06 and go
+
+These settings apply only when `--tag=package-2019-06 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-06' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace)
+```
+
### Tag: package-2019-04-preview and go
These settings apply only when `--tag=package-2019-04-preview --go` is specified on the command line.
diff --git a/specification/managedservices/resource-manager/readme.md b/specification/managedservices/resource-manager/readme.md
index 88855e90cd10..75fb7c43e243 100644
--- a/specification/managedservices/resource-manager/readme.md
+++ b/specification/managedservices/resource-manager/readme.md
@@ -4,10 +4,10 @@
This is the AutoRest configuration file for Managed Services.
-
-
---
+
## Getting Started
+
To build the SDK for ManagedServices, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -15,20 +15,29 @@ To build the SDK for ManagedServices, simply [Install AutoRest](https://aka.ms/a
To see additional help and options, run:
> `autorest --help`
+
---
## Configuration
-
-
### Basic Information
+
These are the global settings for the ManagedServices API.
``` yaml
openapi-type: arm
-tag: package-2019-04-preview
+tag: package-2019-06
```
+
+### Tag: package-2019-06
+
+These settings apply only when `--tag=package-2019-06` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-06'
+input-file:
+ - Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
+```
### Tag: package-2019-04-preview
These settings apply only when `--tag=package-2019-04-preview` is specified on the command line.
@@ -48,8 +57,8 @@ input-file:
```
---
-# Code Generation
+# Code Generation
## Swagger to SDK
@@ -68,7 +77,6 @@ swagger-to-sdk:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_billing']
```
-
## C#
These settings apply only when `--csharp` is specified on the command line.
@@ -85,4 +93,4 @@ csharp:
## Go
-See configuration in [readme.go.md](./readme.go.md)
\ No newline at end of file
+See configuration in [readme.go.md](./readme.go.md)
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json
index 410980412b47..491ff4540b01 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json
@@ -9,9 +9,11 @@
},
"responses": {
"200": {
- "nameAvailable": "true|false",
- "reason": "Invalid|AlreadyExists",
- "message": ""
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": ""
+ }
}
}
}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json
index 13156d60aa8c..17c4a41cab8e 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json
@@ -2,7 +2,7 @@
"parameters": {
"api-version": "2018-01-01-preview",
"groupId": "ChildGroup",
- "createGroupRequest": {
+ "createManagementGroupRequest": {
"properties": {
"displayName": "ChildGroup",
"parent": {
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json
index 069f200486bc..b4029257d647 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json
@@ -9,9 +9,11 @@
},
"responses": {
"200": {
- "nameAvailable": "true|false",
- "reason": "Invalid|AlreadyExists",
- "message": ""
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": ""
+ }
}
}
}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetDescendants.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetDescendants.json
new file mode 100644
index 000000000000..564fe4fd0598
--- /dev/null
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/GetDescendants.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2018-03-01-preview",
+ "groupId": "20000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000",
+ "type": "/providers/Microsoft.Management/managementGroups",
+ "name": "20000000-0001-0000-0000-000000000000",
+ "properties": {
+ "displayName": "Group 1",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/20000000-0004-0000-0000-000000000000",
+ "type": "/subscriptions",
+ "name": "20000000-0004-0000-0000-000000000000",
+ "properties": {
+ "displayName": "Subscription 4",
+ "parent": {
+ "id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json
index ebf478b568ca..606eb7ca1963 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json
@@ -5,8 +5,10 @@
},
"responses": {
"200": {
- "tenantId": "20000000-0000-0000-0000-000000000000",
- "status": "Started"
+ "body": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "status": "Started"
+ }
}
}
}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json
index e80a4a561964..1e95785a5fcc 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json
@@ -5,8 +5,10 @@
},
"responses": {
"200": {
- "tenantId": "20000000-0000-0000-0000-000000000000",
- "status": "Started"
+ "body": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "status": "Started"
+ }
}
}
}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json
index cd93ff619537..dce21369519b 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json
@@ -272,6 +272,51 @@
"x-ms-long-running-operation": true
}
},
+ "/providers/Microsoft.Management/managementGroups/{groupId}/descendants": {
+ "post": {
+ "tags": [
+ "ManagementGroups_Descendants"
+ ],
+ "operationId": "ManagementGroups_GetDescendants",
+ "description": "List all entities that descend from a management group.\n",
+ "parameters": [
+ {
+ "$ref": "#/parameters/GroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SkipTokenParameter"
+ },
+ {
+ "$ref": "#/parameters/TopParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DescendantListResult"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GetDescendants": {
+ "$ref": "./examples/GetDescendants.json"
+ }
+ }
+ }
+ },
"/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}": {
"put": {
"tags": [
@@ -945,6 +990,76 @@
}
}
},
+ "DescendantListResult": {
+ "description": "Describes the result of the request to view descendants.",
+ "properties": {
+ "value": {
+ "description": "The list of descendants.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DescendantInfo"
+ }
+ },
+ "nextLink": {
+ "description": "The URL to use for getting the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "DescendantInfo": {
+ "description": "The descendant.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, /providers/Microsoft.Management/managementGroups or /subscriptions",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the descendant. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "properties": {
+ "title": "Properties",
+ "x-ms-client-flatten": true,
+ "x-nullable": true,
+ "$ref": "#/definitions/DescendantInfoProperties"
+ }
+ }
+ },
+ "DescendantInfoProperties": {
+ "description": "The generic properties of an descendant.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group.",
+ "x-nullable": true
+ },
+ "parent": {
+ "title": "Parent",
+ "$ref": "#/definitions/DescendantParentGroupInfo",
+ "x-nullable": true
+ }
+ }
+ },
+ "DescendantParentGroupInfo": {
+ "description": "The ID of the parent management group.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
"EntityListResult": {
"description": "Describes the result of the request to view entities.",
"properties": {
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json
index 81ee354035c0..8698804befdc 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/CheckNameAvailability.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json
index 084be8873d75..be36388c313d 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationCreateOrUpdate.json
@@ -6,7 +6,7 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
+ "properties": {
"value": "off",
"source": "user-override"
}
@@ -30,4 +30,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json
index c86a15752b67..6ef1f5fc04de 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationGet.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json
index e17eb29e1310..01fa68bfa33a 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ConfigurationListByServer.json
@@ -598,4 +598,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json
index 5cbd8be4c95c..63778e737c84 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseCreate.json
@@ -6,9 +6,9 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "charset":"utf8",
- "collation":"utf8_general_ci"
+ "properties": {
+ "charset": "utf8",
+ "collation": "utf8_general_ci"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json
index 7f513cbc3631..594cd7a4d947 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json
index ad3e04ba91b0..6957b23797c0 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json
index 433d9de6239e..319ac4834850 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/DatabaseListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json
index 478f32bcca6f..be8e9786c23c 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleCreate.json
@@ -6,9 +6,9 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "startIpAddress":"0.0.0.0",
- "endIpAddress":"255.255.255.255"
+ "properties": {
+ "startIpAddress": "0.0.0.0",
+ "endIpAddress": "255.255.255.255"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json
index b7efa2274f97..31ff7475182f 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json
index 8ea6c060589a..991ef3c7a9f8 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json
index 19ebb8a151ba..604c5203d79b 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/FirewallRuleListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json
index 9ca3b1a251d2..ce869d6e41d8 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/LogFileListByServer.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json
index 128dbb34efc9..245c99392370 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/OperationList.json
@@ -214,4 +214,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json
index eb15a29cb5fc..ba773d87b696 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json
@@ -92,4 +92,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json
index e5deac0bb9aa..a46ef1141d13 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ReplicasListByServer.json
@@ -30,7 +30,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver.mariadb.database.azure.com",
"version": "5.6",
@@ -48,7 +48,7 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
@@ -61,7 +61,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com",
"version": "5.6",
@@ -79,20 +79,20 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
- "properties": {
+ "properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com",
"version": "5.6",
@@ -106,4 +106,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json
index 1184ddb9c90a..b39e8dd93a1c 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreate.json
@@ -91,4 +91,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json
index a576d4673980..88a73cd8bf8c 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateGeoRestoreMode.json
@@ -1,87 +1,87 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "createMode": "GeoRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
+ "location": "westus",
+ "properties": {
+ "createMode": "GeoRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "westus",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "westus",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers",
+ "location": "westus",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json
index e4222b136323..432ff0d3a129 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreatePointInTimeRestore.json
@@ -1,88 +1,88 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "brazilsouth",
- "properties": {
- "restorePointInTime": "2017-12-14T00:00:37.467Z",
- "createMode": "PointInTimeRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "brazilsouth",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
+ "location": "brazilsouth",
+ "properties": {
+ "restorePointInTime": "2017-12-14T00:00:37.467Z",
+ "createMode": "PointInTimeRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "brazilsouth",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "brazilsouth",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers",
+ "location": "brazilsouth",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json
index 171406e889c5..8335290219be 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerCreateReplicaMode.json
@@ -81,4 +81,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json
index 2d3015f935d6..6a86cec544ed 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json
index 4ae14f56fadb..b4086096f776 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json
index 18bdcddc5016..8e7b0a20fab1 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerList.json
@@ -86,4 +86,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json
index 08b101192192..9062e828c299 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerListByResourceGroup.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json
index 25b3cbbc7cfc..8a6eec64860e 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerRestart.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
\ No newline at end of file
+ "parameters": {
+ "serverName": "testserver",
+ "resourceGroupName": "TestGroup",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json
index 37e7bf3decc1..dd25e366fa0e 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMax.json
@@ -1,39 +1,48 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01-preview",
- "parameters": {
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"],
- "retentionDays": 5,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"],
- "retentionDays": 5,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json
index adc54a788662..2f9902071d37 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsCreateMin.json
@@ -1,34 +1,33 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01-preview",
- "parameters": {
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true
- }
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [],
+ "disabledAlerts": [],
+ "retentionDays": 0,
+ "storageEndpoint": ""
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageEndpoint": ""
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json
index acac76e14846..0c0b4cb90e4a 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerSecurityAlertsGet.json
@@ -1,26 +1,30 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "test@microsoft.com;user@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly"
+ ],
+ "retentionDays": 0,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json
index 38798615afa3..66b86a6813ab 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/ServerUpdate.json
@@ -44,4 +44,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json
index f53ee5aec0d0..67b3b0a39cc3 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json
@@ -6,35 +6,35 @@
"virtualNetworkRuleName": "vnet-firewall-rule",
"api-version": "2018-06-01-preview",
"parameters": {
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
}
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "202": {}
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json
index d42649fe262c..c5ea31cb57b0 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "TestGroup",
+ "serverName": "vnet-test-svr",
+ "virtualNetworkRuleName": "vnet-firewall-rule",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ },
+ "204": {
+ "body": ""
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json
index ded4809766aa..27ac4ff55177 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesGet.json
@@ -7,17 +7,17 @@
"api-version": "2018-06-01-preview"
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json
index 331b5aa3f027..bcaba4c0368d 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesList.json
@@ -7,31 +7,31 @@
"api-version": "2018-06-01-preview"
},
"responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- ]
- }
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ },
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json
index c71cc25e2aae..5a391f81e5cf 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json
@@ -44,8 +44,8 @@
"Create a new server": {
"$ref": "./examples/ServerCreate.json"
},
- "Create a database as a point in time restore":{
- "$ref":"./examples/ServerCreatePointInTimeRestore.json"
+ "Create a database as a point in time restore": {
+ "$ref": "./examples/ServerCreatePointInTimeRestore.json"
},
"Create a server as a geo restore ": {
"$ref": "./examples/ServerCreateGeoRestoreMode.json"
@@ -293,7 +293,9 @@
],
"operationId": "Servers_Restart",
"x-ms-examples": {
- "ServerRestart": { "$ref": "./examples/ServerRestart.json" }
+ "ServerRestart": {
+ "$ref": "./examples/ServerRestart.json"
+ }
},
"description": "Restarts a server.",
"parameters": [
@@ -326,7 +328,7 @@
},
"x-ms-long-running-operation": true
}
- },
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/replicas": {
"get": {
"tags": [
@@ -1347,7 +1349,7 @@
"x-ms-mutability": [
"read",
"create"
- ],
+ ],
"description": "The location the resource resides in."
},
"tags": {
@@ -1447,7 +1449,7 @@
"format": "int32",
"description": "Max storage allowed for a server."
},
- "storageAutogrow" : {
+ "storageAutogrow": {
"type": "string",
"description": "Enable Storage Auto Grow.",
"enum": [
@@ -2276,7 +2278,7 @@
}
},
"description": "An error response from the Batch service."
- }
+ }
},
"parameters": {
"SubscriptionIdParameter": {
@@ -2361,4 +2363,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json
index d547976bab99..31ab6da04c11 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json
index be1a20a77a7a..65cf3730b1b6 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json
@@ -6,7 +6,7 @@
"api-version": "2018-06-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
+ "properties": {
"value": "off",
"source": "user-override"
}
@@ -30,4 +30,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json
index c742fb75969e..ee378a2516d7 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json
index 9d6f937021cf..409fd331305d 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json
@@ -598,4 +598,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json
index 0b0ffa2b8276..d4ccabe39680 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json
@@ -6,9 +6,9 @@
"api-version": "2018-06-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "charset":"utf8",
- "collation":"utf8_general_ci"
+ "properties": {
+ "charset": "utf8",
+ "collation": "utf8_general_ci"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json
index 8fb3bae30a47..d1d52f99130c 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json
index 9a48aa456d70..37c971e32133 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json
index 0307a92f626f..ecd533b78bcd 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json
index a788d945e9e0..9a416423697d 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json
@@ -6,9 +6,9 @@
"api-version": "2018-06-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "startIpAddress":"0.0.0.0",
- "endIpAddress":"255.255.255.255"
+ "properties": {
+ "startIpAddress": "0.0.0.0",
+ "endIpAddress": "255.255.255.255"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json
index 322a072c0209..a3891fa434de 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json
index e073fbc225d4..70f794d4e226 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json
index 7231a5428143..df35f93f8cc6 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json
index 89bf4bb4a8fe..7c961f4d9139 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json
index 5fee21cd2548..e5d4c6992f3f 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/OperationList.json
@@ -214,4 +214,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json
index d6c217745b17..bd4e7a26607e 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json
@@ -92,4 +92,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json
index decd570c9a8d..9a2ad8e212ac 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json
@@ -4,7 +4,10 @@
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "testResourceGroupName",
"serverName": "testServerName",
- "queryIds": [ "1", "2" ]
+ "queryIds": [
+ "1",
+ "2"
+ ]
},
"responses": {
"200": {
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json
index 6a501bd5ceab..e127d2619fb9 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "api-version": "2018-06-01-privatepreview",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "testResourceGroupName",
- "serverName": "testServerName",
- "advisorName": "Index",
- "databaseName": "someDatabaseName"
- },
- "responses": {
- "200": {},
- "202": {}
- }
+ "parameters": {
+ "api-version": "2018-06-01-privatepreview",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testResourceGroupName",
+ "serverName": "testServerName",
+ "advisorName": "Index",
+ "databaseName": "someDatabaseName"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
}
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json
index 9679de879c33..dbff8b3c4e89 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json
@@ -30,7 +30,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver.mariadb.database.azure.com",
"version": "5.6",
@@ -48,7 +48,7 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
@@ -61,7 +61,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com",
"version": "5.6",
@@ -79,20 +79,20 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
- "properties": {
+ "properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com",
"version": "5.6",
@@ -106,4 +106,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json
index c25bf15f2430..adcaa150fbcb 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreate.json
@@ -91,4 +91,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json
index c8f33b2ee7a5..b352e68e5f10 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json
@@ -1,87 +1,87 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2018-06-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "createMode": "GeoRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
+ "location": "westus",
+ "properties": {
+ "createMode": "GeoRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "westus",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "westus",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers",
+ "location": "westus",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json
index e8791c551045..05f6fdc02bbd 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json
@@ -1,88 +1,88 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2018-06-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "brazilsouth",
- "properties": {
- "restorePointInTime": "2017-12-14T00:00:37.467Z",
- "createMode": "PointInTimeRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "brazilsouth",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
+ "location": "brazilsouth",
+ "properties": {
+ "restorePointInTime": "2017-12-14T00:00:37.467Z",
+ "createMode": "PointInTimeRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "brazilsouth",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "brazilsouth",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers",
+ "location": "brazilsouth",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json
index f60da39a2c06..fd00d428392f 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json
@@ -81,4 +81,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json
index 2a1ad22df63e..f1950541bfd0 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json
index 97bad474fe4b..fb8fdea3d1f7 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json
index d5c2e5d0ccb3..de7b622078e6 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerList.json
@@ -86,4 +86,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json
index 07c4f381084f..7331423f71cd 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json
index 3a6333f8febc..3b08fa5928f2 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerRestart.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
\ No newline at end of file
+ "parameters": {
+ "serverName": "testserver",
+ "resourceGroupName": "TestGroup",
+ "api-version": "2018-06-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json
index ddd2caa7654b..36f74c0cf8a9 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json
@@ -1,39 +1,48 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01",
- "parameters": {
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"],
- "retentionDays": 5,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"],
- "retentionDays": 5,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json
index 704fcf37b4f3..e55f7fa38330 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json
@@ -1,34 +1,33 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01",
- "parameters": {
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true
- }
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [],
+ "disabledAlerts": [],
+ "retentionDays": 0,
+ "storageEndpoint": ""
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageEndpoint": ""
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json
index 6c7833d4d89c..749cbe317f46 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json
@@ -1,26 +1,30 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "test@microsoft.com;user@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly"
+ ],
+ "retentionDays": 0,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json
index 046eed085de4..cc84bc925628 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/ServerUpdate.json
@@ -44,4 +44,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json
index 87305a2a3432..25cf6245e6e1 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json
@@ -13,19 +13,19 @@
"name": "66-636923268000000000-636923277000000000-avg-duration",
"type": "Microsoft.DBforMariaDB/servers/queryStatistics",
"properties": {
- "aggregationFunction" : "avg",
+ "aggregationFunction": "avg",
"databaseNames": [
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb"
],
"startTime": "2019-05-01T17:00:00Z",
"endTime": "2019-05-01T17:15:00Z",
- "metricDisplayName":"Query duration",
+ "metricDisplayName": "Query duration",
"metricName": "duration",
"metricValue": 123.301446136,
"metricValueUnit": "milliseconds",
"queryExecutionCount": 1,
"queryId": "66"
- }
+ }
}
}
}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json
index 3315678eca8f..05e1f9515e13 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json
@@ -24,13 +24,13 @@
"name": "66-636923268000000000-636923277000000000-avg-duration",
"type": "Microsoft.DBforMariaDB/servers/queryStatistics",
"properties": {
- "aggregationFunction" : "avg",
+ "aggregationFunction": "avg",
"databaseNames": [
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb"
],
"startTime": "2019-05-01T17:00:00Z",
"endTime": "2019-05-01T17:15:00Z",
- "metricDisplayName":"Query duration",
+ "metricDisplayName": "Query duration",
"metricName": "duration",
"metricValue": 123.301446136,
"metricValueUnit": "milliseconds",
@@ -43,13 +43,13 @@
"name": "66-636924483000000000-636924492000000000-avg-duration",
"type": "Microsoft.DBforMariaDB/servers/queryStatistics",
"properties": {
- "aggregationFunction" : "avg",
+ "aggregationFunction": "avg",
"databaseNames": [
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMariaDB/servers/testServerName/databases/mariadb"
],
"startTime": "2019-05-03T02:45:00Z",
"endTime": "2019-05-03T03:00:00Z",
- "metricDisplayName":"Query duration",
+ "metricDisplayName": "Query duration",
"metricName": "duration",
"metricValue": 1712.301446136,
"metricValueUnit": "milliseconds",
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json
index 2df814ab4133..f4ba671f2acc 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json
@@ -6,35 +6,35 @@
"virtualNetworkRuleName": "vnet-firewall-rule",
"api-version": "2018-06-01",
"parameters": {
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
}
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "202": {}
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
index 25b007c52c42..cfb5339892be 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "TestGroup",
+ "serverName": "vnet-test-svr",
+ "virtualNetworkRuleName": "vnet-firewall-rule",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ },
+ "204": {
+ "body": ""
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json
index 1b97f04ccc5a..72eb33edf92a 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json
@@ -7,17 +7,17 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json
index e3ea4b632c8e..b55e9fb25c45 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json
@@ -7,31 +7,31 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- ]
- }
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ },
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
index 237172365fc3..bb7ed03ce2ba 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
@@ -45,7 +45,7 @@
"$ref": "./examples/ServerCreate.json"
},
"Create a database as a point in time restore": {
- "$ref":"./examples/ServerCreatePointInTimeRestore.json"
+ "$ref": "./examples/ServerCreatePointInTimeRestore.json"
},
"Create a server as a geo restore ": {
"$ref": "./examples/ServerCreateGeoRestoreMode.json"
@@ -293,7 +293,9 @@
],
"operationId": "Servers_Restart",
"x-ms-examples": {
- "ServerRestart": { "$ref": "./examples/ServerRestart.json" }
+ "ServerRestart": {
+ "$ref": "./examples/ServerRestart.json"
+ }
},
"description": "Restarts a server.",
"parameters": [
@@ -1907,7 +1909,7 @@
"x-ms-mutability": [
"read",
"create"
- ],
+ ],
"description": "The location the resource resides in."
},
"tags": {
@@ -2007,7 +2009,7 @@
"format": "int32",
"description": "Max storage allowed for a server."
},
- "storageAutogrow" : {
+ "storageAutogrow": {
"type": "string",
"description": "Enable Storage Auto Grow.",
"enum": [
@@ -3142,8 +3144,7 @@
}
},
"AdvisorProperties": {
- "properties": {
- },
+ "properties": {},
"description": "The properties of a recommendation action advisor."
},
"Advisor": {
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json
index d547976bab99..31ab6da04c11 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json
index be1a20a77a7a..65cf3730b1b6 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json
@@ -6,7 +6,7 @@
"api-version": "2018-06-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
+ "properties": {
"value": "off",
"source": "user-override"
}
@@ -30,4 +30,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json
index c742fb75969e..ee378a2516d7 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json
index 9d6f937021cf..409fd331305d 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json
@@ -598,4 +598,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json
index 0b0ffa2b8276..d4ccabe39680 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json
@@ -6,9 +6,9 @@
"api-version": "2018-06-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "charset":"utf8",
- "collation":"utf8_general_ci"
+ "properties": {
+ "charset": "utf8",
+ "collation": "utf8_general_ci"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json
index 8fb3bae30a47..d1d52f99130c 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json
index 9a48aa456d70..37c971e32133 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json
index 0307a92f626f..ecd533b78bcd 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json
index a788d945e9e0..9a416423697d 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json
@@ -6,9 +6,9 @@
"api-version": "2018-06-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "startIpAddress":"0.0.0.0",
- "endIpAddress":"255.255.255.255"
+ "properties": {
+ "startIpAddress": "0.0.0.0",
+ "endIpAddress": "255.255.255.255"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json
index 322a072c0209..a3891fa434de 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json
index e073fbc225d4..70f794d4e226 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json
index 7231a5428143..df35f93f8cc6 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json
index 89bf4bb4a8fe..7c961f4d9139 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json
index 5fee21cd2548..e5d4c6992f3f 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json
@@ -214,4 +214,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json
index d6c217745b17..bd4e7a26607e 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json
@@ -92,4 +92,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json
index 9679de879c33..dbff8b3c4e89 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json
@@ -30,7 +30,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver.mariadb.database.azure.com",
"version": "5.6",
@@ -48,7 +48,7 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
@@ -61,7 +61,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com",
"version": "5.6",
@@ -79,20 +79,20 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
- "properties": {
+ "properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com",
"version": "5.6",
@@ -106,4 +106,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json
index c25bf15f2430..adcaa150fbcb 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json
@@ -91,4 +91,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json
index c8f33b2ee7a5..b352e68e5f10 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json
@@ -1,87 +1,87 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2018-06-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "createMode": "GeoRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
+ "location": "westus",
+ "properties": {
+ "createMode": "GeoRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "westus",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "westus",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers",
+ "location": "westus",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json
index e8791c551045..05f6fdc02bbd 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json
@@ -1,88 +1,88 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2018-06-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "brazilsouth",
- "properties": {
- "restorePointInTime": "2017-12-14T00:00:37.467Z",
- "createMode": "PointInTimeRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "brazilsouth",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
+ "location": "brazilsouth",
+ "properties": {
+ "restorePointInTime": "2017-12-14T00:00:37.467Z",
+ "createMode": "PointInTimeRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "brazilsouth",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "brazilsouth",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMariaDB/servers",
+ "location": "brazilsouth",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json
index f60da39a2c06..fd00d428392f 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json
@@ -81,4 +81,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json
index 2a1ad22df63e..f1950541bfd0 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json
index 97bad474fe4b..fb8fdea3d1f7 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json
index d5c2e5d0ccb3..de7b622078e6 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json
@@ -86,4 +86,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json
index 07c4f381084f..7331423f71cd 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json
index 3a6333f8febc..3b08fa5928f2 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
\ No newline at end of file
+ "parameters": {
+ "serverName": "testserver",
+ "resourceGroupName": "TestGroup",
+ "api-version": "2018-06-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json
index ddd2caa7654b..36f74c0cf8a9 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json
@@ -1,39 +1,48 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01",
- "parameters": {
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"],
- "retentionDays": 5,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"],
- "retentionDays": 5,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json
index 704fcf37b4f3..e55f7fa38330 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json
@@ -1,34 +1,33 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01",
- "parameters": {
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true
- }
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [],
+ "disabledAlerts": [],
+ "retentionDays": 0,
+ "storageEndpoint": ""
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageEndpoint": ""
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json
index 6c7833d4d89c..749cbe317f46 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json
@@ -1,26 +1,30 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "test@microsoft.com;user@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly"
+ ],
+ "retentionDays": 0,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json
index 046eed085de4..cc84bc925628 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json
@@ -44,4 +44,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json
index 2df814ab4133..f4ba671f2acc 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json
@@ -6,35 +6,35 @@
"virtualNetworkRuleName": "vnet-firewall-rule",
"api-version": "2018-06-01",
"parameters": {
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
}
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "202": {}
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json
index 25b007c52c42..cfb5339892be 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "TestGroup",
+ "serverName": "vnet-test-svr",
+ "virtualNetworkRuleName": "vnet-firewall-rule",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ },
+ "204": {
+ "body": ""
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json
index 1b97f04ccc5a..72eb33edf92a 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json
@@ -7,17 +7,17 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json
index e3ea4b632c8e..b55e9fb25c45 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json
@@ -7,31 +7,31 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- ]
- }
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ },
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json
index fa9fd646f5fa..8a0ac15ca3bd 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json
@@ -45,7 +45,7 @@
"$ref": "./examples/ServerCreate.json"
},
"Create a database as a point in time restore": {
- "$ref":"./examples/ServerCreatePointInTimeRestore.json"
+ "$ref": "./examples/ServerCreatePointInTimeRestore.json"
},
"Create a server as a geo restore ": {
"$ref": "./examples/ServerCreateGeoRestoreMode.json"
@@ -293,7 +293,9 @@
],
"operationId": "Servers_Restart",
"x-ms-examples": {
- "ServerRestart": { "$ref": "./examples/ServerRestart.json" }
+ "ServerRestart": {
+ "$ref": "./examples/ServerRestart.json"
+ }
},
"description": "Restarts a server.",
"parameters": [
@@ -326,7 +328,7 @@
},
"x-ms-long-running-operation": true
}
- },
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/replicas": {
"get": {
"tags": [
@@ -1347,7 +1349,7 @@
"x-ms-mutability": [
"read",
"create"
- ],
+ ],
"description": "The location the resource resides in."
},
"tags": {
@@ -1447,7 +1449,7 @@
"format": "int32",
"description": "Max storage allowed for a server."
},
- "storageAutogrow" : {
+ "storageAutogrow": {
"type": "string",
"description": "Enable Storage Auto Grow.",
"enum": [
@@ -2276,7 +2278,7 @@
}
},
"description": "An error response from the Batch service."
- }
+ }
},
"parameters": {
"SubscriptionIdParameter": {
@@ -2361,4 +2363,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md
index 5be496a81d44..e2150d8261b1 100644
--- a/specification/marketplaceordering/resource-manager/readme.md
+++ b/specification/marketplaceordering/resource-manager/readme.md
@@ -4,7 +4,7 @@
The underlying APIs are available to users who would like to write their own REST calls. These APIs would allow the user to accept the terms at a subscription, offer and SKU level. These apis are invoked in the context of azure subscription.
-----
+---
***GetAzureRmMarketplaceTerms***
**Request**
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json
index 3a1564f14a8d..d2a1187fcf79 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json
@@ -741,4 +741,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json
index 9ff8172d6c01..6e955254ba49 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json
@@ -605,4 +605,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json
index 32f0e829b2f9..3140d12d8964 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json
@@ -77,4 +77,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json
index 9b3c1a298ade..7f59d29e3915 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json
@@ -1129,4 +1129,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json
index 76c810446bcd..24c3bf6273bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json
@@ -2180,4 +2180,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json
index 29e20f920731..55caec9a3de5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json
@@ -1258,4 +1258,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json
index 9aad81eaa24d..b7b88c5076da 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json
index e45eecd0de39..91ad5f029386 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json
@@ -62,6 +62,6 @@
]
}
}
- }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json
index a593d19bc763..65a89864b63f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json
index 0f3507993b5a..eb25d616000a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json
index a2b39638396a..4206c3bc5bcd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json
index 294acb38dda4..037780538a17 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json
index 4e934468d15f..1aaaf1fb839f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json
index 5cc591cd0c8e..fe0db4ce798d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json
@@ -11,4 +11,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json
index 311521534af8..f92e6114dd39 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json
index 6030d2cfaf61..cfdbf7c19b37 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json
@@ -48,4 +48,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json
index f421538b2777..6f4be3e65868 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json
index 559f24ed6e8d..23a4660c94c3 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json
@@ -26,4 +26,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json
index a37c1a437f7c..ef85de92474c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json
index 02277422b47c..51c49a391036 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json
index 5e2e5e25d6dc..a6d14025ce32 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json
index 41346fb9dfec..1e5206367b70 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json
index c76387b456da..c7fafa21dbb4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json
index f364c58cad97..b3546014b743 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json
index d28b0de1b976..be4d3ada5988 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json
@@ -133,4 +133,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json
index 0e549a219813..4b5aba3f9ac6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json
@@ -101,4 +101,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json
index 7ff95f2e2cc3..f7bc21f95e9b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json
index 040b101db20a..e0afa11884b0 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json
@@ -123,4 +123,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json
index 3a62484b13ce..5cd1a9391337 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json
index 37ecf53dd233..d22bcc073e01 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json
@@ -64,4 +64,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json
index 72108574dc0a..52d8768ccbc9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json
@@ -59,4 +59,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json
index 376d4d470ebe..0a7167f59ed5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json
@@ -162,4 +162,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json
index 1664dc22f8d8..5977b31209da 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json
@@ -163,4 +163,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json
index ed8ce398dad1..7ada7b7f9945 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json
index b948d59eaac4..e0e1d710967b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json
index 6c4837424e0e..d18100de323e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json
@@ -10,4 +10,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json
index 74d038f1e020..0c45eb221624 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json
@@ -58,4 +58,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json
index a8953bb8464e..ef8e5b5d0d29 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json
index fb2d9650f6dd..a564286d6b03 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json
index 737ff0387a52..94b761c4bc83 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json
@@ -113,4 +113,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json
index 07d8578572d6..a771cb52b163 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json
@@ -139,4 +139,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json
index ccc70906235e..8aac6e6c3aae 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json
@@ -59,4 +59,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json
index 12a9f113030c..7dc4a3134198 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json
index b17b37239b60..c7d09630c08f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json
index f6bdc3bb200c..9a30f0878c16 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json
index f6bdc3bb200c..9a30f0878c16 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json
index 6f8396ac56d7..1465d38e4368 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json
@@ -13,4 +13,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json
index b88fe16c6755..114aecce95bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json
@@ -134,4 +134,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json
index cc03b1310c27..6e57bce7b94b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json
index 5de0349ad5d5..f475dbae1b86 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json
@@ -12,4 +12,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json
index 3545c1448292..90f002383c0e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json
index 16a359f44592..8ccde48efc47 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json
index 3a7ff0ba371a..cd98a866b0ef 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json
@@ -282,4 +282,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json
index 103434801d22..09c037882403 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
index 9de3dfdafc7c..554405c7c3e4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json
index 9138dce3a7a6..1bbc01f4c89a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json
index 712cafeac16c..9ef01ec206d4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json
index f2c0f95e24d6..e276c06f488a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json
@@ -26,4 +26,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json
index dc3b9c0cc892..ae5038f19142 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json
index 968c00a670ae..afddf2b64604 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json
index 6f6ec79a6910..9ff02d37fb91 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json
index 4a5d0b17ca6b..d2d88fd3a56e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json
index 4623cd02a1ec..00d0aaa62e7f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
index 479bebc0c6b8..ca94fbcc66bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
index a95e8ca8ecd7..37b9da320afc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
@@ -95,4 +95,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json
index ecacf2b9ad98..3f34dfb69945 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json
@@ -57,4 +57,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json
index e4fd7183e756..d38f5725f9e5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json
@@ -167,4 +167,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json
index c5ea443b34b1..9082340db923 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json
index ecc90cd1fb0c..5b29cbb299a5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json
@@ -231,4 +231,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json
index 66380bf55ac3..da8e0b6575f1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json
@@ -31,4 +31,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json
index 93a632a26c56..94bdc07e92a6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json
index e532a6ae1216..8a38da16da2f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json
@@ -41,4 +41,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json
index f60c33a79cde..1c1bfcdbf416 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json
index a802c913a87f..f91aadf6a9d1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json
index e273ce6e4363..b41181b3e87c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json
@@ -13,4 +13,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json
index 962923ef6cee..6bbdf333e387 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json
index 962923ef6cee..6bbdf333e387 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json
index c0e8fd319d63..b31956ab3f91 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json
index 43271891927c..6cf758172436 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json
index 35c7f090b821..61d0634926bc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json
index 348878740740..43cb10cae8a2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json
index 5dea1ab618ac..38c68e78c16e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json
index 109314fe7765..21038d3bb833 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json
index 7b8f3c334c1c..30b837f363eb 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json
@@ -700,7 +700,7 @@
"List all StreamingEndpoints": {
"$ref": "examples/streamingendpoint-list-all.json"
}
- }
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": {
@@ -812,7 +812,7 @@
"Create a StreamingEndpoint": {
"$ref": "examples/streamingendpoint-create.json"
}
- }
+ }
},
"patch": {
"tags": [
@@ -1046,7 +1046,7 @@
"description": "StreamingEndpoint scale parameters",
"in": "body",
"required": true,
- "schema": {
+ "schema": {
"$ref": "#/definitions/StreamingEntityScaleUnit"
}
}
@@ -1054,7 +1054,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
},
@@ -1086,7 +1086,10 @@
"description": "The HLS configuration."
},
"LiveOutputProperties": {
- "required": ["assetName","archiveWindowLength"],
+ "required": [
+ "assetName",
+ "archiveWindowLength"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1200,7 +1203,9 @@
"description": "The Live Event endpoint."
},
"LiveEventInput": {
- "required": ["streamingProtocol"],
+ "required": [
+ "streamingProtocol"
+ ],
"properties": {
"streamingProtocol": {
"type": "string",
@@ -1341,7 +1346,9 @@
"description": "The LiveEvent action input parameter definition."
},
"LiveEventProperties": {
- "required": ["input"],
+ "required": [
+ "input"
+ ],
"properties": {
"description": {
"type": "string",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json
index 0571041d0296..a0504dd205c2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json
@@ -777,4 +777,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json
index 9026f24d46ad..9b121cbfffe2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json
@@ -641,4 +641,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json
index b5f79e9a09f1..8163d87ee174 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json
@@ -77,4 +77,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json
index fbd29107a954..bd5e75a8489e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json
@@ -1165,4 +1165,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json
index 9b89b0e92ca5..9da7a568fcf5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json
@@ -2188,4 +2188,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json
index 1732f0fa3e65..8f12d0b43965 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json
@@ -1278,4 +1278,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json
index c4d155d2e2d0..4854b4fa231c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json
index a07945d423e8..fab4f55bf8a7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json
@@ -62,6 +62,6 @@
]
}
}
- }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json
index 013be2cb9959..b30b0511bb70 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json
index e095ffaaeb46..237fd02f35dc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json
index 1f3402d2111c..fa0263497644 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json
index dcdb73b08a18..ac3469354d4a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json
index 1589d46d80f1..01de2d995eb2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json
index b7a116ae3766..6b0ca53a8b8f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json
@@ -11,4 +11,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json
index 0beb3a4f9ad0..eb87fb24aea6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json
index a61e1e8aac85..1ac2bb045cd9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json
@@ -48,4 +48,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json
index 9911dace2279..cf58e37bd9cc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json
index f1d65ce5bfe6..1e951cad5ef9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json
@@ -26,4 +26,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json
index 636528ef24de..3f9457b8de36 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json
index 79e3aa6a38ec..992f1cf1c222 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json
index 5e7189e5e1aa..c92a141c786d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json
index 80afef55c969..5eda82aec2b3 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json
index fbf0ccb18508..f8b262a1c7bc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json
index d86cf01440d8..43204ab84872 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json
index db98a8275870..529fe3b583fe 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json
@@ -133,4 +133,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json
index c4d93e6c4857..82c9ea28c525 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json
@@ -101,4 +101,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json
index 4a5c5ecc3e84..244ebd5a0718 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json
index a749d7e2a053..f27d4a2e2c2b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json
@@ -123,4 +123,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json
index 7a56da4ed983..25ee061d3780 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json
index 006e7ff3d0a5..265a07bdb845 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json
@@ -64,4 +64,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json
index 3f71f2d56986..9c60480b911d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json
@@ -59,4 +59,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json
index 3a77fb2f317e..6368211a5bbf 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json
@@ -162,4 +162,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json
index d5f52a4a9601..fc542affee4d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json
@@ -163,4 +163,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json
index a06a45cfa1f3..17bcbe59aca4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json
index 4c46b1735b58..fa114e545910 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json
index 7a80feb79c4b..9ce3cd1e845b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json
@@ -10,4 +10,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json
index 43b43b964fb1..2bb32ed6bd2c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json
index 3abfca49aa8e..1f60565c8c24 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json
index c9685745227e..b916dc8b42f5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json
index 62c223520a2c..891fd89ec930 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json
@@ -116,4 +116,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json
index 2ecef28601e3..41e6b6c5cac9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json
@@ -139,4 +139,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json
index 4fa2565c2920..d4f7e8434704 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json
@@ -59,4 +59,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json
index 54d4d9242136..e79e94944d26 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json
index 52d683ac3c20..d6adcd0782dd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json
index 03df7fcc6963..2dda81cb0189 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json
index 03df7fcc6963..2dda81cb0189 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json
index 7d4f7edbb688..4a44932b9ece 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json
@@ -13,4 +13,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json
index 516aa9233361..9bface3db543 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json
@@ -134,4 +134,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json
index b9ddd9ceec43..17a7865f1317 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json
index d95aec17f1b5..748f3ea3f5db 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json
@@ -12,4 +12,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json
index 36db1ae31638..812a52c1f1e9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json
index 0f2f40e1f579..d50b7c253bc1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json
index 26e68293f502..2ac2230b88f8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json
@@ -498,4 +498,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json
index 0e11d877520b..e6bcaa4a304a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
index 3cbab7cf9583..8dfe754e4595 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
@@ -75,4 +75,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json
index c98cae2f9386..bcf8663eb67c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json
@@ -59,4 +59,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json
index 103ee8162976..0b0b93feb238 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json
index 7cf317734fa0..297a80f7ba82 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json
@@ -27,4 +27,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json
index 3cea4f5a0e46..f9fa9e32c525 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json
index e3ce4ad16047..180a24a42e6f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json
index e598f984f93d..4001cdfc59a8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json
index 3fe5359b9a4d..818a66cca260 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json
index 3abecb479631..6023a1a392bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
index d15e58b288eb..07c96dca1068 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
index f874620125b1..faa38a52d4e0 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
@@ -95,4 +95,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json
index b300ca3fe7a6..0bcf3b1898a8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json
@@ -57,4 +57,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json
index adab37a61e20..15bd4f179724 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json
@@ -167,4 +167,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json
index 8fc0c1a0349a..7208ad95601d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json
index 64d265289d93..53b9a43c944c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json
@@ -232,4 +232,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json
index b90bdad10ff2..497091d9dc6b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json
@@ -31,4 +31,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json
index d336524c9417..0dcd0fdadb19 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json
index fc2f1ee3d946..9e2c6507b8bf 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json
@@ -41,4 +41,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json
index 85a9badc34a7..6133ddb6391f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json
index 1f9dbdce3552..c53f4fc3bbe4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json
index bb3194bc81a8..a175800afb0b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json
@@ -13,4 +13,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json
index b960e18206f5..4bdabc55baa2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json
index b960e18206f5..4bdabc55baa2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json
index a22f51b3657b..7359529c5d4c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json
index cfb560f28e43..2a70fe190934 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json
index 407300c86a51..51179fa69b98 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json
index 1191595b52bb..e55f2a349995 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json
index 87167e023f06..a13c5e01f038 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json
index 0e244b8bf60c..2e6d19f48549 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json
index 8de9f4a1b6bc..258578eb9c4e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json
@@ -700,7 +700,7 @@
"List all StreamingEndpoints": {
"$ref": "examples/streamingendpoint-list-all.json"
}
- }
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": {
@@ -812,7 +812,7 @@
"Create a StreamingEndpoint": {
"$ref": "examples/streamingendpoint-create.json"
}
- }
+ }
},
"patch": {
"tags": [
@@ -1046,7 +1046,7 @@
"description": "StreamingEndpoint scale parameters",
"in": "body",
"required": true,
- "schema": {
+ "schema": {
"$ref": "#/definitions/StreamingEntityScaleUnit"
}
}
@@ -1054,7 +1054,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
},
@@ -1086,7 +1086,10 @@
"description": "The HLS configuration."
},
"LiveOutputProperties": {
- "required": ["assetName","archiveWindowLength"],
+ "required": [
+ "assetName",
+ "archiveWindowLength"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1200,7 +1203,9 @@
"description": "The Live Event endpoint."
},
"LiveEventInput": {
- "required": ["streamingProtocol"],
+ "required": [
+ "streamingProtocol"
+ ],
"properties": {
"streamingProtocol": {
"type": "string",
@@ -1345,7 +1350,9 @@
"description": "The LiveEvent action input parameter definition."
},
"LiveEventProperties": {
- "required": ["input"],
+ "required": [
+ "input"
+ ],
"properties": {
"description": {
"type": "string",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json
new file mode 100644
index 000000000000..8c9aa5b7f511
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json
@@ -0,0 +1,549 @@
+{
+ "schemes": [
+ "https"
+ ],
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Media Services",
+ "description": "This Swagger was generated by the API Framework.",
+ "version": "2018-07-01"
+ },
+ "host": "management.azure.com",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "definitions": {
+ "PresentationTimeRange": {
+ "properties": {
+ "startTimestamp": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The absolute start time boundary."
+ },
+ "endTimestamp": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The absolute end time boundary."
+ },
+ "presentationWindowDuration": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The relative to end sliding window."
+ },
+ "liveBackoffDuration": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The relative to end right edge."
+ },
+ "timescale": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The time scale of time stamps."
+ },
+ "forceEndTimestamp": {
+ "type": "boolean",
+ "description": "The indicator of forcing existing of end time stamp."
+ }
+ },
+ "type": "object",
+ "description": "The presentation time range, this is asset related and not recommended for Account Filter."
+ },
+ "FilterTrackPropertyCondition": {
+ "properties": {
+ "property": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Type",
+ "Name",
+ "Language",
+ "FourCC",
+ "Bitrate"
+ ],
+ "x-ms-enum": {
+ "name": "FilterTrackPropertyType",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "The unknown track property type."
+ },
+ {
+ "value": "Type",
+ "description": "The type."
+ },
+ {
+ "value": "Name",
+ "description": "The name."
+ },
+ {
+ "value": "Language",
+ "description": "The language."
+ },
+ {
+ "value": "FourCC",
+ "description": "The fourCC."
+ },
+ {
+ "value": "Bitrate",
+ "description": "The bitrate."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The track property type."
+ },
+ "value": {
+ "type": "string",
+ "description": "The track property value."
+ },
+ "operation": {
+ "type": "string",
+ "enum": [
+ "Equal",
+ "NotEqual"
+ ],
+ "x-ms-enum": {
+ "name": "FilterTrackPropertyCompareOperation",
+ "values": [
+ {
+ "value": "Equal",
+ "description": "The equal operation."
+ },
+ {
+ "value": "NotEqual",
+ "description": "The not equal operation."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The track property condition operation."
+ }
+ },
+ "type": "object",
+ "required": [
+ "property",
+ "value",
+ "operation"
+ ],
+ "description": "The class to specify one track property condition."
+ },
+ "FirstQuality": {
+ "properties": {
+ "bitrate": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The first quality bitrate."
+ }
+ },
+ "type": "object",
+ "required": [
+ "bitrate"
+ ],
+ "description": "Filter First Quality"
+ },
+ "FilterTrackSelection": {
+ "properties": {
+ "trackSelections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FilterTrackPropertyCondition"
+ },
+ "description": "The track selections."
+ }
+ },
+ "type": "object",
+ "required": [
+ "trackSelections"
+ ],
+ "description": "Representing a list of FilterTrackPropertyConditions to select a track. The filters are combined using a logical AND operation."
+ },
+ "MediaFilterProperties": {
+ "properties": {
+ "presentationTimeRange": {
+ "$ref": "#/definitions/PresentationTimeRange",
+ "description": "The presentation time range."
+ },
+ "firstQuality": {
+ "$ref": "#/definitions/FirstQuality",
+ "description": "The first quality."
+ },
+ "tracks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FilterTrackSelection"
+ },
+ "description": "The tracks selection conditions."
+ }
+ },
+ "type": "object",
+ "description": "The Media Filter properties."
+ },
+ "AccountFilter": {
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MediaFilterProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "description": "An Account Filter."
+ },
+ "ODataError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A language-independent error name."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataError"
+ },
+ "description": "The error details."
+ }
+ },
+ "type": "object",
+ "description": "Information about an error."
+ },
+ "ApiError": {
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ODataError",
+ "description": "The error properties."
+ }
+ },
+ "type": "object",
+ "description": "The API error."
+ },
+ "AccountFilterCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AccountFilter"
+ },
+ "description": "A collection of AccountFilter items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of AccountFilter items."
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters": {
+ "get": {
+ "summary": "List Account Filters",
+ "description": "List Account Filters in the Media Services account.",
+ "operationId": "AccountFilters_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AccountFilterCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-examples": {
+ "List all Account Filters": {
+ "$ref": "examples/accountFilters-list-all.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/accountFilters/{filterName}": {
+ "get": {
+ "summary": "Get an Account Filter.",
+ "description": "Get the details of an Account Filter in the Media Services account.",
+ "operationId": "AccountFilters_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AccountFilter"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "filterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Account Filter name"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get an Account Filter by name": {
+ "$ref": "examples/accountFilters-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or update an Account Filter",
+ "description": "Creates or updates an Account Filter in the Media Services account.",
+ "operationId": "AccountFilters_CreateOrUpdate",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AccountFilter"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/AccountFilter"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "filterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Account Filter name"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AccountFilter"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Create an Account Filter": {
+ "$ref": "examples/accountFilters-create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete an Account Filter.",
+ "description": "Deletes an Account Filter in the Media Services account.",
+ "operationId": "AccountFilters_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "filterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Account Filter name"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete an Account Filter": {
+ "$ref": "examples/accountFilters-delete.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update an Account Filter",
+ "description": "Updates an existing Account Filter in the Media Services account.",
+ "operationId": "AccountFilters_Update",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AccountFilter"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "filterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Account Filter name"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AccountFilter"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Update an Account Filter": {
+ "$ref": "examples/accountFilters-update.json"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The unique identifier for a Microsoft Azure subscription."
+ },
+ "ResourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group within the Azure subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "MediaServicesAccountName": {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersion": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The Version of the API to be used with the client request."
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json
new file mode 100644
index 000000000000..6400418515d4
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json
@@ -0,0 +1,923 @@
+{
+ "schemes": [
+ "https"
+ ],
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Media Services",
+ "description": "This Swagger was generated by the API Framework.",
+ "version": "2018-07-01"
+ },
+ "host": "management.azure.com",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "definitions": {
+ "Provider": {
+ "description": "A resource provider.",
+ "properties": {
+ "providerName": {
+ "description": "The provider name.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "providerName"
+ ]
+ },
+ "OperationDisplay": {
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "The service provider."
+ },
+ "resource": {
+ "type": "string",
+ "description": "Resource on which the operation is performed."
+ },
+ "operation": {
+ "type": "string",
+ "description": "The operation type."
+ },
+ "description": {
+ "type": "string",
+ "description": "The operation description."
+ }
+ },
+ "type": "object",
+ "description": "Operation details."
+ },
+ "MetricDimension": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The metric dimension name.",
+ "readOnly": true
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name for the dimension.",
+ "readOnly": true
+ },
+ "toBeExportedForShoebox": {
+ "type": "boolean",
+ "description": "Whether to export metric to shoebox.",
+ "readOnly": true,
+ "x-nullable": false
+ }
+ },
+ "type": "object",
+ "description": "A metric dimension."
+ },
+ "Metric": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The metric name.",
+ "readOnly": true
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The metric display name.",
+ "readOnly": true
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "The metric display description.",
+ "readOnly": true
+ },
+ "unit": {
+ "type": "string",
+ "enum": [
+ "Bytes",
+ "Count",
+ "Milliseconds"
+ ],
+ "x-ms-enum": {
+ "name": "MetricUnit",
+ "values": [
+ {
+ "value": "Bytes",
+ "description": "The number of bytes."
+ },
+ {
+ "value": "Count",
+ "description": "The count."
+ },
+ {
+ "value": "Milliseconds",
+ "description": "The number of milliseconds."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The metric unit",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "aggregationType": {
+ "type": "string",
+ "enum": [
+ "Average",
+ "Count",
+ "Total"
+ ],
+ "x-ms-enum": {
+ "name": "MetricAggregationType",
+ "values": [
+ {
+ "value": "Average",
+ "description": "The average."
+ },
+ {
+ "value": "Count",
+ "description": "The count of a number of items, usually requests."
+ },
+ {
+ "value": "Total",
+ "description": "The sum."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The metric aggregation type",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "dimensions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricDimension"
+ },
+ "description": "The metric dimensions.",
+ "readOnly": true
+ }
+ },
+ "type": "object",
+ "description": "A metric emitted by service."
+ },
+ "ServiceSpecification": {
+ "properties": {
+ "metricSpecifications": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Metric"
+ },
+ "description": "List of metric specifications.",
+ "readOnly": true
+ }
+ },
+ "type": "object",
+ "description": "The service metric specifications."
+ },
+ "MetricProperties": {
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification",
+ "description": "The service specifications.",
+ "readOnly": true
+ }
+ },
+ "type": "object",
+ "description": "Metric properties."
+ },
+ "Operation": {
+ "description": "An operation.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The operation name."
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplay",
+ "description": "The operation display name."
+ },
+ "origin": {
+ "type": "string",
+ "description": "Origin of the operation."
+ },
+ "properties": {
+ "$ref": "#/definitions/MetricProperties",
+ "description": "Operation properties format."
+ }
+ },
+ "type": "object",
+ "required": [
+ "name"
+ ]
+ },
+ "Location": {
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "required": [
+ "name"
+ ]
+ },
+ "EntityNameAvailabilityCheckOutput": {
+ "properties": {
+ "nameAvailable": {
+ "type": "boolean",
+ "description": "Specifies if the name is available."
+ },
+ "reason": {
+ "type": "string",
+ "description": "Specifies the reason if the name is not available."
+ },
+ "message": {
+ "type": "string",
+ "description": "Specifies the detailed reason if the name is not available."
+ }
+ },
+ "type": "object",
+ "required": [
+ "nameAvailable"
+ ],
+ "description": "The response from the check name availability request."
+ },
+ "StorageAccount": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the storage account resource. Media Services relies on tables and queues as well as blobs, so the primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). Blob only storage accounts can be added as secondary storage accounts."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Primary",
+ "Secondary"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "values": [
+ {
+ "value": "Primary",
+ "description": "The primary storage account for the Media Services account."
+ },
+ {
+ "value": "Secondary",
+ "description": "A secondary storage account for the Media Services account."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The type of the storage account."
+ }
+ },
+ "type": "object",
+ "required": [
+ "type"
+ ],
+ "description": "The storage account details."
+ },
+ "SyncStorageKeysInput": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The ID of the storage account resource."
+ }
+ },
+ "type": "object",
+ "description": "The input to the sync storage keys request."
+ },
+ "MediaServiceProperties": {
+ "properties": {
+ "mediaServiceId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The Media Services account ID.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "storageAccounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageAccount"
+ },
+ "description": "The storage accounts for this resource."
+ }
+ },
+ "type": "object",
+ "description": "Properties of the Media Services account."
+ },
+ "MediaService": {
+ "description": "A Media Services account.",
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MediaServiceProperties",
+ "description": "The resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object"
+ },
+ "SubscriptionMediaService": {
+ "description": "A Media Services account.",
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MediaServiceProperties",
+ "description": "The resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object"
+ },
+ "ODataError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A language-independent error name."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataError"
+ },
+ "description": "The error details."
+ }
+ },
+ "type": "object",
+ "description": "Information about an error."
+ },
+ "ApiError": {
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ODataError",
+ "description": "The error properties."
+ }
+ },
+ "type": "object",
+ "description": "The API error."
+ },
+ "OperationCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "A collection of Operation items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of Operation items."
+ },
+ "MediaServiceCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MediaService"
+ },
+ "description": "A collection of MediaService items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of MediaService items."
+ },
+ "CheckNameAvailabilityInput": {
+ "description": "The input to the check name availability request.",
+ "properties": {
+ "name": {
+ "description": "The account name.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The account type. For a Media Services account, this should be 'MediaServices'.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "SubscriptionMediaServiceCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubscriptionMediaService"
+ },
+ "description": "A collection of SubscriptionMediaService items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of SubscriptionMediaService items."
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Media/operations": {
+ "get": {
+ "summary": "List Operations",
+ "description": "Lists all the Media Services operations.",
+ "operationId": "Operations_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-examples": {
+ "List Operations": {
+ "$ref": "examples/operations-list-all.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices": {
+ "get": {
+ "summary": "List Media Services accounts",
+ "description": "List Media Services accounts in the resource group",
+ "operationId": "Mediaservices_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MediaServiceCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-examples": {
+ "List all Media Services accounts": {
+ "$ref": "examples/accounts-list-all-accounts.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}": {
+ "get": {
+ "summary": "Get a Media Services account",
+ "description": "Get the details of a Media Services account",
+ "operationId": "Mediaservices_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MediaService"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a Media Services account by name": {
+ "$ref": "examples/accounts-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or update a Media Services account",
+ "description": "Creates or updates a Media Services account",
+ "operationId": "Mediaservices_CreateOrUpdate",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MediaService"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/MediaService"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MediaService"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Create a Media Services account": {
+ "$ref": "examples/accounts-create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete a Media Services account.",
+ "description": "Deletes a Media Services account",
+ "operationId": "Mediaservices_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete a Media Services account": {
+ "$ref": "examples/accounts-delete.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update a Media Services account",
+ "description": "Updates an existing Media Services account",
+ "operationId": "Mediaservices_Update",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MediaService"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MediaService"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Update a Media Services accounts": {
+ "$ref": "examples/accounts-update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/syncStorageKeys": {
+ "post": {
+ "summary": "Synchronizes Storage Account Keys",
+ "description": "Synchronizes storage account keys for a storage account associated with the Media Service account.",
+ "operationId": "Mediaservices_SyncStorageKeys",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SyncStorageKeysInput"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Synchronizes Storage Account Keys": {
+ "$ref": "examples/accounts-sync-storage-keys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Media/locations/{locationName}/checkNameAvailability": {
+ "post": {
+ "summary": "Check Name Availability",
+ "description": "Checks whether the Media Service resource name is available.",
+ "operationId": "Locations_CheckNameAvailability",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EntityNameAvailabilityCheckOutput"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "name": "locationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the location"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityInput"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Check Name Availability": {
+ "$ref": "examples/accounts-check-name-availability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Media/mediaservices": {
+ "get": {
+ "summary": "List Media Services accounts",
+ "description": "List Media Services accounts in the subscription.",
+ "operationId": "Mediaservices_ListBySubscription",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionMediaServiceCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-examples": {
+ "List all Media Services accounts": {
+ "$ref": "examples/accounts-subscription-list-all-accounts.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Media/mediaservices/{accountName}": {
+ "get": {
+ "summary": "Get a Media Services account",
+ "description": "Get the details of a Media Services account",
+ "operationId": "Mediaservices_GetBySubscription",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SubscriptionMediaService"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "description": "The Media Services account name.",
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a Media Services account by name": {
+ "$ref": "examples/accounts-subscription-get-by-name.json"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The unique identifier for a Microsoft Azure subscription."
+ },
+ "ResourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group within the Azure subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersion": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The Version of the API to be used with the client request."
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json
new file mode 100644
index 000000000000..eb9403081237
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json
@@ -0,0 +1,1273 @@
+{
+ "schemes": [
+ "https"
+ ],
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Media Services",
+ "description": "This Swagger was generated by the API Framework.",
+ "version": "2018-07-01"
+ },
+ "host": "management.azure.com",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "definitions": {
+ "AssetProperties": {
+ "properties": {
+ "assetId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The Asset ID.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "created": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The creation date of the Asset.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last modified date of the Asset.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "alternateId": {
+ "type": "string",
+ "description": "The alternate ID of the Asset."
+ },
+ "description": {
+ "type": "string",
+ "description": "The Asset description."
+ },
+ "container": {
+ "type": "string",
+ "description": "The name of the asset blob container."
+ },
+ "storageAccountName": {
+ "type": "string",
+ "description": "The name of the storage account."
+ },
+ "storageEncryptionFormat": {
+ "type": "string",
+ "enum": [
+ "None",
+ "MediaStorageClientEncryption"
+ ],
+ "x-ms-enum": {
+ "name": "AssetStorageEncryptionFormat",
+ "values": [
+ {
+ "value": "None",
+ "description": "The Asset does not use client-side storage encryption (this is the only allowed value for new Assets)."
+ },
+ {
+ "value": "MediaStorageClientEncryption",
+ "description": "The Asset is encrypted with Media Services client-side encryption."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The Asset encryption format. One of None or MediaStorageEncryption.",
+ "readOnly": true,
+ "x-nullable": false
+ }
+ },
+ "type": "object",
+ "description": "The Asset properties."
+ },
+ "AssetContainerSas": {
+ "properties": {
+ "assetContainerSasUrls": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of Asset container SAS URLs."
+ }
+ },
+ "type": "object",
+ "description": "The Asset Storage container SAS URLs."
+ },
+ "AssetFileEncryptionMetadata": {
+ "properties": {
+ "initializationVector": {
+ "type": "string",
+ "description": "The Asset File initialization vector."
+ },
+ "assetFileName": {
+ "type": "string",
+ "description": "The Asset File name."
+ },
+ "assetFileId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The Asset File Id."
+ }
+ },
+ "type": "object",
+ "required": [
+ "assetFileId"
+ ],
+ "description": "The Asset File Storage encryption metadata."
+ },
+ "StorageEncryptedAssetDecryptionData": {
+ "properties": {
+ "key": {
+ "type": "string",
+ "format": "byte",
+ "description": "The Asset File storage encryption key."
+ },
+ "assetFileEncryptionMetadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AssetFileEncryptionMetadata"
+ },
+ "description": "Asset File encryption metadata."
+ }
+ },
+ "type": "object",
+ "description": "Data needed to decrypt asset files encrypted with legacy storage encryption."
+ },
+ "ListStreamingLocatorsResponse": {
+ "properties": {
+ "streamingLocators": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AssetStreamingLocator"
+ },
+ "description": "The list of Streaming Locators.",
+ "readOnly": true
+ }
+ },
+ "type": "object",
+ "description": "The Streaming Locators associated with this Asset."
+ },
+ "AssetStreamingLocator": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Streaming Locator name.",
+ "readOnly": true
+ },
+ "assetName": {
+ "type": "string",
+ "description": "Asset Name.",
+ "readOnly": true
+ },
+ "created": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The creation time of the Streaming Locator.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The start time of the Streaming Locator.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end time of the Streaming Locator.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "streamingLocatorId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "StreamingLocatorId of the Streaming Locator.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "streamingPolicyName": {
+ "type": "string",
+ "description": "Name of the Streaming Policy used by this Streaming Locator.",
+ "readOnly": true
+ },
+ "defaultContentKeyPolicyName": {
+ "type": "string",
+ "description": "Name of the default ContentKeyPolicy used by this Streaming Locator.",
+ "readOnly": true
+ }
+ },
+ "type": "object",
+ "description": "Properties of the Streaming Locator."
+ },
+ "Asset": {
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/AssetProperties",
+ "description": "The resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "description": "An Asset."
+ },
+ "PresentationTimeRange": {
+ "properties": {
+ "startTimestamp": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The absolute start time boundary."
+ },
+ "endTimestamp": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The absolute end time boundary."
+ },
+ "presentationWindowDuration": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The relative to end sliding window."
+ },
+ "liveBackoffDuration": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The relative to end right edge."
+ },
+ "timescale": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The time scale of time stamps."
+ },
+ "forceEndTimestamp": {
+ "type": "boolean",
+ "description": "The indicator of forcing existing of end time stamp."
+ }
+ },
+ "type": "object",
+ "description": "The presentation time range, this is asset related and not recommended for Account Filter."
+ },
+ "FilterTrackPropertyCondition": {
+ "properties": {
+ "property": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Type",
+ "Name",
+ "Language",
+ "FourCC",
+ "Bitrate"
+ ],
+ "x-ms-enum": {
+ "name": "FilterTrackPropertyType",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "The unknown track property type."
+ },
+ {
+ "value": "Type",
+ "description": "The type."
+ },
+ {
+ "value": "Name",
+ "description": "The name."
+ },
+ {
+ "value": "Language",
+ "description": "The language."
+ },
+ {
+ "value": "FourCC",
+ "description": "The fourCC."
+ },
+ {
+ "value": "Bitrate",
+ "description": "The bitrate."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The track property type."
+ },
+ "value": {
+ "type": "string",
+ "description": "The track property value."
+ },
+ "operation": {
+ "type": "string",
+ "enum": [
+ "Equal",
+ "NotEqual"
+ ],
+ "x-ms-enum": {
+ "name": "FilterTrackPropertyCompareOperation",
+ "values": [
+ {
+ "value": "Equal",
+ "description": "The equal operation."
+ },
+ {
+ "value": "NotEqual",
+ "description": "The not equal operation."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The track property condition operation."
+ }
+ },
+ "type": "object",
+ "required": [
+ "property",
+ "value",
+ "operation"
+ ],
+ "description": "The class to specify one track property condition."
+ },
+ "FirstQuality": {
+ "properties": {
+ "bitrate": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The first quality bitrate."
+ }
+ },
+ "type": "object",
+ "required": [
+ "bitrate"
+ ],
+ "description": "Filter First Quality"
+ },
+ "FilterTrackSelection": {
+ "properties": {
+ "trackSelections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FilterTrackPropertyCondition"
+ },
+ "description": "The track selections."
+ }
+ },
+ "type": "object",
+ "required": [
+ "trackSelections"
+ ],
+ "description": "Representing a list of FilterTrackPropertyConditions to select a track. The filters are combined using a logical AND operation."
+ },
+ "MediaFilterProperties": {
+ "properties": {
+ "presentationTimeRange": {
+ "$ref": "#/definitions/PresentationTimeRange",
+ "description": "The presentation time range."
+ },
+ "firstQuality": {
+ "$ref": "#/definitions/FirstQuality",
+ "description": "The first quality."
+ },
+ "tracks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/FilterTrackSelection"
+ },
+ "description": "The tracks selection conditions."
+ }
+ },
+ "type": "object",
+ "description": "The Media Filter properties."
+ },
+ "AssetFilter": {
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/MediaFilterProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "description": "An Asset Filter."
+ },
+ "ODataError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A language-independent error name."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataError"
+ },
+ "description": "The error details."
+ }
+ },
+ "type": "object",
+ "description": "Information about an error."
+ },
+ "ApiError": {
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ODataError",
+ "description": "The error properties."
+ }
+ },
+ "type": "object",
+ "description": "The API error."
+ },
+ "AssetCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Asset"
+ },
+ "description": "A collection of Asset items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of Asset items."
+ },
+ "ListContainerSasInput": {
+ "description": "The parameters to the list SAS request.",
+ "properties": {
+ "permissions": {
+ "description": "The permissions to set on the SAS URL.",
+ "type": "string",
+ "enum": [
+ "Read",
+ "ReadWrite",
+ "ReadWriteDelete"
+ ],
+ "x-ms-enum": {
+ "name": "AssetContainerPermission",
+ "values": [
+ {
+ "value": "Read",
+ "description": "The SAS URL will allow read access to the container."
+ },
+ {
+ "value": "ReadWrite",
+ "description": "The SAS URL will allow read and write access to the container."
+ },
+ {
+ "value": "ReadWriteDelete",
+ "description": "The SAS URL will allow read, write and delete access to the container."
+ }
+ ],
+ "modelAsString": true
+ }
+ },
+ "expiryTime": {
+ "description": "The SAS URL expiration time. This must be less than 24 hours from the current time.",
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "type": "object"
+ },
+ "AssetFilterCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AssetFilter"
+ },
+ "description": "A collection of AssetFilter items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of AssetFilter items."
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets": {
+ "get": {
+ "summary": "List Assets",
+ "description": "List Assets in the Media Services account with optional filtering and ordering",
+ "operationId": "Assets_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AssetCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Restricts the set of items returned."
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n."
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Specifies the key by which the result collection should be ordered."
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-odata": "#/definitions/Asset",
+ "x-ms-examples": {
+ "List all Assets": {
+ "$ref": "examples/assets-list-all.json"
+ },
+ "List Asset ordered by date": {
+ "$ref": "examples/assets-list-by-date.json"
+ },
+ "List Asset created in a date range": {
+ "$ref": "examples/assets-list-in-date-range.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}": {
+ "get": {
+ "summary": "Get an Asset",
+ "description": "Get the details of an Asset in the Media Services account",
+ "operationId": "Assets_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get an Asset by name": {
+ "$ref": "examples/assets-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or update an Asset",
+ "description": "Creates or updates an Asset in the Media Services account",
+ "operationId": "Assets_CreateOrUpdate",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Create an Asset": {
+ "$ref": "examples/assets-create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete an Asset.",
+ "description": "Deletes an Asset in the Media Services account",
+ "operationId": "Assets_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete an Asset": {
+ "$ref": "examples/assets-delete.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update an Asset",
+ "description": "Updates an existing Asset in the Media Services account",
+ "operationId": "Assets_Update",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Update an Asset": {
+ "$ref": "examples/assets-update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listContainerSas": {
+ "post": {
+ "summary": "List the Asset URLs",
+ "description": "Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys.",
+ "operationId": "Assets_ListContainerSas",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AssetContainerSas"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ListContainerSasInput"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "List Asset SAS URLs": {
+ "$ref": "examples/assets-list-sas-urls.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/getEncryptionKey": {
+ "post": {
+ "summary": "Gets the Asset storage key",
+ "description": "Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API",
+ "operationId": "Assets_GetEncryptionKey",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StorageEncryptedAssetDecryptionData"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get Asset Storage Encryption Keys": {
+ "$ref": "examples/assets-get-encryption-keys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/listStreamingLocators": {
+ "post": {
+ "summary": "List Streaming Locators",
+ "description": "Lists Streaming Locators which are associated with this asset.",
+ "operationId": "Assets_ListStreamingLocators",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListStreamingLocatorsResponse"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "List Asset SAS URLs": {
+ "$ref": "examples/assets-list-streaming-locators.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters": {
+ "get": {
+ "summary": "List Asset Filters",
+ "description": "List Asset Filters associated with the specified Asset.",
+ "operationId": "AssetFilters_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AssetFilterCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-examples": {
+ "List all Asset Filters": {
+ "$ref": "examples/assetFilters-list-all.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/assetFilters/{filterName}": {
+ "get": {
+ "summary": "Get an Asset Filter.",
+ "description": "Get the details of an Asset Filter associated with the specified Asset.",
+ "operationId": "AssetFilters_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AssetFilter"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "name": "filterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset Filter name"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get an Asset Filter by name": {
+ "$ref": "examples/assetFilters-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or update an Asset Filter",
+ "description": "Creates or updates an Asset Filter associated with the specified Asset.",
+ "operationId": "AssetFilters_CreateOrUpdate",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AssetFilter"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/AssetFilter"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "name": "filterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset Filter name"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AssetFilter"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Create an Asset Filter": {
+ "$ref": "examples/assetFilters-create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete an Asset Filter.",
+ "description": "Deletes an Asset Filter associated with the specified Asset.",
+ "operationId": "AssetFilters_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "name": "filterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset Filter name"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete an Asset Filter": {
+ "$ref": "examples/assetFilters-delete.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update an Asset Filter",
+ "description": "Updates an existing Asset Filter associated with the specified Asset.",
+ "operationId": "AssetFilters_Update",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AssetFilter"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "assetName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset name."
+ },
+ {
+ "name": "filterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Asset Filter name"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AssetFilter"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Update an Asset Filter": {
+ "$ref": "examples/assetFilters-update.json"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The unique identifier for a Microsoft Azure subscription."
+ },
+ "ResourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group within the Azure subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "MediaServicesAccountName": {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersion": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The Version of the API to be used with the client request."
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Common.json
new file mode 100644
index 000000000000..8ffd3bd1f71a
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Common.json
@@ -0,0 +1,80 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Media Services",
+ "version": "2018-07-01"
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "paths": {},
+ "definitions": {
+ "Resource": {
+ "description": "The core properties of ARM resources.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified resource ID for the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of the resource."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "TrackedResource": {
+ "description": "The resource model definition for a ARM tracked resource.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags."
+ },
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "The Azure Region of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "ProxyResource": {
+ "description": "The resource model definition for a ARM proxy resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json
new file mode 100644
index 000000000000..2df77971fd91
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json
@@ -0,0 +1,1168 @@
+{
+ "schemes": [
+ "https"
+ ],
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Media Services",
+ "description": "This Swagger was generated by the API Framework.",
+ "version": "2018-07-01"
+ },
+ "host": "management.azure.com",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "definitions": {
+ "ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction": {
+ "properties": {
+ "bestEffort": {
+ "type": "boolean",
+ "description": "Indicates whether this restriction is enforced on a Best Effort basis."
+ },
+ "configurationData": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Configures the restriction control bits. Must be between 0 and 3 inclusive."
+ }
+ },
+ "type": "object",
+ "required": [
+ "bestEffort",
+ "configurationData"
+ ],
+ "description": "Configures the Explicit Analog Television Output Restriction control bits. For further details see the PlayReady Compliance Rules."
+ },
+ "ContentKeyPolicyPlayReadyContentKeyLocation": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Base class for content key ID location. A derived class must be used to represent the location."
+ },
+ "ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyPlayReadyContentKeyLocation"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Specifies that the content key ID is in the PlayReady header."
+ },
+ "ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyPlayReadyContentKeyLocation"
+ }
+ ],
+ "properties": {
+ "keyId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The content key ID."
+ }
+ },
+ "type": "object",
+ "required": [
+ "keyId"
+ ],
+ "description": "Specifies that the content key ID is specified in the PlayReady configuration."
+ },
+ "ContentKeyPolicyPlayReadyPlayRight": {
+ "properties": {
+ "firstPlayExpiration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The amount of time that the license is valid after the license is first used to play content."
+ },
+ "scmsRestriction": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive."
+ },
+ "agcAndColorStripeRestriction": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive."
+ },
+ "explicitAnalogTelevisionOutputRestriction": {
+ "$ref": "#/definitions/ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction",
+ "description": "Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive."
+ },
+ "digitalVideoOnlyContentRestriction": {
+ "type": "boolean",
+ "description": "Enables the Image Constraint For Analog Component Video Restriction in the license."
+ },
+ "imageConstraintForAnalogComponentVideoRestriction": {
+ "type": "boolean",
+ "description": "Enables the Image Constraint For Analog Component Video Restriction in the license."
+ },
+ "imageConstraintForAnalogComputerMonitorRestriction": {
+ "type": "boolean",
+ "description": "Enables the Image Constraint For Analog Component Video Restriction in the license."
+ },
+ "allowPassingVideoContentToUnknownOutput": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "NotAllowed",
+ "Allowed",
+ "AllowedWithVideoConstriction"
+ ],
+ "x-ms-enum": {
+ "name": "ContentKeyPolicyPlayReadyUnknownOutputPassingOption",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version."
+ },
+ {
+ "value": "NotAllowed",
+ "description": "Passing the video portion of protected content to an Unknown Output is not allowed."
+ },
+ {
+ "value": "Allowed",
+ "description": "Passing the video portion of protected content to an Unknown Output is allowed."
+ },
+ {
+ "value": "AllowedWithVideoConstriction",
+ "description": "Passing the video portion of protected content to an Unknown Output is allowed but with constrained resolution."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Configures Unknown output handling settings of the license."
+ },
+ "uncompressedDigitalVideoOpl": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the output protection level for uncompressed digital video."
+ },
+ "compressedDigitalVideoOpl": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the output protection level for compressed digital video."
+ },
+ "analogVideoOpl": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the output protection level for compressed digital audio."
+ },
+ "compressedDigitalAudioOpl": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the output protection level for compressed digital audio."
+ },
+ "uncompressedDigitalAudioOpl": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Specifies the output protection level for uncompressed digital audio."
+ }
+ },
+ "type": "object",
+ "required": [
+ "digitalVideoOnlyContentRestriction",
+ "imageConstraintForAnalogComponentVideoRestriction",
+ "imageConstraintForAnalogComputerMonitorRestriction",
+ "allowPassingVideoContentToUnknownOutput"
+ ],
+ "description": "Configures the Play Right in the PlayReady license."
+ },
+ "ContentKeyPolicyTokenClaim": {
+ "properties": {
+ "claimType": {
+ "type": "string",
+ "description": "Token claim type."
+ },
+ "claimValue": {
+ "type": "string",
+ "description": "Token claim value."
+ }
+ },
+ "type": "object",
+ "description": "Represents a token claim."
+ },
+ "ContentKeyPolicyPlayReadyLicense": {
+ "properties": {
+ "allowTestDevices": {
+ "type": "boolean",
+ "description": "A flag indicating whether test devices can use the license."
+ },
+ "beginDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The begin date of license"
+ },
+ "expirationDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The expiration date of license."
+ },
+ "relativeBeginDate": {
+ "type": "string",
+ "format": "duration",
+ "description": "The relative begin date of license."
+ },
+ "relativeExpirationDate": {
+ "type": "string",
+ "format": "duration",
+ "description": "The relative expiration date of license."
+ },
+ "gracePeriod": {
+ "type": "string",
+ "format": "duration",
+ "description": "The grace period of license."
+ },
+ "playRight": {
+ "$ref": "#/definitions/ContentKeyPolicyPlayReadyPlayRight",
+ "description": "The license PlayRight"
+ },
+ "licenseType": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "NonPersistent",
+ "Persistent"
+ ],
+ "x-ms-enum": {
+ "name": "ContentKeyPolicyPlayReadyLicenseType",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version."
+ },
+ {
+ "value": "NonPersistent",
+ "description": "Non persistent license."
+ },
+ {
+ "value": "Persistent",
+ "description": "Persistent license. Allows offline playback."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The license type."
+ },
+ "contentKeyLocation": {
+ "$ref": "#/definitions/ContentKeyPolicyPlayReadyContentKeyLocation",
+ "description": "The content key location."
+ },
+ "contentType": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Unspecified",
+ "UltraVioletDownload",
+ "UltraVioletStreaming"
+ ],
+ "x-ms-enum": {
+ "name": "ContentKeyPolicyPlayReadyContentType",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version."
+ },
+ {
+ "value": "Unspecified",
+ "description": "Unspecified content type."
+ },
+ {
+ "value": "UltraVioletDownload",
+ "description": "Ultraviolet download content type."
+ },
+ {
+ "value": "UltraVioletStreaming",
+ "description": "Ultraviolet streaming content type."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The PlayReady content type."
+ }
+ },
+ "type": "object",
+ "required": [
+ "allowTestDevices",
+ "licenseType",
+ "contentKeyLocation",
+ "contentType"
+ ],
+ "description": "The PlayReady license"
+ },
+ "ContentKeyPolicyRestriction": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Base class for Content Key Policy restrictions. A derived class must be used to create a restriction."
+ },
+ "ContentKeyPolicyOpenRestriction": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyRestriction"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Represents an open restriction. License or key will be delivered on every request."
+ },
+ "ContentKeyPolicyUnknownRestriction": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyUnknownRestriction",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyRestriction"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Represents a ContentKeyPolicyRestriction that is unavailable in the current API version."
+ },
+ "ContentKeyPolicyConfiguration": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Base class for Content Key Policy configuration. A derived class must be used to create a configuration."
+ },
+ "ContentKeyPolicyRestrictionTokenKey": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Base class for Content Key Policy key for token validation. A derived class must be used to create a token key."
+ },
+ "ContentKeyPolicySymmetricTokenKey": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey"
+ }
+ ],
+ "properties": {
+ "keyValue": {
+ "type": "string",
+ "format": "byte",
+ "description": "The key value of the key"
+ }
+ },
+ "type": "object",
+ "required": [
+ "keyValue"
+ ],
+ "description": "Specifies a symmetric key for token validation."
+ },
+ "ContentKeyPolicyRsaTokenKey": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey"
+ }
+ ],
+ "properties": {
+ "exponent": {
+ "type": "string",
+ "format": "byte",
+ "description": "The RSA Parameter exponent"
+ },
+ "modulus": {
+ "type": "string",
+ "format": "byte",
+ "description": "The RSA Parameter modulus"
+ }
+ },
+ "type": "object",
+ "required": [
+ "exponent",
+ "modulus"
+ ],
+ "description": "Specifies a RSA key for token validation"
+ },
+ "ContentKeyPolicyX509CertificateTokenKey": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey"
+ }
+ ],
+ "properties": {
+ "rawBody": {
+ "type": "string",
+ "format": "byte",
+ "description": "The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)"
+ }
+ },
+ "type": "object",
+ "required": [
+ "rawBody"
+ ],
+ "description": "Specifies a certificate for token validation."
+ },
+ "ContentKeyPolicyTokenRestriction": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyRestriction"
+ }
+ ],
+ "properties": {
+ "issuer": {
+ "type": "string",
+ "description": "The token issuer."
+ },
+ "audience": {
+ "type": "string",
+ "description": "The audience for the token."
+ },
+ "primaryVerificationKey": {
+ "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey",
+ "description": "The primary verification key."
+ },
+ "alternateVerificationKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContentKeyPolicyRestrictionTokenKey"
+ },
+ "description": "A list of alternative verification keys."
+ },
+ "requiredClaims": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContentKeyPolicyTokenClaim"
+ },
+ "description": "A list of required token claims."
+ },
+ "restrictionTokenType": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Swt",
+ "Jwt"
+ ],
+ "x-ms-enum": {
+ "name": "ContentKeyPolicyRestrictionTokenType",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version."
+ },
+ {
+ "value": "Swt",
+ "description": "Simple Web Token."
+ },
+ {
+ "value": "Jwt",
+ "description": "JSON Web Token."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The type of token."
+ },
+ "openIdConnectDiscoveryDocument": {
+ "type": "string",
+ "description": "The OpenID connect discovery document."
+ }
+ },
+ "type": "object",
+ "required": [
+ "issuer",
+ "audience",
+ "primaryVerificationKey",
+ "restrictionTokenType"
+ ],
+ "description": "Represents a token restriction. Provided token must match these requirements for successful license or key delivery."
+ },
+ "ContentKeyPolicyClearKeyConfiguration": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyConfiguration"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Represents a configuration for non-DRM keys."
+ },
+ "ContentKeyPolicyUnknownConfiguration": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyUnknownConfiguration",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyConfiguration"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Represents a ContentKeyPolicyConfiguration that is unavailable in the current API version."
+ },
+ "ContentKeyPolicyWidevineConfiguration": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyConfiguration"
+ }
+ ],
+ "properties": {
+ "widevineTemplate": {
+ "type": "string",
+ "description": "The Widevine template."
+ }
+ },
+ "type": "object",
+ "required": [
+ "widevineTemplate"
+ ],
+ "description": "Specifies a configuration for Widevine licenses."
+ },
+ "ContentKeyPolicyPlayReadyConfiguration": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyConfiguration"
+ }
+ ],
+ "properties": {
+ "licenses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContentKeyPolicyPlayReadyLicense"
+ },
+ "description": "The PlayReady licenses."
+ },
+ "responseCustomData": {
+ "type": "string",
+ "description": "The custom response data."
+ }
+ },
+ "type": "object",
+ "required": [
+ "licenses"
+ ],
+ "description": "Specifies a configuration for PlayReady licenses."
+ },
+ "ContentKeyPolicyFairPlayConfiguration": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ContentKeyPolicyConfiguration"
+ }
+ ],
+ "properties": {
+ "ask": {
+ "type": "string",
+ "format": "byte",
+ "description": "The key that must be used as FairPlay Application Secret key."
+ },
+ "fairPlayPfxPassword": {
+ "type": "string",
+ "description": "The password encrypting FairPlay certificate in PKCS 12 (pfx) format."
+ },
+ "fairPlayPfx": {
+ "type": "string",
+ "description": "The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key)."
+ },
+ "rentalAndLeaseKeyType": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Undefined",
+ "PersistentUnlimited",
+ "PersistentLimited"
+ ],
+ "x-ms-enum": {
+ "name": "ContentKeyPolicyFairPlayRentalAndLeaseKeyType",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version."
+ },
+ {
+ "value": "Undefined",
+ "description": "Key duration is not specified."
+ },
+ {
+ "value": "PersistentUnlimited",
+ "description": "Content key can be persisted with an unlimited duration"
+ },
+ {
+ "value": "PersistentLimited",
+ "description": "Content key can be persisted and the valid duration is limited by the Rental Duration value"
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The rental and lease key type."
+ },
+ "rentalDuration": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The rental duration. Must be greater than or equal to 0."
+ }
+ },
+ "type": "object",
+ "required": [
+ "ask",
+ "fairPlayPfxPassword",
+ "fairPlayPfx",
+ "rentalAndLeaseKeyType",
+ "rentalDuration"
+ ],
+ "description": "Specifies a configuration for FairPlay licenses."
+ },
+ "ContentKeyPolicyOption": {
+ "properties": {
+ "policyOptionId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The legacy Policy Option ID.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "name": {
+ "type": "string",
+ "description": "The Policy Option description."
+ },
+ "configuration": {
+ "$ref": "#/definitions/ContentKeyPolicyConfiguration",
+ "description": "The key delivery configuration."
+ },
+ "restriction": {
+ "$ref": "#/definitions/ContentKeyPolicyRestriction",
+ "description": "The requirements that must be met to deliver keys with this configuration"
+ }
+ },
+ "type": "object",
+ "required": [
+ "configuration",
+ "restriction"
+ ],
+ "description": "Represents a policy option."
+ },
+ "ContentKeyPolicyProperties": {
+ "properties": {
+ "policyId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The legacy Policy ID.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "created": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The creation date of the Policy",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The last modified date of the Policy",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "description": {
+ "type": "string",
+ "description": "A description for the Policy."
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContentKeyPolicyOption"
+ },
+ "description": "The Key Policy options."
+ }
+ },
+ "type": "object",
+ "required": [
+ "options"
+ ],
+ "description": "The properties of the Content Key Policy."
+ },
+ "ContentKeyPolicy": {
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ContentKeyPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "description": "A Content Key Policy resource."
+ },
+ "ODataError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A language-independent error name."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataError"
+ },
+ "description": "The error details."
+ }
+ },
+ "type": "object",
+ "description": "Information about an error."
+ },
+ "ApiError": {
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ODataError",
+ "description": "The error properties."
+ }
+ },
+ "type": "object",
+ "description": "The API error."
+ },
+ "ContentKeyPolicyCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ContentKeyPolicy"
+ },
+ "description": "A collection of ContentKeyPolicy items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of ContentKeyPolicy items."
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies": {
+ "get": {
+ "summary": "List Content Key Policies",
+ "description": "Lists the Content Key Policies in the account",
+ "operationId": "ContentKeyPolicies_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ContentKeyPolicyCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Restricts the set of items returned."
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n."
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Specifies the key by which the result collection should be ordered."
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-odata": "#/definitions/ContentKeyPolicy",
+ "x-ms-examples": {
+ "Lists all Content Key Policies": {
+ "$ref": "examples/content-key-policies-list-all.json"
+ },
+ "Lists Content Key Policies ordered by last modified.": {
+ "$ref": "examples/content-key-policies-list-by-lastModified.json"
+ },
+ "Lists Content Key Policies with created and last modified filters.": {
+ "$ref": "examples/content-key-policies-list-in-date-range.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}": {
+ "get": {
+ "summary": "Get a Content Key Policy",
+ "description": "Get the details of a Content Key Policy in the Media Services account",
+ "operationId": "ContentKeyPolicies_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ContentKeyPolicy"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "contentKeyPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Content Key Policy name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a Content Key Policy by name": {
+ "$ref": "examples/content-key-policies-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or update an Content Key Policy",
+ "description": "Create or update a Content Key Policy in the Media Services account",
+ "operationId": "ContentKeyPolicies_CreateOrUpdate",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ContentKeyPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/ContentKeyPolicy"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "contentKeyPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Content Key Policy name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ContentKeyPolicy"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Creates a Content Key Policy with PlayReady option and Open Restriction": {
+ "$ref": "examples/content-key-policies-create-playready-open.json"
+ },
+ "Creates a Content Key Policy with Widevine option and Token Restriction": {
+ "$ref": "examples/content-key-policies-create-widevine-token.json"
+ },
+ "Creates a Content Key Policy with ClearKey option and Token Restriction": {
+ "$ref": "examples/content-key-policies-create-nodrm-token.json"
+ },
+ "Creates a Content Key Policy with multiple options": {
+ "$ref": "examples/content-key-policies-create-multiple-options.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete a Content Key Policy",
+ "description": "Deletes a Content Key Policy in the Media Services account",
+ "operationId": "ContentKeyPolicies_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "contentKeyPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Content Key Policy name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete a Key Policy": {
+ "$ref": "examples/content-key-policies-delete.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update a Content Key Policy",
+ "description": "Updates an existing Content Key Policy in the Media Services account",
+ "operationId": "ContentKeyPolicies_Update",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ContentKeyPolicy"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "contentKeyPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Content Key Policy name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ContentKeyPolicy"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Update a Content Key Policy": {
+ "$ref": "examples/content-key-policies-update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets": {
+ "post": {
+ "summary": "Get a Content Key Policy with secrets",
+ "description": "Get a Content Key Policy including secret values",
+ "operationId": "ContentKeyPolicies_GetPolicyPropertiesWithSecrets",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ContentKeyPolicyProperties"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "contentKeyPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Content Key Policy name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get an Content Key Policy with secrets": {
+ "$ref": "examples/content-key-policies-get-with-secrets.json"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The unique identifier for a Microsoft Azure subscription."
+ },
+ "ResourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group within the Azure subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "MediaServicesAccountName": {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersion": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The Version of the API to be used with the client request."
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json
new file mode 100644
index 000000000000..2e56502e0079
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json
@@ -0,0 +1,2401 @@
+{
+ "schemes": [
+ "https"
+ ],
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Media Services",
+ "description": "This Swagger was generated by the API Framework.",
+ "version": "2018-07-01"
+ },
+ "host": "management.azure.com",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "definitions": {
+ "Preset": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Base type for all Presets, which define the recipe or instructions on how the input media files should be processed."
+ },
+ "Codec": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ },
+ "label": {
+ "type": "string",
+ "description": "An optional label for the codec. The label can be used to control muxing behavior."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Describes the basic properties of all codecs."
+ },
+ "Audio": {
+ "x-ms-discriminator-value": "#Microsoft.Media.Audio",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Codec"
+ }
+ ],
+ "properties": {
+ "channels": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of channels in the audio."
+ },
+ "samplingRate": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The sampling rate to use for encoding in hertz."
+ },
+ "bitrate": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The bitrate, in bits per second, of the output encoded audio."
+ }
+ },
+ "type": "object",
+ "description": "Defines the common properties for all audio codecs."
+ },
+ "AacAudio": {
+ "x-ms-discriminator-value": "#Microsoft.Media.AacAudio",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Audio"
+ }
+ ],
+ "properties": {
+ "profile": {
+ "type": "string",
+ "enum": [
+ "AacLc",
+ "HeAacV1",
+ "HeAacV2"
+ ],
+ "x-ms-enum": {
+ "name": "AacAudioProfile",
+ "values": [
+ {
+ "value": "AacLc",
+ "description": "Specifies that the output audio is to be encoded into AAC Low Complexity profile (AAC-LC)."
+ },
+ {
+ "value": "HeAacV1",
+ "description": "Specifies that the output audio is to be encoded into HE-AAC v1 profile."
+ },
+ {
+ "value": "HeAacV2",
+ "description": "Specifies that the output audio is to be encoded into HE-AAC v2 profile."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The encoding profile to be used when encoding audio with AAC."
+ }
+ },
+ "type": "object",
+ "description": "Describes Advanced Audio Codec (AAC) audio encoding settings."
+ },
+ "FaceDetectorPreset": {
+ "x-ms-discriminator-value": "#Microsoft.Media.FaceDetectorPreset",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Preset"
+ }
+ ],
+ "properties": {
+ "resolution": {
+ "type": "string",
+ "enum": [
+ "SourceResolution",
+ "StandardDefinition"
+ ],
+ "x-ms-enum": {
+ "name": "AnalysisResolution",
+ "values": [
+ {
+ "value": "SourceResolution"
+ },
+ {
+ "value": "StandardDefinition"
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Specifies the maximum resolution at which your video is analyzed. The default behavior is \"SourceResolution,\" which will keep the input video at its original resolution when analyzed. Using \"StandardDefinition\" will resize input videos to standard definition while preserving the appropriate aspect ratio. It will only resize if the video is of higher resolution. For example, a 1920x1080 input would be scaled to 640x360 before processing. Switching to \"StandardDefinition\" will reduce the time it takes to process high resolution video. It may also reduce the cost of using this component (see https://azure.microsoft.com/en-us/pricing/details/media-services/#analytics for details). However, faces that end up being too small in the resized video may not be detected."
+ }
+ },
+ "type": "object",
+ "description": "Describes all the settings to be used when analyzing a video in order to detect all the faces present."
+ },
+ "AudioAnalyzerPreset": {
+ "x-ms-discriminator-value": "#Microsoft.Media.AudioAnalyzerPreset",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Preset"
+ }
+ ],
+ "properties": {
+ "audioLanguage": {
+ "type": "string",
+ "description": "The language for the audio payload in the input using the BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are English ('en-US' and 'en-GB'), Spanish ('es-ES' and 'es-MX'), French ('fr-FR'), Italian ('it-IT'), Japanese ('ja-JP'), Portuguese ('pt-BR'), Chinese ('zh-CN'), German ('de-DE'), Arabic ('ar-EG' and 'ar-SY'), Russian ('ru-RU'), Hindi ('hi-IN'), and Korean ('ko-KR'). If you know the language of your content, it is recommended that you specify it. If the language isn't specified or set to null, automatic language detection will choose the first language detected and process with the selected language for the duration of the file. This language detection feature currently supports English, Chinese, French, German, Italian, Japanese, Spanish, Russian, and Portuguese. It does not currently support dynamically switching between languages after the first language is detected. The automatic detection works best with audio recordings with clearly discernable speech. If automatic detection fails to find the language, transcription would fallback to 'en-US'.\""
+ }
+ },
+ "type": "object",
+ "description": "The Audio Analyzer preset applies a pre-defined set of AI-based analysis operations, including speech transcription. Currently, the preset supports processing of content with a single audio track."
+ },
+ "Overlay": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ },
+ "inputLabel": {
+ "type": "string",
+ "description": "The label of the job input which is to be used as an overlay. The Input must specify exactly one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete list of supported audio and video file formats."
+ },
+ "start": {
+ "type": "string",
+ "format": "duration",
+ "description": "The start position, with reference to the input video, at which the overlay starts. The value should be in ISO 8601 format. For example, PT05S to start the overlay at 5 seconds in to the input video. If not specified the overlay starts from the beginning of the input video."
+ },
+ "end": {
+ "type": "string",
+ "format": "duration",
+ "description": "The position in the input video at which the overlay ends. The value should be in ISO 8601 duration format. For example, PT30S to end the overlay at 30 seconds in to the input video. If not specified the overlay will be applied until the end of the input video if inputLoop is true. Else, if inputLoop is false, then overlay will last as long as the duration of the overlay media."
+ },
+ "fadeInDuration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The duration over which the overlay fades in onto the input video. The value should be in ISO 8601 duration format. If not specified the default behavior is to have no fade in (same as PT0S)."
+ },
+ "fadeOutDuration": {
+ "type": "string",
+ "format": "duration",
+ "description": "The duration over which the overlay fades out of the input video. The value should be in ISO 8601 duration format. If not specified the default behavior is to have no fade out (same as PT0S)."
+ },
+ "audioGainLevel": {
+ "type": "number",
+ "format": "double",
+ "description": "The gain level of audio in the overlay. The value should be in the range [0, 1.0]. The default is 1.0."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type",
+ "inputLabel"
+ ],
+ "description": "Base type for all overlays - image, audio or video."
+ },
+ "AudioOverlay": {
+ "x-ms-discriminator-value": "#Microsoft.Media.AudioOverlay",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Overlay"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Describes the properties of an audio overlay."
+ },
+ "CopyVideo": {
+ "x-ms-discriminator-value": "#Microsoft.Media.CopyVideo",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Codec"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "A codec flag, which tells the encoder to copy the input video bitstream without re-encoding."
+ },
+ "Video": {
+ "x-ms-discriminator-value": "#Microsoft.Media.Video",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Codec"
+ }
+ ],
+ "properties": {
+ "keyFrameInterval": {
+ "type": "string",
+ "format": "duration",
+ "description": "The distance between two key frames, thereby defining a group of pictures (GOP). The value should be a non-zero integer in the range [1, 30] seconds, specified in ISO 8601 format. The default is 2 seconds (PT2S)."
+ },
+ "stretchMode": {
+ "type": "string",
+ "enum": [
+ "None",
+ "AutoSize",
+ "AutoFit"
+ ],
+ "x-ms-enum": {
+ "name": "StretchMode",
+ "values": [
+ {
+ "value": "None",
+ "description": "Strictly respect the output resolution without considering the pixel aspect ratio or display aspect ratio of the input video."
+ },
+ {
+ "value": "AutoSize",
+ "description": "Override the output resolution, and change it to match the display aspect ratio of the input, without padding. For example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the value in the preset is overridden, and the output will be at 1280x720, which maintains the input aspect ratio of 16:9."
+ },
+ {
+ "value": "AutoFit",
+ "description": "Pad the output (with either letterbox or pillar box) to honor the output resolution, while ensuring that the active video region in the output has the same aspect ratio as the input. For example, if the input is 1920x1080 and the encoding preset asks for 1280x1280, then the output will be at 1280x1280, which contains an inner rectangle of 1280x720 at aspect ratio of 16:9, and pillar box regions 280 pixels wide at the left and right."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The resizing mode - how the input video will be resized to fit the desired output resolution(s). Default is AutoSize"
+ }
+ },
+ "type": "object",
+ "description": "Describes the basic properties for encoding the input video."
+ },
+ "Image": {
+ "x-ms-discriminator-value": "#Microsoft.Media.Image",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Video"
+ }
+ ],
+ "properties": {
+ "start": {
+ "type": "string",
+ "description": "The position in the input video from where to start generating thumbnails. The value can be in absolute timestamp (ISO 8601, e.g: PT05S), or a frame count (For example, 10 for the 10th frame), or a relative value (For example, 1%). Also supports a macro {Best}, which tells the encoder to select the best thumbnail from the first few seconds of the video."
+ },
+ "step": {
+ "type": "string",
+ "description": "The intervals at which thumbnails are generated. The value can be in absolute timestamp (ISO 8601, e.g: PT05S for one image every 5 seconds), or a frame count (For example, 30 for every 30 frames), or a relative value (For example, 1%)."
+ },
+ "range": {
+ "type": "string",
+ "description": "The position in the input video at which to stop generating thumbnails. The value can be in absolute timestamp (ISO 8601, e.g: PT5M30S to stop at 5 minutes and 30 seconds), or a frame count (For example, 300 to stop at the 300th frame), or a relative value (For example, 100%)."
+ }
+ },
+ "type": "object",
+ "required": [
+ "start"
+ ],
+ "description": "Describes the basic properties for generating thumbnails from the input video"
+ },
+ "Format": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ },
+ "filenamePattern": {
+ "type": "string",
+ "description": "The pattern of the file names for the generated output files. The following macros are supported in the file name: {Basename} - The base name of the input video {Extension} - The appropriate extension for this format. {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and removed from the filename."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type",
+ "filenamePattern"
+ ],
+ "description": "Base class for output."
+ },
+ "ImageFormat": {
+ "x-ms-discriminator-value": "#Microsoft.Media.ImageFormat",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Format"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Describes the properties for an output image file."
+ },
+ "JpgFormat": {
+ "x-ms-discriminator-value": "#Microsoft.Media.JpgFormat",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ImageFormat"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Describes the settings for producing JPEG thumbnails."
+ },
+ "PngFormat": {
+ "x-ms-discriminator-value": "#Microsoft.Media.PngFormat",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ImageFormat"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Describes the settings for producing PNG thumbnails."
+ },
+ "CopyAudio": {
+ "x-ms-discriminator-value": "#Microsoft.Media.CopyAudio",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Codec"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "A codec flag, which tells the encoder to copy the input audio bitstream."
+ },
+ "Deinterlace": {
+ "properties": {
+ "parity": {
+ "type": "string",
+ "enum": [
+ "Auto",
+ "TopFieldFirst",
+ "BottomFieldFirst"
+ ],
+ "x-ms-enum": {
+ "name": "DeinterlaceParity",
+ "values": [
+ {
+ "value": "Auto",
+ "description": "Automatically detect the order of fields"
+ },
+ {
+ "value": "TopFieldFirst",
+ "description": "Apply top field first processing of input video."
+ },
+ {
+ "value": "BottomFieldFirst",
+ "description": "Apply bottom field first processing of input video."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The field parity for de-interlacing, defaults to Auto."
+ },
+ "mode": {
+ "type": "string",
+ "enum": [
+ "Off",
+ "AutoPixelAdaptive"
+ ],
+ "x-ms-enum": {
+ "name": "DeinterlaceMode",
+ "values": [
+ {
+ "value": "Off",
+ "description": "Disables de-interlacing of the source video."
+ },
+ {
+ "value": "AutoPixelAdaptive",
+ "description": "Apply automatic pixel adaptive de-interlacing on each frame in the input video."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The deinterlacing mode. Defaults to AutoPixelAdaptive."
+ }
+ },
+ "type": "object",
+ "description": "Describes the de-interlacing settings."
+ },
+ "Rectangle": {
+ "properties": {
+ "left": {
+ "type": "string",
+ "description": "The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%)."
+ },
+ "top": {
+ "type": "string",
+ "description": "The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%)."
+ },
+ "width": {
+ "type": "string",
+ "description": "The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%)."
+ },
+ "height": {
+ "type": "string",
+ "description": "The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%)."
+ }
+ },
+ "type": "object",
+ "description": "Describes the properties of a rectangular window applied to the input media before processing it."
+ },
+ "Filters": {
+ "properties": {
+ "deinterlace": {
+ "$ref": "#/definitions/Deinterlace",
+ "description": "The de-interlacing settings."
+ },
+ "rotation": {
+ "type": "string",
+ "enum": [
+ "Auto",
+ "None",
+ "Rotate0",
+ "Rotate90",
+ "Rotate180",
+ "Rotate270"
+ ],
+ "x-ms-enum": {
+ "name": "Rotation",
+ "values": [
+ {
+ "value": "Auto",
+ "description": "Automatically detect and rotate as needed."
+ },
+ {
+ "value": "None",
+ "description": "Do not rotate the video. If the output format supports it, any metadata about rotation is kept intact."
+ },
+ {
+ "value": "Rotate0",
+ "description": "Do not rotate the video but remove any metadata about the rotation."
+ },
+ {
+ "value": "Rotate90",
+ "description": "Rotate 90 degrees clockwise."
+ },
+ {
+ "value": "Rotate180",
+ "description": "Rotate 180 degrees clockwise."
+ },
+ {
+ "value": "Rotate270",
+ "description": "Rotate 270 degrees clockwise."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The rotation, if any, to be applied to the input video, before it is encoded. Default is Auto"
+ },
+ "crop": {
+ "$ref": "#/definitions/Rectangle",
+ "description": "The parameters for the rectangular window with which to crop the input video."
+ },
+ "overlays": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Overlay"
+ },
+ "description": "The properties of overlays to be applied to the input video. These could be audio, image or video overlays."
+ }
+ },
+ "type": "object",
+ "description": "Describes all the filtering operations, such as de-interlacing, rotation etc. that are to be applied to the input media before encoding."
+ },
+ "Layer": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ },
+ "width": {
+ "type": "string",
+ "description": "The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input."
+ },
+ "height": {
+ "type": "string",
+ "description": "The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input."
+ },
+ "label": {
+ "type": "string",
+ "description": "The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "The encoder can be configured to produce video and/or images (thumbnails) at different resolutions, by specifying a layer for each desired resolution. A layer represents the properties for the video or image at a resolution."
+ },
+ "VideoLayer": {
+ "x-ms-discriminator-value": "#Microsoft.Media.VideoLayer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Layer"
+ }
+ ],
+ "properties": {
+ "bitrate": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The average bitrate in bits per second at which to encode the input video when generating this layer. This is a required field."
+ },
+ "maxBitrate": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum bitrate (in bits per second), at which the VBV buffer should be assumed to refill. If not specified, defaults to the same value as bitrate."
+ },
+ "bFrames": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of B-frames to be used when encoding this layer. If not specified, the encoder chooses an appropriate number based on the video profile and level."
+ },
+ "frameRate": {
+ "type": "string",
+ "description": "The frame rate (in frames per second) at which to encode this layer. The value can be in the form of M/N where M and N are integers (For example, 30000/1001), or in the form of a number (For example, 30, or 29.97). The encoder enforces constraints on allowed frame rates based on the profile and level. If it is not specified, the encoder will use the same frame rate as the input video."
+ },
+ "slices": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of slices to be used when encoding this layer. If not specified, default is zero, which means that encoder will use a single slice for each frame."
+ },
+ "adaptiveBFrame": {
+ "type": "boolean",
+ "description": "Whether or not adaptive B-frames are to be used when encoding this layer. If not specified, the encoder will turn it on whenever the video profile permits its use."
+ }
+ },
+ "type": "object",
+ "required": [
+ "bitrate"
+ ],
+ "description": "Describes the settings to be used when encoding the input video into a desired output bitrate layer."
+ },
+ "H264Layer": {
+ "x-ms-discriminator-value": "#Microsoft.Media.H264Layer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/VideoLayer"
+ }
+ ],
+ "properties": {
+ "profile": {
+ "type": "string",
+ "enum": [
+ "Auto",
+ "Baseline",
+ "Main",
+ "High",
+ "High422",
+ "High444"
+ ],
+ "x-ms-enum": {
+ "name": "H264VideoProfile",
+ "values": [
+ {
+ "value": "Auto",
+ "description": "Tells the encoder to automatically determine the appropriate H.264 profile."
+ },
+ {
+ "value": "Baseline",
+ "description": "Baseline profile"
+ },
+ {
+ "value": "Main",
+ "description": "Main profile"
+ },
+ {
+ "value": "High",
+ "description": "High profile."
+ },
+ {
+ "value": "High422",
+ "description": "High 4:2:2 profile."
+ },
+ {
+ "value": "High444",
+ "description": "High 4:4:4 predictive profile."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "We currently support Baseline, Main, High, High422, High444. Default is Auto."
+ },
+ "level": {
+ "type": "string",
+ "description": "We currently support Level up to 6.2. The value can be Auto, or a number that matches the H.264 profile. If not specified, the default is Auto, which lets the encoder choose the Level that is appropriate for this layer."
+ },
+ "bufferWindow": {
+ "type": "string",
+ "format": "duration",
+ "description": "The VBV buffer window length. The value should be in ISO 8601 format. The value should be in the range [0.1-100] seconds. The default is 5 seconds (for example, PT5S)."
+ },
+ "referenceFrames": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of reference frames to be used when encoding this layer. If not specified, the encoder determines an appropriate number based on the encoder complexity setting."
+ },
+ "entropyMode": {
+ "type": "string",
+ "enum": [
+ "Cabac",
+ "Cavlc"
+ ],
+ "x-ms-enum": {
+ "name": "EntropyMode",
+ "values": [
+ {
+ "value": "Cabac",
+ "description": "Context Adaptive Binary Arithmetic Coder (CABAC) entropy encoding."
+ },
+ {
+ "value": "Cavlc",
+ "description": "Context Adaptive Variable Length Coder (CAVLC) entropy encoding."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The entropy mode to be used for this layer. If not specified, the encoder chooses the mode that is appropriate for the profile and level."
+ }
+ },
+ "type": "object",
+ "description": "Describes the settings to be used when encoding the input video into a desired output bitrate layer with the H.264 video codec."
+ },
+ "H264Video": {
+ "x-ms-discriminator-value": "#Microsoft.Media.H264Video",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Video"
+ }
+ ],
+ "properties": {
+ "sceneChangeDetection": {
+ "type": "boolean",
+ "description": "Whether or not the encoder should insert key frames at scene changes. If not specified, the default is false. This flag should be set to true only when the encoder is being configured to produce a single output video."
+ },
+ "complexity": {
+ "type": "string",
+ "enum": [
+ "Speed",
+ "Balanced",
+ "Quality"
+ ],
+ "x-ms-enum": {
+ "name": "H264Complexity",
+ "values": [
+ {
+ "value": "Speed",
+ "description": "Tells the encoder to use settings that are optimized for faster encoding. Quality is sacrificed to decrease encoding time."
+ },
+ {
+ "value": "Balanced",
+ "description": "Tells the encoder to use settings that achieve a balance between speed and quality."
+ },
+ {
+ "value": "Quality",
+ "description": "Tells the encoder to use settings that are optimized to produce higher quality output at the expense of slower overall encode time."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Tells the encoder how to choose its encoding settings. The default value is Balanced."
+ },
+ "layers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/H264Layer"
+ },
+ "description": "The collection of output H.264 layers to be produced by the encoder."
+ }
+ },
+ "type": "object",
+ "description": "Describes all the properties for encoding a video with the H.264 codec."
+ },
+ "JpgImage": {
+ "x-ms-discriminator-value": "#Microsoft.Media.JpgImage",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Image"
+ }
+ ],
+ "properties": {
+ "layers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JpgLayer"
+ },
+ "description": "A collection of output JPEG image layers to be produced by the encoder."
+ }
+ },
+ "type": "object",
+ "description": "Describes the properties for producing a series of JPEG images from the input video."
+ },
+ "JpgLayer": {
+ "x-ms-discriminator-value": "#Microsoft.Media.JpgLayer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Layer"
+ }
+ ],
+ "properties": {
+ "quality": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The compression quality of the JPEG output. Range is from 0-100 and the default is 70."
+ }
+ },
+ "type": "object",
+ "description": "Describes the settings to produce a JPEG image from the input video."
+ },
+ "MultiBitrateFormat": {
+ "x-ms-discriminator-value": "#Microsoft.Media.MultiBitrateFormat",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Format"
+ }
+ ],
+ "properties": {
+ "outputFiles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OutputFile"
+ },
+ "description": "The list of output files to produce. Each entry in the list is a set of audio and video layer labels to be muxed together ."
+ }
+ },
+ "type": "object",
+ "description": "Describes the properties for producing a collection of GOP aligned multi-bitrate files. The default behavior is to produce one output file for each video layer which is muxed together with all the audios. The exact output files produced can be controlled by specifying the outputFiles collection."
+ },
+ "OutputFile": {
+ "properties": {
+ "labels": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The list of labels that describe how the encoder should multiplex video and audio into an output file. For example, if the encoder is producing two video layers with labels v1 and v2, and one audio layer with label a1, then an array like '[v1, a1]' tells the encoder to produce an output file with the video track represented by v1 and the audio track represented by a1."
+ }
+ },
+ "type": "object",
+ "required": [
+ "labels"
+ ],
+ "description": "Represents an output file produced."
+ },
+ "Mp4Format": {
+ "x-ms-discriminator-value": "#Microsoft.Media.Mp4Format",
+ "allOf": [
+ {
+ "$ref": "#/definitions/MultiBitrateFormat"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Describes the properties for an output ISO MP4 file."
+ },
+ "PngImage": {
+ "x-ms-discriminator-value": "#Microsoft.Media.PngImage",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Image"
+ }
+ ],
+ "properties": {
+ "layers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PngLayer"
+ },
+ "description": "A collection of output PNG image layers to be produced by the encoder."
+ }
+ },
+ "type": "object",
+ "description": "Describes the properties for producing a series of PNG images from the input video."
+ },
+ "PngLayer": {
+ "x-ms-discriminator-value": "#Microsoft.Media.PngLayer",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Layer"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Describes the settings to produce a PNG image from the input video."
+ },
+ "BuiltInStandardEncoderPreset": {
+ "x-ms-discriminator-value": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Preset"
+ }
+ ],
+ "properties": {
+ "presetName": {
+ "type": "string",
+ "enum": [
+ "H264SingleBitrateSD",
+ "H264SingleBitrate720p",
+ "H264SingleBitrate1080p",
+ "AdaptiveStreaming",
+ "AACGoodQualityAudio",
+ "ContentAwareEncodingExperimental",
+ "H264MultipleBitrate1080p",
+ "H264MultipleBitrate720p",
+ "H264MultipleBitrateSD"
+ ],
+ "x-ms-enum": {
+ "name": "EncoderNamedPreset",
+ "values": [
+ {
+ "value": "H264SingleBitrateSD",
+ "description": "Produces an MP4 file where the video is encoded with H.264 codec at 2200 kbps and a picture height of 480 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps."
+ },
+ {
+ "value": "H264SingleBitrate720p",
+ "description": "Produces an MP4 file where the video is encoded with H.264 codec at 4500 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps."
+ },
+ {
+ "value": "H264SingleBitrate1080p",
+ "description": "Produces an MP4 file where the video is encoded with H.264 codec at 6750 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps."
+ },
+ {
+ "value": "AdaptiveStreaming",
+ "description": "Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio. Auto-generates a bitrate ladder based on the input resolution and bitrate. The auto-generated preset will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output will remain 720p at best, and will start at rates lower than 3 Mbps. The output will have video and audio in separate MP4 files, which is optimal for adaptive streaming."
+ },
+ {
+ "value": "AACGoodQualityAudio",
+ "description": "Produces a single MP4 file containing only stereo audio encoded at 192 kbps."
+ },
+ {
+ "value": "ContentAwareEncodingExperimental",
+ "description": "Exposes an experimental preset for content-aware encoding. Given any input content, the service attempts to automatically determine the optimal number of layers, appropriate bitrate and resolution settings for delivery by adaptive streaming. The underlying algorithms will continue to evolve over time. The output will contain MP4 files with video and audio interleaved."
+ },
+ {
+ "value": "H264MultipleBitrate1080p",
+ "description": "Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 1080p and goes down to 360p."
+ },
+ {
+ "value": "H264MultipleBitrate720p",
+ "description": "Produces a set of 6 GOP-aligned MP4 files, ranging from 3400 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 720p and goes down to 360p."
+ },
+ {
+ "value": "H264MultipleBitrateSD",
+ "description": "Produces a set of 5 GOP-aligned MP4 files, ranging from 1600 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 480p and goes down to 360p."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The built-in preset to be used for encoding videos."
+ }
+ },
+ "type": "object",
+ "required": [
+ "presetName"
+ ],
+ "description": "Describes a built-in preset for encoding the input video with the Standard Encoder."
+ },
+ "StandardEncoderPreset": {
+ "x-ms-discriminator-value": "#Microsoft.Media.StandardEncoderPreset",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Preset"
+ }
+ ],
+ "properties": {
+ "filters": {
+ "$ref": "#/definitions/Filters",
+ "description": "One or more filtering operations that are applied to the input media before encoding."
+ },
+ "codecs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Codec"
+ },
+ "description": "The list of codecs to be used when encoding the input video."
+ },
+ "formats": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Format"
+ },
+ "description": "The list of outputs to be produced by the encoder."
+ }
+ },
+ "type": "object",
+ "required": [
+ "codecs",
+ "formats"
+ ],
+ "description": "Describes all the settings to be used when encoding the input video with the Standard Encoder."
+ },
+ "VideoAnalyzerPreset": {
+ "x-ms-discriminator-value": "#Microsoft.Media.VideoAnalyzerPreset",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AudioAnalyzerPreset"
+ }
+ ],
+ "properties": {
+ "insightsToExtract": {
+ "type": "string",
+ "enum": [
+ "AudioInsightsOnly",
+ "VideoInsightsOnly",
+ "AllInsights"
+ ],
+ "x-ms-enum": {
+ "name": "InsightsType",
+ "values": [
+ {
+ "value": "AudioInsightsOnly",
+ "description": "Generate audio only insights. Ignore video even if present. Fails if no audio is present."
+ },
+ {
+ "value": "VideoInsightsOnly",
+ "description": "Generate video only insights. Ignore audio if present. Fails if no video is present."
+ },
+ {
+ "value": "AllInsights",
+ "description": "Generate both audio and video insights. Fails if either audio or video Insights fail."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Defines the type of insights that you want the service to generate. The allowed values are 'AudioInsightsOnly', 'VideoInsightsOnly', and 'AllInsights'. The default is AllInsights. If you set this to AllInsights and the input is audio only, then only audio insights are generated. Similarly if the input is video only, then only video insights are generated. It is recommended that you not use AudioInsightsOnly if you expect some of your inputs to be video only; or use VideoInsightsOnly if you expect some of your inputs to be audio only. Your Jobs in such conditions would error out."
+ }
+ },
+ "type": "object",
+ "description": "A video analyzer preset that extracts insights (rich metadata) from both audio and video, and outputs a JSON format file."
+ },
+ "TransportStreamFormat": {
+ "x-ms-discriminator-value": "#Microsoft.Media.TransportStreamFormat",
+ "allOf": [
+ {
+ "$ref": "#/definitions/MultiBitrateFormat"
+ }
+ ],
+ "properties": {},
+ "type": "object",
+ "description": "Describes the properties for generating an MPEG-2 Transport Stream (ISO/IEC 13818-1) output video file(s)."
+ },
+ "VideoOverlay": {
+ "x-ms-discriminator-value": "#Microsoft.Media.VideoOverlay",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Overlay"
+ }
+ ],
+ "properties": {
+ "position": {
+ "$ref": "#/definitions/Rectangle",
+ "description": "The location in the input video where the overlay is applied."
+ },
+ "opacity": {
+ "type": "number",
+ "format": "double",
+ "description": "The opacity of the overlay. This is a value in the range [0 - 1.0]. Default is 1.0 which mean the overlay is opaque."
+ },
+ "cropRectangle": {
+ "$ref": "#/definitions/Rectangle",
+ "description": "An optional rectangular window used to crop the overlay image or video."
+ }
+ },
+ "type": "object",
+ "description": "Describes the properties of a video overlay."
+ },
+ "TransformOutput": {
+ "properties": {
+ "onError": {
+ "type": "string",
+ "enum": [
+ "StopProcessingJob",
+ "ContinueJob"
+ ],
+ "x-ms-enum": {
+ "name": "OnErrorType",
+ "values": [
+ {
+ "value": "StopProcessingJob",
+ "description": "Tells the service that if this TransformOutput fails, then any other incomplete TransformOutputs can be stopped."
+ },
+ {
+ "value": "ContinueJob",
+ "description": "Tells the service that if this TransformOutput fails, then allow any other TransformOutput to continue."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "A Transform can define more than one outputs. This property defines what the service should do when one output fails - either continue to produce other outputs, or, stop the other outputs. The overall Job state will not reflect failures of outputs that are specified with 'ContinueJob'. The default is 'StopProcessingJob'."
+ },
+ "relativePriority": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Normal",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "Priority",
+ "values": [
+ {
+ "value": "Low",
+ "description": "Used for TransformOutputs that can be generated after Normal and High priority TransformOutputs."
+ },
+ {
+ "value": "Normal",
+ "description": "Used for TransformOutputs that can be generated at Normal priority."
+ },
+ {
+ "value": "High",
+ "description": "Used for TransformOutputs that should take precedence over others."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Sets the relative priority of the TransformOutputs within a Transform. This sets the priority that the service uses for processing TransformOutputs. The default priority is Normal."
+ },
+ "preset": {
+ "$ref": "#/definitions/Preset",
+ "description": "Preset that describes the operations that will be used to modify, transcode, or extract insights from the source file to generate the output."
+ }
+ },
+ "type": "object",
+ "required": [
+ "preset"
+ ],
+ "description": "Describes the properties of a TransformOutput, which are the rules to be applied while generating the desired output."
+ },
+ "TransformProperties": {
+ "properties": {
+ "created": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC date and time when the Transform was created, in 'YYYY-MM-DDThh:mm:ssZ' format.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "description": {
+ "type": "string",
+ "description": "An optional verbose description of the Transform."
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC date and time when the Transform was last updated, in 'YYYY-MM-DDThh:mm:ssZ' format.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "outputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TransformOutput"
+ },
+ "description": "An array of one or more TransformOutputs that the Transform should generate."
+ }
+ },
+ "type": "object",
+ "required": [
+ "outputs"
+ ],
+ "description": "A Transform."
+ },
+ "Transform": {
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/TransformProperties",
+ "description": "The resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "description": "A Transform encapsulates the rules or instructions for generating desired outputs from input media, such as by transcoding or by extracting insights. After the Transform is created, it can be applied to input media by creating Jobs."
+ },
+ "JobInput": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Base class for inputs to a Job."
+ },
+ "JobInputClip": {
+ "x-ms-discriminator-value": "#Microsoft.Media.JobInputClip",
+ "allOf": [
+ {
+ "$ref": "#/definitions/JobInput"
+ }
+ ],
+ "properties": {
+ "files": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of files. Required for JobInputHttp. Maximum of 4000 characters each."
+ },
+ "start": {
+ "$ref": "#/definitions/ClipTime",
+ "description": "Defines a point on the timeline of the input media at which processing will start. Defaults to the beginning of the input media."
+ },
+ "end": {
+ "$ref": "#/definitions/ClipTime",
+ "description": "Defines a point on the timeline of the input media at which processing will end. Defaults to the end of the input media."
+ },
+ "label": {
+ "type": "string",
+ "description": "A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the Transform. For example, a Transform can be authored so as to take an image file with the label 'xyz' and apply it as an overlay onto the input video before it is encoded. When submitting a Job, exactly one of the JobInputs should be the image file, and it should have the label 'xyz'."
+ }
+ },
+ "type": "object",
+ "description": "Represents input files for a Job."
+ },
+ "ClipTime": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Base class for specifying a clip time. Use sub classes of this class to specify the time position in the media."
+ },
+ "AbsoluteClipTime": {
+ "x-ms-discriminator-value": "#Microsoft.Media.AbsoluteClipTime",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ClipTime"
+ }
+ ],
+ "properties": {
+ "time": {
+ "type": "string",
+ "format": "duration",
+ "description": "The time position on the timeline of the input media. It is usually specified as an ISO8601 period. e.g PT30S for 30 seconds."
+ }
+ },
+ "type": "object",
+ "required": [
+ "time"
+ ],
+ "description": "Specifies the clip time as an absolute time position in the media file. The absolute time can point to a different position depending on whether the media file starts from a timestamp of zero or not."
+ },
+ "JobInputs": {
+ "x-ms-discriminator-value": "#Microsoft.Media.JobInputs",
+ "allOf": [
+ {
+ "$ref": "#/definitions/JobInput"
+ }
+ ],
+ "properties": {
+ "inputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JobInput"
+ },
+ "description": "List of inputs to a Job."
+ }
+ },
+ "type": "object",
+ "description": "Describes a list of inputs to a Job."
+ },
+ "JobInputAsset": {
+ "x-ms-discriminator-value": "#Microsoft.Media.JobInputAsset",
+ "allOf": [
+ {
+ "$ref": "#/definitions/JobInputClip"
+ }
+ ],
+ "properties": {
+ "assetName": {
+ "type": "string",
+ "description": "The name of the input Asset."
+ }
+ },
+ "type": "object",
+ "required": [
+ "assetName"
+ ],
+ "description": "Represents an Asset for input into a Job."
+ },
+ "JobInputHttp": {
+ "x-ms-discriminator-value": "#Microsoft.Media.JobInputHttp",
+ "allOf": [
+ {
+ "$ref": "#/definitions/JobInputClip"
+ }
+ ],
+ "properties": {
+ "baseUri": {
+ "type": "string",
+ "description": "Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri is given, then the provided file list is assumed to be fully qualified uris. Maximum length of 4000 characters."
+ }
+ },
+ "type": "object",
+ "description": "Represents HTTPS job input."
+ },
+ "JobOutput": {
+ "discriminator": "@odata.type",
+ "properties": {
+ "@odata.type": {
+ "type": "string",
+ "description": "The discriminator for derived types."
+ },
+ "error": {
+ "$ref": "#/definitions/JobError",
+ "description": "If the JobOutput is in the Error state, it contains the details of the error.",
+ "readOnly": true
+ },
+ "state": {
+ "type": "string",
+ "enum": [
+ "Canceled",
+ "Canceling",
+ "Error",
+ "Finished",
+ "Processing",
+ "Queued",
+ "Scheduled"
+ ],
+ "x-ms-enum": {
+ "name": "JobState",
+ "values": [
+ {
+ "value": "Canceled",
+ "description": "The job was canceled. This is a final state for the job."
+ },
+ {
+ "value": "Canceling",
+ "description": "The job is in the process of being canceled. This is a transient state for the job."
+ },
+ {
+ "value": "Error",
+ "description": "The job has encountered an error. This is a final state for the job."
+ },
+ {
+ "value": "Finished",
+ "description": "The job is finished. This is a final state for the job."
+ },
+ {
+ "value": "Processing",
+ "description": "The job is processing. This is a transient state for the job."
+ },
+ {
+ "value": "Queued",
+ "description": "The job is in a queued state, waiting for resources to become available. This is a transient state."
+ },
+ {
+ "value": "Scheduled",
+ "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Describes the state of the JobOutput.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "progress": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If the JobOutput is in a Processing state, this contains the Job completion percentage. The value is an estimate and not intended to be used to predict Job completion times. To determine if the JobOutput is complete, use the State property.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "label": {
+ "type": "string",
+ "description": "A label that is assigned to a JobOutput in order to help uniquely identify it. This is useful when your Transform has more than one TransformOutput, whereby your Job has more than one JobOutput. In such cases, when you submit the Job, you will add two or more JobOutputs, in the same order as TransformOutputs in the Transform. Subsequently, when you retrieve the Job, either through events or on a GET request, you can use the label to easily identify the JobOutput. If a label is not provided, a default value of '{presetName}_{outputIndex}' will be used, where the preset name is the name of the preset in the corresponding TransformOutput and the output index is the relative index of the this JobOutput within the Job. Note that this index is the same as the relative index of the corresponding TransformOutput within its Transform."
+ }
+ },
+ "type": "object",
+ "required": [
+ "@odata.type"
+ ],
+ "description": "Describes all the properties of a JobOutput."
+ },
+ "JobError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "enum": [
+ "ServiceError",
+ "ServiceTransientError",
+ "DownloadNotAccessible",
+ "DownloadTransientError",
+ "UploadNotAccessible",
+ "UploadTransientError",
+ "ConfigurationUnsupported",
+ "ContentMalformed",
+ "ContentUnsupported"
+ ],
+ "x-ms-enum": {
+ "name": "JobErrorCode",
+ "values": [
+ {
+ "value": "ServiceError",
+ "description": "Fatal service error, please contact support."
+ },
+ {
+ "value": "ServiceTransientError",
+ "description": "Transient error, please retry, if retry is unsuccessful, please contact support."
+ },
+ {
+ "value": "DownloadNotAccessible",
+ "description": "While trying to download the input files, the files were not accessible, please check the availability of the source."
+ },
+ {
+ "value": "DownloadTransientError",
+ "description": "While trying to download the input files, there was an issue during transfer (storage service, network errors), see details and check your source."
+ },
+ {
+ "value": "UploadNotAccessible",
+ "description": "While trying to upload the output files, the destination was not reachable, please check the availability of the destination."
+ },
+ {
+ "value": "UploadTransientError",
+ "description": "While trying to upload the output files, there was an issue during transfer (storage service, network errors), see details and check your destination."
+ },
+ {
+ "value": "ConfigurationUnsupported",
+ "description": "There was a problem with the combination of input files and the configuration settings applied, fix the configuration settings and retry with the same input, or change input to match the configuration."
+ },
+ {
+ "value": "ContentMalformed",
+ "description": "There was a problem with the input content (for example: zero byte files, or corrupt/non-decodable files), check the input files."
+ },
+ {
+ "value": "ContentUnsupported",
+ "description": "There was a problem with the format of the input (not valid media file, or an unsupported file/codec), check the validity of the input files."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Error code describing the error.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "message": {
+ "type": "string",
+ "description": "A human-readable language-dependent representation of the error.",
+ "readOnly": true
+ },
+ "category": {
+ "type": "string",
+ "enum": [
+ "Service",
+ "Download",
+ "Upload",
+ "Configuration",
+ "Content"
+ ],
+ "x-ms-enum": {
+ "name": "JobErrorCategory",
+ "values": [
+ {
+ "value": "Service",
+ "description": "The error is service related."
+ },
+ {
+ "value": "Download",
+ "description": "The error is download related."
+ },
+ {
+ "value": "Upload",
+ "description": "The error is upload related."
+ },
+ {
+ "value": "Configuration",
+ "description": "The error is configuration related."
+ },
+ {
+ "value": "Content",
+ "description": "The error is related to data in the input files."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Helps with categorization of errors.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "retry": {
+ "type": "string",
+ "enum": [
+ "DoNotRetry",
+ "MayRetry"
+ ],
+ "x-ms-enum": {
+ "name": "JobRetry",
+ "values": [
+ {
+ "value": "DoNotRetry",
+ "description": "Issue needs to be investigated and then the job resubmitted with corrections or retried once the underlying issue has been corrected."
+ },
+ {
+ "value": "MayRetry",
+ "description": "Issue may be resolved after waiting for a period of time and resubmitting the same Job."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JobErrorDetail"
+ },
+ "description": "An array of details about specific errors that led to this reported error.",
+ "readOnly": true
+ }
+ },
+ "type": "object",
+ "description": "Details of JobOutput errors."
+ },
+ "JobOutputAsset": {
+ "x-ms-discriminator-value": "#Microsoft.Media.JobOutputAsset",
+ "allOf": [
+ {
+ "$ref": "#/definitions/JobOutput"
+ }
+ ],
+ "properties": {
+ "assetName": {
+ "type": "string",
+ "description": "The name of the output Asset."
+ }
+ },
+ "type": "object",
+ "required": [
+ "assetName"
+ ],
+ "description": "Represents an Asset used as a JobOutput."
+ },
+ "JobErrorDetail": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Code describing the error detail.",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "A human-readable representation of the error.",
+ "readOnly": true
+ }
+ },
+ "type": "object",
+ "description": "Details of JobOutput errors."
+ },
+ "JobProperties": {
+ "properties": {
+ "created": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC date and time when the Job was created, in 'YYYY-MM-DDThh:mm:ssZ' format.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "state": {
+ "type": "string",
+ "enum": [
+ "Canceled",
+ "Canceling",
+ "Error",
+ "Finished",
+ "Processing",
+ "Queued",
+ "Scheduled"
+ ],
+ "x-ms-enum": {
+ "name": "JobState",
+ "values": [
+ {
+ "value": "Canceled",
+ "description": "The job was canceled. This is a final state for the job."
+ },
+ {
+ "value": "Canceling",
+ "description": "The job is in the process of being canceled. This is a transient state for the job."
+ },
+ {
+ "value": "Error",
+ "description": "The job has encountered an error. This is a final state for the job."
+ },
+ {
+ "value": "Finished",
+ "description": "The job is finished. This is a final state for the job."
+ },
+ {
+ "value": "Processing",
+ "description": "The job is processing. This is a transient state for the job."
+ },
+ {
+ "value": "Queued",
+ "description": "The job is in a queued state, waiting for resources to become available. This is a transient state."
+ },
+ {
+ "value": "Scheduled",
+ "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "The current state of the job.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "description": {
+ "type": "string",
+ "description": "Optional customer supplied description of the Job."
+ },
+ "input": {
+ "$ref": "#/definitions/JobInput",
+ "description": "The inputs for the Job."
+ },
+ "lastModified": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The UTC date and time when the Job was last updated, in 'YYYY-MM-DDThh:mm:ssZ' format.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "outputs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JobOutput"
+ },
+ "description": "The outputs for the Job."
+ },
+ "priority": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Normal",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "Priority",
+ "values": [
+ {
+ "value": "Low",
+ "description": "Used for TransformOutputs that can be generated after Normal and High priority TransformOutputs."
+ },
+ {
+ "value": "Normal",
+ "description": "Used for TransformOutputs that can be generated at Normal priority."
+ },
+ {
+ "value": "High",
+ "description": "Used for TransformOutputs that should take precedence over others."
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Priority with which the job should be processed. Higher priority jobs are processed before lower priority jobs. If not set, the default is normal."
+ },
+ "correlationData": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Customer provided key, value pairs that will be returned in Job and JobOutput state events."
+ }
+ },
+ "type": "object",
+ "required": [
+ "input",
+ "outputs"
+ ],
+ "description": "Properties of the Job."
+ },
+ "Job": {
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/JobProperties",
+ "description": "The resource properties.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "description": "A Job resource type. The progress and state can be obtained by polling a Job or subscribing to events using EventGrid."
+ },
+ "ODataError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A language-independent error name."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataError"
+ },
+ "description": "The error details."
+ }
+ },
+ "type": "object",
+ "description": "Information about an error."
+ },
+ "ApiError": {
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ODataError",
+ "description": "The error properties."
+ }
+ },
+ "type": "object",
+ "description": "The API error."
+ },
+ "TransformCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Transform"
+ },
+ "description": "A collection of Transform items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of Transform items."
+ },
+ "JobCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Job"
+ },
+ "description": "A collection of Job items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of Job items."
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms": {
+ "get": {
+ "summary": "List Transforms",
+ "description": "Lists the Transforms in the account.",
+ "operationId": "Transforms_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/TransformCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Restricts the set of items returned."
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Specifies the key by which the result collection should be ordered."
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-odata": "#/definitions/Transform",
+ "x-ms-examples": {
+ "Lists the Transforms": {
+ "$ref": "examples/transforms-list-all.json"
+ },
+ "Lists the Transforms filter by name": {
+ "$ref": "examples/transforms-list-all-filter-by-name.json"
+ },
+ "Lists the Transforms filter by created": {
+ "$ref": "examples/transforms-list-all-filter-by-created.json"
+ },
+ "Lists the Transforms filter by lastmodified": {
+ "$ref": "examples/transforms-list-all-filter-by-lastmodified.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}": {
+ "get": {
+ "summary": "Get Transform",
+ "description": "Gets a Transform.",
+ "operationId": "Transforms_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Transform"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a Transform by name": {
+ "$ref": "examples/transforms-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create or Update Transform",
+ "description": "Creates or updates a new Transform.",
+ "operationId": "Transforms_CreateOrUpdate",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Transform"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Transform"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Transform"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Create or update a Transform": {
+ "$ref": "examples/transforms-create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete Transform",
+ "description": "Deletes a Transform.",
+ "operationId": "Transforms_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete a Transform": {
+ "$ref": "examples/transforms-delete.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update Transform",
+ "description": "Updates a Transform.",
+ "operationId": "Transforms_Update",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Transform"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Transform"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Update a Transform.": {
+ "$ref": "examples/transforms-update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs": {
+ "get": {
+ "summary": "List Jobs",
+ "description": "Lists all of the Jobs for the Transform.",
+ "operationId": "Jobs_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/JobCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Restricts the set of items returned."
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Specifies the by which the result collection should be ordered."
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-odata": "#/definitions/Job",
+ "x-ms-examples": {
+ "Lists all of the Jobs for the Transform.": {
+ "$ref": "examples/jobs-list-all.json"
+ },
+ "Lists Jobs for the Transform filter by name.": {
+ "$ref": "examples/jobs-list-all-filter-by-name.json"
+ },
+ "Lists Jobs for the Transform filter by state equal.": {
+ "$ref": "examples/jobs-list-all-filter-by-state-eq.json"
+ },
+ "Lists Jobs for the Transform filter by state not equal.": {
+ "$ref": "examples/jobs-list-all-filter-by-state-ne.json"
+ },
+ "Lists Jobs for the Transform filter by name and state.": {
+ "$ref": "examples/jobs-list-all-filter-by-name-and-state.json"
+ },
+ "Lists Jobs for the Transform filter by created.": {
+ "$ref": "examples/jobs-list-all-filter-by-created.json"
+ },
+ "Lists Jobs for the Transform filter by lastmodified.": {
+ "$ref": "examples/jobs-list-all-filter-by-lastmodified.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}": {
+ "get": {
+ "summary": "Get Job",
+ "description": "Gets a Job.",
+ "operationId": "Jobs_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Job"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "name": "jobName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Job name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a Job by name": {
+ "$ref": "examples/jobs-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create Job",
+ "description": "Creates a Job.",
+ "operationId": "Jobs_Create",
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Job"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "name": "jobName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Job name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Job"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Create a Job": {
+ "$ref": "examples/jobs-create.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete Job",
+ "description": "Deletes a Job.",
+ "operationId": "Jobs_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "name": "jobName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Job name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete a Job": {
+ "$ref": "examples/jobs-delete.json"
+ }
+ }
+ },
+ "patch": {
+ "summary": "Update Job",
+ "description": "Update is only supported for description and priority. Updating Priority will take effect when the Job state is Queued or Scheduled and depending on the timing the priority update may be ignored.",
+ "operationId": "Jobs_Update",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Job"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "name": "jobName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Job name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Job"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Update a Job": {
+ "$ref": "examples/jobs-update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}/cancelJob": {
+ "post": {
+ "summary": "Cancel Job",
+ "description": "Cancel a Job.",
+ "operationId": "Jobs_CancelJob",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "transformName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Transform name."
+ },
+ {
+ "name": "jobName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Job name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Cancel a Job": {
+ "$ref": "examples/jobs-cancel.json"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The unique identifier for a Microsoft Azure subscription."
+ },
+ "ResourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group within the Azure subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "MediaServicesAccountName": {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersion": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The Version of the API to be used with the client request."
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json
new file mode 100644
index 000000000000..a08ee4ec0a75
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json
@@ -0,0 +1,1289 @@
+{
+ "schemes": [
+ "https"
+ ],
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Media Services",
+ "description": "This Swagger was generated by the API Framework.",
+ "version": "2018-07-01"
+ },
+ "host": "management.azure.com",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "definitions": {
+ "TrackPropertyCondition": {
+ "properties": {
+ "property": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "FourCC"
+ ],
+ "x-ms-enum": {
+ "name": "TrackPropertyType",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Unknown track property"
+ },
+ {
+ "value": "FourCC",
+ "description": "Track FourCC"
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Track property type"
+ },
+ "operation": {
+ "type": "string",
+ "enum": [
+ "Unknown",
+ "Equal"
+ ],
+ "x-ms-enum": {
+ "name": "TrackPropertyCompareOperation",
+ "values": [
+ {
+ "value": "Unknown",
+ "description": "Unknown track property compare operation"
+ },
+ {
+ "value": "Equal",
+ "description": "Equal operation"
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Track property condition operation"
+ },
+ "value": {
+ "type": "string",
+ "description": "Track property value"
+ }
+ },
+ "type": "object",
+ "required": [
+ "property",
+ "operation"
+ ],
+ "description": "Class to specify one track property condition"
+ },
+ "TrackSelection": {
+ "properties": {
+ "trackSelections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrackPropertyCondition"
+ },
+ "description": "TrackSelections is a track property condition list which can specify track(s)"
+ }
+ },
+ "type": "object",
+ "description": "Class to select a track"
+ },
+ "DefaultKey": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "description": "Label can be used to specify Content Key when creating a Streaming Locator"
+ },
+ "policyName": {
+ "type": "string",
+ "description": "Policy used by Default Key"
+ }
+ },
+ "type": "object",
+ "description": "Class to specify properties of default content key for each encryption scheme"
+ },
+ "StreamingPolicyContentKey": {
+ "properties": {
+ "label": {
+ "type": "string",
+ "description": "Label can be used to specify Content Key when creating a Streaming Locator"
+ },
+ "policyName": {
+ "type": "string",
+ "description": "Policy used by Content Key"
+ },
+ "tracks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrackSelection"
+ },
+ "description": "Tracks which use this content key"
+ }
+ },
+ "type": "object",
+ "description": "Class to specify properties of content key"
+ },
+ "StreamingPolicyContentKeys": {
+ "properties": {
+ "defaultKey": {
+ "$ref": "#/definitions/DefaultKey",
+ "description": "Default content key for an encryption scheme"
+ },
+ "keyToTrackMappings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StreamingPolicyContentKey"
+ },
+ "description": "Representing tracks needs separate content key"
+ }
+ },
+ "type": "object",
+ "description": "Class to specify properties of all content keys in Streaming Policy"
+ },
+ "StreamingPolicyPlayReadyConfiguration": {
+ "properties": {
+ "customLicenseAcquisitionUrlTemplate": {
+ "type": "string",
+ "description": "Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested."
+ },
+ "playReadyCustomAttributes": {
+ "type": "string",
+ "description": "Custom attributes for PlayReady"
+ }
+ },
+ "type": "object",
+ "description": "Class to specify configurations of PlayReady in Streaming Policy"
+ },
+ "StreamingPolicyWidevineConfiguration": {
+ "properties": {
+ "customLicenseAcquisitionUrlTemplate": {
+ "type": "string",
+ "description": "Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested."
+ }
+ },
+ "type": "object",
+ "description": "Class to specify configurations of Widevine in Streaming Policy"
+ },
+ "StreamingPolicyFairPlayConfiguration": {
+ "properties": {
+ "customLicenseAcquisitionUrlTemplate": {
+ "type": "string",
+ "description": "Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested."
+ },
+ "allowPersistentLicense": {
+ "type": "boolean",
+ "description": "All license to be persistent or not"
+ }
+ },
+ "type": "object",
+ "required": [
+ "allowPersistentLicense"
+ ],
+ "description": "Class to specify configurations of FairPlay in Streaming Policy"
+ },
+ "CbcsDrmConfiguration": {
+ "properties": {
+ "fairPlay": {
+ "$ref": "#/definitions/StreamingPolicyFairPlayConfiguration",
+ "description": "FairPlay configurations"
+ },
+ "playReady": {
+ "$ref": "#/definitions/StreamingPolicyPlayReadyConfiguration",
+ "description": "PlayReady configurations"
+ },
+ "widevine": {
+ "$ref": "#/definitions/StreamingPolicyWidevineConfiguration",
+ "description": "Widevine configurations"
+ }
+ },
+ "type": "object",
+ "description": "Class to specify DRM configurations of CommonEncryptionCbcs scheme in Streaming Policy"
+ },
+ "CencDrmConfiguration": {
+ "properties": {
+ "playReady": {
+ "$ref": "#/definitions/StreamingPolicyPlayReadyConfiguration",
+ "description": "PlayReady configurations"
+ },
+ "widevine": {
+ "$ref": "#/definitions/StreamingPolicyWidevineConfiguration",
+ "description": "Widevine configurations"
+ }
+ },
+ "type": "object",
+ "description": "Class to specify DRM configurations of CommonEncryptionCenc scheme in Streaming Policy"
+ },
+ "EnabledProtocols": {
+ "properties": {
+ "download": {
+ "type": "boolean",
+ "description": "Enable Download protocol or not"
+ },
+ "dash": {
+ "type": "boolean",
+ "description": "Enable DASH protocol or not"
+ },
+ "hls": {
+ "type": "boolean",
+ "description": "Enable HLS protocol or not"
+ },
+ "smoothStreaming": {
+ "type": "boolean",
+ "description": "Enable SmoothStreaming protocol or not"
+ }
+ },
+ "type": "object",
+ "required": [
+ "download",
+ "dash",
+ "hls",
+ "smoothStreaming"
+ ],
+ "description": "Class to specify which protocols are enabled"
+ },
+ "NoEncryption": {
+ "properties": {
+ "enabledProtocols": {
+ "$ref": "#/definitions/EnabledProtocols",
+ "description": "Representing supported protocols"
+ }
+ },
+ "type": "object",
+ "description": "Class for NoEncryption scheme"
+ },
+ "EnvelopeEncryption": {
+ "properties": {
+ "enabledProtocols": {
+ "$ref": "#/definitions/EnabledProtocols",
+ "description": "Representing supported protocols"
+ },
+ "clearTracks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrackSelection"
+ },
+ "description": "Representing which tracks should not be encrypted"
+ },
+ "contentKeys": {
+ "$ref": "#/definitions/StreamingPolicyContentKeys",
+ "description": "Representing default content key for each encryption scheme and separate content keys for specific tracks"
+ },
+ "customKeyAcquisitionUrlTemplate": {
+ "type": "string",
+ "description": "Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested."
+ }
+ },
+ "type": "object",
+ "description": "Class for EnvelopeEncryption encryption scheme"
+ },
+ "CommonEncryptionCenc": {
+ "properties": {
+ "enabledProtocols": {
+ "$ref": "#/definitions/EnabledProtocols",
+ "description": "Representing supported protocols"
+ },
+ "clearTracks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrackSelection"
+ },
+ "description": "Representing which tracks should not be encrypted"
+ },
+ "contentKeys": {
+ "$ref": "#/definitions/StreamingPolicyContentKeys",
+ "description": "Representing default content key for each encryption scheme and separate content keys for specific tracks"
+ },
+ "drm": {
+ "$ref": "#/definitions/CencDrmConfiguration",
+ "description": "Configuration of DRMs for CommonEncryptionCenc encryption scheme"
+ }
+ },
+ "type": "object",
+ "description": "Class for envelope encryption scheme"
+ },
+ "CommonEncryptionCbcs": {
+ "properties": {
+ "enabledProtocols": {
+ "$ref": "#/definitions/EnabledProtocols",
+ "description": "Representing supported protocols"
+ },
+ "clearTracks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrackSelection"
+ },
+ "description": "Representing which tracks should not be encrypted"
+ },
+ "contentKeys": {
+ "$ref": "#/definitions/StreamingPolicyContentKeys",
+ "description": "Representing default content key for each encryption scheme and separate content keys for specific tracks"
+ },
+ "drm": {
+ "$ref": "#/definitions/CbcsDrmConfiguration",
+ "description": "Configuration of DRMs for current encryption scheme"
+ }
+ },
+ "type": "object",
+ "description": "Class for CommonEncryptionCbcs encryption scheme"
+ },
+ "StreamingPolicyProperties": {
+ "properties": {
+ "created": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Creation time of Streaming Policy",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "defaultContentKeyPolicyName": {
+ "type": "string",
+ "description": "Default ContentKey used by current Streaming Policy"
+ },
+ "envelopeEncryption": {
+ "$ref": "#/definitions/EnvelopeEncryption",
+ "description": "Configuration of EnvelopeEncryption"
+ },
+ "commonEncryptionCenc": {
+ "$ref": "#/definitions/CommonEncryptionCenc",
+ "description": "Configuration of CommonEncryptionCenc"
+ },
+ "commonEncryptionCbcs": {
+ "$ref": "#/definitions/CommonEncryptionCbcs",
+ "description": "Configuration of CommonEncryptionCbcs"
+ },
+ "noEncryption": {
+ "$ref": "#/definitions/NoEncryption",
+ "description": "Configurations of NoEncryption"
+ }
+ },
+ "type": "object",
+ "description": "Class to specify properties of Streaming Policy"
+ },
+ "StreamingPolicy": {
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StreamingPolicyProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "description": "A Streaming Policy resource"
+ },
+ "StreamingLocatorContentKey": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "ID of Content Key"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "CommonEncryptionCenc",
+ "CommonEncryptionCbcs",
+ "EnvelopeEncryption"
+ ],
+ "x-ms-enum": {
+ "name": "StreamingLocatorContentKeyType",
+ "values": [
+ {
+ "value": "CommonEncryptionCenc",
+ "description": "Common Encryption using CENC"
+ },
+ {
+ "value": "CommonEncryptionCbcs",
+ "description": "Common Encryption using CBCS"
+ },
+ {
+ "value": "EnvelopeEncryption",
+ "description": "Envelope Encryption"
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Encryption type of Content Key",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "labelReferenceInStreamingPolicy": {
+ "type": "string",
+ "description": "Label of Content Key as specified in the Streaming Policy"
+ },
+ "value": {
+ "type": "string",
+ "description": "Value of Content Key"
+ },
+ "policyName": {
+ "type": "string",
+ "description": "ContentKeyPolicy used by Content Key",
+ "readOnly": true
+ },
+ "tracks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TrackSelection"
+ },
+ "description": "Tracks which use this Content Key",
+ "readOnly": true
+ }
+ },
+ "type": "object",
+ "required": [
+ "id"
+ ],
+ "description": "Class for content key in Streaming Locator"
+ },
+ "StreamingPath": {
+ "properties": {
+ "streamingProtocol": {
+ "type": "string",
+ "enum": [
+ "Hls",
+ "Dash",
+ "SmoothStreaming",
+ "Download"
+ ],
+ "x-ms-enum": {
+ "name": "StreamingPolicyStreamingProtocol",
+ "values": [
+ {
+ "value": "Hls",
+ "description": "HLS protocol"
+ },
+ {
+ "value": "Dash",
+ "description": "DASH protocol"
+ },
+ {
+ "value": "SmoothStreaming",
+ "description": "SmoothStreaming protocol"
+ },
+ {
+ "value": "Download",
+ "description": "Download protocol"
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Streaming protocol"
+ },
+ "encryptionScheme": {
+ "type": "string",
+ "enum": [
+ "NoEncryption",
+ "EnvelopeEncryption",
+ "CommonEncryptionCenc",
+ "CommonEncryptionCbcs"
+ ],
+ "x-ms-enum": {
+ "name": "EncryptionScheme",
+ "values": [
+ {
+ "value": "NoEncryption",
+ "description": "NoEncryption scheme"
+ },
+ {
+ "value": "EnvelopeEncryption",
+ "description": "EnvelopeEncryption scheme"
+ },
+ {
+ "value": "CommonEncryptionCenc",
+ "description": "CommonEncryptionCenc scheme"
+ },
+ {
+ "value": "CommonEncryptionCbcs",
+ "description": "CommonEncryptionCbcs scheme"
+ }
+ ],
+ "modelAsString": true
+ },
+ "description": "Encryption scheme"
+ },
+ "paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Streaming paths for each protocol and encryptionScheme pair"
+ }
+ },
+ "type": "object",
+ "required": [
+ "streamingProtocol",
+ "encryptionScheme"
+ ],
+ "description": "Class of paths for streaming"
+ },
+ "StreamingLocatorProperties": {
+ "properties": {
+ "assetName": {
+ "type": "string",
+ "description": "Asset Name"
+ },
+ "created": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The creation time of the Streaming Locator.",
+ "readOnly": true,
+ "x-nullable": false
+ },
+ "startTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The start time of the Streaming Locator."
+ },
+ "endTime": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end time of the Streaming Locator."
+ },
+ "streamingLocatorId": {
+ "type": "string",
+ "format": "uuid",
+ "description": "The StreamingLocatorId of the Streaming Locator."
+ },
+ "streamingPolicyName": {
+ "type": "string",
+ "description": "Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'"
+ },
+ "defaultContentKeyPolicyName": {
+ "type": "string",
+ "description": "Name of the default ContentKeyPolicy used by this Streaming Locator."
+ },
+ "contentKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StreamingLocatorContentKey"
+ },
+ "description": "The ContentKeys used by this Streaming Locator."
+ },
+ "alternativeMediaId": {
+ "type": "string",
+ "description": "Alternative Media ID of this Streaming Locator"
+ },
+ "filters": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of asset or account filters which apply to this streaming locator"
+ }
+ },
+ "type": "object",
+ "required": [
+ "assetName",
+ "streamingPolicyName"
+ ],
+ "description": "Properties of the Streaming Locator."
+ },
+ "ListContentKeysResponse": {
+ "properties": {
+ "contentKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StreamingLocatorContentKey"
+ },
+ "description": "ContentKeys used by current Streaming Locator"
+ }
+ },
+ "type": "object",
+ "description": "Class of response for listContentKeys action"
+ },
+ "ListPathsResponse": {
+ "properties": {
+ "streamingPaths": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StreamingPath"
+ },
+ "description": "Streaming Paths supported by current Streaming Locator"
+ },
+ "downloadPaths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Download Paths supported by current Streaming Locator"
+ }
+ },
+ "type": "object",
+ "description": "Class of response for listPaths action"
+ },
+ "StreamingLocator": {
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/StreamingLocatorProperties",
+ "x-ms-client-flatten": true
+ }
+ },
+ "type": "object",
+ "description": "A Streaming Locator resource"
+ },
+ "ODataError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A language-independent error name."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataError"
+ },
+ "description": "The error details."
+ }
+ },
+ "type": "object",
+ "description": "Information about an error."
+ },
+ "ApiError": {
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ODataError",
+ "description": "The error properties."
+ }
+ },
+ "type": "object",
+ "description": "The API error."
+ },
+ "StreamingPolicyCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StreamingPolicy"
+ },
+ "description": "A collection of StreamingPolicy items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of StreamingPolicy items."
+ },
+ "StreamingLocatorCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StreamingLocator"
+ },
+ "description": "A collection of StreamingLocator items."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "A link to the next page of the collection (when the collection contains too many results to return in one response)."
+ }
+ },
+ "type": "object",
+ "description": "A collection of StreamingLocator items."
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies": {
+ "get": {
+ "summary": "List Streaming Policies",
+ "description": "Lists the Streaming Policies in the account",
+ "operationId": "StreamingPolicies_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StreamingPolicyCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Restricts the set of items returned."
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n."
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Specifies the key by which the result collection should be ordered."
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-odata": "#/definitions/StreamingPolicy",
+ "x-ms-examples": {
+ "Lists Streaming Policies": {
+ "$ref": "examples/streaming-policies-list.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}": {
+ "get": {
+ "summary": "Get a Streaming Policy",
+ "description": "Get the details of a Streaming Policy in the Media Services account",
+ "operationId": "StreamingPolicies_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StreamingPolicy"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "streamingPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Streaming Policy name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a Streaming Policy by name": {
+ "$ref": "examples/streaming-policy-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create a Streaming Policy",
+ "description": "Create a Streaming Policy in the Media Services account",
+ "operationId": "StreamingPolicies_Create",
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/StreamingPolicy"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "streamingPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Streaming Policy name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/StreamingPolicy"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Creates a Streaming Policy with clear streaming": {
+ "$ref": "examples/streaming-policies-create-clear.json"
+ },
+ "Creates a Streaming Policy with envelopeEncryption only": {
+ "$ref": "examples/streaming-policies-create-envelopeEncryption-only.json"
+ },
+ "Creates a Streaming Policy with commonEncryptionCenc only": {
+ "$ref": "examples/streaming-policies-create-commonEncryptionCenc-only.json"
+ },
+ "Creates a Streaming Policy with commonEncryptionCbcs only": {
+ "$ref": "examples/streaming-policies-create-commonEncryptionCbcs-only.json"
+ },
+ "Creates a Streaming Policy with secure streaming": {
+ "$ref": "examples/streaming-policies-create-secure-streaming.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete a Streaming Policy",
+ "description": "Deletes a Streaming Policy in the Media Services account",
+ "operationId": "StreamingPolicies_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "streamingPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Streaming Policy name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete a Streaming Policy": {
+ "$ref": "examples/streaming-policies-delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators": {
+ "get": {
+ "summary": "List Streaming Locators",
+ "description": "Lists the Streaming Locators in the account",
+ "operationId": "StreamingLocators_List",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StreamingLocatorCollection"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Restricts the set of items returned."
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "description": "Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n."
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Specifies the key by which the result collection should be ordered."
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-odata": "#/definitions/StreamingLocator",
+ "x-ms-examples": {
+ "Lists Streaming Locators": {
+ "$ref": "examples/streaming-locators-list.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}": {
+ "get": {
+ "summary": "Get a Streaming Locator",
+ "description": "Get the details of a Streaming Locator in the Media Services account",
+ "operationId": "StreamingLocators_Get",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/StreamingLocator"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "streamingLocatorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Streaming Locator name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Get a Streaming Locator by name": {
+ "$ref": "examples/streaming-locators-get-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "summary": "Create a Streaming Locator",
+ "description": "Create a Streaming Locator in the Media Services account",
+ "operationId": "StreamingLocators_Create",
+ "responses": {
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/StreamingLocator"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "streamingLocatorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Streaming Locator name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/StreamingLocator"
+ },
+ "description": "The request parameters"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Creates a Streaming Locator with clear streaming": {
+ "$ref": "examples/streaming-locators-create-clear.json"
+ },
+ "Creates a Streaming Locator with secure streaming": {
+ "$ref": "examples/streaming-locators-create-secure.json"
+ },
+ "Creates a Streaming Locator with user defined content keys": {
+ "$ref": "examples/streaming-locators-create-secure-userDefinedContentKeys.json"
+ }
+ }
+ },
+ "delete": {
+ "summary": "Delete a Streaming Locator",
+ "description": "Deletes a Streaming Locator in the Media Services account",
+ "operationId": "StreamingLocators_Delete",
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "streamingLocatorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Streaming Locator name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "Delete a Streaming Locator": {
+ "$ref": "examples/streaming-locators-delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys": {
+ "post": {
+ "summary": "List Content Keys",
+ "description": "List Content Keys used by this Streaming Locator",
+ "operationId": "StreamingLocators_ListContentKeys",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListContentKeysResponse"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "streamingLocatorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Streaming Locator name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "List Content Keys": {
+ "$ref": "examples/streaming-locators-list-content-keys.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listPaths": {
+ "post": {
+ "summary": "List Paths",
+ "description": "List Paths supported by this Streaming Locator",
+ "operationId": "StreamingLocators_ListPaths",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ListPathsResponse"
+ }
+ },
+ "default": {
+ "description": "Detailed error information.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "name": "streamingLocatorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Streaming Locator name."
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "x-ms-examples": {
+ "List Paths which has streaming paths only": {
+ "$ref": "examples/streaming-locators-list-paths-streaming-only.json"
+ },
+ "List Paths which has streaming paths and download paths": {
+ "$ref": "examples/streaming-locators-list-paths-streaming-and-download.json"
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The unique identifier for a Microsoft Azure subscription."
+ },
+ "ResourceGroupName": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group within the Azure subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "MediaServicesAccountName": {
+ "name": "accountName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Media Services account name.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersion": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The Version of the API to be used with the client request."
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-create.json
new file mode 100644
index 000000000000..cde6484e334c
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-create.json
@@ -0,0 +1,171 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "filterName": "newAccountFilter",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "operation": "Equal",
+ "value": "Audio"
+ },
+ {
+ "property": "Language",
+ "operation": "NotEqual",
+ "value": "en"
+ },
+ {
+ "property": "FourCC",
+ "operation": "NotEqual",
+ "value": "EC-3"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "operation": "Equal",
+ "value": "Video"
+ },
+ {
+ "property": "Bitrate",
+ "operation": "Equal",
+ "value": "3000000-5000000"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "newAccountFilter",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter",
+ "type": "Microsoft.Media/mediaservices/accountFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "newAccountFilter",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter",
+ "type": "Microsoft.Media/mediaservices/accountFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-delete.json
new file mode 100644
index 000000000000..ad07ff6d257e
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "filterName": "accountFilterWithTimeWindowAndTrack",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-get-by-name.json
new file mode 100644
index 000000000000..693f7cbc5eea
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-get-by-name.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "filterName": "accountFilterWithTrack",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "accountFilterWithTrack",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack",
+ "type": "Microsoft.Media/mediaservices/accountFilters",
+ "properties": {
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-list-all.json
new file mode 100644
index 000000000000..68dc6fa18168
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-list-all.json
@@ -0,0 +1,111 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "accountFilterWithTimeWindowAndTrack",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTimeWindowAndTrack",
+ "type": "Microsoft.Media/mediaservices/accountFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "name": "accountFilterWithTrack",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack",
+ "type": "Microsoft.Media/mediaservices/accountFilters",
+ "properties": {
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-update.json
new file mode 100644
index 000000000000..7701e39e4ac6
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accountFilters-update.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "filterName": "accountFilterWithTimeWindowAndTrack",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 10,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "accountFilterWithTimeWindowAndTrack",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTimeWindowAndTrack",
+ "type": "Microsoft.Media/mediaservices/accountFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 10,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-check-name-availability.json
new file mode 100644
index 000000000000..4ef7fa721199
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-check-name-availability.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "locationName": "japaneast",
+ "parameters": {
+ "name": "contosonew",
+ "type": "Microsoft.Media/MediaService"
+ },
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": true,
+ "reason": "None",
+ "message": ""
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-create.json
new file mode 100644
index 000000000000..3451dc6b0572
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-create.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contososports",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "contososports",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "42bea25f-1aa9-4f7a-82af-5a417592f22d",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "contososports",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "42bea25f-1aa9-4f7a-82af-5a417592f22d",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-delete.json
new file mode 100644
index 000000000000..c881a84854c0
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-delete.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contososports",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-get-by-name.json
new file mode 100644
index 000000000000..4ae9745f6b2a
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-get-by-name.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosotv",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contosotv",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-list-all-accounts.json
new file mode 100644
index 000000000000..2f59e9cae5ef
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-list-all-accounts.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "contosotv",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ },
+ {
+ "name": "contosomovies",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomovies",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "72681c0f-9dd1-4f1c-95c9-8a8d7d31c4ee",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-get-by-name.json
new file mode 100644
index 000000000000..665c0edcd6bc
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-get-by-name.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contososports",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contososports",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "42bea25f-1aa9-4f7a-82af-5a417592f22d",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-list-all-accounts.json
new file mode 100644
index 000000000000..07e64ecaadba
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-subscription-list-all-accounts.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "contosotv",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosotv",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "6ac94f91-283c-4492-85a7-57976928c17d",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosotvstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ },
+ {
+ "name": "contosomovies",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomovies",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "72681c0f-9dd1-4f1c-95c9-8a8d7d31c4ee",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contosomoviesstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ },
+ {
+ "name": "fabrikamnews",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/fabrikamnews",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "East US",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "mediaServiceId": "d96036f9-4e37-491d-8c29-5bc53a29dfcd",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fabrikam/providers/Microsoft.Storage/storageAccounts/fabrikamnewsstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-sync-storage-keys.json
new file mode 100644
index 000000000000..ea9b54b7ffd8
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-sync-storage-keys.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contososports",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "id": "contososportsstore"
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-update.json
new file mode 100644
index 000000000000..0d4396b72abe
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/accounts-update.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contososports",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "tags": {
+ "key1": "value3"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "contososports",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contososports",
+ "type": "Microsoft.Media/mediaservices",
+ "location": "South Central US",
+ "tags": {
+ "key1": "value3"
+ },
+ "properties": {
+ "mediaServiceId": "42bea25f-1aa9-4f7a-82af-5a417592f22d",
+ "storageAccounts": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Storage/storageAccounts/contososportsstore",
+ "type": "Primary"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-create.json
new file mode 100644
index 000000000000..590d51470183
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-create.json
@@ -0,0 +1,172 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountRainer",
+ "filterName": "newAssetFilter",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "operation": "Equal",
+ "value": "Audio"
+ },
+ {
+ "property": "Language",
+ "operation": "NotEqual",
+ "value": "en"
+ },
+ {
+ "property": "FourCC",
+ "operation": "NotEqual",
+ "value": "EC-3"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "operation": "Equal",
+ "value": "Video"
+ },
+ {
+ "property": "Bitrate",
+ "operation": "Equal",
+ "value": "3000000-5000000"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "newAssetFilter",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/newAssetFilter",
+ "type": "Microsoft.Media/mediaservices/assets/assetFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "newAssetFilter",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/newAssetFilter",
+ "type": "Microsoft.Media/mediaservices/assets/assetFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-delete.json
new file mode 100644
index 000000000000..3b890a6f7ccc
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountRainer",
+ "filterName": "assetFilterWithTimeWindowAndTrack",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-get-by-name.json
new file mode 100644
index 000000000000..f341343ff1a2
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-get-by-name.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountRainer",
+ "filterName": "assetFilterWithTimeWindowAndTrack",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "assetFilterWithTimeWindowAndTrack",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTimeWindowAndTrack",
+ "type": "Microsoft.Media/mediaservices/assets/assetFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-list-all.json
new file mode 100644
index 000000000000..fd9611d738ea
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-list-all.json
@@ -0,0 +1,131 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountRainer",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "assetFilterWithTimeWindowAndTrack",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTimeWindowAndTrack",
+ "type": "Microsoft.Media/mediaservices/assets/assetFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "name": "assetFilterWithTimeWindow",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTimeWindow",
+ "type": "Microsoft.Media/mediaservices/assets/assetFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 0,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": []
+ }
+ },
+ {
+ "name": "assetFilterWithTrack",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTrack",
+ "type": "Microsoft.Media/mediaservices/assets/assetFilters",
+ "properties": {
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-update.json
new file mode 100644
index 000000000000..9bb9d07b5e21
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assetFilters-update.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountRainer",
+ "filterName": "assetFilterWithTimeWindowAndTrack",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 10,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "assetFilterWithTimeWindowAndTrack",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer/assetFilters/assetFilterWithTimeWindowAndTrack",
+ "type": "Microsoft.Media/mediaservices/assets/assetFilters",
+ "properties": {
+ "presentationTimeRange": {
+ "startTimestamp": 10,
+ "endTimestamp": 170000000,
+ "presentationWindowDuration": 900000000000,
+ "liveBackoffDuration": 0,
+ "timescale": 10000000,
+ "forceEndTimestamp": false
+ },
+ "firstQuality": {
+ "bitrate": 128000
+ },
+ "tracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Audio",
+ "operation": "Equal"
+ },
+ {
+ "property": "Language",
+ "value": "en",
+ "operation": "NotEqual"
+ },
+ {
+ "property": "FourCC",
+ "value": "EC-3",
+ "operation": "NotEqual"
+ }
+ ]
+ },
+ {
+ "trackSelections": [
+ {
+ "property": "Type",
+ "value": "Video",
+ "operation": "Equal"
+ },
+ {
+ "property": "Bitrate",
+ "value": "3000000-5000000",
+ "operation": "Equal"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-create.json
new file mode 100644
index 000000000000..431c93bdb73e
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-create.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountLogan",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "description": "A documentary showing the ascent of Mount Logan",
+ "storageAccountName": "storage0"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "ClimbingMountLogan",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountLogan",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "09194258-36ba-4403-abb3-68780e6bc545",
+ "created": "2018-08-08T18:29:26.08Z",
+ "lastModified": "2018-08-08T18:29:26.08Z",
+ "description": "A documentary showing the ascent of Mount Logan",
+ "container": "asset-09194258-36ba-4403-abb3-68780e6bc545",
+ "storageAccountName": "storage0",
+ "storageEncryptionFormat": "None"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "ClimbingMountLogan",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountLogan",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "09194258-36ba-4403-abb3-68780e6bc545",
+ "created": "2018-08-08T18:29:26.08Z",
+ "lastModified": "2018-08-08T18:29:26.107Z",
+ "description": "A documentary showing the ascent of Mount Logan",
+ "container": "asset-09194258-36ba-4403-abb3-68780e6bc545",
+ "storageAccountName": "storage0",
+ "storageEncryptionFormat": "None"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-delete.json
new file mode 100644
index 000000000000..3661cae3e441
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountAdams",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-by-name.json
new file mode 100644
index 000000000000..cc427282d0fa
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-by-name.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountAdams",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ClimbingMountAdams",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountAdams",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "1b648c1a-2268-461d-a1da-742bde23db40",
+ "created": "2013-02-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "alternateId": "CLIMB00002",
+ "description": "A documentary showing the ascent of Mount Adams",
+ "container": "asset-1b648c1a-2268-461d-a1da-742bde23db40",
+ "storageEncryptionFormat": "None"
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-encryption-keys.json
new file mode 100644
index 000000000000..c7c3f3fa0606
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-get-encryption-keys.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountSaintHelens",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "key": "AAAAAAAAAAAAAAAAAAAAAA==",
+ "assetFileEncryptionMetadata": [
+ {
+ "initializationVector": "-988929866",
+ "assetFileName": "AssetFile0",
+ "assetFileId": "a9536fa7-bd5d-4f84-a137-d1290982fe95"
+ },
+ {
+ "initializationVector": "1604993689",
+ "assetFileName": "AssetFile1",
+ "assetFileId": "f4060046-94ac-422d-824c-3f1d6aa3ecf2"
+ },
+ {
+ "initializationVector": "100082635",
+ "assetFileName": "AssetFile2",
+ "assetFileId": "485968d3-ddae-4b13-98e7-901201a9620b"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-all.json
new file mode 100644
index 000000000000..714dd42b6137
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-all.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ClimbingLittleTahoma",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingLittleTahoma",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "e6c7ee55-d1f5-48bc-9c36-2d2157aadbbe",
+ "created": "2012-04-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "alternateId": "CLIMB00003",
+ "description": "A documentary showing the ascent of Little Tahoma",
+ "container": "asset-e6c7ee55-d1f5-48bc-9c36-2d2157aadbbe",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountAdams",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountAdams",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "1b648c1a-2268-461d-a1da-742bde23db40",
+ "created": "2013-02-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "alternateId": "CLIMB00002",
+ "description": "A documentary showing the ascent of Mount Adams",
+ "container": "asset-1b648c1a-2268-461d-a1da-742bde23db40",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountBaker",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountBaker",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "89af1750-e681-4fbe-8c4c-9a5567867a6b",
+ "created": "2011-02-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "alternateId": "CLIMB00004",
+ "description": "A documentary showing the ascent of Mount Baker",
+ "container": "asset-89af1750-e681-4fbe-8c4c-9a5567867a6b",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountRainer",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "258878ef-fe05-4518-988f-052e86dc19f6",
+ "created": "2018-08-08T18:29:24.3948982Z",
+ "lastModified": "2018-08-08T21:29:24.3948982Z",
+ "alternateId": "altClimbingMountRainer",
+ "description": "descClimbingMountRainer",
+ "container": "testasset0",
+ "storageAccountName": "storage0",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountRainier",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainier",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "f8eea45c-b814-44c2-9c42-a5174ebdee4c",
+ "created": "2012-11-01T00:00:00Z",
+ "lastModified": "2012-11-01T00:00:00Z",
+ "alternateId": "CLIMB00001",
+ "description": "A documentary showing the ascent of Mount Rainier",
+ "container": "asset-f8eea45c-b814-44c2-9c42-a5174ebdee4c",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountSaintHelens",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountSaintHelens",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "14d58c40-ec1f-446c-b041-f5cff949bd1d",
+ "created": "2013-03-01T00:00:00Z",
+ "lastModified": "2013-04-01T00:00:00Z",
+ "alternateId": "CLIMB00005",
+ "description": "A documentary showing the ascent of Saint Helens",
+ "container": "asset-14d58c40-ec1f-446c-b041-f5cff949bd1d",
+ "storageEncryptionFormat": "MediaStorageClientEncryption"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-by-date.json
new file mode 100644
index 000000000000..a2a1cba3d82f
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-by-date.json
@@ -0,0 +1,102 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01",
+ "$orderby": "properties/created"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ClimbingMountBaker",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountBaker",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "89af1750-e681-4fbe-8c4c-9a5567867a6b",
+ "created": "2011-02-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "alternateId": "CLIMB00004",
+ "description": "A documentary showing the ascent of Mount Baker",
+ "container": "asset-89af1750-e681-4fbe-8c4c-9a5567867a6b",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingLittleTahoma",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingLittleTahoma",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "e6c7ee55-d1f5-48bc-9c36-2d2157aadbbe",
+ "created": "2012-04-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "alternateId": "CLIMB00003",
+ "description": "A documentary showing the ascent of Little Tahoma",
+ "container": "asset-e6c7ee55-d1f5-48bc-9c36-2d2157aadbbe",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountRainier",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainier",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "f8eea45c-b814-44c2-9c42-a5174ebdee4c",
+ "created": "2012-11-01T00:00:00Z",
+ "lastModified": "2012-11-01T00:00:00Z",
+ "alternateId": "CLIMB00001",
+ "description": "A documentary showing the ascent of Mount Rainier",
+ "container": "asset-f8eea45c-b814-44c2-9c42-a5174ebdee4c",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountAdams",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountAdams",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "1b648c1a-2268-461d-a1da-742bde23db40",
+ "created": "2013-02-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "alternateId": "CLIMB00002",
+ "description": "A documentary showing the ascent of Mount Adams",
+ "container": "asset-1b648c1a-2268-461d-a1da-742bde23db40",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountSaintHelens",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountSaintHelens",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "14d58c40-ec1f-446c-b041-f5cff949bd1d",
+ "created": "2013-03-01T00:00:00Z",
+ "lastModified": "2013-04-01T00:00:00Z",
+ "alternateId": "CLIMB00005",
+ "description": "A documentary showing the ascent of Saint Helens",
+ "container": "asset-14d58c40-ec1f-446c-b041-f5cff949bd1d",
+ "storageEncryptionFormat": "MediaStorageClientEncryption"
+ }
+ },
+ {
+ "name": "ClimbingMountRainer",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainer",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "8cdacfe5-8473-413a-9aec-dd2a478b37c8",
+ "created": "2018-08-08T18:29:25.0514734Z",
+ "lastModified": "2018-08-08T21:29:25.0514734Z",
+ "alternateId": "altClimbingMountRainer",
+ "description": "descClimbingMountRainer",
+ "container": "testasset0",
+ "storageAccountName": "storage0",
+ "storageEncryptionFormat": "None"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-in-date-range.json
new file mode 100644
index 000000000000..9cc1ef62ea2a
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-in-date-range.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01",
+ "$orderby": "properties/created",
+ "$filter": "properties/created gt 2012-06-01 and properties/created lt 2013-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ClimbingMountRainier",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountRainier",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "f8eea45c-b814-44c2-9c42-a5174ebdee4c",
+ "created": "2012-11-01T00:00:00Z",
+ "lastModified": "2012-11-01T00:00:00Z",
+ "alternateId": "CLIMB00001",
+ "description": "A documentary showing the ascent of Mount Rainier",
+ "container": "asset-f8eea45c-b814-44c2-9c42-a5174ebdee4c",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountAdams",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountAdams",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "1b648c1a-2268-461d-a1da-742bde23db40",
+ "created": "2013-02-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "alternateId": "CLIMB00002",
+ "description": "A documentary showing the ascent of Mount Adams",
+ "container": "asset-1b648c1a-2268-461d-a1da-742bde23db40",
+ "storageEncryptionFormat": "None"
+ }
+ },
+ {
+ "name": "ClimbingMountSaintHelens",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountSaintHelens",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "14d58c40-ec1f-446c-b041-f5cff949bd1d",
+ "created": "2013-03-01T00:00:00Z",
+ "lastModified": "2013-04-01T00:00:00Z",
+ "alternateId": "CLIMB00005",
+ "description": "A documentary showing the ascent of Saint Helens",
+ "container": "asset-14d58c40-ec1f-446c-b041-f5cff949bd1d",
+ "storageEncryptionFormat": "MediaStorageClientEncryption"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-sas-urls.json
new file mode 100644
index 000000000000..f861fd39b54b
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-sas-urls.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountBaker",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "permissions": "ReadWrite",
+ "expiryTime": "2018-01-01T10:00:00.007Z"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "assetContainerSasUrls": [
+ "https://storage0.blob.core.windows.net/asset-89af1750-e681-4fbe-8c4c-9a5567867a6b?sr=b&sig=&se=2018-01-01T10:00:00Z&sp=lrw",
+ "https://storage0.blob.core.windows.net/asset-89af1750-e681-4fbe-8c4c-9a5567867a6b?sr=b&sig=&se=2018-01-01T10:00:00Z&sp=lrw"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-streaming-locators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-streaming-locators.json
new file mode 100644
index 000000000000..3646044598cc
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-list-streaming-locators.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountSaintHelens",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "streamingLocators": [
+ {
+ "name": "secureStreamingLocator",
+ "assetName": "ClimbingMountSaintHelens",
+ "created": "2018-08-08T18:29:26.9729344Z",
+ "endTime": "9999-12-31T23:59:59.9999999Z",
+ "streamingLocatorId": "36b74ce3-20b4-4de0-84f1-97e9138e886c",
+ "streamingPolicyName": "secureStreamingPolicy"
+ },
+ {
+ "name": "clearStreamingLocator",
+ "assetName": "ClimbingMountSaintHelens",
+ "created": "2018-08-08T18:29:26.9487636Z",
+ "endTime": "9999-12-31T23:59:59.9999999Z",
+ "streamingLocatorId": "3e8d9ac3-50f6-4f6d-8482-078ceb56f23a",
+ "streamingPolicyName": "clearStreamingPolicy"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-update.json
new file mode 100644
index 000000000000..aa8743214b59
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/assets-update.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "assetName": "ClimbingMountBaker",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "description": "A documentary showing the ascent of Mount Baker in HD"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ClimbingMountBaker",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/assets/ClimbingMountBaker",
+ "type": "Microsoft.Media/mediaservices/assets",
+ "properties": {
+ "assetId": "89af1750-e681-4fbe-8c4c-9a5567867a6b",
+ "created": "2011-02-01T00:00:00Z",
+ "lastModified": "2018-08-08T18:29:26.503Z",
+ "alternateId": "CLIMB00004",
+ "description": "A documentary showing the ascent of Mount Baker in HD",
+ "container": "asset-89af1750-e681-4fbe-8c4c-9a5567867a6b",
+ "storageEncryptionFormat": "None"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json
new file mode 100644
index 000000000000..1106df0390d4
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json
@@ -0,0 +1,134 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "contentKeyPolicyName": "PolicyCreatedWithMultipleOptions",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "name": "ClearKeyOption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": "AAAAAAAAAAAAAAAAAAAAAA=="
+ },
+ "restrictionTokenType": "Swt"
+ }
+ },
+ {
+ "name": "widevineoption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "PolicyCreatedWithMultipleOptions",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyCreatedWithMultipleOptions",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "07ad673b-dc14-4230-adab-716622f33992",
+ "created": "2018-08-08T18:29:29.98Z",
+ "lastModified": "2018-08-08T18:29:29.98Z",
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "policyOptionId": "8dac9510-770a-401f-8f2b-f72640977ed0",
+ "name": "ClearKeyOption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [],
+ "restrictionTokenType": "Swt"
+ }
+ },
+ {
+ "policyOptionId": "fc121776-6ced-4135-be92-f928dedc029a",
+ "name": "widevineoption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "PolicyCreatedWithMultipleOptions",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyCreatedWithMultipleOptions",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "07ad673b-dc14-4230-adab-716622f33992",
+ "created": "2018-08-08T18:29:29.98Z",
+ "lastModified": "2018-08-08T18:29:29.98Z",
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "policyOptionId": "8dac9510-770a-401f-8f2b-f72640977ed0",
+ "name": "ClearKeyOption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [],
+ "restrictionTokenType": "Swt"
+ }
+ },
+ {
+ "policyOptionId": "fc121776-6ced-4135-be92-f928dedc029a",
+ "name": "widevineoption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-nodrm-token.json
new file mode 100644
index 000000000000..7395f4a1b42e
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-nodrm-token.json
@@ -0,0 +1,102 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "contentKeyPolicyName": "PolicyWithClearKeyOptionAndSwtTokenRestriction",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "name": "ClearKeyOption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": "AAAAAAAAAAAAAAAAAAAAAA=="
+ },
+ "restrictionTokenType": "Swt"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "PolicyWithClearKeyOptionAndSwtTokenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndSwtTokenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "2926c1bc-4dec-4a11-9d19-3f99006530a9",
+ "created": "2018-08-08T18:29:29.837Z",
+ "lastModified": "2018-08-08T18:29:29.837Z",
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "policyOptionId": "e7d4d465-b6f7-4830-9a21-74a7326ef797",
+ "name": "ClearKeyOption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [],
+ "restrictionTokenType": "Swt"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "PolicyWithClearKeyOptionAndSwtTokenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndSwtTokenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "2926c1bc-4dec-4a11-9d19-3f99006530a9",
+ "created": "2018-08-08T18:29:29.837Z",
+ "lastModified": "2018-08-08T18:29:29.837Z",
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "policyOptionId": "e7d4d465-b6f7-4830-9a21-74a7326ef797",
+ "name": "ClearKeyOption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [],
+ "restrictionTokenType": "Swt"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json
new file mode 100644
index 000000000000..f3a08ef8e1b0
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json
@@ -0,0 +1,131 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "contentKeyPolicyName": "PolicyWithPlayReadyOptionAndOpenRestriction",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "name": "ArmPolicyOptionName",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
+ "licenses": [
+ {
+ "allowTestDevices": true,
+ "beginDate": "2017-10-16T18:22:53.46Z",
+ "playRight": {
+ "scmsRestriction": 2,
+ "digitalVideoOnlyContentRestriction": false,
+ "imageConstraintForAnalogComponentVideoRestriction": true,
+ "imageConstraintForAnalogComputerMonitorRestriction": false,
+ "allowPassingVideoContentToUnknownOutput": "NotAllowed"
+ },
+ "licenseType": "Persistent",
+ "contentKeyLocation": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
+ },
+ "contentType": "UltraVioletDownload"
+ }
+ ]
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "PolicyWithPlayReadyOptionAndOpenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04",
+ "created": "2012-11-01T00:00:00Z",
+ "lastModified": "2019-06-03T22:43:06.897Z",
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "policyOptionId": "ae7b4a3b-b2c5-4161-9197-ba4d4239f361",
+ "name": "ArmPolicyOptionName",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
+ "licenses": [
+ {
+ "allowTestDevices": true,
+ "beginDate": "2017-10-16T18:22:53.46Z",
+ "playRight": {
+ "scmsRestriction": 2,
+ "digitalVideoOnlyContentRestriction": false,
+ "imageConstraintForAnalogComponentVideoRestriction": true,
+ "imageConstraintForAnalogComputerMonitorRestriction": false,
+ "allowPassingVideoContentToUnknownOutput": "NotAllowed"
+ },
+ "licenseType": "Persistent",
+ "contentKeyLocation": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
+ },
+ "contentType": "UltraVioletDownload"
+ }
+ ]
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "PolicyWithPlayReadyOptionAndOpenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04",
+ "created": "2012-11-01T00:00:00Z",
+ "lastModified": "2019-06-03T22:43:06.897Z",
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "policyOptionId": "ae7b4a3b-b2c5-4161-9197-ba4d4239f361",
+ "name": "ArmPolicyOptionName",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
+ "licenses": [
+ {
+ "allowTestDevices": true,
+ "beginDate": "2017-10-16T18:22:53.46Z",
+ "playRight": {
+ "scmsRestriction": 2,
+ "digitalVideoOnlyContentRestriction": false,
+ "imageConstraintForAnalogComponentVideoRestriction": true,
+ "imageConstraintForAnalogComputerMonitorRestriction": false,
+ "allowPassingVideoContentToUnknownOutput": "NotAllowed"
+ },
+ "licenseType": "Persistent",
+ "contentKeyLocation": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
+ },
+ "contentType": "UltraVioletDownload"
+ }
+ ]
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-widevine-token.json
new file mode 100644
index 000000000000..1df5682c7cef
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-widevine-token.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "contentKeyPolicyName": "PolicyWithWidevineOptionAndJwtTokenRestriction",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "name": "widevineoption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
+ "exponent": "AQAB",
+ "modulus": "AQAD"
+ },
+ "alternateVerificationKeys": [
+ {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": "AAAAAAAAAAAAAAAAAAAAAA=="
+ }
+ ],
+ "restrictionTokenType": "Jwt"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "PolicyWithWidevineOptionAndJwtTokenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithWidevineOptionAndJwtTokenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "bad1d030-7d5c-4643-8f1e-49807a4bf64c",
+ "created": "2018-08-08T18:29:29.663Z",
+ "lastModified": "2018-08-08T18:29:29.663Z",
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "policyOptionId": "26fee004-8dfa-4828-bcad-5e63c637534f",
+ "name": "widevineoption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
+ "exponent": "",
+ "modulus": ""
+ },
+ "alternateVerificationKeys": [
+ {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ }
+ ],
+ "requiredClaims": [],
+ "restrictionTokenType": "Jwt"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "PolicyWithWidevineOptionAndJwtTokenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithWidevineOptionAndJwtTokenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "bad1d030-7d5c-4643-8f1e-49807a4bf64c",
+ "created": "2018-08-08T18:29:29.663Z",
+ "lastModified": "2018-08-08T18:29:29.663Z",
+ "description": "ArmPolicyDescription",
+ "options": [
+ {
+ "policyOptionId": "26fee004-8dfa-4828-bcad-5e63c637534f",
+ "name": "widevineoption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "urn:issuer",
+ "audience": "urn:audience",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
+ "exponent": "",
+ "modulus": ""
+ },
+ "alternateVerificationKeys": [
+ {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ }
+ ],
+ "requiredClaims": [],
+ "restrictionTokenType": "Jwt"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-delete.json
new file mode 100644
index 000000000000..7447440dc857
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "contentKeyPolicyName": "PolicyWithPlayReadyOptionAndOpenRestriction",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-by-name.json
new file mode 100644
index 000000000000..250a24b9d44e
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-by-name.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "contentKeyPolicyName": "PolicyWithMultipleOptions",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "PolicyWithMultipleOptions",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithMultipleOptions",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "ed7f3d1b-cfa7-4181-b966-e0b3027eec3a",
+ "created": "2015-12-01T00:00:00Z",
+ "lastModified": "2016-12-02T00:00:00Z",
+ "description": "A policy with multiple options.",
+ "options": [
+ {
+ "policyOptionId": "caf1e28c-8288-4301-8c46-c0f9312c512f",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "http://testacs",
+ "audience": "urn:test",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [
+ {
+ "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier"
+ },
+ {
+ "claimType": "DRM",
+ "claimValue": "Widevine"
+ }
+ ],
+ "restrictionTokenType": "Jwt"
+ }
+ },
+ {
+ "policyOptionId": "da346259-0cd6-4609-89dc-15ac131bd92f",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-with-secrets.json
new file mode 100644
index 000000000000..9143019cbbd5
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-get-with-secrets.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "contentKeyPolicyName": "PolicyWithMultipleOptions",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "policyId": "ed7f3d1b-cfa7-4181-b966-e0b3027eec3a",
+ "created": "2015-12-01T00:00:00Z",
+ "lastModified": "2016-12-02T00:00:00Z",
+ "description": "A policy with multiple options.",
+ "options": [
+ {
+ "policyOptionId": "caf1e28c-8288-4301-8c46-c0f9312c512f",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "http://testacs",
+ "audience": "urn:test",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": "AAA="
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [
+ {
+ "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier"
+ },
+ {
+ "claimType": "DRM",
+ "claimValue": "Widevine"
+ }
+ ],
+ "restrictionTokenType": "Jwt"
+ }
+ },
+ {
+ "policyOptionId": "da346259-0cd6-4609-89dc-15ac131bd92f",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-all.json
new file mode 100644
index 000000000000..750d942f695b
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-all.json
@@ -0,0 +1,165 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "PolicyWithClearKeyOptionAndTokenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndTokenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "8352435b-ebea-4681-aae7-e19277771f64",
+ "created": "2017-12-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "description": "A policy with one ClearKey option and Open Restriction.",
+ "options": [
+ {
+ "policyOptionId": "a3448d09-567a-4642-8309-d17e846be59f",
+ "name": null,
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "http://testacs",
+ "audience": "urn:test",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [
+ {
+ "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier",
+ "claimValue": null
+ },
+ {
+ "claimType": "DRM",
+ "claimValue": "Widevine"
+ }
+ ],
+ "restrictionTokenType": "Jwt",
+ "openIdConnectDiscoveryDocument": null
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "PolicyWithMultipleOptions",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithMultipleOptions",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "ed7f3d1b-cfa7-4181-b966-e0b3027eec3a",
+ "created": "2015-12-01T00:00:00Z",
+ "lastModified": "2016-12-02T00:00:00Z",
+ "description": "A policy with multiple options.",
+ "options": [
+ {
+ "policyOptionId": "caf1e28c-8288-4301-8c46-c0f9312c512f",
+ "name": null,
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "http://testacs",
+ "audience": "urn:test",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [
+ {
+ "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier",
+ "claimValue": null
+ },
+ {
+ "claimType": "DRM",
+ "claimValue": "Widevine"
+ }
+ ],
+ "restrictionTokenType": "Jwt",
+ "openIdConnectDiscoveryDocument": null
+ }
+ },
+ {
+ "policyOptionId": "da346259-0cd6-4609-89dc-15ac131bd92f",
+ "name": null,
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "PolicyWithPlayReadyOptionAndOpenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04",
+ "created": "2012-11-01T00:00:00Z",
+ "lastModified": "2012-11-01T00:00:00Z",
+ "description": "A policy with one PlayReady option and Open Restriction.",
+ "options": [
+ {
+ "policyOptionId": "294a833f-f128-48be-9edf-8d1bb5b35ff3",
+ "name": null,
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
+ "licenses": [
+ {
+ "allowTestDevices": false,
+ "beginDate": null,
+ "expirationDate": null,
+ "relativeBeginDate": null,
+ "relativeExpirationDate": null,
+ "gracePeriod": null,
+ "playRight": {
+ "firstPlayExpiration": null,
+ "scmsRestriction": null,
+ "agcAndColorStripeRestriction": null,
+ "explicitAnalogTelevisionOutputRestriction": null,
+ "digitalVideoOnlyContentRestriction": false,
+ "imageConstraintForAnalogComponentVideoRestriction": false,
+ "imageConstraintForAnalogComputerMonitorRestriction": false,
+ "allowPassingVideoContentToUnknownOutput": "NotAllowed",
+ "uncompressedDigitalVideoOpl": null,
+ "compressedDigitalVideoOpl": null,
+ "analogVideoOpl": null,
+ "compressedDigitalAudioOpl": null,
+ "uncompressedDigitalAudioOpl": null
+ },
+ "licenseType": "NonPersistent",
+ "contentKeyLocation": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
+ },
+ "contentType": "Unspecified"
+ }
+ ],
+ "responseCustomData": "testCustomData"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-by-lastModified.json
new file mode 100644
index 000000000000..3964906825e4
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-by-lastModified.json
@@ -0,0 +1,144 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01",
+ "$orderby": "properties/lastModified"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "PolicyWithPlayReadyOptionAndOpenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04",
+ "created": "2012-11-01T00:00:00Z",
+ "lastModified": "2012-11-01T00:00:00Z",
+ "description": "A policy with one PlayReady option and Open Restriction.",
+ "options": [
+ {
+ "policyOptionId": "294a833f-f128-48be-9edf-8d1bb5b35ff3",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
+ "licenses": [
+ {
+ "allowTestDevices": false,
+ "playRight": {
+ "digitalVideoOnlyContentRestriction": false,
+ "imageConstraintForAnalogComponentVideoRestriction": false,
+ "imageConstraintForAnalogComputerMonitorRestriction": false,
+ "allowPassingVideoContentToUnknownOutput": "NotAllowed"
+ },
+ "licenseType": "NonPersistent",
+ "contentKeyLocation": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
+ },
+ "contentType": "Unspecified"
+ }
+ ],
+ "responseCustomData": "testCustomData"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "PolicyWithMultipleOptions",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithMultipleOptions",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "ed7f3d1b-cfa7-4181-b966-e0b3027eec3a",
+ "created": "2015-12-01T00:00:00Z",
+ "lastModified": "2016-12-02T00:00:00Z",
+ "description": "A policy with multiple options.",
+ "options": [
+ {
+ "policyOptionId": "caf1e28c-8288-4301-8c46-c0f9312c512f",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "http://testacs",
+ "audience": "urn:test",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [
+ {
+ "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier"
+ },
+ {
+ "claimType": "DRM",
+ "claimValue": "Widevine"
+ }
+ ],
+ "restrictionTokenType": "Jwt"
+ }
+ },
+ {
+ "policyOptionId": "da346259-0cd6-4609-89dc-15ac131bd92f",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
+ "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "PolicyWithClearKeyOptionAndTokenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndTokenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "8352435b-ebea-4681-aae7-e19277771f64",
+ "created": "2017-12-01T00:00:00Z",
+ "lastModified": "2017-11-01T00:00:00Z",
+ "description": "A policy with one ClearKey option and Open Restriction.",
+ "options": [
+ {
+ "policyOptionId": "a3448d09-567a-4642-8309-d17e846be59f",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
+ "issuer": "http://testacs",
+ "audience": "urn:test",
+ "primaryVerificationKey": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
+ "keyValue": ""
+ },
+ "alternateVerificationKeys": [],
+ "requiredClaims": [
+ {
+ "claimType": "urn:microsoft:azure:mediaservices:contentkeyidentifier"
+ },
+ {
+ "claimType": "DRM",
+ "claimValue": "Widevine"
+ }
+ ],
+ "restrictionTokenType": "Jwt"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-in-date-range.json
new file mode 100644
index 000000000000..00509549496e
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-list-in-date-range.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01",
+ "$filter": "properties/lastModified gt 2016-06-01 and properties/created lt 2013-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": []
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-update.json
new file mode 100644
index 000000000000..6ad18004d6f4
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-update.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "contentKeyPolicyName": "PolicyWithClearKeyOptionAndTokenRestriction",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "description": "Updated Policy",
+ "options": [
+ {
+ "name": "ClearKeyOption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "PolicyWithClearKeyOptionAndTokenRestriction",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndTokenRestriction",
+ "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
+ "properties": {
+ "policyId": "8352435b-ebea-4681-aae7-e19277771f64",
+ "created": "2017-12-01T00:00:00Z",
+ "lastModified": "2018-08-08T18:29:30.303Z",
+ "description": "Updated Policy",
+ "options": [
+ {
+ "policyOptionId": "7d3f4bc1-d2bf-43a3-b02e-a7e31ab15d43",
+ "name": "ClearKeyOption",
+ "configuration": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
+ },
+ "restriction": {
+ "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-cancel.json
new file mode 100644
index 000000000000..0ac966b8b75b
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-cancel.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "jobName": "job1"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-create.json
new file mode 100644
index 000000000000..5d89c32c60fa
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-create.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "jobName": "job1",
+ "parameters": {
+ "properties": {
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "assetName": "job1-InputAsset"
+ },
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "assetName": "job1-OutputAsset"
+ }
+ ],
+ "correlationData": {
+ "key1": "value1",
+ "Key 2": "Value 2"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "job1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-08-08T16:29:58.2188352Z",
+ "state": "Queued",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job1-InputAsset"
+ },
+ "lastModified": "2018-08-08T16:29:58.2188352Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Queued",
+ "progress": 0,
+ "label": "BuiltInStandardEncoderPreset_0",
+ "assetName": "job1-OutputAsset"
+ }
+ ],
+ "priority": "Normal",
+ "correlationData": {
+ "key1": "value1",
+ "Key 2": "Value 2"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-delete.json
new file mode 100644
index 000000000000..6294423759db
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "jobName": "jobToDelete"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-get-by-name.json
new file mode 100644
index 000000000000..377c1d76d265
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-get-by-name.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "jobName": "job1"
+ },
+ "responses": {
+ "404": {},
+ "200": {
+ "body": {
+ "name": "job1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-08-08T16:29:58.1798Z",
+ "state": "Queued",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job1 input"
+ }
+ ]
+ },
+ "lastModified": "2018-08-08T16:29:58.1798Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Queued",
+ "progress": 0,
+ "label": "example-custom-label",
+ "assetName": "job1 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-created.json
new file mode 100644
index 000000000000..5edc04a19e36
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-created.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "$filter": "properties/created ge 2018-09-27T22:56:18.5507138Z and properties/created le 2018-09-27T22:56:28.5507138Z",
+ "$orderby": "properties/created"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "job2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-09-27T22:56:18.5507138Z",
+ "state": "Processing",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job2 input"
+ }
+ ]
+ },
+ "lastModified": "2018-09-27T22:56:18.5507138Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Processing",
+ "progress": 50,
+ "label": "example-custom-label",
+ "assetName": "job2 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ },
+ {
+ "name": "job3",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-09-27T22:56:28.5507138Z",
+ "state": "Finished",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job3 input"
+ }
+ ]
+ },
+ "lastModified": "2018-09-27T22:56:28.5507138Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Finished",
+ "progress": 100,
+ "label": "example-custom-label",
+ "assetName": "job3 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-lastmodified.json
new file mode 100644
index 000000000000..0e9639af32a7
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-lastmodified.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "$filter": "properties/lastmodified ge 2018-09-27T22:56:18.5821662Z and properties/lastmodified le 2018-09-27T22:56:28.5821662Z",
+ "$orderby": "properties/lastmodified desc"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "job3",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-09-27T22:56:28.5821662Z",
+ "state": "Finished",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job3 input"
+ }
+ ]
+ },
+ "lastModified": "2018-09-27T22:56:28.5821662Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Finished",
+ "progress": 100,
+ "label": "example-custom-label",
+ "assetName": "job3 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ },
+ {
+ "name": "job2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-09-27T22:56:18.5821662Z",
+ "state": "Processing",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job2 input"
+ }
+ ]
+ },
+ "lastModified": "2018-09-27T22:56:18.5821662Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Processing",
+ "progress": 50,
+ "label": "example-custom-label",
+ "assetName": "job2 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name-and-state.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name-and-state.json
new file mode 100644
index 000000000000..0c04098bed7c
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name-and-state.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "$filter": "name eq 'job3' and properties/state eq Microsoft.Media.JobState'finished'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "job3",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "0001-01-01T00:00:00Z",
+ "state": "Finished",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job3 input"
+ }
+ ]
+ },
+ "lastModified": "0001-01-01T00:00:00Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Finished",
+ "progress": 100,
+ "label": "example-custom-label",
+ "assetName": "job3 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name.json
new file mode 100644
index 000000000000..a1dce95541ee
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-name.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "$filter": "name eq 'job1' or name eq 'job2'",
+ "$orderby": "name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "job1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "0001-01-01T00:00:00Z",
+ "state": "Queued",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job1 input"
+ }
+ ]
+ },
+ "lastModified": "0001-01-01T00:00:00Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Queued",
+ "progress": 0,
+ "label": "example-custom-label",
+ "assetName": "job1 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ },
+ {
+ "name": "job2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "0001-01-01T00:00:00Z",
+ "state": "Processing",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job2 input"
+ }
+ ]
+ },
+ "lastModified": "0001-01-01T00:00:00Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Processing",
+ "progress": 50,
+ "label": "example-custom-label",
+ "assetName": "job2 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-eq.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-eq.json
new file mode 100644
index 000000000000..72eabbf3f41b
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-eq.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "$filter": "properties/state eq Microsoft.Media.JobState'Processing'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "job2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "0001-01-01T00:00:00Z",
+ "state": "Processing",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job2 input"
+ }
+ ]
+ },
+ "lastModified": "0001-01-01T00:00:00Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Processing",
+ "progress": 50,
+ "label": "example-custom-label",
+ "assetName": "job2 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ },
+ {
+ "name": "job3",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "0001-01-01T00:00:00Z",
+ "state": "Processing",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job3 input"
+ }
+ ]
+ },
+ "lastModified": "0001-01-01T00:00:00Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Processing",
+ "progress": 50,
+ "label": "example-custom-label",
+ "assetName": "job3 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-ne.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-ne.json
new file mode 100644
index 000000000000..fbcaef2d9ce2
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all-filter-by-state-ne.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "$filter": "properties/state ne Microsoft.Media.JobState'processing'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "job1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "0001-01-01T00:00:00Z",
+ "state": "Queued",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job1 input"
+ }
+ ]
+ },
+ "lastModified": "0001-01-01T00:00:00Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Queued",
+ "progress": 0,
+ "label": "example-custom-label",
+ "assetName": "job1 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ },
+ {
+ "name": "job4",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job4",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "0001-01-01T00:00:00Z",
+ "state": "Finished",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job4 input"
+ }
+ ]
+ },
+ "lastModified": "0001-01-01T00:00:00Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Finished",
+ "progress": 100,
+ "label": "example-custom-label",
+ "assetName": "job4 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all.json
new file mode 100644
index 000000000000..a389ddb0ee9c
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-list-all.json
@@ -0,0 +1,110 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "job1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-08-08T16:29:58.0908004Z",
+ "state": "Queued",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job1 input"
+ }
+ ]
+ },
+ "lastModified": "2018-08-08T16:29:58.0908004Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Queued",
+ "progress": 0,
+ "label": "example-custom-label",
+ "assetName": "job1 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ },
+ {
+ "name": "job2",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job2",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-08-08T16:29:58.0927994Z",
+ "state": "Processing",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job2 input"
+ }
+ ]
+ },
+ "lastModified": "2018-08-08T16:29:58.0927994Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Processing",
+ "progress": 50,
+ "label": "example-custom-label",
+ "assetName": "job2 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ },
+ {
+ "name": "job3",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job3",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-08-08T16:29:58.0927994Z",
+ "state": "Finished",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job3 input"
+ }
+ ]
+ },
+ "lastModified": "2018-08-08T16:29:58.0927994Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Finished",
+ "progress": 100,
+ "label": "example-custom-label",
+ "assetName": "job3 output"
+ }
+ ],
+ "priority": "Low",
+ "correlationData": {}
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-update.json
new file mode 100644
index 000000000000..037037159cb4
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/jobs-update.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "exampleTransform",
+ "jobName": "job1",
+ "parameters": {
+ "properties": {
+ "description": "Example job to illustrate update.",
+ "priority": "High"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "job1",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/exampleTransform/jobs/job1",
+ "type": "Microsoft.Media/mediaservices/transforms/jobs",
+ "properties": {
+ "created": "2018-08-08T16:29:58.3218119Z",
+ "state": "Queued",
+ "description": "Example job to illustrate update.",
+ "input": {
+ "@odata.type": "#Microsoft.Media.JobInputs",
+ "inputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobInputAsset",
+ "files": [],
+ "assetName": "job1 input"
+ }
+ ]
+ },
+ "lastModified": "2018-08-08T16:29:58.3368364Z",
+ "outputs": [
+ {
+ "@odata.type": "#Microsoft.Media.JobOutputAsset",
+ "state": "Queued",
+ "progress": 0,
+ "label": "example-custom-label",
+ "assetName": "job1 output"
+ }
+ ],
+ "priority": "High",
+ "correlationData": {}
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-create.json
new file mode 100644
index 000000000000..52a47d97d0d9
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-create.json
@@ -0,0 +1,139 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "input": {
+ "streamingProtocol": "RTMP",
+ "keyFrameIntervalDuration": "PT2S"
+ },
+ "preview": {
+ "accessControl": {
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowAll",
+ "address": "0.0.0.0"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "type": "Microsoft.Media/mediaservices/liveevents",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "resourceState": "Stopped",
+ "provisioningState": "InProgress",
+ "created": "2018-03-03T02:25:06.0982751Z",
+ "lastModified": "2018-03-03T02:25:06.0982751Z",
+ "vanityUrl": false,
+ "streamOptions": [],
+ "input": {
+ "keyFrameIntervalDuration": "PT6S",
+ "streamingProtocol": "FragmentedMP4",
+ "accessToken": "0abf356884d74b4aacbd7b1ebd3da0f7",
+ "endpoints": []
+ },
+ "preview": {
+ "previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37",
+ "streamingPolicyName": null,
+ "accessControl": {
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowAll",
+ "address": "0.0.0.0",
+ "subnetPrefixLength": null
+ }
+ ]
+ }
+ },
+ "endpoints": []
+ },
+ "encoding": {
+ "encodingType": "None",
+ "presetName": null
+ },
+ "crossSiteAccessPolicies": {
+ "clientAccessPolicy": null,
+ "crossDomainPolicy": null
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "type": "Microsoft.Media/mediaservices/liveevents",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "resourceState": "Stopped",
+ "provisioningState": "InProgress",
+ "created": "2018-03-03T02:25:06.0982751Z",
+ "lastModified": "2018-03-03T02:25:06.0982751Z",
+ "vanityUrl": false,
+ "streamOptions": [],
+ "input": {
+ "keyFrameIntervalDuration": "PT6S",
+ "streamingProtocol": "FragmentedMP4",
+ "accessToken": "0abf356884d74b4aacbd7b1ebd3da0f7",
+ "endpoints": []
+ },
+ "preview": {
+ "previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37",
+ "streamingPolicyName": null,
+ "accessControl": {
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowAll",
+ "address": "0.0.0.0",
+ "subnetPrefixLength": null
+ }
+ ]
+ }
+ },
+ "endpoints": []
+ },
+ "encoding": {
+ "encodingType": "None",
+ "presetName": null
+ },
+ "crossSiteAccessPolicies": {
+ "clientAccessPolicy": null,
+ "crossDomainPolicy": null
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json
new file mode 100644
index 000000000000..76f800375bfa
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "Name": "myLiveEvent1",
+ "Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents",
+ "Location": "West US",
+ "Tags": {
+ "DynamicProperties": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ },
+ "Properties": {
+ "Description": "test event updated",
+ "Input": {
+ "StreamingProtocol": "FragmentedMP4",
+ "KeyFrameIntervalDuration": "PT6S",
+ "Endpoints": [],
+ "AccessToken": null
+ },
+ "Preview": {
+ "Endpoints": [],
+ "AccessControl": {
+ "IP": {
+ "Allow": [
+ {
+ "Name": "AllowOne",
+ "Address": "192.1.1.0",
+ "SubnetPrefixLength": null
+ }
+ ]
+ }
+ },
+ "PreviewLocator": null,
+ "StreamingPolicyName": null
+ },
+ "Encoding": {
+ "EncodingType": "None",
+ "PresetName": null
+ },
+ "ProvisioningState": null,
+ "ResourceState": "Stopped",
+ "CrossSiteAccessPolicies": null,
+ "VanityUrl": false,
+ "StreamOptions": [],
+ "Created": "2018-03-02T18:25:07.5748853-08:00",
+ "LastModified": "2018-03-02T18:25:07.5748853-08:00"
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-all.json
new file mode 100644
index 000000000000..8d211c4d12f6
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-all.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "type": "Microsoft.Media/mediaservices/liveevents",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "resourceState": "Stopped",
+ "provisioningState": "Succeeded",
+ "created": "2018-03-03T02:25:08.5564064Z",
+ "lastModified": "2018-03-03T02:25:08.5564064Z",
+ "vanityUrl": false,
+ "streamOptions": [],
+ "input": {
+ "keyFrameIntervalDuration": "PT6S",
+ "streamingProtocol": "FragmentedMP4",
+ "accessToken": "de153bb0814542d9b7e2339ce9430dc4",
+ "endpoints": [
+ {
+ "protocol": "FragmentedMP4",
+ "url": "http://clouddeployment.media-test.net/de153bb0814542d9b7e2339ce9430dc4/ingest.isml"
+ }
+ ]
+ },
+ "preview": {
+ "previewLocator": "a220e223-faf8-4e03-b9a9-2c2432f48025",
+ "streamingPolicyName": null,
+ "accessControl": {
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowAll",
+ "address": "0.0.0.0",
+ "subnetPrefixLength": null
+ }
+ ]
+ }
+ },
+ "endpoints": [
+ {
+ "protocol": "FragmentedMP4",
+ "url": "https://myliveevent1-slitestmedia10.preview-usso.channel.mediaservices.windows.net/a220e223-faf8-4e03-b9a9-2c2432f48025/preview.ism/manifest"
+ }
+ ]
+ },
+ "encoding": {
+ "encodingType": "None",
+ "presetName": null
+ },
+ "crossSiteAccessPolicies": {
+ "clientAccessPolicy": null,
+ "crossDomainPolicy": null
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-by-name.json
new file mode 100644
index 000000000000..da80ef5d0805
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-list-by-name.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "404": {},
+ "200": {
+ "body": {
+ "name": "myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "type": "Microsoft.Media/mediaservices/liveevents",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "description": "",
+ "resourceState": "Stopped",
+ "provisioningState": "Succeeded",
+ "created": "2018-03-03T02:25:08.3474032Z",
+ "lastModified": "2018-03-03T02:25:08.3474032Z",
+ "vanityUrl": false,
+ "streamOptions": [
+ "Default"
+ ],
+ "input": {
+ "keyFrameIntervalDuration": "PT6S",
+ "streamingProtocol": "FragmentedMP4",
+ "accessToken": null,
+ "endpoints": [
+ {
+ "protocol": "FragmentedMP4",
+ "url": "http://clouddeployment.media-test.net/ingest.isml"
+ }
+ ]
+ },
+ "preview": {
+ "previewLocator": "763f3ea4-d94f-441c-a634-c833f61a4e04",
+ "streamingPolicyName": null,
+ "accessControl": {
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowAll",
+ "address": "0.0.0.0",
+ "subnetPrefixLength": 0
+ }
+ ]
+ }
+ },
+ "endpoints": [
+ {
+ "protocol": "FragmentedMP4",
+ "url": "https://testeventopito4idh2r-weibzmedia05.preview-ts051.channel.media-test.windows-int.net/763f3ea4-d94f-441c-a634-c833f61a4e04/preview.ism/manifest"
+ }
+ ]
+ },
+ "encoding": {
+ "encodingType": "None",
+ "presetName": null
+ },
+ "crossSiteAccessPolicies": {
+ "clientAccessPolicy": "",
+ "crossDomainPolicy": ""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-reset.json
new file mode 100644
index 000000000000..d5443a60b311
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-reset.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-start.json
new file mode 100644
index 000000000000..d5443a60b311
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-start.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-stop.json
new file mode 100644
index 000000000000..cdf6c800889b
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-stop.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "removeOutputsOnStop": false
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-update.json
new file mode 100644
index 000000000000..18062aeadbab
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-update.json
@@ -0,0 +1,134 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "api-version": "2019-05-01-preview",
+ "parameters": {
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2",
+ "tag3": "value3"
+ },
+ "properties": {
+ "description": "test event updated",
+ "input": {
+ "streamingProtocol": "FragmentedMP4",
+ "keyFrameIntervalDuration": "PT6S"
+ },
+ "preview": {
+ "accessControl": {
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowOne",
+ "address": "192.1.1.0"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "type": "Microsoft.Media/mediaservices/liveevents",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2",
+ "tag3": "value3"
+ },
+ "properties": {
+ "description": "test event updated",
+ "resourceState": "Running",
+ "provisioningState": "InProgress",
+ "created": "0001-01-01T00:00:00Z",
+ "lastModified": "0001-01-01T00:00:00Z",
+ "vanityUrl": false,
+ "streamOptions": [],
+ "input": {
+ "keyFrameIntervalDuration": "PT6S",
+ "streamingProtocol": "FragmentedMP4",
+ "accessToken": "c638baac3195406a84d7ff3bcba8bde4",
+ "endpoints": []
+ },
+ "preview": {
+ "previewLocator": "c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2",
+ "streamingPolicyName": null,
+ "accessControl": {
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowOne",
+ "address": "192.1.1.0",
+ "subnetPrefixLength": null
+ }
+ ]
+ }
+ },
+ "endpoints": []
+ },
+ "encoding": {
+ "encodingType": "None",
+ "presetName": null
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "type": "Microsoft.Media/mediaservices/liveevents",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2",
+ "tag3": "value3"
+ },
+ "properties": {
+ "description": "test event updated",
+ "resourceState": "Running",
+ "provisioningState": "InProgress",
+ "created": "0001-01-01T00:00:00Z",
+ "lastModified": "0001-01-01T00:00:00Z",
+ "vanityUrl": false,
+ "streamOptions": [],
+ "input": {
+ "keyFrameIntervalDuration": "PT6S",
+ "streamingProtocol": "FragmentedMP4",
+ "accessToken": "c638baac3195406a84d7ff3bcba8bde4",
+ "endpoints": []
+ },
+ "preview": {
+ "previewLocator": "c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2",
+ "streamingPolicyName": null,
+ "accessControl": {
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowOne",
+ "address": "192.1.1.0",
+ "subnetPrefixLength": null
+ }
+ ]
+ }
+ },
+ "endpoints": []
+ },
+ "encoding": {
+ "encodingType": "None",
+ "presetName": null
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-create.json
new file mode 100644
index 000000000000..473fa7d65cd1
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-create.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "liveOutputName": "myLiveOutput1",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "description": "test live output 1",
+ "assetName": "6f3264f5-a189-48b4-a29a-a40f22575212",
+ "archiveWindowLength": "PT5M",
+ "manifestName": "testmanifest",
+ "hls": {
+ "fragmentsPerTsSegment": 5
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myLiveOutput1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1",
+ "type": "Microsoft.Media/mediaservices/liveevents/liveoutputs",
+ "properties": {
+ "description": "test live output 1",
+ "assetName": "6f3264f5-a189-48b4-a29a-a40f22575212",
+ "archiveWindowLength": "PT5M",
+ "manifestName": "testmanifest",
+ "outputSnapTime": 0,
+ "resourceState": "Creating",
+ "provisioningState": "Succeeded",
+ "created": "2018-03-03T02:25:09.9431835Z",
+ "lastModified": "2018-03-03T02:25:09.9431835Z",
+ "hls": {
+ "fragmentsPerTsSegment": 5
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "myLiveOutput1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1",
+ "type": "Microsoft.Media/mediaservices/liveevents/liveoutputs",
+ "properties": {
+ "description": "test live output 1",
+ "assetName": "6f3264f5-a189-48b4-a29a-a40f22575212",
+ "archiveWindowLength": "PT5M",
+ "manifestName": "testmanifest",
+ "outputSnapTime": 0,
+ "resourceState": "Creating",
+ "provisioningState": "Succeeded",
+ "created": "2018-03-03T02:25:09.9431835Z",
+ "lastModified": "2018-03-03T02:25:09.9431835Z",
+ "hls": {
+ "fragmentsPerTsSegment": 5
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-delete.json
new file mode 100644
index 000000000000..7ff08e04d878
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-delete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "liveOutputName": "myLiveOutput1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-all.json
new file mode 100644
index 000000000000..879d657299fe
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-all.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "liveoutput1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/",
+ "type": "Microsoft.Media/mediaservices/liveevents/liveoutputs",
+ "properties": {
+ "description": null,
+ "assetName": "95dafce4-5320-464c-8597-909373854119",
+ "archiveWindowLength": "PT30S",
+ "manifestName": "c3a23d4b-02a6-4937-a1ad-6416f463fdca",
+ "outputSnapTime": 0,
+ "resourceState": "Running",
+ "provisioningState": "Succeeded",
+ "created": "0001-01-01T00:00:00-08:00",
+ "lastModified": "0001-01-01T00:00:00-08:00",
+ "hls": {
+ "fragmentsPerTsSegment": 5
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-by-name.json
new file mode 100644
index 000000000000..46d56644799c
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveoutput-list-by-name.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "liveEventName": "myLiveEvent1",
+ "liveOutputName": "myLiveOutput1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "404": {},
+ "200": {
+ "body": {
+ "name": "myLiveOutput1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1",
+ "type": "Microsoft.Media/mediaservices/liveevents/liveoutputs",
+ "properties": {
+ "description": null,
+ "assetName": "cb2ae0bc-677a-4830-9c8e-06ce4c4cb607",
+ "archiveWindowLength": "PT30S",
+ "manifestName": "fc7096f5-c488-4b86-8302-f3bfde53fc27",
+ "outputSnapTime": 0,
+ "resourceState": "Running",
+ "provisioningState": "Succeeded",
+ "created": "0001-01-01T00:00:00-08:00",
+ "lastModified": "0001-01-01T00:00:00-08:00",
+ "hls": {
+ "fragmentsPerTsSegment": 5
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/operations-list-all.json
new file mode 100644
index 000000000000..7426d00e6230
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/operations-list-all.json
@@ -0,0 +1,589 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Media/register/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Microsoft Media Services",
+ "operation": "Registers the Media Services Resource Provider",
+ "description": "Registers the subscription for the Media Services resource provider and enables the creation of Media Services accounts"
+ }
+ },
+ {
+ "name": "Microsoft.Media/unregister/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Microsoft Media Services",
+ "operation": "Unregisters the Media Services Resource Provider",
+ "description": "Unregisters the subscription for the Media Services resource provider"
+ }
+ },
+ {
+ "name": "Microsoft.Media/checknameavailability/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Microsoft Media Services",
+ "operation": "Check Name Availability",
+ "description": "Checks if a Media Services account name is available"
+ }
+ },
+ {
+ "name": "Microsoft.Media/operations/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Available Operations",
+ "operation": "Get Available Operations",
+ "description": "Get Available Operations"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Media Services Account",
+ "operation": "Read Media Services Account",
+ "description": "Read any Media Services Account"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Media Services Account",
+ "operation": "Create or Update Media Services Account",
+ "description": "Create or Update any Media Services Account"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Media Services Account",
+ "operation": "Delete Media Services Account",
+ "description": "Delete any Media Services Account"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/syncStorageKeys/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Media Services Account",
+ "operation": "Synchronize Storage Keys",
+ "description": "Synchronize the Storage Keys for an attached Azure Storage account"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/eventGridFilters/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Event Grid Filter",
+ "operation": "Read Event Grid Filter",
+ "description": "Read any Event Grid Filter"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/eventGridFilters/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Event Grid Filter",
+ "operation": "Create or Update Event Grid Filter",
+ "description": "Create or Update any Event Grid Filter"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/eventGridFilters/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Event Grid Filter",
+ "operation": "Delete Event Grid Filter",
+ "description": "Delete any Event Grid Filter"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/assets/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Asset",
+ "operation": "Read Asset",
+ "description": "Read any Asset"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/assets/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Asset",
+ "operation": "Create or Update Asset",
+ "description": "Create or Update any Asset"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/assets/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Asset",
+ "operation": "Delete Asset",
+ "description": "Delete any Asset"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/assets/listContainerSas/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Asset",
+ "operation": "List Asset Container SAS URLs",
+ "description": "List Asset Container SAS URLs"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/assets/getEncryptionKey/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Asset",
+ "operation": "Get Asset Encryption Key",
+ "description": "Get Asset Encryption Key"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingPolicies/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Policy",
+ "operation": "Read Streaming Policy",
+ "description": "Read any Streaming Policy"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingPolicies/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Policy",
+ "operation": "Create or Update Streaming Policy",
+ "description": "Create or Update any Streaming Policy"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingPolicies/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Policy",
+ "operation": "Delete Streaming Policy",
+ "description": "Delete any Streaming Policy"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingLocators/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Locator",
+ "operation": "Read Streaming Locator",
+ "description": "Read any Streaming Locator"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingLocators/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Locator",
+ "operation": "Create or Update Streaming Locator",
+ "description": "Create or Update any Streaming Locator"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingLocators/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Locator",
+ "operation": "Delete Streaming Locator",
+ "description": "Delete any Streaming Locator"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingLocators/listContentKeys/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Locator",
+ "operation": "List Content Keys",
+ "description": "List Content Keys"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingLocators/listPaths/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Locator",
+ "operation": "List Paths",
+ "description": "List Paths"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/contentKeyPolicies/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Content Key Policy",
+ "operation": "Read Content Key Policy",
+ "description": "Read any Content Key Policy"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/contentKeyPolicies/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Content Key Policy",
+ "operation": "Create or Update Content Key Policy",
+ "description": "Create or Update any Content Key Policy"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/contentKeyPolicies/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Content Key Policy",
+ "operation": "Delete Content Key Policy",
+ "description": "Delete any Content Key Policy"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/contentKeyPolicies/getPolicyPropertiesWithSecrets/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Content Key Policy",
+ "operation": "Get Policy Properties With Secrets",
+ "description": "Get Policy Properties With Secrets"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/transforms/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Transform",
+ "operation": "Read Transform",
+ "description": "Read any Transform"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/transforms/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Transform",
+ "operation": "Create or Update Transform",
+ "description": "Create or Update any Transform"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/transforms/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Transform",
+ "operation": "Delete Transform",
+ "description": "Delete any Transform"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/transforms/jobs/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Job",
+ "operation": "Read Job",
+ "description": "Read any Job"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/transforms/jobs/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Job",
+ "operation": "Create or Update Job",
+ "description": "Create or Update any Job"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/transforms/jobs/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Job",
+ "operation": "Delete Job",
+ "description": "Delete any Job"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/transforms/jobs/cancelJob/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Job",
+ "operation": "Cancel Job",
+ "description": "Cancel Job"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoint",
+ "operation": "Read Streaming Endpoint",
+ "description": "Read any Streaming Endpoint"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoint",
+ "operation": "Create or Update Streaming Endpoint",
+ "description": "Create or Update any Streaming Endpoint"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoint",
+ "operation": "Delete Streaming Endpoint",
+ "description": "Delete any Streaming Endpoint"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/start/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoint",
+ "operation": "Start Streaming Endpoint Operation",
+ "description": "Start any Streaming Endpoint Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/stop/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoint",
+ "operation": "Stop Streaming Endpoint Operation",
+ "description": "Stop any Streaming Endpoint Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/scale/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoint",
+ "operation": "Scale Streaming Endpoint Operation",
+ "description": "Scale any Streaming Endpoint Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoints",
+ "operation": "Read diagnostic setting",
+ "description": "Gets the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoints",
+ "operation": "Write diagnostic setting",
+ "description": "Creates or updates the diagnostic setting for the resource."
+ },
+ "origin": "system"
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpoints/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoints",
+ "operation": "Get list of Media Services Streaming Endpoint Metrics definitions.",
+ "description": "Get list of Media Services Streaming Endpoint Metrics definitions."
+ },
+ "origin": "system",
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "Egress",
+ "displayName": "Egress",
+ "displayDescription": "The amount of Egress data, in bytes.",
+ "unit": "Bytes",
+ "aggregationType": "Total",
+ "dimensions": [
+ {
+ "name": "OutputFormat",
+ "displayName": "Output Format",
+ "toBeExportedForShoebox": true
+ }
+ ]
+ },
+ {
+ "name": "SuccessE2ELatency",
+ "displayName": "Success end to end Latency",
+ "displayDescription": "The average latency for successful requests in milliseconds.",
+ "unit": "Milliseconds",
+ "aggregationType": "Average",
+ "dimensions": [
+ {
+ "name": "OutputFormat",
+ "displayName": "Output Format",
+ "toBeExportedForShoebox": true
+ }
+ ]
+ },
+ {
+ "name": "Requests",
+ "displayName": "Requests",
+ "displayDescription": "Requests to a Streaming Endpoint.",
+ "unit": "Count",
+ "aggregationType": "Count",
+ "dimensions": [
+ {
+ "name": "OutputFormat",
+ "displayName": "Output Format",
+ "toBeExportedForShoebox": true
+ },
+ {
+ "name": "HttpStatusCode",
+ "displayName": "HTTP Status Code",
+ "toBeExportedForShoebox": true
+ },
+ {
+ "name": "ErrorCode",
+ "displayName": "Error Code",
+ "toBeExportedForShoebox": false
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Event",
+ "operation": "Read Live Event",
+ "description": "Read any Live Event"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Event",
+ "operation": "Create or Update Live Event",
+ "description": "Create or Update any Live Event"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Event",
+ "operation": "Delete Live Event",
+ "description": "Delete any Live Event"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/start/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Event",
+ "operation": "Start Live Event Operation",
+ "description": "Start any Live Event Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/stop/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Event",
+ "operation": "Stop Live Event Operation",
+ "description": "Stop any Live Event Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/reset/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Event",
+ "operation": "Reset Live Event Operation",
+ "description": "Reset any Live Event Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Output",
+ "operation": "Read Live Output",
+ "description": "Read any Live Output"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/write",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Output",
+ "operation": "Create or Update Live Output",
+ "description": "Create or Update any Live Output"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEvents/liveOutputs/delete",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Output",
+ "operation": "Delete Live Output",
+ "description": "Delete any Live Output"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/streamingEndpointOperations/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Streaming Endpoint Operation",
+ "operation": "Read Streaming Endpoint Operation",
+ "description": "Read any Streaming Endpoint Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveEventOperations/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Event Operation",
+ "operation": "Read Live Event Operation",
+ "description": "Read any Live Event Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/mediaservices/liveOutputOperations/read",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Live Output Operation",
+ "operation": "Read Live Output Operation",
+ "description": "Read any Live Output Operation"
+ }
+ },
+ {
+ "name": "Microsoft.Media/locations/checkNameAvailability/action",
+ "display": {
+ "provider": "Microsoft Media Services",
+ "resource": "Microsoft Media Services",
+ "operation": "Check Name Availability",
+ "description": "Checks if a Media Services account name is available"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-clear.json
new file mode 100644
index 000000000000..0fe95f1d6bd2
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-clear.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingLocatorName": "UserCreatedClearStreamingLocator",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "streamingPolicyName": "clearStreamingPolicy",
+ "assetName": "ClimbingMountRainier"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "UserCreatedClearStreamingLocator",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedClearStreamingLocator",
+ "type": "Microsoft.Media/mediaservices/streamingLocators",
+ "properties": {
+ "assetName": "ClimbingMountRainier",
+ "created": "2019-06-06T17:28:03.7992857Z",
+ "endTime": "9999-12-31T23:59:59.9999999Z",
+ "streamingLocatorId": "7ccb6b56-686c-4d93-a267-8117ee145878",
+ "streamingPolicyName": "clearStreamingPolicy",
+ "contentKeys": [],
+ "filters": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
new file mode 100644
index 000000000000..d8740a7b20e7
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingLocatorName": "UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "assetName": "ClimbingMountRainier",
+ "streamingPolicyName": "secureStreamingPolicy",
+ "streamingLocatorId": "90000000-0000-0000-0000-00000000000A",
+ "contentKeys": [
+ {
+ "labelReferenceInStreamingPolicy": "aesDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000001",
+ "value": "1UqLohAfWsEGkULYxHjYZg=="
+ },
+ {
+ "labelReferenceInStreamingPolicy": "cencDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000004",
+ "value": "4UqLohAfWsEGkULYxHjYZg=="
+ },
+ {
+ "labelReferenceInStreamingPolicy": "cbcsDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000007",
+ "value": "7UqLohAfWsEGkULYxHjYZg=="
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
+ "type": "Microsoft.Media/mediaservices/streamingLocators",
+ "properties": {
+ "assetName": "ClimbingMountRainier",
+ "created": "2019-06-06T18:00:49.849356Z",
+ "endTime": "9999-12-31T23:59:59.9999999Z",
+ "streamingLocatorId": "90000000-0000-0000-0000-00000000000a",
+ "streamingPolicyName": "secureStreamingPolicy",
+ "contentKeys": [
+ {
+ "id": "60000000-0000-0000-0000-000000000007",
+ "type": "CommonEncryptionCbcs",
+ "labelReferenceInStreamingPolicy": "cbcsDefaultKey",
+ "tracks": []
+ },
+ {
+ "id": "60000000-0000-0000-0000-000000000004",
+ "type": "CommonEncryptionCenc",
+ "labelReferenceInStreamingPolicy": "cencDefaultKey",
+ "tracks": []
+ },
+ {
+ "id": "60000000-0000-0000-0000-000000000001",
+ "type": "EnvelopeEncryption",
+ "labelReferenceInStreamingPolicy": "aesDefaultKey",
+ "tracks": []
+ }
+ ],
+ "filters": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json
new file mode 100644
index 000000000000..3d973264ab34
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingLocatorName": "UserCreatedSecureStreamingLocator",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "streamingPolicyName": "secureStreamingPolicy",
+ "assetName": "ClimbingMountRainier",
+ "startTime": "2018-03-01T00:00:00Z",
+ "endTime": "2028-12-31T23:59:59.9999999Z"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "UserCreatedSecureStreamingLocator",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/UserCreatedSecureStreamingLocator",
+ "type": "Microsoft.Media/mediaservices/streamingLocators",
+ "properties": {
+ "assetName": "ClimbingMountRainier",
+ "created": "2019-06-06T17:28:03.9392829Z",
+ "startTime": "2018-03-01T00:00:00Z",
+ "endTime": "2028-12-31T23:59:59.9999999Z",
+ "streamingLocatorId": "1f5db621-0c21-43d7-a340-2b143d62d4e7",
+ "streamingPolicyName": "secureStreamingPolicy",
+ "contentKeys": [
+ {
+ "id": "41ddc803-579c-4fe8-b298-b37be5924d9e",
+ "type": "CommonEncryptionCbcs",
+ "labelReferenceInStreamingPolicy": "cbcsDefaultKey",
+ "tracks": []
+ },
+ {
+ "id": "68a5fd6e-ed9e-4cdf-b276-40304299dc4a",
+ "type": "CommonEncryptionCenc",
+ "labelReferenceInStreamingPolicy": "cencDefaultKey",
+ "tracks": []
+ },
+ {
+ "id": "bfb7cbf3-5834-4d43-a87d-f25ed1b88ed3",
+ "type": "EnvelopeEncryption",
+ "labelReferenceInStreamingPolicy": "aesDefaultKey",
+ "tracks": []
+ }
+ ],
+ "filters": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-delete.json
new file mode 100644
index 000000000000..140630d47647
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingLocatorName": "clearStreamingLocator",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-get-by-name.json
new file mode 100644
index 000000000000..e5f63b5ad571
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-get-by-name.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingLocatorName": "clearStreamingLocator",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "clearStreamingLocator",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/clearStreamingLocator",
+ "type": "Microsoft.Media/mediaservices/streamingLocators",
+ "properties": {
+ "assetName": "ClimbingMountRainier",
+ "created": "2018-08-08T18:29:32.1154071Z",
+ "endTime": "9999-12-31T23:59:59.9999999Z",
+ "streamingLocatorId": "7684043b-f6d1-44a7-8bed-8a4aa474c5a4",
+ "streamingPolicyName": "clearStreamingPolicy",
+ "contentKeys": [],
+ "filters": []
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-content-keys.json
new file mode 100644
index 000000000000..7ef154ff54fd
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-content-keys.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingLocatorName": "secureStreamingLocator",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "contentKeys": [
+ {
+ "id": "9259eb06-eeee-4f77-987f-48f4ea5c649f",
+ "type": "EnvelopeEncryption",
+ "labelReferenceInStreamingPolicy": "aesDefaultKey",
+ "value": "QpiqeQROdN5xamnfUF2Wdw==",
+ "policyName": "PolicyWithMultipleOptions",
+ "tracks": []
+ },
+ {
+ "id": "06bfeff1-2bb6-4f58-af27-a2767f058bca",
+ "type": "CommonEncryptionCenc",
+ "labelReferenceInStreamingPolicy": "cencDefaultKey",
+ "value": "ZjgWhNnqnqcov/h+wrYusw==",
+ "policyName": "PolicyWithMultipleOptions",
+ "tracks": []
+ },
+ {
+ "id": "799e78a0-ed6f-4179-9222-ed4ec4223cec",
+ "type": "CommonEncryptionCbcs",
+ "labelReferenceInStreamingPolicy": "cbcsDefaultKey",
+ "value": "FjZ3n3yRcVxRFftdYFbe9g==",
+ "policyName": "PolicyWithMultipleOptions",
+ "tracks": []
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json
new file mode 100644
index 000000000000..811f52ff50a7
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingLocatorName": "clearStreamingLocator",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "streamingPaths": [
+ {
+ "streamingProtocol": "Hls",
+ "encryptionScheme": "NoEncryption",
+ "paths": [
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest(format=m3u8-aapl)",
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest(format=m3u8-aapl)",
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest(format=m3u8-aapl)"
+ ]
+ },
+ {
+ "streamingProtocol": "Dash",
+ "encryptionScheme": "NoEncryption",
+ "paths": [
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest(format=mpd-time-csf)",
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest(format=mpd-time-csf)",
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest(format=mpd-time-csf)"
+ ]
+ },
+ {
+ "streamingProtocol": "SmoothStreaming",
+ "encryptionScheme": "NoEncryption",
+ "paths": [
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest1.ism/manifest",
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest2.ism/manifest",
+ "/262a87b6-b538-4657-bac1-b6897924471d/videoManifest3.ism/manifest"
+ ]
+ }
+ ],
+ "downloadPaths": [
+ "/262a87b6-b538-4657-bac1-b6897924471d/textTrack.vtt",
+ "/262a87b6-b538-4657-bac1-b6897924471d/video1.mp4",
+ "/262a87b6-b538-4657-bac1-b6897924471d/video2.mp4",
+ "/262a87b6-b538-4657-bac1-b6897924471d/video3.mp4"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-only.json
new file mode 100644
index 000000000000..6dea46e058bd
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list-paths-streaming-only.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingLocatorName": "secureStreamingLocator",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "streamingPaths": [
+ {
+ "streamingProtocol": "Hls",
+ "encryptionScheme": "EnvelopeEncryption",
+ "paths": [
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=m3u8-aapl,encryption=cbc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=m3u8-aapl,encryption=cbc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=m3u8-aapl,encryption=cbc)"
+ ]
+ },
+ {
+ "streamingProtocol": "Dash",
+ "encryptionScheme": "EnvelopeEncryption",
+ "paths": [
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=mpd-time-csf,encryption=cbc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=mpd-time-csf,encryption=cbc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=mpd-time-csf,encryption=cbc)"
+ ]
+ },
+ {
+ "streamingProtocol": "SmoothStreaming",
+ "encryptionScheme": "EnvelopeEncryption",
+ "paths": [
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(encryption=cbc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(encryption=cbc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(encryption=cbc)"
+ ]
+ },
+ {
+ "streamingProtocol": "Dash",
+ "encryptionScheme": "CommonEncryptionCenc",
+ "paths": [
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=mpd-time-csf,encryption=cenc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=mpd-time-csf,encryption=cenc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=mpd-time-csf,encryption=cenc)"
+ ]
+ },
+ {
+ "streamingProtocol": "SmoothStreaming",
+ "encryptionScheme": "CommonEncryptionCenc",
+ "paths": [
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(encryption=cenc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(encryption=cenc)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(encryption=cenc)"
+ ]
+ },
+ {
+ "streamingProtocol": "Hls",
+ "encryptionScheme": "CommonEncryptionCbcs",
+ "paths": [
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest1.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest2.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)",
+ "/c3cd62e3-d117-4619-bcbd-99f96edd8dbe/videoManifest3.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)"
+ ]
+ }
+ ],
+ "downloadPaths": []
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list.json
new file mode 100644
index 000000000000..98c6f76ef174
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-list.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "clearStreamingLocator",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/clearStreamingLocator",
+ "type": "Microsoft.Media/mediaservices/streamingLocators",
+ "properties": {
+ "assetName": "ClimbingMountRainier",
+ "created": "2018-08-08T18:29:31.9341192Z",
+ "endTime": "9999-12-31T23:59:59.9999999Z",
+ "streamingLocatorId": "6a116ec6-0c85-441f-9c31-89a5bc3adf0a",
+ "streamingPolicyName": "clearStreamingPolicy",
+ "contentKeys": []
+ }
+ },
+ {
+ "name": "secureStreamingLocator",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingLocators/secureStreamingLocator",
+ "type": "Microsoft.Media/mediaservices/streamingLocators",
+ "properties": {
+ "assetName": "ClimbingMountRainier",
+ "created": "2018-08-08T18:29:31.9544387Z",
+ "endTime": "9999-12-31T23:59:59.9999999Z",
+ "streamingLocatorId": "7338ef90-ffc8-42de-8bff-de8f99973300",
+ "streamingPolicyName": "secureStreamingPolicy",
+ "contentKeys": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-clear.json
new file mode 100644
index 000000000000..cb5f6ccb065c
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-clear.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingPolicyName": "UserCreatedClearStreamingPolicy",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "noEncryption": {
+ "enabledProtocols": {
+ "download": true,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "UserCreatedClearStreamingPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedClearStreamingPolicy",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:31.1535417Z",
+ "noEncryption": {
+ "enabledProtocols": {
+ "download": true,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
new file mode 100644
index 000000000000..52fc0ae3126e
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingPolicyName": "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "defaultContentKeyPolicyName": "PolicyWithMultipleOptions",
+ "commonEncryptionCbcs": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": false,
+ "hls": true,
+ "smoothStreaming": false
+ },
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cbcsDefaultKey"
+ }
+ },
+ "drm": {
+ "fairPlay": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
+ "allowPersistentLicense": true
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:31.6197199Z",
+ "defaultContentKeyPolicyName": "PolicyWithMultipleOptions",
+ "commonEncryptionCbcs": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": false,
+ "hls": true,
+ "smoothStreaming": false
+ },
+ "clearTracks": [],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cbcsDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "drm": {
+ "fairPlay": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
+ "allowPersistentLicense": true
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
new file mode 100644
index 000000000000..f4b39637fd31
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingPolicyName": "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "defaultContentKeyPolicyName": "PolicyWithPlayReadyOptionAndOpenRestriction",
+ "commonEncryptionCenc": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": false,
+ "smoothStreaming": true
+ },
+ "clearTracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "FourCC",
+ "operation": "Equal",
+ "value": "hev1"
+ }
+ ]
+ }
+ ],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cencDefaultKey"
+ }
+ },
+ "drm": {
+ "playReady": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
+ "playReadyCustomAttributes": "PlayReady CustomAttributes"
+ },
+ "widevine": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:31.4678543Z",
+ "defaultContentKeyPolicyName": "PolicyWithPlayReadyOptionAndOpenRestriction",
+ "commonEncryptionCenc": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": false,
+ "smoothStreaming": true
+ },
+ "clearTracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "FourCC",
+ "operation": "Equal",
+ "value": "hev1"
+ }
+ ]
+ }
+ ],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cencDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "drm": {
+ "playReady": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
+ "playReadyCustomAttributes": "PlayReady CustomAttributes"
+ },
+ "widevine": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json
new file mode 100644
index 000000000000..df5095174e7c
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingPolicyName": "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "defaultContentKeyPolicyName": "PolicyWithClearKeyOptionAndTokenRestriction",
+ "envelopeEncryption": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ },
+ "contentKeys": {
+ "defaultKey": {
+ "label": "aesDefaultKey"
+ }
+ },
+ "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:31.3055712Z",
+ "defaultContentKeyPolicyName": "PolicyWithClearKeyOptionAndTokenRestriction",
+ "envelopeEncryption": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ },
+ "clearTracks": [],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "aesDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-secure-streaming.json
new file mode 100644
index 000000000000..ba379b251a62
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-create-secure-streaming.json
@@ -0,0 +1,164 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingPolicyName": "UserCreatedSecureStreamingPolicy",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "properties": {
+ "defaultContentKeyPolicyName": "PolicyWithMultipleOptions",
+ "envelopeEncryption": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ },
+ "contentKeys": {
+ "defaultKey": {
+ "label": "aesDefaultKey"
+ }
+ },
+ "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"
+ },
+ "commonEncryptionCenc": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": false,
+ "smoothStreaming": true
+ },
+ "clearTracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "FourCC",
+ "operation": "Equal",
+ "value": "hev1"
+ }
+ ]
+ }
+ ],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cencDefaultKey"
+ }
+ },
+ "drm": {
+ "playReady": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
+ "playReadyCustomAttributes": "PlayReady CustomAttributes"
+ },
+ "widevine": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"
+ }
+ }
+ },
+ "commonEncryptionCbcs": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": false,
+ "hls": true,
+ "smoothStreaming": false
+ },
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cbcsDefaultKey"
+ }
+ },
+ "drm": {
+ "fairPlay": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
+ "allowPersistentLicense": true
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "UserCreatedSecureStreamingPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicy",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:31.7715696Z",
+ "defaultContentKeyPolicyName": "PolicyWithMultipleOptions",
+ "envelopeEncryption": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ },
+ "clearTracks": [],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "aesDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"
+ },
+ "commonEncryptionCenc": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": false,
+ "smoothStreaming": true
+ },
+ "clearTracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "FourCC",
+ "operation": "Equal",
+ "value": "hev1"
+ }
+ ]
+ }
+ ],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cencDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "drm": {
+ "playReady": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
+ "playReadyCustomAttributes": "PlayReady CustomAttributes"
+ },
+ "widevine": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"
+ }
+ }
+ },
+ "commonEncryptionCbcs": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": false,
+ "hls": true,
+ "smoothStreaming": false
+ },
+ "clearTracks": [],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cbcsDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "drm": {
+ "fairPlay": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
+ "allowPersistentLicense": true
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-delete.json
new file mode 100644
index 000000000000..f7c557b72159
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingPolicyName": "secureStreamingPolicyWithCommonEncryptionCbcsOnly",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-list.json
new file mode 100644
index 000000000000..a9107e1e2bbd
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policies-list.json
@@ -0,0 +1,211 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "clearStreamingPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/clearStreamingPolicy",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:30.676067Z",
+ "noEncryption": {
+ "enabledProtocols": {
+ "download": true,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ }
+ }
+ }
+ },
+ {
+ "name": "secureStreamingPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicy",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:30.6781134Z",
+ "defaultContentKeyPolicyName": "PolicyWithMultipleOptions",
+ "envelopeEncryption": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ },
+ "clearTracks": [],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "aesDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"
+ },
+ "commonEncryptionCenc": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": false,
+ "smoothStreaming": true
+ },
+ "clearTracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "FourCC",
+ "operation": "Unknown",
+ "value": "hev1"
+ }
+ ]
+ }
+ ],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cencDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "drm": {
+ "playReady": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
+ "playReadyCustomAttributes": "PlayReady CustomAttributes"
+ },
+ "widevine": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"
+ }
+ }
+ },
+ "commonEncryptionCbcs": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": false,
+ "hls": true,
+ "smoothStreaming": false
+ },
+ "clearTracks": [],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cbcsDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "drm": {
+ "fairPlay": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
+ "allowPersistentLicense": true
+ }
+ }
+ }
+ }
+ },
+ {
+ "name": "secureStreamingPolicyWithCommonEncryptionCbcsOnly",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithCommonEncryptionCbcsOnly",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:30.6781134Z",
+ "defaultContentKeyPolicyName": "PolicyWithMultipleOptions",
+ "commonEncryptionCbcs": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": false,
+ "hls": true,
+ "smoothStreaming": false
+ },
+ "clearTracks": [],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cbcsDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "drm": {
+ "fairPlay": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
+ "allowPersistentLicense": true
+ }
+ }
+ }
+ }
+ },
+ {
+ "name": "secureStreamingPolicyWithCommonEncryptionCencOnly",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithCommonEncryptionCencOnly",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:30.6781134Z",
+ "defaultContentKeyPolicyName": "PolicyWithMultipleOptions",
+ "commonEncryptionCenc": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": false,
+ "smoothStreaming": true
+ },
+ "clearTracks": [
+ {
+ "trackSelections": [
+ {
+ "property": "FourCC",
+ "operation": "Unknown",
+ "value": "hev1"
+ }
+ ]
+ }
+ ],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "cencDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "drm": {
+ "playReady": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
+ "playReadyCustomAttributes": "PlayReady CustomAttributes"
+ },
+ "widevine": {
+ "customLicenseAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"
+ }
+ }
+ }
+ }
+ },
+ {
+ "name": "secureStreamingPolicyWithEnvelopeEncryptionOnly",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/secureStreamingPolicyWithEnvelopeEncryptionOnly",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:30.6781134Z",
+ "defaultContentKeyPolicyName": "PolicyWithClearKeyOptionAndTokenRestriction",
+ "envelopeEncryption": {
+ "enabledProtocols": {
+ "download": false,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ },
+ "clearTracks": [],
+ "contentKeys": {
+ "defaultKey": {
+ "label": "aesDefaultKey"
+ },
+ "keyToTrackMappings": []
+ },
+ "customKeyAcquisitionUrlTemplate": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"
+ }
+ }
+ }
+ ],
+ "@odata.nextLink": "http://server/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaServices/contosomedia/streamingPolicies?api-version=2018-07-01&$skiptoken=secureStreamingPolicyWithEnvelopeEncryptionOnly"
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policy-get-by-name.json
new file mode 100644
index 000000000000..e1f4eb5d3fbb
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-policy-get-by-name.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contoso",
+ "accountName": "contosomedia",
+ "streamingPolicyName": "clearStreamingPolicy",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "clearStreamingPolicy",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/clearStreamingPolicy",
+ "type": "Microsoft.Media/mediaservices/streamingPolicies",
+ "properties": {
+ "created": "2018-08-08T18:29:30.8501486Z",
+ "noEncryption": {
+ "enabledProtocols": {
+ "download": true,
+ "dash": true,
+ "hls": true,
+ "smoothStreaming": true
+ }
+ }
+ }
+ }
+ },
+ "404": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-create.json
new file mode 100644
index 000000000000..a0408d3f6bc9
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-create.json
@@ -0,0 +1,154 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "streamingEndpointName": "myStreamingEndpoint1",
+ "api-version": "2019-05-01-preview",
+ "parameters": {
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "scaleUnits": 1,
+ "availabilitySetName": "availableset",
+ "accessControl": {
+ "akamai": {
+ "akamaiSignatureHeaderAuthenticationKeyList": [
+ {
+ "identifier": "id1",
+ "expiration": "2029-12-31T16:00:00-08:00",
+ "base64Key": "dGVzdGlkMQ=="
+ },
+ {
+ "identifier": "id2",
+ "expiration": "2030-12-31T16:00:00-08:00",
+ "base64Key": "dGVzdGlkMQ=="
+ }
+ ]
+ },
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowedIp",
+ "address": "192.168.1.1"
+ }
+ ]
+ }
+ },
+ "cdnEnabled": false
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "type": "Microsoft.Media/mediaservices/streamingEndpoints",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "scaleUnits": 1,
+ "availabilitySetName": "availableset",
+ "cdnEnabled": false,
+ "cdnProvider": null,
+ "cdnProfile": "",
+ "customHostNames": [],
+ "accessControl": {
+ "akamai": {
+ "akamaiSignatureHeaderAuthenticationKeyList": [
+ {
+ "identifier": "id1",
+ "expiration": "2030-01-01T00:00:00Z",
+ "base64Key": "dGVzdGlkMQ=="
+ },
+ {
+ "identifier": "id2",
+ "expiration": "2031-01-01T00:00:00Z",
+ "base64Key": "dGVzdGlkMQ=="
+ }
+ ]
+ },
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowedIp",
+ "address": "192.168.1.1",
+ "subnetPrefixLength": null
+ }
+ ]
+ }
+ },
+ "maxCacheAge": null,
+ "hostName": "mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net",
+ "freeTrialEndTime": "0001-01-01T00:00:00-08:00",
+ "provisioningState": "InProgress",
+ "resourceState": "Stopped",
+ "created": "2018-03-03T02:25:09.7561389Z",
+ "lastModified": "2018-03-03T02:25:09.7561389Z"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "type": "Microsoft.Media/mediaservices/streamingEndpoints",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "scaleUnits": 1,
+ "availabilitySetName": "availableset",
+ "cdnEnabled": false,
+ "cdnProvider": null,
+ "cdnProfile": "",
+ "customHostNames": [],
+ "accessControl": {
+ "akamai": {
+ "akamaiSignatureHeaderAuthenticationKeyList": [
+ {
+ "identifier": "id1",
+ "expiration": "2030-01-01T00:00:00Z",
+ "base64Key": "dGVzdGlkMQ=="
+ },
+ {
+ "identifier": "id2",
+ "expiration": "2031-01-01T00:00:00Z",
+ "base64Key": "dGVzdGlkMQ=="
+ }
+ ]
+ },
+ "ip": {
+ "allow": [
+ {
+ "name": "AllowedIp",
+ "address": "192.168.1.1",
+ "subnetPrefixLength": null
+ }
+ ]
+ }
+ },
+ "maxCacheAge": null,
+ "hostName": "mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net",
+ "freeTrialEndTime": "0001-01-01T00:00:00-08:00",
+ "provisioningState": "InProgress",
+ "resourceState": "Stopped",
+ "created": "2018-03-03T02:25:09.7561389Z",
+ "lastModified": "2018-03-03T02:25:09.7561389Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json
new file mode 100644
index 000000000000..b78b3322644f
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "streamingEndpointName": "myStreamingEndpoint1",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "Name": "myStreamingEndpoint1",
+ "Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints",
+ "Location": "West US",
+ "Tags": {
+ "DynamicProperties": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ },
+ "Properties": {
+ "Description": "test event 1",
+ "ScaleUnits": 1,
+ "AccessControl": null,
+ "AvailabilitySetName": "availableset",
+ "MaxCacheAge": null,
+ "CrossSiteAccessPolicies": null,
+ "CustomHostNames": [],
+ "HostName": null,
+ "CdnEnabled": false,
+ "CdnProvider": null,
+ "CdnProfile": null,
+ "FreeTrialEndTime": "0001-01-01T00:00:00-08:00",
+ "ProvisioningState": null,
+ "ResourceState": "Stopped",
+ "Created": "2018-03-02T18:25:09.4897514-08:00",
+ "LastModified": "2018-03-02T18:25:09.4897514-08:00"
+ }
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-all.json
new file mode 100644
index 000000000000..bcbc02e5185a
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-all.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "type": "Microsoft.Media/mediaservices/streamingEndpoints",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "scaleUnits": 1,
+ "availabilitySetName": "availableset",
+ "cdnEnabled": false,
+ "cdnProvider": null,
+ "cdnProfile": "",
+ "customHostNames": [],
+ "maxCacheAge": null,
+ "hostName": "mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net",
+ "freeTrialEndTime": "0001-01-01T08:00:00Z",
+ "provisioningState": "Succeeded",
+ "resourceState": "Stopped",
+ "created": "2018-03-03T02:25:09.202013Z",
+ "lastModified": "2018-03-03T02:25:09.202013Z"
+ }
+ },
+ {
+ "name": "default",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/default",
+ "type": "Microsoft.Media/mediaservices/streamingEndpoints",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "description": "",
+ "scaleUnits": 0,
+ "availabilitySetName": null,
+ "cdnEnabled": true,
+ "cdnProvider": "StandardVerizon",
+ "cdnProfile": "AzureMediaStreamingPlatformCdnProfile-StandardVerizon",
+ "customHostNames": [],
+ "maxCacheAge": null,
+ "hostName": "slitestmedia10.streaming.mediaservices.windows.net",
+ "freeTrialEndTime": "0001-01-01T00:00:00-08:00",
+ "provisioningState": "InProgress",
+ "resourceState": "Starting",
+ "created": "2018-03-03T02:25:09.2310128Z",
+ "lastModified": "2018-03-03T02:25:09.2310128Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-by-name.json
new file mode 100644
index 000000000000..d3194bf8ceca
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-list-by-name.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "streamingEndpointName": "myStreamingEndpoint1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "404": {},
+ "200": {
+ "body": {
+ "name": "myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "type": "Microsoft.Media/mediaservices/streamingEndpoints",
+ "location": "West US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "description": "test event 1",
+ "scaleUnits": 1,
+ "availabilitySetName": "availableset",
+ "cdnEnabled": false,
+ "cdnProvider": null,
+ "cdnProfile": "",
+ "customHostNames": [],
+ "maxCacheAge": null,
+ "hostName": "mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net",
+ "freeTrialEndTime": "0001-01-01T08:00:00Z",
+ "provisioningState": "Succeeded",
+ "resourceState": "Stopped",
+ "created": "2018-03-03T02:25:09.3500423Z",
+ "lastModified": "2018-03-03T02:25:09.3500423Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-scale.json
new file mode 100644
index 000000000000..6a324b3b86b5
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-scale.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "streamingEndpointName": "myStreamingEndpoint1",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "scaleUnit": 5
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-start.json
new file mode 100644
index 000000000000..0ace89511dc6
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-start.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "streamingEndpointName": "myStreamingEndpoint1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-stop.json
new file mode 100644
index 000000000000..0ace89511dc6
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-stop.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "streamingEndpointName": "myStreamingEndpoint1",
+ "api-version": "2018-07-01"
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-update.json
new file mode 100644
index 000000000000..9e7d32ed3f4e
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-update.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
+ "resourceGroupName": "mediaresources",
+ "accountName": "slitestmedia10",
+ "streamingEndpointName": "myStreamingEndpoint1",
+ "api-version": "2018-07-01",
+ "parameters": {
+ "location": "West US",
+ "tags": {
+ "tag3": "value3",
+ "tag5": "value5"
+ },
+ "properties": {
+ "description": "test event 2",
+ "scaleUnits": 5,
+ "availabilitySetName": "availableset"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "type": "Microsoft.Media/mediaservices/streamingEndpoints",
+ "location": "West US",
+ "tags": {
+ "tag3": "value3",
+ "tag5": "value5"
+ },
+ "properties": {
+ "description": "test event 2",
+ "scaleUnits": 5,
+ "availabilitySetName": "availableset",
+ "cdnEnabled": false,
+ "cdnProvider": null,
+ "cdnProfile": null,
+ "customHostNames": [],
+ "maxCacheAge": null,
+ "hostName": null,
+ "freeTrialEndTime": "0001-01-01T00:00:00Z",
+ "provisioningState": "Succeeded",
+ "resourceState": null,
+ "created": "0001-01-01T00:00:00Z",
+ "lastModified": "0001-01-01T00:00:00Z"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "name": "myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "type": "Microsoft.Media/mediaservices/streamingEndpoints",
+ "location": "West US",
+ "tags": {
+ "tag3": "value3",
+ "tag5": "value5"
+ },
+ "properties": {
+ "description": "test event 2",
+ "scaleUnits": 5,
+ "availabilitySetName": "availableset",
+ "cdnEnabled": false,
+ "cdnProvider": null,
+ "cdnProfile": null,
+ "customHostNames": [],
+ "maxCacheAge": null,
+ "hostName": null,
+ "freeTrialEndTime": "0001-01-01T00:00:00Z",
+ "provisioningState": "Succeeded",
+ "resourceState": null,
+ "created": "0001-01-01T00:00:00Z",
+ "lastModified": "0001-01-01T00:00:00Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json
new file mode 100644
index 000000000000..5ea5b1612e7f
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "createdTransform",
+ "parameters": {
+ "properties": {
+ "description": "Example Transform to illustrate create and update.",
+ "outputs": [
+ {
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "createdTransform",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2019-05-29T17:01:44.0571152-07:00",
+ "description": "Example Transform to illustrate create and update.",
+ "lastModified": "2019-05-29T17:01:44.0571152-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "createdTransform",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/createdTransform",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2019-05-29T17:01:44.0571152-07:00",
+ "description": "Example Transform to illustrate create and update.",
+ "lastModified": "2019-05-29T17:01:44.0571152-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-delete.json
new file mode 100644
index 000000000000..f7377895cc28
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "sampleTransform"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-get-by-name.json
new file mode 100644
index 000000000000..aaa70d241f27
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-get-by-name.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "sampleTransform"
+ },
+ "responses": {
+ "404": {},
+ "200": {
+ "body": {
+ "name": "sampleTransform",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleTransform",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2018-08-08T16:29:57.8095562-04:00",
+ "description": "A sample Transform using the Standard Encoder with a built in preset.",
+ "lastModified": "2018-08-08T16:29:57.8095562-04:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "H264MultipleBitrate1080p"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-created.json
new file mode 100644
index 000000000000..6e9fff4bb24f
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-created.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "$filter": "properties/created gt 2018-09-27T22:56:07.7621546Z and properties/created le 2018-09-27T22:56:17.7621546Z",
+ "$orderby": "properties/created"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "sampleEncodeAndVideoIndex",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2018-09-27T22:56:17.7621546-07:00",
+ "description": "A sample Transform using the Video Analyzer.",
+ "lastModified": "2018-09-27T22:56:17.7621546-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset",
+ "insightsToExtract": "AllInsights"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-lastmodified.json
new file mode 100644
index 000000000000..7a7c451a796b
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-lastmodified.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "$filter": "properties/lastmodified gt 2018-09-27T22:56:07.7840953Z and properties/lastmodified le 2018-09-27T22:56:17.7840953Z",
+ "$orderby": "properties/lastmodified desc"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "sampleEncodeAndVideoIndex",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2018-09-27T22:56:17.7840953-07:00",
+ "description": "A sample Transform using the Video Analyzer.",
+ "lastModified": "2018-09-27T22:56:17.7840953-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset",
+ "insightsToExtract": "AllInsights"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-name.json
new file mode 100644
index 000000000000..73abc35d3eff
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all-filter-by-name.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "$filter": "(name eq 'sampleEncode') or (name eq 'sampleEncodeAndVideoIndex')",
+ "$orderby": "name desc"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "sampleEncodeAndVideoIndex",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2018-09-27T22:56:07.5846087-07:00",
+ "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.",
+ "lastModified": "2018-09-27T22:56:07.5846087-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset",
+ "insightsToExtract": "AllInsights"
+ }
+ },
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "sampleEncode",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2018-09-27T22:56:07.5846087-07:00",
+ "description": "A sample Transform using the Standard Encoder with a built in preset.",
+ "lastModified": "2018-09-27T22:56:07.5846087-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all.json
new file mode 100644
index 000000000000..577b65d56e1d
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-list-all.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "sampleEncode",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncode",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2018-07-26T19:11:48.9717921-07:00",
+ "description": "A sample Transform using the Standard Encoder with a built in preset.",
+ "lastModified": "2018-07-26T19:11:48.9717921-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "sampleEncodeAndVideoIndex",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/sampleEncodeAndVideoIndex",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2018-07-26T19:11:48.9767793-07:00",
+ "description": "A sample Transform using the Standard Encoder with a built-in preset, as well as the Video Analyzer.",
+ "lastModified": "2018-07-26T19:11:48.9767793-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.VideoAnalyzerPreset",
+ "insightsToExtract": "AllInsights"
+ }
+ },
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "Normal",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "AdaptiveStreaming"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json
new file mode 100644
index 000000000000..8fd9e83f3250
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2018-07-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "contosoresources",
+ "accountName": "contosomedia",
+ "transformName": "transformToUpdate",
+ "parameters": {
+ "properties": {
+ "description": "Example transform to illustrate update.",
+ "outputs": [
+ {
+ "relativePriority": "High",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "H264MultipleBitrate720p"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "transformToUpdate",
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia/transforms/transformToUpdate",
+ "type": "Microsoft.Media/mediaservices/transforms",
+ "properties": {
+ "created": "2019-05-29T17:01:44.2001108-07:00",
+ "description": "Example transform to illustrate update.",
+ "lastModified": "2019-05-29T17:01:44.2761137-07:00",
+ "outputs": [
+ {
+ "onError": "StopProcessingJob",
+ "relativePriority": "High",
+ "preset": {
+ "@odata.type": "#Microsoft.Media.BuiltInStandardEncoderPreset",
+ "presetName": "H264MultipleBitrate720p"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json
new file mode 100644
index 000000000000..26c4772ce123
--- /dev/null
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json
@@ -0,0 +1,1850 @@
+{
+ "schemes": [
+ "https"
+ ],
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Media Services",
+ "description": "Streaming resource management client for Azure Media Services",
+ "version": "2019-05-01-preview"
+ },
+ "host": "management.azure.com",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "Impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents": {
+ "get": {
+ "tags": [
+ "LiveEvents"
+ ],
+ "summary": "List Live Events",
+ "description": "Lists the Live Events in the account.",
+ "operationId": "LiveEvents_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LiveEventListResult"
+ }
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-examples": {
+ "List all LiveEvents": {
+ "$ref": "examples/liveevent-list-all.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}": {
+ "get": {
+ "tags": [
+ "LiveEvents"
+ ],
+ "summary": "Get Live Event",
+ "description": "Gets a Live Event.",
+ "operationId": "LiveEvents_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LiveEvent"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a LiveEvent by name": {
+ "$ref": "examples/liveevent-list-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "LiveEvents"
+ ],
+ "summary": "Create Live Event",
+ "description": "Creates a Live Event.",
+ "operationId": "LiveEvents_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/StreamingResourceAutoStart"
+ },
+ {
+ "name": "parameters",
+ "description": "Live Event properties needed for creation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LiveEvent"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LiveEvent"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.",
+ "schema": {
+ "$ref": "#/definitions/LiveEvent"
+ }
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a LiveEvent": {
+ "$ref": "examples/liveevent-create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "LiveEvents"
+ ],
+ "description": "Updates a existing Live Event.",
+ "operationId": "LiveEvents_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "parameters",
+ "description": "Live Event properties needed for creation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LiveEvent"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LiveEvent"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.",
+ "schema": {
+ "$ref": "#/definitions/LiveEvent"
+ }
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update a LiveEvent": {
+ "$ref": "examples/liveevent-update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "LiveEvents"
+ ],
+ "summary": "Delete Live Event",
+ "description": "Deletes a Live Event.",
+ "operationId": "LiveEvents_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "204": {
+ "description": "No content. The request has been accepted but the Live Event was not found."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a LiveEvent": {
+ "$ref": "examples/liveevent-delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/start": {
+ "post": {
+ "tags": [
+ "LiveEvents"
+ ],
+ "summary": "Start Live Event",
+ "description": "Starts an existing Live Event.",
+ "operationId": "LiveEvents_Start",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Start a LiveEvent": {
+ "$ref": "examples/liveevent-start.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/stop": {
+ "post": {
+ "tags": [
+ "LiveEvents"
+ ],
+ "summary": "Stop Live Event",
+ "description": "Stops an existing Live Event.",
+ "operationId": "LiveEvents_Stop",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "parameters",
+ "description": "LiveEvent stop parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LiveEventActionInput"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Stop a LiveEvent": {
+ "$ref": "examples/liveevent-stop.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/reset": {
+ "post": {
+ "tags": [
+ "LiveEvents"
+ ],
+ "summary": "Reset Live Event",
+ "description": "Resets an existing Live Event.",
+ "operationId": "LiveEvents_Reset",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Reset a LiveEvent": {
+ "$ref": "examples/liveevent-reset.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs": {
+ "get": {
+ "tags": [
+ "LiveOutputs"
+ ],
+ "summary": "List Live Outputs",
+ "description": "Lists the Live Outputs in the Live Event.",
+ "operationId": "LiveOutputs_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LiveOutputListResult"
+ }
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-examples": {
+ "List all LiveOutputs": {
+ "$ref": "examples/liveoutput-list-all.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}": {
+ "get": {
+ "tags": [
+ "LiveOutputs"
+ ],
+ "summary": "Get Live Output",
+ "description": "Gets a Live Output.",
+ "operationId": "LiveOutputs_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/LiveOutputName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LiveOutput"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a LiveOutput by name": {
+ "$ref": "examples/liveoutput-list-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "LiveOutputs"
+ ],
+ "summary": "Create Live Output",
+ "description": "Creates a Live Output.",
+ "operationId": "LiveOutputs_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/LiveOutputName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "parameters",
+ "description": "Live Output properties needed for creation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LiveOutput"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LiveOutput"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.",
+ "schema": {
+ "$ref": "#/definitions/LiveOutput"
+ }
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a LiveOutput": {
+ "$ref": "examples/liveoutput-create.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "LiveOutputs"
+ ],
+ "summary": "Delete Live Output",
+ "description": "Deletes a Live Output.",
+ "operationId": "LiveOutputs_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/LiveEventName"
+ },
+ {
+ "$ref": "#/parameters/LiveOutputName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "204": {
+ "description": "No content. The request has been accepted but the Live Output was not found."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a LiveOutput": {
+ "$ref": "examples/liveoutput-delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints": {
+ "get": {
+ "tags": [
+ "StreamingEndpoints"
+ ],
+ "summary": "List StreamingEndpoints",
+ "description": "Lists the StreamingEndpoints in the account.",
+ "operationId": "StreamingEndpoints_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/StreamingEndpointListResult"
+ }
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "@odata.nextLink"
+ },
+ "x-ms-examples": {
+ "List all StreamingEndpoints": {
+ "$ref": "examples/streamingendpoint-list-all.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": {
+ "get": {
+ "tags": [
+ "StreamingEndpoints"
+ ],
+ "summary": "Get StreamingEndpoint",
+ "description": "Gets a StreamingEndpoint.",
+ "operationId": "StreamingEndpoints_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/StreamingEndpointName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/StreamingEndpoint"
+ }
+ },
+ "404": {
+ "description": "NotFound"
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a StreamingEndpoint by name": {
+ "$ref": "examples/streamingendpoint-list-by-name.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "StreamingEndpoints"
+ ],
+ "summary": "Create StreamingEndpoint",
+ "description": "Creates a StreamingEndpoint.",
+ "operationId": "StreamingEndpoints_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/StreamingEndpointName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "$ref": "#/parameters/StreamingResourceAutoStart"
+ },
+ {
+ "name": "parameters",
+ "description": "StreamingEndpoint properties needed for creation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/StreamingEndpoint"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/StreamingEndpoint"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.",
+ "schema": {
+ "$ref": "#/definitions/StreamingEndpoint"
+ }
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create a StreamingEndpoint": {
+ "$ref": "examples/streamingendpoint-create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "StreamingEndpoint"
+ ],
+ "summary": "Update StreamingEndpoint",
+ "description": "Updates a existing StreamingEndpoint.",
+ "operationId": "StreamingEndpoints_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/StreamingEndpointName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "parameters",
+ "description": "StreamingEndpoint properties needed for creation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/StreamingEndpoint"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/StreamingEndpoint"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.",
+ "schema": {
+ "$ref": "#/definitions/StreamingEndpoint"
+ }
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update a StreamingEndpoint": {
+ "$ref": "examples/streamingendpoint-update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "StreamingEndpoints"
+ ],
+ "summary": "Delete StreamingEndpoint",
+ "description": "Deletes a StreamingEndpoint.",
+ "operationId": "StreamingEndpoints_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/StreamingEndpointName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "204": {
+ "description": "No content. The request has been accepted but the Streaming Endpoint was not found."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a StreamingEndpoint": {
+ "$ref": "examples/streamingendpoint-delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/start": {
+ "post": {
+ "tags": [
+ "StreamingEndpoints"
+ ],
+ "summary": "Start StreamingEndpoint",
+ "description": "Starts an existing StreamingEndpoint.",
+ "operationId": "StreamingEndpoints_Start",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/StreamingEndpointName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Start a StreamingEndpoint": {
+ "$ref": "examples/streamingendpoint-start.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/stop": {
+ "post": {
+ "tags": [
+ "StreamingEndpoints"
+ ],
+ "summary": "Stop StreamingEndpoint",
+ "description": "Stops an existing StreamingEndpoint.",
+ "operationId": "StreamingEndpoints_Stop",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/StreamingEndpointName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Stop a StreamingEndpoint": {
+ "$ref": "examples/streamingendpoint-stop.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/scale": {
+ "post": {
+ "tags": [
+ "StreamingEndpoints"
+ ],
+ "summary": "Scale StreamingEndpoint",
+ "description": "Scales an existing StreamingEndpoint.",
+ "operationId": "StreamingEndpoints_Scale",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/MediaServicesAccountName"
+ },
+ {
+ "$ref": "#/parameters/StreamingEndpointName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersion"
+ },
+ {
+ "name": "parameters",
+ "description": "StreamingEndpoint scale parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/StreamingEntityScaleUnit"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
+ },
+ "default": {
+ "description": "The streaming error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ApiError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Scale a StreamingEndpoint": {
+ "$ref": "examples/streamingendpoint-scale.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Hls": {
+ "properties": {
+ "fragmentsPerTsSegment": {
+ "format": "int32",
+ "type": "integer",
+ "description": "The amount of fragments per HTTP Live Streaming (HLS) segment."
+ }
+ },
+ "description": "The HLS configuration."
+ },
+ "LiveOutputProperties": {
+ "required": [
+ "assetName",
+ "archiveWindowLength"
+ ],
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The description of the Live Output."
+ },
+ "assetName": {
+ "type": "string",
+ "description": "The asset name."
+ },
+ "archiveWindowLength": {
+ "format": "duration",
+ "type": "string",
+ "description": "ISO 8601 timespan duration of the archive window length. This is duration that customer want to retain the recorded content."
+ },
+ "manifestName": {
+ "type": "string",
+ "description": "The manifest file name. If not provided, the service will generate one automatically."
+ },
+ "hls": {
+ "type": "object",
+ "$ref": "#/definitions/Hls",
+ "description": "The HLS configuration."
+ },
+ "outputSnapTime": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The output snapshot time."
+ },
+ "created": {
+ "readOnly": true,
+ "format": "date-time",
+ "type": "string",
+ "description": "The exact time the Live Output was created."
+ },
+ "lastModified": {
+ "readOnly": true,
+ "format": "date-time",
+ "type": "string",
+ "description": "The exact time the Live Output was last modified."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state of the Live Output."
+ },
+ "resourceState": {
+ "description": "The resource state of the Live Output.",
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Creating",
+ "Running",
+ "Deleting"
+ ],
+ "x-ms-enum": {
+ "name": "LiveOutputResourceState",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "The JSON object that contains the properties required to create a Live Output."
+ },
+ "LiveOutput": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/LiveOutputProperties",
+ "description": "The Live Output properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/ProxyResource"
+ }
+ ],
+ "description": "The Live Output."
+ },
+ "LiveOutputListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LiveOutput"
+ },
+ "description": "The result of the List Live Output operation."
+ },
+ "@odata.count": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of result."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs."
+ }
+ },
+ "description": "The LiveOutput list result.",
+ "title": "LiveOutputListResult"
+ },
+ "LiveEventEndpoint": {
+ "properties": {
+ "protocol": {
+ "type": "string",
+ "description": "The endpoint protocol."
+ },
+ "url": {
+ "type": "string",
+ "description": "The endpoint URL."
+ }
+ },
+ "description": "The Live Event endpoint."
+ },
+ "LiveEventInputAccessControl": {
+ "properties": {
+ "ip": {
+ "type": "object",
+ "$ref": "#/definitions/IPAccessControl",
+ "description": "The IP access control properties."
+ }
+ },
+ "description": "The IP access control for Live Event Input."
+ },
+ "LiveEventInput": {
+ "required": [
+ "streamingProtocol"
+ ],
+ "properties": {
+ "streamingProtocol": {
+ "type": "string",
+ "description": "The streaming protocol for the Live Event. This is specified at creation time and cannot be updated.",
+ "enum": [
+ "FragmentedMP4",
+ "RTMP"
+ ],
+ "x-ms-enum": {
+ "name": "LiveEventInputProtocol",
+ "modelAsString": true
+ }
+ },
+ "accessControl": {
+ "type": "object",
+ "$ref": "#/definitions/LiveEventInputAccessControl",
+ "description": "The access control for LiveEvent Input."
+ },
+ "keyFrameIntervalDuration": {
+ "type": "string",
+ "description": "ISO 8601 timespan duration of the key frame interval duration."
+ },
+ "accessToken": {
+ "type": "string",
+ "description": "A unique identifier for a stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value."
+ },
+ "endpoints": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LiveEventEndpoint"
+ },
+ "description": "The input endpoints for the Live Event."
+ }
+ },
+ "description": "The Live Event input."
+ },
+ "IPRange": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The friendly name for the IP address range."
+ },
+ "address": {
+ "type": "string",
+ "description": "The IP address."
+ },
+ "subnetPrefixLength": {
+ "format": "int32",
+ "type": "integer",
+ "description": "The subnet mask prefix length (see CIDR notation)."
+ }
+ },
+ "description": "The IP address range in the CIDR scheme."
+ },
+ "IPAccessControl": {
+ "properties": {
+ "allow": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IPRange"
+ },
+ "description": "The IP allow list."
+ }
+ },
+ "description": "The IP access control."
+ },
+ "LiveEventPreviewAccessControl": {
+ "properties": {
+ "ip": {
+ "type": "object",
+ "$ref": "#/definitions/IPAccessControl",
+ "description": "The IP access control properties."
+ }
+ },
+ "description": "The IP access control for Live Event preview."
+ },
+ "LiveEventPreview": {
+ "properties": {
+ "endpoints": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LiveEventEndpoint"
+ },
+ "description": "The endpoints for preview."
+ },
+ "accessControl": {
+ "type": "object",
+ "$ref": "#/definitions/LiveEventPreviewAccessControl",
+ "description": "The access control for LiveEvent preview."
+ },
+ "previewLocator": {
+ "type": "string",
+ "description": "The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created."
+ },
+ "streamingPolicyName": {
+ "type": "string",
+ "description": "The name of streaming policy used for the LiveEvent preview. This value is specified at creation time and cannot be updated."
+ },
+ "alternativeMediaId": {
+ "type": "string",
+ "description": "An Alternative Media Identifier associated with the StreamingLocator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field."
+ }
+ },
+ "description": "The Live Event preview."
+ },
+ "LiveEventEncoding": {
+ "properties": {
+ "encodingType": {
+ "type": "string",
+ "description": "The encoding type for Live Event. This value is specified at creation time and cannot be updated.",
+ "enum": [
+ "None",
+ "Basic",
+ "Standard",
+ "Premium1080p"
+ ],
+ "x-ms-enum": {
+ "name": "LiveEventEncodingType",
+ "modelAsString": true
+ }
+ },
+ "presetName": {
+ "type": "string",
+ "description": "The encoding preset name. This value is specified at creation time and cannot be updated."
+ }
+ },
+ "description": "The Live Event encoding."
+ },
+ "LiveEventInputTrackSelection": {
+ "properties": {
+ "property": {
+ "type": "string",
+ "description": "Property name to select."
+ },
+ "operation": {
+ "type": "string",
+ "description": "Comparing operation."
+ },
+ "value": {
+ "type": "string",
+ "description": "Property value to select."
+ }
+ },
+ "description": "A track selection condition."
+ },
+ "LiveEventOutputTranscriptionTrack": {
+ "required": [
+ "trackName"
+ ],
+ "properties": {
+ "trackName": {
+ "type": "string",
+ "description": "The output track name."
+ }
+ },
+ "description": "Describes a transcription track in the output of a Live Event, generated using speech-to-text transcription."
+ },
+ "LiveEventTranscription": {
+ "properties": {
+ "language": {
+ "type": "string",
+ "description": "Specifies the language (locale) used for speech-to-text transcription – it should match the spoken language in the audio track. The value should be in BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are 'en-US' and 'en-GB'."
+ },
+ "inputTrackSelection": {
+ "type": "array",
+ "description": "Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied.",
+ "items": {
+ "$ref": "#/definitions/LiveEventInputTrackSelection"
+ }
+ },
+ "outputTranscriptionTrack": {
+ "type": "object",
+ "$ref": "#/definitions/LiveEventOutputTranscriptionTrack",
+ "description": "Describes a transcription track in the output of a Live Event, generated using speech-to-text transcription."
+ }
+ },
+ "description": "Describes the transcription tracks in the output of a Live Event, generated using speech-to-text transcription."
+ },
+ "CrossSiteAccessPolicies": {
+ "properties": {
+ "clientAccessPolicy": {
+ "type": "string",
+ "description": "The content of clientaccesspolicy.xml used by Silverlight."
+ },
+ "crossDomainPolicy": {
+ "type": "string",
+ "description": "The content of crossdomain.xml used by Silverlight."
+ }
+ },
+ "description": "The client access policy."
+ },
+ "LiveEventActionInput": {
+ "properties": {
+ "removeOutputsOnStop": {
+ "type": "boolean",
+ "description": "The flag indicates if remove LiveOutputs on Stop."
+ }
+ },
+ "description": "The LiveEvent action input parameter definition."
+ },
+ "LiveEventProperties": {
+ "required": [
+ "input"
+ ],
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The Live Event description."
+ },
+ "input": {
+ "type": "object",
+ "$ref": "#/definitions/LiveEventInput",
+ "description": "The Live Event input."
+ },
+ "preview": {
+ "type": "object",
+ "$ref": "#/definitions/LiveEventPreview",
+ "description": "The Live Event preview."
+ },
+ "encoding": {
+ "type": "object",
+ "$ref": "#/definitions/LiveEventEncoding",
+ "description": "The Live Event encoding."
+ },
+ "transcriptions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LiveEventTranscription"
+ },
+ "description": "The Live Event transcription."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state of the Live Event."
+ },
+ "resourceState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource state of the Live Event.",
+ "enum": [
+ "Stopped",
+ "Starting",
+ "Running",
+ "Stopping",
+ "Deleting"
+ ],
+ "x-ms-enum": {
+ "name": "LiveEventResourceState",
+ "modelAsString": true
+ }
+ },
+ "crossSiteAccessPolicies": {
+ "type": "object",
+ "$ref": "#/definitions/CrossSiteAccessPolicies",
+ "description": "The Live Event access policies."
+ },
+ "vanityUrl": {
+ "type": "boolean",
+ "description": "Specifies whether to use a vanity url with the Live Event. This value is specified at creation time and cannot be updated."
+ },
+ "streamOptions": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Default",
+ "LowLatency"
+ ],
+ "x-ms-enum": {
+ "name": "StreamOptionsFlag",
+ "modelAsString": true
+ }
+ },
+ "description": "The options to use for the LiveEvent. This value is specified at creation time and cannot be updated."
+ },
+ "created": {
+ "readOnly": true,
+ "format": "date-time",
+ "type": "string",
+ "description": "The exact time the Live Event was created."
+ },
+ "lastModified": {
+ "readOnly": true,
+ "format": "date-time",
+ "type": "string",
+ "description": "The exact time the Live Event was last modified."
+ }
+ },
+ "description": "The Live Event properties."
+ },
+ "LiveEvent": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/LiveEventProperties",
+ "description": "The Live Event properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "The Live Event."
+ },
+ "LiveEventListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LiveEvent"
+ },
+ "description": "The result of the List Live Event operation."
+ },
+ "@odata.count": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of result."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs."
+ }
+ },
+ "description": "The LiveEvent list result.",
+ "title": "LiveEventListResult"
+ },
+ "AkamaiSignatureHeaderAuthenticationKey": {
+ "properties": {
+ "identifier": {
+ "type": "string",
+ "description": "identifier of the key"
+ },
+ "base64Key": {
+ "type": "string",
+ "description": "authentication key"
+ },
+ "expiration": {
+ "format": "date-time",
+ "type": "string",
+ "description": "The expiration time of the authentication key."
+ }
+ },
+ "description": "Akamai Signature Header authentication key."
+ },
+ "AkamaiAccessControl": {
+ "properties": {
+ "akamaiSignatureHeaderAuthenticationKeyList": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AkamaiSignatureHeaderAuthenticationKey"
+ },
+ "description": "authentication key list"
+ }
+ },
+ "description": "Akamai access control"
+ },
+ "StreamingEndpointAccessControl": {
+ "properties": {
+ "akamai": {
+ "type": "object",
+ "$ref": "#/definitions/AkamaiAccessControl",
+ "description": "The access control of Akamai"
+ },
+ "ip": {
+ "type": "object",
+ "$ref": "#/definitions/IPAccessControl",
+ "description": "The IP access control of the StreamingEndpoint."
+ }
+ },
+ "description": "StreamingEndpoint access control definition."
+ },
+ "StreamingEntityScaleUnit": {
+ "properties": {
+ "scaleUnit": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The scale unit number of the StreamingEndpoint."
+ }
+ },
+ "description": "scale units definition"
+ },
+ "StreamingEndpointProperties": {
+ "required": [
+ "scaleUnits"
+ ],
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The StreamingEndpoint description."
+ },
+ "scaleUnits": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of scale units. Use the Scale operation to adjust this value."
+ },
+ "availabilitySetName": {
+ "type": "string",
+ "description": "The name of the AvailabilitySet used with this StreamingEndpoint for high availability streaming. This value can only be set at creation time."
+ },
+ "accessControl": {
+ "type": "object",
+ "$ref": "#/definitions/StreamingEndpointAccessControl",
+ "description": "The access control definition of the StreamingEndpoint."
+ },
+ "maxCacheAge": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Max cache age"
+ },
+ "customHostNames": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "custom host name"
+ },
+ "description": "The custom host names of the StreamingEndpoint"
+ },
+ "hostName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The StreamingEndpoint host name."
+ },
+ "cdnEnabled": {
+ "type": "boolean",
+ "description": "The CDN enabled flag."
+ },
+ "cdnProvider": {
+ "type": "string",
+ "description": "The CDN provider name."
+ },
+ "cdnProfile": {
+ "type": "string",
+ "description": "The CDN profile name."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state of the StreamingEndpoint."
+ },
+ "resourceState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource state of the StreamingEndpoint.",
+ "enum": [
+ "Stopped",
+ "Starting",
+ "Running",
+ "Stopping",
+ "Deleting",
+ "Scaling"
+ ],
+ "x-ms-enum": {
+ "name": "StreamingEndpointResourceState",
+ "modelAsString": true
+ }
+ },
+ "crossSiteAccessPolicies": {
+ "type": "object",
+ "$ref": "#/definitions/CrossSiteAccessPolicies",
+ "description": "The StreamingEndpoint access policies."
+ },
+ "freeTrialEndTime": {
+ "readOnly": true,
+ "format": "date-time",
+ "type": "string",
+ "description": "The free trial expiration time."
+ },
+ "created": {
+ "readOnly": true,
+ "format": "date-time",
+ "type": "string",
+ "description": "The exact time the StreamingEndpoint was created."
+ },
+ "lastModified": {
+ "readOnly": true,
+ "format": "date-time",
+ "type": "string",
+ "description": "The exact time the StreamingEndpoint was last modified."
+ }
+ },
+ "description": "The StreamingEndpoint properties."
+ },
+ "StreamingEndpoint": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/StreamingEndpointProperties",
+ "description": "The StreamingEndpoint properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./Common.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "The StreamingEndpoint."
+ },
+ "StreamingEndpointListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StreamingEndpoint"
+ },
+ "description": "The result of the List StreamingEndpoint operation."
+ },
+ "@odata.count": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of result."
+ },
+ "@odata.nextLink": {
+ "type": "string",
+ "description": "Th link to the next set of results. Not empty if value contains incomplete list of StreamingEndpoints."
+ }
+ },
+ "description": "The StreamingEndpoint list result.",
+ "title": "StreamingEndpointListResult"
+ },
+ "ODataError": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A language-independent error name."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the error (for example, the name of the property in error)."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataError"
+ },
+ "description": "The error details."
+ }
+ },
+ "type": "object",
+ "description": "Information about an error."
+ },
+ "ApiError": {
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ODataError",
+ "description": "The error properties.",
+ "title": "ApiError"
+ }
+ },
+ "type": "object",
+ "description": "The API error."
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "description": "The unique identifier for a Microsoft Azure subscription.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ "ApiVersion": {
+ "name": "api-version",
+ "description": "The Version of the API to be used with the client request.",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ },
+ "ResourceGroupName": {
+ "name": "resourceGroupName",
+ "description": "The name of the resource group within the Azure subscription.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "MediaServicesAccountName": {
+ "name": "accountName",
+ "description": "The Media Services account name.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "LiveEventName": {
+ "name": "liveEventName",
+ "description": "The name of the Live Event.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$",
+ "minLength": 1,
+ "maxLength": 32,
+ "x-ms-parameter-location": "method"
+ },
+ "StreamingResourceAutoStart": {
+ "name": "autoStart",
+ "description": "The flag indicates if the resource should be automatically started on creation.",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "x-ms-parameter-location": "method"
+ },
+ "LiveOutputName": {
+ "name": "liveOutputName",
+ "description": "The name of the Live Output.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$",
+ "minLength": 1,
+ "maxLength": 256,
+ "x-ms-parameter-location": "method"
+ },
+ "StreamingEndpointName": {
+ "name": "streamingEndpointName",
+ "description": "The name of the StreamingEndpoint.",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$",
+ "minLength": 1,
+ "maxLength": 24,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json
index fd1064c21bc5..08dbdd4508df 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json
index b859bba032f3..0831e46e7254 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json
@@ -7,7 +7,7 @@
"parameters": {
"location": "West US",
"properties": {
- "storageAccounts": [
+ "storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore",
"isPrimary": true
@@ -15,13 +15,13 @@
]
}
}
- },
+ },
"responses": {
"201": {
"body": {
"location": "West US",
"properties": {
- "storageAccounts": [
+ "storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore",
"isPrimary": true
@@ -32,4 +32,3 @@
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json
index 29e5ea14f3d3..bb5080f5eb93 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json
@@ -14,4 +14,3 @@
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json
index 589d3618bc9f..cec683d9c8ff 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json
index 5f1f3b9a468e..7fd21458833e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json
@@ -54,4 +54,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json
index 111b60e1d127..9952ebf32be2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json
index 65e2f4ef9fe5..2101656df90b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json
@@ -7,13 +7,12 @@
"parameters": {
"keyType": "Primary"
}
- },
+ },
"responses": {
"200": {
"body": {
- "key":""
+ "key": ""
}
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json
index 1e8d17789fc8..4b8a55d1b4e4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json
@@ -7,11 +7,10 @@
"parameters": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore"
}
- },
+ },
"responses": {
"200": {
"body": ""
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json
index 225fc4e84743..e09a1ff1182d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json
@@ -7,7 +7,7 @@
"parameters": {
"location": "West US",
"properties": {
- "storageAccounts": [
+ "storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore",
"isPrimary": true
@@ -15,13 +15,13 @@
]
}
}
- },
+ },
"responses": {
"200": {
"body": {
"location": "West US",
"properties": {
- "storageAccounts": [
+ "storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore",
"isPrimary": true
@@ -32,4 +32,3 @@
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json
index 275347bc21bc..37c0d04d1ba1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json
@@ -58,4 +58,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json
index 0dd24421734d..c067803e10d5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json
@@ -42,7 +42,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "OperationsList": { "$ref": "./examples/OperationsList.json" }
+ "OperationsList": {
+ "$ref": "./examples/OperationsList.json"
+ }
},
"parameters": [
{
@@ -67,7 +69,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceCheckNameAvailability": { "$ref": "./examples/MediaServiceCheckNameAvailability.json" }
+ "MediaServiceCheckNameAvailability": {
+ "$ref": "./examples/MediaServiceCheckNameAvailability.json"
+ }
},
"parameters": [
{
@@ -92,12 +96,12 @@
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityOutput"
},
- "examples": {
+ "examples": {
"application/json": {
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "Already in use by another Media Service instance. Please try again with a name that is not likely to be in use."
- }
+ }
}
},
"default": {
@@ -117,7 +121,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceListByResourceGroup": { "$ref": "./examples/MediaServiceListByResourceGroup.json" }
+ "MediaServiceListByResourceGroup": {
+ "$ref": "./examples/MediaServiceListByResourceGroup.json"
+ }
},
"parameters": [
{
@@ -129,7 +135,7 @@
{
"$ref": "#/parameters/resourceGroupNameParameter"
}
- ],
+ ],
"responses": {
"200": {
"description": "Success. Returns a list of all of the Media Services accounts in a resource group.",
@@ -144,15 +150,15 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia",
"type": "Microsoft.Media/mediaservices",
"location": "West US",
- "properties":{
- "apiEndpoints":[
- {
+ "properties": {
+ "apiEndpoints": [
+ {
"endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
"majorVersion": "2"
}
],
- "storageAccounts":[
- {
+ "storageAccounts": [
+ {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
}
@@ -171,7 +177,7 @@
}
},
"x-ms-pageable": {
- "nextLinkName": null
+ "nextLinkName": null
}
}
},
@@ -183,7 +189,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceGet": { "$ref": "./examples/MediaServiceGet.json" }
+ "MediaServiceGet": {
+ "$ref": "./examples/MediaServiceGet.json"
+ }
},
"parameters": [
{
@@ -205,27 +213,27 @@
"schema": {
"$ref": "#/definitions/MediaService"
},
- "examples" : {
+ "examples": {
"application/json": {
"name": "contosomedia",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia",
"type": "Microsoft.Media/mediaservices",
"location": "West US",
- "properties":{
- "apiEndpoints":[
- {
+ "properties": {
+ "apiEndpoints": [
+ {
"endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
"majorVersion": "2"
}
],
- "storageAccounts":[
- {
+ "storageAccounts": [
+ {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
}
]
}
- }
+ }
}
},
"default": {
@@ -243,7 +251,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceCreate": { "$ref": "./examples/MediaServiceCreate.json" }
+ "MediaServiceCreate": {
+ "$ref": "./examples/MediaServiceCreate.json"
+ }
},
"parameters": [
{
@@ -274,27 +284,27 @@
"schema": {
"$ref": "#/definitions/MediaService"
},
- "examples" : {
+ "examples": {
"application/json": {
"name": "contosomedia",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia",
"type": "Microsoft.Media/mediaservices",
"location": "West US",
- "properties":{
- "apiEndpoints":[
- {
+ "properties": {
+ "apiEndpoints": [
+ {
"endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
"majorVersion": "2"
}
],
- "storageAccounts":[
- {
+ "storageAccounts": [
+ {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
}
]
}
- }
+ }
}
},
"default": {
@@ -312,7 +322,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceDelete": { "$ref": "./examples/MediaServiceDelete.json" }
+ "MediaServiceDelete": {
+ "$ref": "./examples/MediaServiceDelete.json"
+ }
},
"parameters": [
{
@@ -350,7 +362,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceUpdate": { "$ref": "./examples/MediaServiceUpdate.json" }
+ "MediaServiceUpdate": {
+ "$ref": "./examples/MediaServiceUpdate.json"
+ }
},
"parameters": [
{
@@ -381,26 +395,26 @@
"schema": {
"$ref": "#/definitions/MediaService"
},
- "examples" : {
+ "examples": {
"application/json": {
"name": "contosomedia",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia",
"type": "Microsoft.Media/mediaservices",
"location": "West US",
- "properties":{
- "apiEndpoints":[
- {
+ "properties": {
+ "apiEndpoints": [
+ {
"endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
"majorVersion": "2"
}
],
- "storageAccounts":[
- {
+ "storageAccounts": [
+ {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
}
]
- }
+ }
}
}
},
@@ -421,7 +435,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceRegenerateKey": { "$ref": "./examples/MediaServiceRegenerateKey.json" }
+ "MediaServiceRegenerateKey": {
+ "$ref": "./examples/MediaServiceRegenerateKey.json"
+ }
},
"parameters": [
{
@@ -455,7 +471,7 @@
"examples": {
"application/json": {
"key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx="
- }
+ }
}
},
"default": {
@@ -475,7 +491,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceListKeys": { "$ref": "./examples/MediaServiceListKeys.json" }
+ "MediaServiceListKeys": {
+ "$ref": "./examples/MediaServiceListKeys.json"
+ }
},
"parameters": [
{
@@ -497,14 +515,14 @@
"schema": {
"$ref": "#/definitions/ServiceKeys"
},
- "examples":{
+ "examples": {
"application/json": {
"primaryAuthEndpoint": "https://wamsprodglobal001acs.accesscontrol.windows.net/",
"secondaryAuthEndpoint": "https://wamsprodglobal002acs.accesscontrol.windows.net/",
"primaryKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=",
"secondaryKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=",
"scope": "urn:windowsazuremediaservices"
- }
+ }
}
},
"default": {
@@ -524,7 +542,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceSyncStorageKeys": { "$ref": "./examples/MediaServiceSyncStorageKeys.json" }
+ "MediaServiceSyncStorageKeys": {
+ "$ref": "./examples/MediaServiceSyncStorageKeys.json"
+ }
},
"parameters": [
{
@@ -566,9 +586,9 @@
"definitions": {
"ApiEndpoint": {
"description": "The properties for a Media Services REST API endpoint.",
- "example": {
- "endpoint":"https://wamsbayclus001rest-hs.cloudapp.net/api/",
- "majorVersion":"2"
+ "example": {
+ "endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
+ "majorVersion": "2"
},
"properties": {
"endpoint": {
@@ -603,8 +623,8 @@
"CheckNameAvailabilityInput": {
"description": "The request body for CheckNameAvailability API.",
"example": {
- "name":"contosomedia",
- "type":"mediaservices"
+ "name": "contosomedia",
+ "type": "mediaservices"
},
"required": [
"name",
@@ -634,7 +654,7 @@
"name": "ResourceType",
"modelAsString": false
}
- },
+ },
"CheckNameAvailabilityOutput": {
"description": "The response body for CheckNameAvailability API.",
"properties": {
@@ -653,7 +673,7 @@
"x-ms-enum": {
"name": "EntityNameUnavailabilityReason",
"modelAsString": false
- }
+ }
},
"message": {
"description": "Specifies the detailed reason if the name is not available.",
@@ -730,21 +750,21 @@
"type": "string",
"enum": [
"Primary",
- "Secondary"
+ "Secondary"
],
"x-ms-enum": {
"name": "KeyType",
"modelAsString": false
- }
+ }
}
},
"required": [
- "keyType"
+ "keyType"
]
},
"RegenerateKeyOutput": {
"description": "The response body for a RegenerateKey API.",
- "example": {
+ "example": {
"key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx="
},
"properties": {
@@ -820,7 +840,7 @@
},
"StorageAccount": {
"description": "The properties of a storage account associated with this resource.",
- "example": {
+ "example": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
},
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json
index 47d6c3492b06..8c9aa5b7f511 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json
@@ -546,4 +546,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json
index ed122a0cce52..6400418515d4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json
@@ -920,4 +920,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
index d59d4c3a1951..eb9403081237 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
@@ -1270,4 +1270,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json
index bea6dd7c7650..8ffd3bd1f71a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json
@@ -77,4 +77,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
index 07fd4ab4bdb3..2df77971fd91 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
@@ -1165,4 +1165,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
index e2ec28beee5d..963de86b4961 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
@@ -2398,4 +2398,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json
index a2dafe7e44d4..a08ee4ec0a75 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json
@@ -1286,4 +1286,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json
index a89bb51d57ef..198bf61098d8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json
@@ -168,4 +168,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json
index 793540fdf8ba..ad07ff6d257e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json
index 3930e4f6ce69..693f7cbc5eea 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json
@@ -53,4 +53,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json
index edd40e995724..eacdfbbec53a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json
@@ -108,4 +108,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json
index ff59b2d69427..d91cf8217184 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json
index 8ac886e3a539..4ef7fa721199 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json
index f15582ffd7a2..3451dc6b0572 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json
@@ -64,4 +64,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json
index a20c9a79c353..c881a84854c0 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json
index b8ebb47bccd7..4ae9745f6b2a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json
index bc61d392b902..2f59e9cae5ef 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json
index d4a79fb8bd03..665c0edcd6bc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json
index 633ec2d3a5e2..07e64ecaadba 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json
index 14c63c725d94..ea9b54b7ffd8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json
@@ -11,4 +11,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json
index 0d5093206a74..0d4396b72abe 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json
index 84dea565f6ba..9784120409d5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json
@@ -169,4 +169,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json
index e36fd253a836..3b890a6f7ccc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json
index 6e6d6696391e..8eaed610e85d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json
@@ -65,4 +65,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json
index 8c2cd9a680c2..aa9981050b68 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json
@@ -128,4 +128,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json
index 224f2cf3183a..42832ec0e80d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json
index 7e9b78dea5b6..431c93bdb73e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json
index 7988e4a683c1..3661cae3e441 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json
index da24748b30f5..cc427282d0fa 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json
@@ -25,4 +25,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json
index c4a5e5a54004..c7c3f3fa0606 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json
index ebb39fb6dfe1..714dd42b6137 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json
@@ -98,4 +98,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json
index efb131fe71fb..a2a1cba3d82f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json
@@ -99,4 +99,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json
index 2363fe29859c..9cc1ef62ea2a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json
@@ -57,4 +57,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json
index 07f2117528d4..f861fd39b54b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json
index 242504bc435c..3646044598cc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json
index e55650b58f63..aa8743214b59 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json
index 94709fc604f6..1106df0390d4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json
@@ -128,7 +128,7 @@
}
]
}
- }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json
index 2aeafe202a08..7395f4a1b42e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json
@@ -99,4 +99,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
index 93dad936400f..da7e946e3279 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
@@ -128,4 +128,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json
index b8d4a2930768..1df5682c7cef 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json
@@ -121,4 +121,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json
index c77275731aa7..7447440dc857 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json
index ddd9eb76e54a..250a24b9d44e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json
@@ -60,4 +60,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json
index f11e2b4b8b9a..9143019cbbd5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json
@@ -55,4 +55,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json
index 3652532bf048..750d942f695b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json
@@ -162,4 +162,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json
index 7348534d2def..3964906825e4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json
@@ -141,4 +141,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json
index 0339c941acca..00509549496e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json
index 03266d7a7ba6..6ad18004d6f4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json
index 9c132f7e0806..0ac966b8b75b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json
@@ -10,4 +10,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
index b525731f8d4d..5d89c32c60fa 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
@@ -58,4 +58,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json
index 3ddeb219ab86..6294423759db 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
index bfbee0d5ce1c..377c1d76d265 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
index 395cecb25446..5edc04a19e36 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
index f62722d0e0be..0e9639af32a7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
index 95975da8908e..0c04098bed7c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
index 6b082f7e48d2..a1dce95541ee 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
index f089816e8da7..72eabbf3f41b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
@@ -77,4 +77,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
index 2fef3a6c39dd..fbcaef2d9ce2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
@@ -77,4 +77,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
index 41acda6e73f8..a389ddb0ee9c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
@@ -107,4 +107,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
index 36135ba39660..037037159cb4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json
index c820ed037742..b3939b4c8121 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json
@@ -18,7 +18,7 @@
"description": "test event 1",
"input": {
"streamingProtocol": "RTMP",
- "keyFrameIntervalDuration": "PT2S"
+ "keyFrameIntervalDuration": "PT6S"
},
"preview": {
"accessControl": {
@@ -26,7 +26,8 @@
"allow": [
{
"name": "AllowAll",
- "address": "0.0.0.0"
+ "address": "0.0.0.0",
+ "subnetPrefixLength": 0
}
]
}
@@ -69,7 +70,7 @@
{
"name": "AllowAll",
"address": "0.0.0.0",
- "subnetPrefixLength": null
+ "subnetPrefixLength": 0
}
]
}
@@ -120,7 +121,7 @@
{
"name": "AllowAll",
"address": "0.0.0.0",
- "subnetPrefixLength": null
+ "subnetPrefixLength": 0
}
]
}
@@ -139,4 +140,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json
index a17f0b85b17a..76f800375bfa 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json
@@ -59,4 +59,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json
index 3b3e8efed9de..d37e2b9ecef1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json
@@ -46,7 +46,7 @@
{
"name": "AllowAll",
"address": "0.0.0.0",
- "subnetPrefixLength": null
+ "subnetPrefixLength": 0
}
]
}
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json
index 5dd282da51d8..da80ef5d0805 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json
index c31b9e1a601f..d5443a60b311 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json
index c31b9e1a601f..d5443a60b311 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json
index 97057f6a74ae..cdf6c800889b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json
@@ -13,4 +13,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json
index 39b447203ee7..29eecd3adf47 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json
@@ -134,4 +134,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json
index b2a5dc1bbe42..473fa7d65cd1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json
index 855a0df3eff0..7ff08e04d878 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json
@@ -12,4 +12,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json
index dbfa020e3ce3..879d657299fe 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json
index c8db5d2b2f20..46d56644799c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json
index 7efcb833aba6..7426d00e6230 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json
@@ -586,4 +586,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json
index 381dffc87ad3..ad55ead6f9e8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json
index 505cd08bc772..08233501a6b7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json
index 351164c1b69a..977d843d2416 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json
index e0ae87e60243..140630d47647 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json
index 2d488f5e2d62..e66ccef9dc6a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json
@@ -24,4 +24,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json
index 4306466b4ced..7ef154ff54fd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json
index feeb42a437c1..811f52ff50a7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json
index 8dc70f7d3823..6dea46e058bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json
index 6f91901c68c6..98c6f76ef174 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json
index 5532720ca129..cb5f6ccb065c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json
index 2e4ed2ced08d..52fc0ae3126e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json
@@ -64,4 +64,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json
index 5a391d0dda07..f4b39637fd31 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json
@@ -91,4 +91,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json
index 6215adf0f6e3..dae05f33ecc1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json
index c82e0156301a..ba379b251a62 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json
@@ -161,4 +161,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json
index 402f133656ea..f7c557b72159 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json
index a80e669c9990..a9107e1e2bbd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json
@@ -208,4 +208,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json
index 525db8cc0c92..e1f4eb5d3fbb 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json
@@ -27,4 +27,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json
index 7988dffd74b1..d2aa1a2e4295 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json
index 632ca025edfd..b78b3322644f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json
@@ -41,4 +41,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json
index db370e9e4a10..bcbc02e5185a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json
index f44064bf9904..d3194bf8ceca 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json
index 6d8205f8145a..6a324b3b86b5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json
@@ -13,4 +13,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json
index cee5764636e4..0ace89511dc6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json
index cee5764636e4..0ace89511dc6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json
index f83258256808..99d1524ebd94 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
index 8c492eae7dd7..b8efcf50fa76 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json
index 75397d696f65..f7377895cc28 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
index 849d964221c6..aaa70d241f27 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
index cf729aa5a250..6e9fff4bb24f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
index 28153774e318..7a7c451a796b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
index 84a76f252fb5..73abc35d3eff 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
index 0b53d7c2160e..577b65d56e1d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
@@ -61,4 +61,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
index f299ef02994f..8676dc1745b7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json
index b30ff201a412..f48e5640a176 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json
@@ -700,7 +700,7 @@
"List all StreamingEndpoints": {
"$ref": "examples/streamingendpoint-list-all.json"
}
- }
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": {
@@ -812,7 +812,7 @@
"Create a StreamingEndpoint": {
"$ref": "examples/streamingendpoint-create.json"
}
- }
+ }
},
"patch": {
"tags": [
@@ -1046,7 +1046,7 @@
"description": "StreamingEndpoint scale parameters",
"in": "body",
"required": true,
- "schema": {
+ "schema": {
"$ref": "#/definitions/StreamingEntityScaleUnit"
}
}
@@ -1054,7 +1054,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
},
@@ -1086,7 +1086,10 @@
"description": "The HLS configuration."
},
"LiveOutputProperties": {
- "required": ["assetName","archiveWindowLength"],
+ "required": [
+ "assetName",
+ "archiveWindowLength"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1210,7 +1213,9 @@
"description": "The IP access control for Live Event Input."
},
"LiveEventInput": {
- "required": ["streamingProtocol"],
+ "required": [
+ "streamingProtocol"
+ ],
"properties": {
"streamingProtocol": {
"type": "string",
@@ -1362,7 +1367,9 @@
"description": "The LiveEvent action input parameter definition."
},
"LiveEventProperties": {
- "required": ["input"],
+ "required": [
+ "input"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1536,7 +1543,9 @@
"description": "scale units definition"
},
"StreamingEndpointProperties": {
- "required": ["scaleUnits"],
+ "required": [
+ "scaleUnits"
+ ],
"properties": {
"description": {
"type": "string",
diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md
index 7aedeb8e9162..ce319faa511c 100644
--- a/specification/mediaservices/resource-manager/readme.md
+++ b/specification/mediaservices/resource-manager/readme.md
@@ -28,7 +28,22 @@ These are the global settings for the MediaServices API.
openapi-type: arm
tag: package-2018-07
opt-in-extensible-enums: true
+```
+
+### Tag: package-2019-05-preview
+These settings apply only when `--tag=package-2019-05-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-05-preview'
+input-file:
+ - Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json
+ - Microsoft.Media/preview/2019-05-01-preview/Accounts.json
+ - Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json
+ - Microsoft.Media/preview/2019-05-01-preview/Common.json
+ - Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json
+ - Microsoft.Media/preview/2019-05-01-preview/Encoding.json
+ - Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json
+ - Microsoft.Media/preview/2019-05-01-preview/streamingservice.json
```
### Tag: package-2018-07
@@ -237,5 +252,9 @@ directive:
- suppress: OBJECT_MISSING_REQUIRED_PROPERTY
from: Encoding.json
where: $.definitions.JobProperties
- reason: Input is not required when updating a job.
+ reason: Input not required for Job update
+ - suppress: OBJECT_MISSING_REQUIRED_PROPERTY
+ from: Encoding.json
+ where: $.definitions.JobProperties
+ reason: Output not required for job update
```
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json
new file mode 100644
index 000000000000..0441039039a6
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "databaseInstanceName": "myinstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/myinstance",
+ "name": "myinstance",
+ "type": "Microsoft.Migrate/MigrateProjects/DatabaseInstances",
+ "properties": {
+ "discoveryData": [
+ {
+ "lastUpdatedTime": null,
+ "instanceId": "abc",
+ "enqueueTime": "5/4/2019 6:45:51 AM",
+ "solutionName": "serversolution",
+ "instanceName": "sql2002",
+ "instanceVersion": "2.0.0.0",
+ "instanceType": "SQL",
+ "hostName": null,
+ "ipAddress": null,
+ "portNumber": 0,
+ "extendedInfo": null
+ }
+ ],
+ "summary": {
+ "dbsolution": {
+ "databasesAssessedCount": 0,
+ "migrationReadyCount": 0
+ }
+ },
+ "lastUpdatedTime": "2019-05-04T06:45:53.2530098Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json
new file mode 100644
index 000000000000..1de23e30db01
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/71710b61-8637-4beb-9ede-4449296eb80b",
+ "name": "71710b61-8637-4beb-9ede-4449296eb80b",
+ "type": "Microsoft.Migrate/MigrateProjects/DatabaseInstances",
+ "properties": {
+ "discoveryData": [
+ {
+ "lastUpdatedTime": null,
+ "instanceId": "abc",
+ "enqueueTime": "5/4/2019 6:45:51 AM",
+ "solutionName": "serversolution",
+ "instanceName": "sql2002",
+ "instanceVersion": "2.0.0.0",
+ "instanceType": "SQL",
+ "hostName": null,
+ "ipAddress": null,
+ "portNumber": 0,
+ "extendedInfo": null
+ }
+ ],
+ "summary": {
+ "dbsolution": {
+ "databasesAssessedCount": 0,
+ "migrationReadyCount": 0
+ }
+ },
+ "lastUpdatedTime": "2019-05-04T06:45:53.2530098Z"
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json
new file mode 100644
index 000000000000..1ef3d3b89688
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "databaseName": "mydb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/mydb",
+ "name": "mydb",
+ "type": "Microsoft.Migrate/MigrateProjects/Databases",
+ "properties": {
+ "assessmentData": [
+ {
+ "assessmentId": "myassessment",
+ "migrationBlockersCount": 0,
+ "breakingChangesCount": 0,
+ "isReadyForMigration": true,
+ "assessmentTargetType": "SQL",
+ "lastAssessedTime": "2019-05-04T06:46:40.4340421Z",
+ "compatibilityLevel": null,
+ "databaseSizeInMB": null,
+ "lastUpdatedTime": null,
+ "enqueueTime": "5/4/2019 6:46:37 AM",
+ "solutionName": "serversolution",
+ "instanceId": "abc",
+ "databaseName": "mydb",
+ "extendedInfo": null
+ }
+ ],
+ "lastUpdatedTime": "2019-05-04T06:46:40.4340421Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json
new file mode 100644
index 000000000000..73e08fd6ad95
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/8e7aae48-f7cf-4f7b-942f-243921aa20e2",
+ "name": "8e7aae48-f7cf-4f7b-942f-243921aa20e2",
+ "type": "Microsoft.Migrate/MigrateProjects/Databases",
+ "properties": {
+ "assessmentData": [
+ {
+ "assessmentId": "myassessment",
+ "migrationBlockersCount": 0,
+ "breakingChangesCount": 0,
+ "isReadyForMigration": true,
+ "assessmentTargetType": "SQL",
+ "lastAssessedTime": "2019-05-04T06:46:40.4340421Z",
+ "compatibilityLevel": null,
+ "databaseSizeInMB": null,
+ "lastUpdatedTime": null,
+ "enqueueTime": "5/4/2019 6:46:37 AM",
+ "solutionName": "serversolution",
+ "instanceId": "abc",
+ "databaseName": "mydb",
+ "extendedInfo": null
+ }
+ ],
+ "lastUpdatedTime": "2019-05-04T06:46:40.4340421Z"
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json
new file mode 100644
index 000000000000..79f56a47fd08
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "machineName": "vm1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1",
+ "name": "vm1",
+ "type": "Microsoft.Migrate/MigrateProjects/machines",
+ "properties": {
+ "discoveryData": [
+ {
+ "osType": "windows",
+ "osName": "windows server 2012 R2",
+ "osVersion": "10.0.01",
+ "enqueueTime": "2017-09-12T13:11:10.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom1": "mycustomvalue"
+ }
+ }
+ ],
+ "assessmentData": [
+ {
+ "assessmentId": "myid1",
+ "targetVMSize": "Standard_D4_v2",
+ "targetVMLocation": "eastus",
+ "targetStorageType": {
+ "disk1": "Standard"
+ },
+ "enqueueTime": "2017-09-12T13:11:20.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom2": "mycustomvalue"
+ }
+ }
+ ],
+ "migrationData": [
+ {
+ "migrationPhase": "Migrated",
+ "migrationTested": true,
+ "replicationProgressPercentage": 100,
+ "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1",
+ "enqueueTime": "2017-09-12T13:11:30.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom3": "mycustomvalue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json
new file mode 100644
index 000000000000..87bc87b193a3
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json
@@ -0,0 +1,152 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1",
+ "name": "vm1",
+ "type": "Microsoft.Migrate/MigrateProjects/machines",
+ "properties": {
+ "discoveryData": [
+ {
+ "osType": "windows",
+ "osName": "windows server 2012 R2",
+ "osVersion": "10.0.01",
+ "enqueueTime": "2017-09-12T13:11:10.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom1": "mycustomvalue"
+ }
+ }
+ ],
+ "assessmentData": [
+ {
+ "assessmentId": "myid1",
+ "targetVMSize": "Standard_D4_v2",
+ "targetVMLocation": "eastus",
+ "targetStorageType": {
+ "disk1": "Standard"
+ },
+ "enqueueTime": "2017-09-12T13:11:20.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom2": "mycustomvalue"
+ }
+ }
+ ],
+ "migrationData": [
+ {
+ "migrationPhase": "Migrated",
+ "migrationTested": true,
+ "replicationProgressPercentage": 100,
+ "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1",
+ "enqueueTime": "2017-09-12T13:11:30.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom3": "mycustomvalue"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm2",
+ "name": "vm2",
+ "type": "Microsoft.Migrate/MigrateProjects/machines",
+ "properties": {
+ "discoveryData": [
+ {
+ "osType": "windows",
+ "osName": "windows server 2012 R2",
+ "osVersion": "10.0.01",
+ "enqueueTime": "2017-09-12T13:11:10.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "xyz",
+ "machineManagerId": "efgh",
+ "machineName": "vm2",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom1": "mycustomvalue"
+ }
+ }
+ ],
+ "assessmentData": [
+ {
+ "assessmentId": "myid1",
+ "targetVMSize": "Standard_D4_v2",
+ "targetVMLocation": "eastus",
+ "targetStorageType": {
+ "disk1": "Standard"
+ },
+ "enqueueTime": "2017-09-12T13:11:20.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "xyz",
+ "machineManagerId": "efgh",
+ "machineName": "vm2",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom2": "mycustomvalue"
+ }
+ }
+ ],
+ "migrationData": [
+ {
+ "migrationPhase": "Migrated",
+ "migrationTested": true,
+ "replicationProgressPercentage": 100,
+ "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm2",
+ "enqueueTime": "2017-09-12T13:11:30.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "xyz",
+ "machineManagerId": "efgh",
+ "machineName": "vm2",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom3": "mycustomvalue"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json
new file mode 100644
index 000000000000..bd1f79bb1f04
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "eventName": "MigrateEvent01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json
new file mode 100644
index 000000000000..487c50212ca9
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "eventName": "MigrateEvent01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent01",
+ "name": "MigrateEvent01",
+ "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "properties": {
+ "instanceType": "Servers",
+ "machine": "myvm",
+ "errorCode": "600",
+ "errorMessage": "The message does not contain the required parameters to identify the machine.",
+ "recommendation": "Resolve the error and try again.",
+ "possibleCauses": "The mandatory fields are not provided.",
+ "solution": "serversolution",
+ "clientRequestId": "a5dd7e42-4fd1-4512-af04-83ad9864335c"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json
new file mode 100644
index 000000000000..508fb0fb6258
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/b80e3c0f-70c0-4057-81e7-14cfa9ebb205",
+ "name": "b80e3c0f-70c0-4057-81e7-14cfa9ebb205",
+ "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "properties": {
+ "instanceType": "Servers",
+ "machine": "server1",
+ "errorCode": "600",
+ "errorMessage": "The message does not contain the required parameters to identify the machine.",
+ "recommendation": "Resolve the error and try again.",
+ "possibleCauses": "The mandatory fields are not provided.",
+ "solution": "serversolution",
+ "clientRequestId": "a5dd7e42-4fd1-4512-af04-83ad9864335c"
+ }
+ },
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/041dc61e-8568-40f7-b9b3-c66233ace714",
+ "name": "041dc61e-8568-40f7-b9b3-c66233ace714",
+ "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "properties": {
+ "instanceType": "Databases",
+ "database": "db1",
+ "databaseInstanceId": "cD",
+ "errorCode": "608",
+ "errorMessage": "The message does not contain the required parameters to identify the database.",
+ "recommendation": "Resolve the error and try again.",
+ "possibleCauses": "The mandatory fields are not provided.",
+ "solution": "dbsolution",
+ "clientRequestId": "cf861fa5-9a2e-4a9f-b51c-8054efa8e75f"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json
new file mode 100644
index 000000000000..ac53f8519247
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json
new file mode 100644
index 000000000000..9ff41fb0a372
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "eTag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "location": "",
+ "properties": {
+ "registeredTools": [
+ "ServerMigration"
+ ],
+ "summary": {
+ "servers": {
+ "instanceType": "Servers",
+ "discoveredCount": 0,
+ "assessedCount": 0,
+ "replicatingCount": 0,
+ "testMigratedCount": 0,
+ "migratedCount": 0,
+ "refreshSummaryState": "Completed",
+ "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z",
+ "extendedSummary": {
+ "microsoftDiscoveredCount": "0"
+ }
+ },
+ "databases": {
+ "instanceType": "Databases",
+ "refreshSummaryState": "Completed",
+ "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z",
+ "extendedSummary": {}
+ }
+ },
+ "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z",
+ "refreshSummaryState": "Completed"
+ },
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01",
+ "name": "project01",
+ "type": "Microsoft.Migrate/MigrateProjects"
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json
new file mode 100644
index 000000000000..80a530cd87a5
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "body": {
+ "properties": {
+ "registeredTools": [
+ "ServerMigration"
+ ]
+ },
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "registeredTools": [
+ "ServerMigration"
+ ],
+ "summary": {},
+ "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z"
+ },
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01",
+ "name": "project01",
+ "type": "Microsoft.Migrate/MigrateProjects",
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json
new file mode 100644
index 000000000000..4894bda15c6c
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "body": {
+ "properties": {},
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "registeredTools": [],
+ "summary": {},
+ "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z"
+ },
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01",
+ "name": "project01",
+ "type": "Microsoft.Migrate/MigrateProjects",
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "registeredTools": [],
+ "summary": {},
+ "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z"
+ },
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01",
+ "name": "project01",
+ "type": "Microsoft.Migrate/MigrateProjects",
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json
new file mode 100644
index 000000000000..a0131c4c4f54
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "input": {
+ "goal": "Servers"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isRefreshed": true
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json
new file mode 100644
index 000000000000..773f696b2ecb
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "input": {
+ "tool": "ServerMigration"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isRegistered": true
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..42a9dad28981
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json
@@ -0,0 +1,155 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects",
+ "operation": "Read",
+ "description": "Reads a migrate project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Write",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects",
+ "operation": "Write",
+ "description": "Creates or updates a migrate project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Delete",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects",
+ "operation": "Delete",
+ "description": "Deletes a migrate project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/registerTool/action",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects",
+ "operation": "Register tool with migrate project",
+ "description": "Registers a tool with the migrate project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Read",
+ "description": "Reads a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/write",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Write",
+ "description": "Creates or updates a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/delete",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Delete",
+ "description": "Deletes a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/cleanupData/action",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Cleans up solution data",
+ "description": "Cleans up data for a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/getConfig/action",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Gets solution config",
+ "description": "Gets configuration of a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Machines/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Machines",
+ "operation": "Read",
+ "description": "Reads a machine"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/MigrateEvents/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "operation": "Read",
+ "description": "Reads a migrate event"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/MigrateEvents/delete",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "operation": "Delete",
+ "description": "Deletes a migrate event"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Databases/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Databases",
+ "operation": "Read",
+ "description": "Reads a database"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/DatabaseInstances/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/DatabaseInstances",
+ "operation": "Read",
+ "description": "Reads a database instance"
+ },
+ "origin": "user,system"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json
new file mode 100644
index 000000000000..1347c1c3fa83
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "smssolution"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json
new file mode 100644
index 000000000000..1347c1c3fa83
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "smssolution"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json
new file mode 100644
index 000000000000..9e9df510134c
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "dbsolution"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Active",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json
new file mode 100644
index 000000000000..e32a1e1c29c9
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "smssolution"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "publisherSasUri": "Endpoint=sb://xxx.servicebus.windows.net/;SharedAccessSignature=SharedAccessSignature sr=sb%3a%2f%2fxxx.servicebus.windows.net%2fIsvMigrationPayloadEventHub%2fPublishers%2ffad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution&sig=Wpf0ORIJI9AFESLDLlJH1ejrUj2W7hy%2fMac%2f7ewZ6j8%3d&se=1541501430&skn=SendPolicy;EntityPath=xyz;Publisher=fad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution"
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json
new file mode 100644
index 000000000000..58bb81f403be
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Inactive",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/serversolution",
+ "name": "serversolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c001dc7-0000-0000-0000-5c936e6f0000\"",
+ "properties": {
+ "tool": "ServerDiscovery",
+ "purpose": "Discovery",
+ "goal": "Servers",
+ "status": "Inactive",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Servers",
+ "discoveredCount": 0,
+ "assessedCount": 0,
+ "replicatingCount": 0,
+ "testMigratedCount": 0,
+ "migratedCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ ],
+ "nextLink": ""
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json
new file mode 100644
index 000000000000..d73eb410db7f
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "dbsolution",
+ "solutionInput": {
+ "properties": {
+ "status": "Active"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Active",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json
new file mode 100644
index 000000000000..57de852abd7f
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "dbsolution",
+ "solutionInput": {
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Active",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Active",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
new file mode 100644
index 000000000000..52c856e35be6
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
@@ -0,0 +1,3137 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-09-01-preview",
+ "title": "Azure Migrate Hub",
+ "description": "Migrate your workloads to Azure.",
+ "contact": {
+ "name": "Microsoft",
+ "email": "azuremigratehub@microsoft.com"
+ }
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": {
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "description": "Azure Subscription Id in which migrate project was created.",
+ "type": "string",
+ "in": "path",
+ "required": true
+ },
+ "resourceGroupName": {
+ "name": "resourceGroupName",
+ "description": "Name of the Azure Resource Group that migrate project is part of.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "migrateProjectName": {
+ "name": "migrateProjectName",
+ "description": "Name of the Azure Migrate project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "machineName": {
+ "name": "machineName",
+ "description": "Unique name of a machine in Azure migration hub.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "databaseName": {
+ "name": "databaseName",
+ "description": "Unique name of a database in Azure migration hub.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "databaseInstanceName": {
+ "name": "databaseInstanceName",
+ "description": "Unique name of a database instance in Azure migration hub.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "solutionName": {
+ "name": "solutionName",
+ "description": "Unique name of a migration solution within a migrate project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "eventName": {
+ "name": "eventName",
+ "description": "Unique name of an event within a migrate project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "continuationToken": {
+ "name": "continuationToken",
+ "description": "The continuation token.",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "pageSize": {
+ "name": "pageSize",
+ "description": "The number of items to be returned in a single page. This value is honored only if it is less than the 100.",
+ "type": "integer",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "api-version": {
+ "name": "api-version",
+ "description": "Standard request header. Used by service to identify API version used by client.",
+ "type": "string",
+ "in": "query",
+ "required": true,
+ "enum": [
+ "2018-09-01-preview"
+ ]
+ },
+ "acceptLanguage": {
+ "description": "Standard request header. Used by service to respond to client in appropriate language.",
+ "name": "Accept-Language",
+ "type": "string",
+ "in": "header",
+ "x-ms-parameter-location": "client"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances": {
+ "get": {
+ "tags": [
+ "DatabaseInstances"
+ ],
+ "summary": "Gets a list of database instances in the migrate project.",
+ "operationId": "DatabaseInstances_EnumerateDatabaseInstances",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/continuationToken"
+ },
+ {
+ "$ref": "#/parameters/pageSize"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DatabaseInstanceCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "DatabaseInstances_List": {
+ "$ref": "./examples/DatabaseInstances_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances/{databaseInstanceName}": {
+ "get": {
+ "tags": [
+ "DatabaseInstances"
+ ],
+ "summary": "Gets a database instance in the migrate project.",
+ "operationId": "DatabaseInstances_GetDatabaseInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/databaseInstanceName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DatabaseInstance"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "DatabaseInstances_Get": {
+ "$ref": "./examples/DatabaseInstances_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "summary": "Gets a list of databases in the migrate project.",
+ "operationId": "Databases_EnumerateDatabases",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/continuationToken"
+ },
+ {
+ "$ref": "#/parameters/pageSize"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DatabaseCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Databases_List": {
+ "$ref": "./examples/Databases_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases/{databaseName}": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "summary": "Gets a database in the migrate project.",
+ "operationId": "Databases_GetDatabase",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/databaseName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Databases_Get": {
+ "$ref": "./examples/Databases_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents": {
+ "get": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Gets a list of events in the migrate project.",
+ "operationId": "Events_EnumerateEvents",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/continuationToken"
+ },
+ {
+ "$ref": "#/parameters/pageSize"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateEvents_List": {
+ "$ref": "./examples/MigrateEvents_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents/{eventName}": {
+ "get": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Gets an event in the migrate project.",
+ "operationId": "Events_GetEvent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/eventName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrateEvent"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateEvents_Get": {
+ "$ref": "./examples/MigrateEvents_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Delete the migrate event",
+ "description": "Delete the migrate event. Deleting non-existent migrate event is a no-operation.",
+ "operationId": "Events_DeleteEvent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/eventName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateEvents_Delete": {
+ "$ref": "./examples/MigrateEvents_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines": {
+ "get": {
+ "tags": [
+ "Machines"
+ ],
+ "summary": "Gets a list of machines in the migrate project.",
+ "operationId": "Machines_EnumerateMachines",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/continuationToken"
+ },
+ {
+ "$ref": "#/parameters/pageSize"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Machines_List": {
+ "$ref": "./examples/Machines_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines/{machineName}": {
+ "get": {
+ "tags": [
+ "Machines"
+ ],
+ "summary": "Gets a machine in the migrate project.",
+ "operationId": "Machines_GetMachine",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/machineName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Machines_Get": {
+ "$ref": "./examples/Machines_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}": {
+ "get": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Method to get a migrate project.",
+ "operationId": "MigrateProjects_GetMigrateProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_Get": {
+ "$ref": "./examples/MigrateProjects_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Method to create or update a migrate project.",
+ "operationId": "MigrateProjects_PutMigrateProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Body with migrate project details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_Put": {
+ "$ref": "./examples/MigrateProjects_Put.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Update migrate project.",
+ "description": "Update a migrate project with specified name. Supports partial updates, for example only tags can be provided.",
+ "operationId": "MigrateProjects_PatchMigrateProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Body with migrate project details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_Patch": {
+ "$ref": "./examples/MigrateProjects_Patch.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Delete the migrate project",
+ "description": "Delete the migrate project. Deleting non-existent project is a no-operation.",
+ "operationId": "MigrateProjects_DeleteMigrateProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_Delete": {
+ "$ref": "./examples/MigrateProjects_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/registerTool": {
+ "post": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Registers a tool with the migrate project.",
+ "operationId": "MigrateProjects_RegisterTool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "input",
+ "in": "body",
+ "description": "Input containing the name of the tool to be registered.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RegisterToolInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RegistrationResult"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_RegisterTool": {
+ "$ref": "./examples/MigrateProjects_RegisterTool.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/refreshSummary": {
+ "post": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Refresh the summary of the migrate project.",
+ "operationId": "MigrateProjects_RefreshMigrateProjectSummary",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "input",
+ "in": "body",
+ "description": "The goal input which needs to be refreshed.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RefreshSummaryInput"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RefreshSummaryResult"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_RefreshSummary": {
+ "$ref": "./examples/MigrateProjects_RefreshSummary.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}": {
+ "get": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Gets a solution in the migrate project.",
+ "operationId": "Solutions_GetSolution",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_Get": {
+ "$ref": "./examples/Solutions_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Creates a solution in the migrate project.",
+ "operationId": "Solutions_PutSolution",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "name": "solutionInput",
+ "in": "body",
+ "description": "The input for the solution.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_Put": {
+ "$ref": "./examples/Solutions_Put.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Update solution.",
+ "description": "Update a solution with specified name. Supports partial updates, for example only tags can be provided.",
+ "operationId": "Solutions_PatchSolution",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "name": "solutionInput",
+ "in": "body",
+ "description": "The input for the solution.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_Patch": {
+ "$ref": "./examples/Solutions_Patch.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Delete the solution",
+ "description": "Delete the solution. Deleting non-existent project is a no-operation.",
+ "operationId": "Solutions_DeleteSolution",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_Delete": {
+ "$ref": "./examples/Solutions_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions": {
+ "get": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Gets the list of solutions in the migrate project.",
+ "operationId": "Solutions_EnumerateSolutions",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SolutionsCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_List": {
+ "$ref": "./examples/Solutions_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/getConfig": {
+ "post": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Gets the config for the solution in the migrate project.",
+ "operationId": "Solutions_GetConfig",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SolutionConfig"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_GetConfig": {
+ "$ref": "./examples/Solutions_GetConfig.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/cleanupData": {
+ "post": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Cleanup the solution data in the migrate project.",
+ "operationId": "Solutions_CleanupSolutionData",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_CleanupData": {
+ "$ref": "./examples/Solutions_CleanupData.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Migrate/operations": {
+ "get": {
+ "summary": "Get list of operations supported in the API.",
+ "description": "Get a list of REST API supported by Microsoft.Migrate provider.",
+ "operationId": "Operations_List",
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationResultList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Object": {
+ "type": "object",
+ "properties": {}
+ },
+ "DatabaseInstanceCollection": {
+ "description": "Collection of database instances.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the database instances.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInstance"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of nextLink.",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseInstance": {
+ "description": "DatabaseInstance REST resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the relative URL to get to this REST resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name of this REST resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/DatabaseInstanceProperties",
+ "description": "Gets or sets the properties of the machine."
+ }
+ }
+ },
+ "DatabaseInstanceProperties": {
+ "description": "Properties of the database instance resource.",
+ "type": "object",
+ "properties": {
+ "discoveryData": {
+ "description": "Gets or sets the assessment details of the database instance published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInstanceDiscoveryDetails"
+ }
+ },
+ "summary": {
+ "description": "Gets or sets the database instances summary per solution. The key of dictionary is the solution name and value is the corresponding database instance summary object.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/DatabaseInstanceSummary"
+ }
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the database.",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseInstanceDiscoveryDetails": {
+ "description": "Discovery properties that can be shared by various publishers.",
+ "type": "object",
+ "properties": {
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the database instance details.",
+ "type": "string"
+ },
+ "instanceId": {
+ "description": "Gets or sets the database instance Id.",
+ "type": "string"
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "instanceName": {
+ "description": "Gets or sets the database instance name.",
+ "type": "string"
+ },
+ "instanceVersion": {
+ "description": "Gets or sets the database instance version.",
+ "type": "string"
+ },
+ "instanceType": {
+ "description": "Gets or sets the database instance type.",
+ "type": "string"
+ },
+ "hostName": {
+ "description": "Gets or sets the host name of the database server.",
+ "type": "string"
+ },
+ "ipAddress": {
+ "description": "Gets or sets the IP addresses of the database server. IP addresses could be IP V4 or IP V6.",
+ "type": "string"
+ },
+ "portNumber": {
+ "format": "int32",
+ "description": "Gets or sets the port number of the database server.",
+ "type": "integer"
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the extended properties of the database server.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DatabaseInstanceSummary": {
+ "description": "Class representing the database instance summary object.",
+ "type": "object",
+ "properties": {
+ "databasesAssessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of databases assessed.",
+ "type": "integer"
+ },
+ "migrationReadyCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of databases ready for migration.",
+ "type": "integer"
+ }
+ }
+ },
+ "DatabaseCollection": {
+ "description": "Collection of databases.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the databases.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of nextLink.",
+ "type": "string"
+ }
+ }
+ },
+ "Database": {
+ "description": "Database REST resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the relative URL to get to this REST resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name of this REST resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/DatabaseProperties",
+ "description": "Gets or sets the properties of the database."
+ }
+ }
+ },
+ "DatabaseProperties": {
+ "description": "Properties of the database resource.",
+ "type": "object",
+ "properties": {
+ "assessmentData": {
+ "description": "Gets or sets the assessment details of the database published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseAssessmentDetails"
+ }
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the database.",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseAssessmentDetails": {
+ "description": "Assessment properties that can be shared by various publishers.",
+ "type": "object",
+ "properties": {
+ "assessmentId": {
+ "description": "Gets or sets the database assessment scope/Id.",
+ "type": "string"
+ },
+ "migrationBlockersCount": {
+ "format": "int32",
+ "description": "Gets or sets the number of blocking changes found.",
+ "type": "integer"
+ },
+ "breakingChangesCount": {
+ "format": "int32",
+ "description": "Gets or sets the number of breaking changes found.",
+ "type": "integer"
+ },
+ "isReadyForMigration": {
+ "description": "Gets or sets a value indicating whether the database is ready for migration.",
+ "type": "boolean"
+ },
+ "assessmentTargetType": {
+ "description": "Gets or sets the assessed target database type.",
+ "type": "string"
+ },
+ "lastAssessedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time when the database was last assessed.",
+ "type": "string"
+ },
+ "compatibilityLevel": {
+ "description": "Gets or sets the compatibility level of the database.",
+ "type": "string"
+ },
+ "databaseSizeInMB": {
+ "description": "Gets or sets the database size.",
+ "type": "string"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the database details.",
+ "type": "string"
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "instanceId": {
+ "description": "Gets or sets the database server instance Id.",
+ "type": "string"
+ },
+ "databaseName": {
+ "description": "Gets or sets the database name.",
+ "type": "string"
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the extended properties of the database.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "EventCollection": {
+ "description": "Collection of events.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the machines.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateEvent"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of nextLink.",
+ "type": "string"
+ }
+ }
+ },
+ "MigrateEvent": {
+ "description": "MigrateEvent REST resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the relative URL to get to this REST resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name of this REST resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/MigrateEventProperties",
+ "description": "Gets or sets the properties of the event."
+ }
+ }
+ },
+ "MigrateEventProperties": {
+ "description": "Properties of the error resource.",
+ "type": "object",
+ "properties": {
+ "instanceType": {
+ "description": "Gets the Instance type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorCode": {
+ "description": "Gets or sets the error code.",
+ "type": "string"
+ },
+ "errorMessage": {
+ "description": "Gets or sets the error message.",
+ "type": "string"
+ },
+ "recommendation": {
+ "description": "Gets or sets the recommendation for the error.",
+ "type": "string"
+ },
+ "possibleCauses": {
+ "description": "Gets or sets the possible causes for the error.",
+ "type": "string"
+ },
+ "solution": {
+ "description": "Gets or sets the solution for which the error is being reported.",
+ "type": "string"
+ },
+ "clientRequestId": {
+ "description": "Gets or sets the client request Id of the payload for which the event is being reported.",
+ "type": "string"
+ }
+ },
+ "discriminator": "instanceType"
+ },
+ "ODataQueryOptions`1": {
+ "type": "object",
+ "properties": {
+ "filter": {
+ "$ref": "#/definitions/FilterQueryOption",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataQueryContext": {
+ "type": "object",
+ "properties": {
+ "defaultQuerySettings": {
+ "$ref": "#/definitions/DefaultQuerySettings",
+ "readOnly": true
+ },
+ "model": {
+ "$ref": "#/definitions/IEdmModel",
+ "readOnly": true
+ },
+ "elementType": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ },
+ "navigationSource": {
+ "$ref": "#/definitions/IEdmNavigationSource",
+ "readOnly": true
+ },
+ "elementClrType": {
+ "type": "string",
+ "readOnly": true
+ },
+ "path": {
+ "$ref": "#/definitions/ODataPath",
+ "readOnly": true
+ },
+ "requestContainer": {
+ "$ref": "#/definitions/IServiceProvider",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataRawQueryOptions": {
+ "type": "object",
+ "properties": {
+ "filter": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "FilterQueryOption": {
+ "type": "object",
+ "properties": {
+ "context": {
+ "$ref": "#/definitions/ODataQueryContext",
+ "readOnly": true
+ },
+ "validator": {
+ "$ref": "#/definitions/FilterQueryValidator"
+ },
+ "filterClause": {
+ "$ref": "#/definitions/FilterClause",
+ "readOnly": true
+ },
+ "rawValue": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataQueryValidator": {
+ "type": "object",
+ "properties": {}
+ },
+ "DefaultQuerySettings": {
+ "type": "object",
+ "properties": {
+ "enableExpand": {
+ "type": "boolean"
+ },
+ "enableSelect": {
+ "type": "boolean"
+ },
+ "enableCount": {
+ "type": "boolean"
+ },
+ "enableOrderBy": {
+ "type": "boolean"
+ },
+ "enableFilter": {
+ "type": "boolean"
+ },
+ "maxTop": {
+ "format": "int32",
+ "type": "integer"
+ }
+ }
+ },
+ "IEdmModel": {
+ "type": "object",
+ "properties": {
+ "schemaElements": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmSchemaElement"
+ },
+ "readOnly": true
+ },
+ "vocabularyAnnotations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmVocabularyAnnotation"
+ },
+ "readOnly": true
+ },
+ "referencedModels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmModel"
+ },
+ "readOnly": true
+ },
+ "declaredNamespaces": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "directValueAnnotationsManager": {
+ "$ref": "#/definitions/IEdmDirectValueAnnotationsManager",
+ "readOnly": true
+ },
+ "entityContainer": {
+ "$ref": "#/definitions/IEdmEntityContainer",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmType": {
+ "type": "object",
+ "properties": {
+ "typeKind": {
+ "enum": [
+ "None",
+ "Primitive",
+ "Entity",
+ "Complex",
+ "Collection",
+ "EntityReference",
+ "Enum",
+ "TypeDefinition",
+ "Untyped",
+ "Path"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmNavigationSource": {
+ "type": "object",
+ "properties": {
+ "navigationPropertyBindings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmNavigationPropertyBinding"
+ },
+ "readOnly": true
+ },
+ "path": {
+ "$ref": "#/definitions/IEdmPathExpression",
+ "readOnly": true
+ },
+ "type": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataPath": {
+ "type": "object",
+ "properties": {
+ "edmType": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ },
+ "navigationSource": {
+ "$ref": "#/definitions/IEdmNavigationSource",
+ "readOnly": true
+ },
+ "segments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataPathSegment"
+ },
+ "readOnly": true
+ },
+ "pathTemplate": {
+ "type": "string",
+ "readOnly": true
+ },
+ "path": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataPathSegment"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "IServiceProvider": {
+ "type": "object",
+ "properties": {}
+ },
+ "SelectExpandQueryValidator": {
+ "type": "object",
+ "properties": {}
+ },
+ "SelectExpandClause": {
+ "type": "object",
+ "properties": {
+ "selectedItems": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectItem"
+ },
+ "readOnly": true
+ },
+ "allSelected": {
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "ApplyClause": {
+ "type": "object",
+ "properties": {
+ "transformations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TransformationNode"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "FilterQueryValidator": {
+ "type": "object",
+ "properties": {}
+ },
+ "FilterClause": {
+ "type": "object",
+ "properties": {
+ "expression": {
+ "$ref": "#/definitions/SingleValueNode",
+ "readOnly": true
+ },
+ "rangeVariable": {
+ "$ref": "#/definitions/RangeVariable",
+ "readOnly": true
+ },
+ "itemType": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmSchemaElement": {
+ "type": "object",
+ "properties": {
+ "schemaElementKind": {
+ "enum": [
+ "None",
+ "TypeDefinition",
+ "Term",
+ "Action",
+ "EntityContainer",
+ "Function"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "namespace": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmVocabularyAnnotation": {
+ "type": "object",
+ "properties": {
+ "qualifier": {
+ "type": "string",
+ "readOnly": true
+ },
+ "term": {
+ "$ref": "#/definitions/IEdmTerm",
+ "readOnly": true
+ },
+ "target": {
+ "$ref": "#/definitions/IEdmVocabularyAnnotatable",
+ "readOnly": true
+ },
+ "value": {
+ "$ref": "#/definitions/IEdmExpression",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmDirectValueAnnotationsManager": {
+ "type": "object",
+ "properties": {}
+ },
+ "IEdmEntityContainer": {
+ "type": "object",
+ "properties": {
+ "elements": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmEntityContainerElement"
+ },
+ "readOnly": true
+ },
+ "schemaElementKind": {
+ "enum": [
+ "None",
+ "TypeDefinition",
+ "Term",
+ "Action",
+ "EntityContainer",
+ "Function"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "namespace": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmNavigationPropertyBinding": {
+ "type": "object",
+ "properties": {
+ "navigationProperty": {
+ "$ref": "#/definitions/IEdmNavigationProperty",
+ "readOnly": true
+ },
+ "target": {
+ "$ref": "#/definitions/IEdmNavigationSource",
+ "readOnly": true
+ },
+ "path": {
+ "$ref": "#/definitions/IEdmPathExpression",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmPathExpression": {
+ "type": "object",
+ "properties": {
+ "pathSegments": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "path": {
+ "type": "string",
+ "readOnly": true
+ },
+ "expressionKind": {
+ "enum": [
+ "None",
+ "BinaryConstant",
+ "BooleanConstant",
+ "DateTimeOffsetConstant",
+ "DecimalConstant",
+ "FloatingConstant",
+ "GuidConstant",
+ "IntegerConstant",
+ "StringConstant",
+ "DurationConstant",
+ "Null",
+ "Record",
+ "Collection",
+ "Path",
+ "If",
+ "Cast",
+ "IsType",
+ "FunctionApplication",
+ "LabeledExpressionReference",
+ "Labeled",
+ "PropertyPath",
+ "NavigationPropertyPath",
+ "DateConstant",
+ "TimeOfDayConstant",
+ "EnumMember",
+ "AnnotationPath"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataPathSegment": {
+ "type": "object",
+ "properties": {
+ "edmType": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ },
+ "identifier": {
+ "type": "string"
+ }
+ }
+ },
+ "SelectItem": {
+ "type": "object",
+ "properties": {}
+ },
+ "TransformationNode": {
+ "type": "object",
+ "properties": {
+ "kind": {
+ "enum": [
+ "Aggregate",
+ "GroupBy",
+ "Filter",
+ "Compute"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SingleValueNode": {
+ "type": "object",
+ "properties": {
+ "typeReference": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "kind": {
+ "enum": [
+ "None",
+ "Constant",
+ "Convert",
+ "NonResourceRangeVariableReference",
+ "BinaryOperator",
+ "UnaryOperator",
+ "SingleValuePropertyAccess",
+ "CollectionPropertyAccess",
+ "SingleValueFunctionCall",
+ "Any",
+ "CollectionNavigationNode",
+ "SingleNavigationNode",
+ "SingleValueOpenPropertyAccess",
+ "SingleResourceCast",
+ "All",
+ "CollectionResourceCast",
+ "ResourceRangeVariableReference",
+ "SingleResourceFunctionCall",
+ "CollectionFunctionCall",
+ "CollectionResourceFunctionCall",
+ "NamedFunctionParameter",
+ "ParameterAlias",
+ "EntitySet",
+ "KeyLookup",
+ "SearchTerm",
+ "CollectionOpenPropertyAccess",
+ "CollectionComplexNode",
+ "SingleComplexNode",
+ "Count",
+ "SingleValueCast",
+ "CollectionPropertyNode",
+ "AggregatedCollectionPropertyNode",
+ "In",
+ "CollectionConstant"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RangeVariable": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true
+ },
+ "typeReference": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "kind": {
+ "format": "int32",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmTypeReference": {
+ "type": "object",
+ "properties": {
+ "isNullable": {
+ "type": "boolean",
+ "readOnly": true
+ },
+ "definition": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmTerm": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "appliesTo": {
+ "type": "string",
+ "readOnly": true
+ },
+ "defaultValue": {
+ "type": "string",
+ "readOnly": true
+ },
+ "schemaElementKind": {
+ "enum": [
+ "None",
+ "TypeDefinition",
+ "Term",
+ "Action",
+ "EntityContainer",
+ "Function"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "namespace": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmVocabularyAnnotatable": {
+ "type": "object",
+ "properties": {}
+ },
+ "IEdmExpression": {
+ "type": "object",
+ "properties": {
+ "expressionKind": {
+ "enum": [
+ "None",
+ "BinaryConstant",
+ "BooleanConstant",
+ "DateTimeOffsetConstant",
+ "DecimalConstant",
+ "FloatingConstant",
+ "GuidConstant",
+ "IntegerConstant",
+ "StringConstant",
+ "DurationConstant",
+ "Null",
+ "Record",
+ "Collection",
+ "Path",
+ "If",
+ "Cast",
+ "IsType",
+ "FunctionApplication",
+ "LabeledExpressionReference",
+ "Labeled",
+ "PropertyPath",
+ "NavigationPropertyPath",
+ "DateConstant",
+ "TimeOfDayConstant",
+ "EnumMember",
+ "AnnotationPath"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmEntityContainerElement": {
+ "type": "object",
+ "properties": {
+ "containerElementKind": {
+ "enum": [
+ "None",
+ "EntitySet",
+ "ActionImport",
+ "FunctionImport",
+ "Singleton"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "container": {
+ "$ref": "#/definitions/IEdmEntityContainer",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmNavigationProperty": {
+ "type": "object",
+ "properties": {
+ "partner": {
+ "$ref": "#/definitions/IEdmNavigationProperty",
+ "readOnly": true
+ },
+ "onDelete": {
+ "enum": [
+ "None",
+ "Cascade"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "containsTarget": {
+ "type": "boolean",
+ "readOnly": true
+ },
+ "referentialConstraint": {
+ "$ref": "#/definitions/IEdmReferentialConstraint",
+ "readOnly": true
+ },
+ "propertyKind": {
+ "enum": [
+ "None",
+ "Structural",
+ "Navigation"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "declaringType": {
+ "$ref": "#/definitions/IEdmStructuredType",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmReferentialConstraint": {
+ "type": "object",
+ "properties": {
+ "propertyPairs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EdmReferentialConstraintPropertyPair"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmStructuredType": {
+ "type": "object",
+ "properties": {
+ "isAbstract": {
+ "type": "boolean",
+ "readOnly": true
+ },
+ "isOpen": {
+ "type": "boolean",
+ "readOnly": true
+ },
+ "baseType": {
+ "$ref": "#/definitions/IEdmStructuredType",
+ "readOnly": true
+ },
+ "declaredProperties": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmProperty"
+ },
+ "readOnly": true
+ },
+ "typeKind": {
+ "enum": [
+ "None",
+ "Primitive",
+ "Entity",
+ "Complex",
+ "Collection",
+ "EntityReference",
+ "Enum",
+ "TypeDefinition",
+ "Untyped",
+ "Path"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "EdmReferentialConstraintPropertyPair": {
+ "type": "object",
+ "properties": {
+ "dependentProperty": {
+ "$ref": "#/definitions/IEdmStructuralProperty",
+ "readOnly": true
+ },
+ "principalProperty": {
+ "$ref": "#/definitions/IEdmStructuralProperty",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmProperty": {
+ "type": "object",
+ "properties": {
+ "propertyKind": {
+ "enum": [
+ "None",
+ "Structural",
+ "Navigation"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "declaringType": {
+ "$ref": "#/definitions/IEdmStructuredType",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmStructuralProperty": {
+ "type": "object",
+ "properties": {
+ "defaultValueString": {
+ "type": "string",
+ "readOnly": true
+ },
+ "propertyKind": {
+ "enum": [
+ "None",
+ "Structural",
+ "Navigation"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "declaringType": {
+ "$ref": "#/definitions/IEdmStructuredType",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MachineCollection": {
+ "description": "Collection of machines.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the machines.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of nextLink.",
+ "type": "string"
+ }
+ }
+ },
+ "Machine": {
+ "description": "Machine REST resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the relative URL to get to this REST resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name of this REST resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/MachineProperties",
+ "description": "Gets or sets the properties of the machine."
+ }
+ }
+ },
+ "MachineProperties": {
+ "description": "Properties of the machine resource.",
+ "type": "object",
+ "properties": {
+ "discoveryData": {
+ "description": "Gets or sets the discovery details of the machine published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiscoveryDetails"
+ }
+ },
+ "assessmentData": {
+ "description": "Gets or sets the assessment details of the machine published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AssessmentDetails"
+ }
+ },
+ "migrationData": {
+ "description": "Gets or sets the migration details of the machine published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrationDetails"
+ }
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the machine.",
+ "type": "string"
+ }
+ }
+ },
+ "DiscoveryDetails": {
+ "description": "Discovery properties that can be published by various ISVs.",
+ "type": "object",
+ "properties": {
+ "osType": {
+ "description": "Gets or sets the OS type.",
+ "type": "string"
+ },
+ "osName": {
+ "description": "Gets or sets the OS name.",
+ "type": "string"
+ },
+ "osVersion": {
+ "description": "Gets or sets the OS version.",
+ "type": "string"
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "machineId": {
+ "description": "Gets or sets the unique identifier of the machine.",
+ "type": "string"
+ },
+ "machineManagerId": {
+ "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).",
+ "type": "string"
+ },
+ "fabricType": {
+ "description": "Gets or sets the fabric type.",
+ "type": "string"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the machine details.",
+ "type": "string"
+ },
+ "machineName": {
+ "description": "Gets or sets the name of the machine.",
+ "type": "string"
+ },
+ "ipAddresses": {
+ "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdn": {
+ "description": "Gets or sets the FQDN of the machine.",
+ "type": "string"
+ },
+ "biosId": {
+ "description": "Gets or sets the BIOS ID of the machine.",
+ "type": "string"
+ },
+ "macAddresses": {
+ "description": "Gets or sets the list of MAC addresses of the machine.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the ISV specific extended information.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "AssessmentDetails": {
+ "description": "Assessment properties that can be shared by various publishers.",
+ "type": "object",
+ "properties": {
+ "assessmentId": {
+ "description": "Gets or sets the id of the assessment done on the machine.",
+ "type": "string"
+ },
+ "targetVMSize": {
+ "description": "Gets or sets the target VM size.",
+ "type": "string"
+ },
+ "targetVMLocation": {
+ "description": "Gets or sets the target VM location.",
+ "type": "string"
+ },
+ "targetStorageType": {
+ "description": "Gets or sets the target storage type.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "machineId": {
+ "description": "Gets or sets the unique identifier of the machine.",
+ "type": "string"
+ },
+ "machineManagerId": {
+ "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).",
+ "type": "string"
+ },
+ "fabricType": {
+ "description": "Gets or sets the fabric type.",
+ "type": "string"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the machine details.",
+ "type": "string"
+ },
+ "machineName": {
+ "description": "Gets or sets the name of the machine.",
+ "type": "string"
+ },
+ "ipAddresses": {
+ "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdn": {
+ "description": "Gets or sets the FQDN of the machine.",
+ "type": "string"
+ },
+ "biosId": {
+ "description": "Gets or sets the BIOS ID of the machine.",
+ "type": "string"
+ },
+ "macAddresses": {
+ "description": "Gets or sets the list of MAC addresses of the machine.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the ISV specific extended information.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "MigrationDetails": {
+ "description": "Migration properties that can be shared by various publishers.",
+ "type": "object",
+ "properties": {
+ "migrationPhase": {
+ "description": "Gets or sets the phase of migration of the machine.",
+ "type": "string"
+ },
+ "migrationTested": {
+ "description": "Gets or sets a value indicating whether migration was tested on the machine.",
+ "type": "boolean"
+ },
+ "replicationProgressPercentage": {
+ "format": "int32",
+ "description": "Gets or sets the progress percentage of migration on the machine.",
+ "type": "integer"
+ },
+ "targetVMArmId": {
+ "description": "Gets or sets the ARM id the migrated VM.",
+ "type": "string"
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "machineId": {
+ "description": "Gets or sets the unique identifier of the machine.",
+ "type": "string"
+ },
+ "machineManagerId": {
+ "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).",
+ "type": "string"
+ },
+ "fabricType": {
+ "description": "Gets or sets the fabric type.",
+ "type": "string"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the machine details.",
+ "type": "string"
+ },
+ "machineName": {
+ "description": "Gets or sets the name of the machine.",
+ "type": "string"
+ },
+ "ipAddresses": {
+ "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdn": {
+ "description": "Gets or sets the FQDN of the machine.",
+ "type": "string"
+ },
+ "biosId": {
+ "description": "Gets or sets the BIOS ID of the machine.",
+ "type": "string"
+ },
+ "macAddresses": {
+ "description": "Gets or sets the list of MAC addresses of the machine.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the ISV specific extended information.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "MigrateProject": {
+ "description": "Migrate Project REST Resource.",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "eTag": {
+ "description": "Gets or sets the eTag for concurrency control.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Gets or sets the Azure location in which migrate project is created.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/MigrateProjectProperties",
+ "description": "Gets or sets the nested properties."
+ },
+ "id": {
+ "description": "Gets the relative URL to get this migrate project.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Gets the name of the migrate project.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.",
+ "type": "string",
+ "readOnly": true
+ },
+ "tags": {
+ "description": "Gets or sets the tags.",
+ "type": "object",
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "MigrateProjectProperties": {
+ "description": "Class for migrate project properties.",
+ "type": "object",
+ "properties": {
+ "registeredTools": {
+ "description": "Gets or sets the list of tools registered with the migrate project.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "ServerDiscovery",
+ "ServerAssessment",
+ "ServerMigration",
+ "Cloudamize",
+ "Turbonomic",
+ "Zerto",
+ "CorentTech",
+ "ServerAssessmentV1",
+ "ServerMigration_Replication",
+ "Carbonite",
+ "DataMigrationAssistant",
+ "DatabaseMigrationService"
+ ],
+ "type": "string"
+ }
+ },
+ "summary": {
+ "description": "Gets the summary of the migrate project.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ProjectSummary"
+ },
+ "readOnly": true
+ },
+ "lastSummaryRefreshedTime": {
+ "format": "date-time",
+ "description": "Gets the last time the project summary was refreshed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "refreshSummaryState": {
+ "description": "Gets the refresh summary state.",
+ "enum": [
+ "Started",
+ "InProgress",
+ "Completed",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Deleting",
+ "Failed",
+ "Moving",
+ "Succeeded"
+ ],
+ "description": "Provisioning state of the migrate project.",
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ProjectSummary": {
+ "description": "The project summary class.",
+ "type": "object",
+ "properties": {
+ "instanceType": {
+ "description": "Gets the Instance type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "refreshSummaryState": {
+ "description": "Gets or sets the state of refresh summary.",
+ "enum": [
+ "Started",
+ "InProgress",
+ "Completed",
+ "Failed"
+ ],
+ "type": "string"
+ },
+ "lastSummaryRefreshedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time when summary was last refreshed.",
+ "type": "string"
+ },
+ "extendedSummary": {
+ "description": "Gets or sets the extended summary.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "discriminator": "instanceType"
+ },
+ "RegisterToolInput": {
+ "description": "Class representing the register tool input.",
+ "type": "object",
+ "properties": {
+ "tool": {
+ "description": "Gets or sets the tool to be registered.",
+ "enum": [
+ "ServerDiscovery",
+ "ServerAssessment",
+ "ServerMigration",
+ "Cloudamize",
+ "Turbonomic",
+ "Zerto",
+ "CorentTech",
+ "ServerAssessmentV1",
+ "ServerMigration_Replication",
+ "Carbonite",
+ "DataMigrationAssistant",
+ "DatabaseMigrationService"
+ ],
+ "type": "string"
+ }
+ }
+ },
+ "RegistrationResult": {
+ "description": "Class representing the registration status of a tool with the migrate project.",
+ "type": "object",
+ "properties": {
+ "isRegistered": {
+ "description": "Gets or sets a value indicating whether the tool is registered or not.",
+ "type": "boolean"
+ }
+ }
+ },
+ "RefreshSummaryResult": {
+ "description": "Class representing the refresh summary status of the migrate project.",
+ "type": "object",
+ "properties": {
+ "isRefreshed": {
+ "description": "Gets or sets a value indicating whether the migrate project summary is refreshed.",
+ "type": "boolean"
+ }
+ }
+ },
+ "RefreshSummaryInput": {
+ "description": "Class representing the refresh summary input.",
+ "type": "object",
+ "properties": {
+ "goal": {
+ "description": "Gets or sets the goal for which summary needs to be refreshed.",
+ "enum": [
+ "Servers",
+ "Databases"
+ ],
+ "type": "string"
+ }
+ }
+ },
+ "Solution": {
+ "description": "Solution REST Resource.",
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets the relative URL to get to this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Gets the name of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "etag": {
+ "description": "Gets or sets the ETAG for optimistic concurrency control.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/SolutionProperties",
+ "description": "Gets or sets the properties of the solution."
+ }
+ }
+ },
+ "SolutionProperties": {
+ "description": "Class for solution properties.",
+ "type": "object",
+ "properties": {
+ "tool": {
+ "description": "Gets or sets the tool being used in the solution.",
+ "enum": [
+ "ServerDiscovery",
+ "ServerAssessment",
+ "ServerMigration",
+ "Cloudamize",
+ "Turbonomic",
+ "Zerto",
+ "CorentTech",
+ "ServerAssessmentV1",
+ "ServerMigration_Replication",
+ "Carbonite",
+ "DataMigrationAssistant",
+ "DatabaseMigrationService"
+ ],
+ "type": "string"
+ },
+ "purpose": {
+ "description": "Gets or sets the purpose of the solution.",
+ "enum": [
+ "Discovery",
+ "Assessment",
+ "Migration"
+ ],
+ "type": "string"
+ },
+ "goal": {
+ "description": "Gets or sets the goal of the solution.",
+ "enum": [
+ "Servers",
+ "Databases"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "description": "Gets or sets the current status of the solution.",
+ "enum": [
+ "Inactive",
+ "Active"
+ ],
+ "type": "string"
+ },
+ "cleanupState": {
+ "description": "Gets or sets the cleanup state of the solution.",
+ "enum": [
+ "None",
+ "Started",
+ "InProgress",
+ "Completed",
+ "Failed"
+ ],
+ "type": "string"
+ },
+ "summary": {
+ "$ref": "#/definitions/SolutionSummary",
+ "description": "Gets or sets the summary of the solution."
+ },
+ "details": {
+ "$ref": "#/definitions/SolutionDetails",
+ "description": "Gets or sets the details of the solution."
+ }
+ }
+ },
+ "SolutionSummary": {
+ "description": "The solution summary class.",
+ "type": "object",
+ "properties": {
+ "instanceType": {
+ "description": "Gets the Instance type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "discriminator": "instanceType"
+ },
+ "SolutionDetails": {
+ "description": "Class representing the details of the solution.",
+ "type": "object",
+ "properties": {
+ "groupCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of groups reported by the solution.",
+ "type": "integer"
+ },
+ "assessmentCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of assessments reported by the solution.",
+ "type": "integer"
+ },
+ "extendedDetails": {
+ "description": "Gets or sets the extended details reported by the solution.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "SolutionsCollection": {
+ "description": "Collection of solutions.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the list of solutions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Solution"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of next link.",
+ "type": "string"
+ }
+ }
+ },
+ "SolutionConfig": {
+ "description": "Class representing the config for the solution in the migrate project.",
+ "type": "object",
+ "properties": {
+ "publisherSasUri": {
+ "description": "Gets or sets the publisher sas uri for the solution.",
+ "type": "string"
+ }
+ }
+ },
+ "ServersProjectSummary": {
+ "description": "Class representing the servers project summary.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectSummary"
+ }
+ ],
+ "properties": {
+ "discoveredCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities discovered.",
+ "type": "integer"
+ },
+ "assessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities assessed.",
+ "type": "integer"
+ },
+ "replicatingCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities being replicated.",
+ "type": "integer"
+ },
+ "testMigratedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities test migrated.",
+ "type": "integer"
+ },
+ "migratedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities migrated.",
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "Servers"
+ },
+ "DatabaseProjectSummary": {
+ "description": "The database project summary class.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectSummary"
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "Databases"
+ },
+ "ServersSolutionSummary": {
+ "description": "Class representing the servers solution summary.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SolutionSummary"
+ }
+ ],
+ "properties": {
+ "discoveredCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers discovered.",
+ "type": "integer"
+ },
+ "assessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers assessed.",
+ "type": "integer"
+ },
+ "replicatingCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers being replicated.",
+ "type": "integer"
+ },
+ "testMigratedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers test migrated.",
+ "type": "integer"
+ },
+ "migratedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers migrated.",
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "Servers"
+ },
+ "DatabasesSolutionSummary": {
+ "description": "Class representing the databases solution summary.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SolutionSummary"
+ }
+ ],
+ "properties": {
+ "databasesAssessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of databases assessed.",
+ "type": "integer"
+ },
+ "databaseInstancesAssessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of database instances assessed.",
+ "type": "integer"
+ },
+ "migrationReadyCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of databases ready for migration.",
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "Databases"
+ },
+ "MachineMigrateEventProperties": {
+ "description": "Properties of the machine error resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/MigrateEventProperties"
+ }
+ ],
+ "properties": {
+ "machine": {
+ "description": "Gets or sets the machine for which the error is being reported.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "Servers"
+ },
+ "DatabaseMigrateEventProperties": {
+ "description": "Properties of the database error resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/MigrateEventProperties"
+ }
+ ],
+ "properties": {
+ "database": {
+ "description": "Gets or sets the database for which the error is being reported.",
+ "type": "string"
+ },
+ "databaseInstanceId": {
+ "description": "Gets or sets the database instance for which the error is being reported.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "Databases"
+ },
+ "OperationResultList": {
+ "type": "object",
+ "description": "List of API operations.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of operations.",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ }
+ }
+ },
+ "Operation": {
+ "type": "object",
+ "description": "A REST API operation supported by the provider.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the operation.",
+ "readOnly": true
+ },
+ "display": {
+ "description": "Displayable properties of the operation.",
+ "$ref": "#/definitions/OperationDisplay"
+ },
+ "origin": {
+ "type": "string",
+ "description": "Origin of the operation.",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationDisplay": {
+ "type": "object",
+ "description": "Displayable properties of the operation.",
+ "readOnly": true,
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "Provider of the operation.",
+ "readOnly": true
+ },
+ "resource": {
+ "type": "string",
+ "description": "Resource operated on by the operation.",
+ "readOnly": true
+ },
+ "operation": {
+ "type": "string",
+ "description": "Operation Type.",
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the operation.",
+ "readOnly": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/readme.md b/specification/migrateprojects/resource-manager/readme.md
new file mode 100644
index 000000000000..238f17ac9b91
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/readme.md
@@ -0,0 +1,99 @@
+# Azure Migrate
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for Azure Migrate.
+
+---
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-09
+```
+
+### Tag: package-2018-09 and java
+
+These settings apply only when `--tag=package-2018-09 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.azuremigrate.v2018_09_01
+ output-folder: $(azure-libraries-for-java-folder)/azuremigrate/resource-manager/v2018_09_01
+regenerate-manager: true
+generate-interface: true
+```
+
+
+## Getting Started
+To build the SDK for Migrate, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+
+### Basic Information
+These are the global settings for the API.
+
+``` yaml
+openapi-type: arm
+tag: package-2018-09
+```
+
+
+### Tag: package-2018-09
+
+These settings apply only when `--tag=package-2018-09` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-09'
+input-file:
+- Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
+```
+
+# Code Generation
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-go
+```
+
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ clear-output-folder: true
+ namespace: migrate
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2018-09
+```
+
+### Tag: package-2018-09 and go
+
+These settings apply only when `--tag=package-2018-09 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2018-09' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-09-01-preview/$(namespace)
+```
diff --git a/specification/migrateprojects/resource-manager/readme.nodejs.md b/specification/migrateprojects/resource-manager/readme.nodejs.md
new file mode 100644
index 000000000000..659dab26dfe8
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/readme.nodejs.md
@@ -0,0 +1,15 @@
+## Node.js
+
+These settings apply only when `--nodejs` is specified on the command line.
+Please also specify `--node-sdks-folder=`.
+
+``` yaml $(nodejs)
+nodejs:
+ azure-arm: true
+ package-name: azure-arm-migrateprojects
+ package-version: 1.0.0-preview
+ output-folder: $(node-sdks-folder)/lib/services/migrateprojectsManagement
+ generate-license-txt: true
+ generate-package-json: true
+ generate-readme-md: true
+```
diff --git a/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json b/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json
index 4c8dadb212e1..0f4ffddf4c84 100644
--- a/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json
+++ b/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json
@@ -1,47 +1,47 @@
{
- "parameters": {
- "api-version": "2018-09-01-preview",
- "Content-Type": "application/json",
- "Content-Length": 783,
- "Authorization": "Bearer {AAD JWT token issued for \"https:\\\\monitoring.azure.com\\}\"",
- "subscriptionId": "b7ac8a0c-fbae-4e29-a0f7-09999b8857a1",
- "resourceGroupName": "CowsSeller",
- "resourceProvider": "Microsoft.Storage",
- "resourceTypeName": "storageAccounts",
- "resourceName": "cowssellerstore",
- "body": {
- "time": "2018-08-24T 11:02:00-7:00",
- "data": {
- "baseData": {
- "metric": "CowsSold",
- "namespace": "Cows",
- "dimNames": [
- "Breed",
- "Color",
- "Age"
- ],
- "series": [
- {
- "dimValues": [
- "Angus",
- "Blue",
- "5"
- ],
- "min": 5,
- "max": 20,
- "sum": 30,
- "count": 3
- }
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "statusCode": 200
+ "parameters": {
+ "api-version": "2018-09-01-preview",
+ "Content-Type": "application/json",
+ "Content-Length": 783,
+ "Authorization": "Bearer {AAD JWT token issued for \"https:\\\\monitoring.azure.com\\}\"",
+ "subscriptionId": "b7ac8a0c-fbae-4e29-a0f7-09999b8857a1",
+ "resourceGroupName": "CowsSeller",
+ "resourceProvider": "Microsoft.Storage",
+ "resourceTypeName": "storageAccounts",
+ "resourceName": "cowssellerstore",
+ "body": {
+ "time": "2018-08-24T 11:02:00-7:00",
+ "data": {
+ "baseData": {
+ "metric": "CowsSold",
+ "namespace": "Cows",
+ "dimNames": [
+ "Breed",
+ "Color",
+ "Age"
+ ],
+ "series": [
+ {
+ "dimValues": [
+ "Angus",
+ "Blue",
+ "5"
+ ],
+ "min": 5,
+ "max": 20,
+ "sum": 30,
+ "count": 3
}
+ ]
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "statusCode": 200
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json b/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json
index 344ed08b867a..499c2dcdbfb5 100644
--- a/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json
+++ b/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json
@@ -176,7 +176,7 @@
}
}
},
- "required":[
+ "required": [
"metric",
"namespace",
"series"
@@ -213,7 +213,7 @@
"type": "integer"
}
},
- "required" : [
+ "required": [
"min",
"max",
"sum",
@@ -255,4 +255,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json
index 8dbc8df139dd..5ff0bea9c06e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json
@@ -1,527 +1,527 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Azure Activity Log Alerts API",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2017-03-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Activity Log Alerts API",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "version": "2017-03-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": {
+ "put": {
+ "deprecated": true,
+ "description": "Create a new activity log alert or update an existing one.",
+ "operationId": "ActivityLogAlerts_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an activity log alert": {
+ "$ref": "./examples/createOrUpdateActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "activityLogAlert",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ },
+ "description": "The activity log alert to create or use for the update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing activity log alert was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ }
+ },
+ "201": {
+ "description": "A new activity log alert was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+ },
+ "get": {
+ "deprecated": true,
+ "description": "Get an activity log alert.",
+ "operationId": "ActivityLogAlerts_Get",
+ "x-ms-examples": {
+ "Get an activity log alert": {
+ "$ref": "./examples/getActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
}
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": {
- "put": {
- "deprecated": true,
- "description": "Create a new activity log alert or update an existing one.",
- "operationId": "ActivityLogAlerts_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an activity log alert": {
- "$ref": "./examples/createOrUpdateActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "activityLogAlert",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- },
- "description": "The activity log alert to create or use for the update."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing activity log alert was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "201": {
- "description": "A new activity log alert was successfully created.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "deprecated": true,
- "description": "Get an activity log alert.",
- "operationId": "ActivityLogAlerts_Get",
- "x-ms-examples": {
- "Get an activity log alert": {
- "$ref": "./examples/getActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "deprecated": true,
- "description": "Delete an activity log alert.",
- "operationId": "ActivityLogAlerts_Delete",
- "x-ms-examples": {
- "Delete an activity log alert": {
- "$ref": "./examples/deleteActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The activity log alert was successfully deleted."
- },
- "204": {
- "description": "The activity log alert does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "delete": {
+ "deprecated": true,
+ "description": "Delete an activity log alert.",
+ "operationId": "ActivityLogAlerts_Delete",
+ "x-ms-examples": {
+ "Delete an activity log alert": {
+ "$ref": "./examples/deleteActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The activity log alert was successfully deleted."
+ },
+ "204": {
+ "description": "The activity log alert does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "deprecated": true,
+ "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.",
+ "operationId": "ActivityLogAlerts_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "activityLogAlertPatch",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResourcePatch"
},
- "patch": {
- "deprecated": true,
- "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.",
- "operationId": "ActivityLogAlerts_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "activityLogAlertPatch",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResourcePatch"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing activity log alert was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- }
- },
- "x-ms-examples": {
- "Path an activity log alert": {
- "$ref": "./examples/patchActivityLogAlert.json"
- }
- }
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": {
- "get": {
- "deprecated": true,
- "description": "Get a list of all activity log alerts in a subscription.",
- "operationId": "ActivityLogAlerts_ListBySubscriptionId",
- "x-ms-examples": {
- "List activity log alerts": {
- "$ref": "./examples/listActivityLogAlerts.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertList"
- }
- },
- "default": {
- "description": "An error occurred and the list of activity log alerts could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "200": {
+ "description": "An existing activity log alert was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
}
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": {
- "get": {
- "deprecated": true,
- "description": "Get a list of all activity log alerts in a resource group.",
- "operationId": "ActivityLogAlerts_ListByResourceGroup",
- "x-ms-examples": {
- "List activity log alerts": {
- "$ref": "./examples/listActivityLogAlerts.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertList"
- }
- },
- "default": {
- "description": "An error occurred and the list of activity log alerts could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
+ "x-ms-examples": {
+ "Path an activity log alert": {
+ "$ref": "./examples/patchActivityLogAlert.json"
+ }
}
+ }
},
- "definitions": {
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": {
+ "get": {
+ "deprecated": true,
+ "description": "Get a list of all activity log alerts in a subscription.",
+ "operationId": "ActivityLogAlerts_ListBySubscriptionId",
+ "x-ms-examples": {
+ "List activity log alerts": {
+ "$ref": "./examples/listActivityLogAlerts.json"
+ }
},
- "ActivityLogAlertResource": {
- "description": "An activity log alert resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActivityLogAlert"
- }
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of activity log alerts could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": {
+ "get": {
+ "deprecated": true,
+ "description": "Get a list of all activity log alerts in a resource group.",
+ "operationId": "ActivityLogAlerts_ListByResourceGroup",
+ "x-ms-examples": {
+ "List activity log alerts": {
+ "$ref": "./examples/listActivityLogAlerts.json"
+ }
},
- "ActivityLogAlertList": {
- "description": "A list of activity log alerts.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- },
- "description": "The list of activity log alerts."
- }
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of activity log alerts could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ActivityLogAlert": {
- "description": "An Azure activity log alert.",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item."
- },
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
- },
- "condition": {
- "$ref": "#/definitions/ActivityLogAlertAllOfCondition",
- "description": "The condition that will cause this alert to activate."
- },
- "actions": {
- "$ref": "#/definitions/ActivityLogAlertActionList",
- "description": "The actions that will activate when the condition is met."
- },
- "description": {
- "type": "string",
- "description": "A description of this activity log alert."
- }
- },
- "required": [
- "scopes",
- "condition",
- "actions"
- ]
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "ActivityLogAlertAllOfCondition": {
- "properties": {
- "allOf": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertLeafCondition"
- },
- "description": "The list of activity log alert conditions."
- }
- },
- "description": "An Activity Log alert condition that is met when all its member conditions are met.",
- "required": [
- "allOf"
- ]
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
},
- "ActivityLogAlertLeafCondition": {
- "properties": {
- "field": {
- "type": "string",
- "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'."
- },
- "equals": {
- "type": "string",
- "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met."
- }
- },
- "description": "An Activity Log alert condition that is met by comparing an activity log field and value.",
- "required": [
- "field",
- "equals"
- ]
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
},
- "ActivityLogAlertActionList": {
- "description": "A list of activity log alert actions.",
- "properties": {
- "actionGroups": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertActionGroup"
- },
- "description": "The list of activity log alerts."
- }
- }
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ },
+ "ActivityLogAlertResource": {
+ "description": "An activity log alert resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActivityLogAlert"
+ }
+ }
+ },
+ "ActivityLogAlertList": {
+ "description": "A list of activity log alerts.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ },
+ "description": "The list of activity log alerts."
+ }
+ }
+ },
+ "ActivityLogAlert": {
+ "description": "An Azure activity log alert.",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item."
},
- "ActivityLogAlertActionGroup": {
- "description": "A pointer to an Azure Action Group.",
- "properties": {
- "actionGroupId": {
- "type": "string",
- "description": "The resourceId of the action group. This cannot be null or empty."
- },
- "webhookProperties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
- }
- },
- "required": [
- "actionGroupId"
- ]
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
},
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
- }
+ "condition": {
+ "$ref": "#/definitions/ActivityLogAlertAllOfCondition",
+ "description": "The condition that will cause this alert to activate."
},
- "ActivityLogAlertResourcePatch": {
- "description": "An activity log alert resource for patch operations.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActivityLogAlertPatch"
- }
- }
+ "actions": {
+ "$ref": "#/definitions/ActivityLogAlertActionList",
+ "description": "The actions that will activate when the condition is met."
},
- "ActivityLogAlertPatch": {
- "description": "An Azure activity log alert for patch operations.",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
- }
- }
+ "description": {
+ "type": "string",
+ "description": "A description of this activity log alert."
}
+ },
+ "required": [
+ "scopes",
+ "condition",
+ "actions"
+ ]
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "ActivityLogAlertAllOfCondition": {
+ "properties": {
+ "allOf": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertLeafCondition"
+ },
+ "description": "The list of activity log alert conditions."
+ }
+ },
+ "description": "An Activity Log alert condition that is met when all its member conditions are met.",
+ "required": [
+ "allOf"
+ ]
+ },
+ "ActivityLogAlertLeafCondition": {
+ "properties": {
+ "field": {
+ "type": "string",
+ "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "equals": {
+ "type": "string",
+ "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met."
+ }
+ },
+ "description": "An Activity Log alert condition that is met by comparing an activity log field and value.",
+ "required": [
+ "field",
+ "equals"
+ ]
+ },
+ "ActivityLogAlertActionList": {
+ "description": "A list of activity log alert actions.",
+ "properties": {
+ "actionGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertActionGroup"
+ },
+ "description": "The list of activity log alerts."
+ }
+ }
+ },
+ "ActivityLogAlertActionGroup": {
+ "description": "A pointer to an Azure Action Group.",
+ "properties": {
+ "actionGroupId": {
+ "type": "string",
+ "description": "The resourceId of the action group. This cannot be null or empty."
},
- "ActivityLogAlertNameParameter": {
- "name": "activityLogAlertName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the activity log alert.",
- "x-ms-parameter-location": "method"
+ "webhookProperties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
+ }
+ },
+ "required": [
+ "actionGroupId"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
}
+ }
+ },
+ "ActivityLogAlertResourcePatch": {
+ "description": "An activity log alert resource for patch operations.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActivityLogAlertPatch"
+ }
+ }
+ },
+ "ActivityLogAlertPatch": {
+ "description": "An Azure activity log alert for patch operations.",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ActivityLogAlertNameParameter": {
+ "name": "activityLogAlertName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the activity log alert.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
+ }
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json
index 16d14631da06..713c7ca84d46 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json
@@ -1,121 +1,121 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview",
- "activityLogAlert": {
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview",
+ "activityLogAlert": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
- }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
+ }
}
+ ]
},
- "201": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "description": "Sample activity log alert description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
+ }
+ }
+ },
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
+ }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json
index 05fab8bcc4cd..f993e7b180a8 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json
index 8af0493dc28c..85bd49638845 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json
index 04507656ca2a..ad8d840dc9ad 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json
@@ -1,81 +1,81 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
- }
- },
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert2",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": { }
- }
- ]
- }
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
+ }
+ },
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert2",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {}
+ }
]
+ }
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json
index 4c592bc5a958..0ac423a4ad74 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json
@@ -1,56 +1,62 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview",
- "activityLogAlertPatch": {
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "enabled": false
- }
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "scopes": [
- "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": false,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview",
+ "activityLogAlertPatch": {
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "scopes": [
+ "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": false,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
index 84ce43832f26..7b5e3e1334a2 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
@@ -72,7 +72,7 @@
"Gets the diagnostic setting": {
"$ref": "./examples/getDiagnosticSettingsCategory.json"
}
- }
+ }
}
},
"/{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories": {
@@ -108,7 +108,7 @@
"Gets the diagnostic setting": {
"$ref": "./examples/listDiagnosticSettingsCategories.json"
}
- }
+ }
}
}
},
@@ -137,10 +137,13 @@
"DiagnosticSettingsCategory": {
"properties": {
"categoryType": {
- "enum": ["Metrics", "Logs"],
+ "enum": [
+ "Metrics",
+ "Logs"
+ ],
"type": "string",
"x-ms-enum": {
- "name": "categoryType"
+ "name": "categoryType"
},
"x-nullable": false,
"description": "The type of the diagnostic settings category."
@@ -217,4 +220,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
index 2febaa3b9017..b96db55196ca 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
@@ -72,7 +72,7 @@
"Gets the diagnostic setting": {
"$ref": "./examples/getDiagnosticSetting.json"
}
- }
+ }
},
"put": {
"tags": [
@@ -118,7 +118,7 @@
"Creates or Updates the diagnostic setting": {
"$ref": "./examples/createOrUpdateDiagnosticSetting.json"
}
- }
+ }
},
"delete": {
"tags": [
@@ -155,7 +155,7 @@
"Deletes the diagnostic setting": {
"$ref": "./examples/deleteDiagnosticSetting.json"
}
- }
+ }
}
},
"/{resourceUri}/providers/microsoft.insights/diagnosticSettings": {
@@ -191,7 +191,7 @@
"Gets the diagnostic setting": {
"$ref": "./examples/listDiagnosticSettings.json"
}
- }
+ }
}
}
},
@@ -230,7 +230,10 @@
"description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
}
},
- "required": [ "enabled", "days" ],
+ "required": [
+ "enabled",
+ "days"
+ ],
"description": "Specifies the retention policy for the log."
},
"MetricSettings": {
@@ -253,7 +256,9 @@
"description": "the retention policy for this category."
}
},
- "required": [ "enabled" ],
+ "required": [
+ "enabled"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric."
},
"LogSettings": {
@@ -271,7 +276,9 @@
"description": "the retention policy for this log."
}
},
- "required": [ "enabled" ],
+ "required": [
+ "enabled"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
},
"DiagnosticSettings": {
@@ -297,18 +304,22 @@
"items": {
"$ref": "#/definitions/MetricSettings"
},
- "description": "the list of metric settings."
+ "description": "The list of metric settings."
},
"logs": {
"type": "array",
"items": {
"$ref": "#/definitions/LogSettings"
},
- "description": "the list of logs settings."
+ "description": "The list of logs settings."
},
"workspaceId": {
"type": "string",
- "description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
+ "description": "The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
+ },
+ "logAnalyticsDestinationType": {
+ "type": "string",
+ "description": "A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: _. Possible values are: Dedicated and null (null is default.)"
}
},
"description": "The diagnostic settings."
@@ -382,4 +393,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json
index 14a12faa011b..07251092bf57 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json
@@ -1,95 +1,95 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "parameters": {
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metric": "BlobCapacity",
+ "$filter": "BlobType eq '*'",
+ "top": "3",
+ "orderby": "Average asc",
+ "aggregation": "Average,count",
+ "interval": "PT1M",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "cost": 0,
"timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metric": "BlobCapacity",
- "$filter": "BlobType eq '*'",
- "top": "3",
- "orderby": "Average asc",
- "aggregation": "Average,count",
"interval": "PT1M",
- "api-version": "2017-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "cost": 0,
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "interval": "PT1M",
- "value": [
- {
- "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
- "type": "Microsoft.Insights/metrics",
- "name": {
- "value": "BlobCapacity",
- "localizedValue": "Blob Capacity"
+ "value": [
+ {
+ "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCapacity",
+ "localizedValue": "Blob Capacity"
+ },
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "PageBlob"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2017-04-14T02:20:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:21:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:22:00Z",
+ "count": 0.0
},
- "unit": "Bytes",
- "timeseries": [
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "PageBlob"
- }
- ],
- "data": [
- {
- "timeStamp": "2017-04-14T02:20:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:21:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:22:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:23:00Z",
- "count": 1.0,
- "average": 0.0
- }
- ]
+ {
+ "timeStamp": "2017-04-14T02:23:00Z",
+ "count": 1.0,
+ "average": 0.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
},
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "BlockBlob"
- }
- ],
- "data": [
- {
- "timeStamp": "2017-04-14T02:20:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:21:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:22:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:23:00Z",
- "count": 1.0,
- "average": 245.0
- }
- ]
- }
- ]
- }
- ]
- }
- }
+ "value": "BlockBlob"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2017-04-14T02:20:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:21:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:22:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:23:00Z",
+ "count": 1.0,
+ "average": 245.0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json
index cf6d98975ea7..c92baff7bd0d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json
@@ -1,383 +1,446 @@
{
- "parameters": {
- "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions",
- "api-version": "2017-05-01-preview"
- },
- "responses": {
- "200": {
- "body":
- {
- "value": [{
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "CpuTime",
- "localizedValue": "CPU Time"
- },
- "isDimensionRequired": false,
- "unit": "Seconds",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Requests",
- "localizedValue": "Requests"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "BytesReceived",
- "localizedValue": "Data In"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "BytesSent",
- "localizedValue": "Data Out"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http101",
- "localizedValue": "Http 101"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http2xx",
- "localizedValue": "Http 2xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http3xx",
- "localizedValue": "Http 3xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http401",
- "localizedValue": "Http 401"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http403",
- "localizedValue": "Http 403"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http404",
- "localizedValue": "Http 404"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http406",
- "localizedValue": "Http 406"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http4xx",
- "localizedValue": "Http 4xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http5xx",
- "localizedValue": "Http Server Errors"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "MemoryWorkingSet",
- "localizedValue": "Memory working set"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Average",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "AverageMemoryWorkingSet",
- "localizedValue": "Average memory working set"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Average",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "AverageResponseTime",
- "localizedValue": "Average Response Time"
- },
- "isDimensionRequired": false,
- "unit": "Seconds",
- "primaryAggregationType": "Average",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "CpuTime",
+ "localizedValue": "CPU Time"
+ },
+ "isDimensionRequired": false,
+ "unit": "Seconds",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Requests",
+ "localizedValue": "Requests"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "BytesReceived",
+ "localizedValue": "Data In"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "BytesSent",
+ "localizedValue": "Data Out"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http101",
+ "localizedValue": "Http 101"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http2xx",
+ "localizedValue": "Http 2xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http3xx",
+ "localizedValue": "Http 3xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http401",
+ "localizedValue": "Http 401"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http403",
+ "localizedValue": "Http 403"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http404",
+ "localizedValue": "Http 404"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http406",
+ "localizedValue": "Http 406"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http4xx",
+ "localizedValue": "Http 4xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http5xx",
+ "localizedValue": "Http Server Errors"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "MemoryWorkingSet",
+ "localizedValue": "Memory working set"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Average",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "AverageMemoryWorkingSet",
+ "localizedValue": "Average memory working set"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Average",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "AverageResponseTime",
+ "localizedValue": "Average Response Time"
+ },
+ "isDimensionRequired": false,
+ "unit": "Seconds",
+ "primaryAggregationType": "Average",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json
index 105be64cb52c..23a9ca8877b0 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json
@@ -1,56 +1,56 @@
{
- "parameters": {
+ "parameters": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metric": "BlobCapacity",
+ "$filter": "BlobType eq '*'",
+ "top": "3",
+ "orderby": "Average asc",
+ "aggregation": "Average,count",
+ "interval": "PT1M",
+ "resulttype": "metadata",
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
"timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metric": "BlobCapacity",
- "$filter": "BlobType eq '*'",
- "top": "3",
- "orderby": "Average asc",
- "aggregation": "Average,count",
- "interval": "PT1M",
- "resulttype": "metadata",
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
- "api-version": "2017-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "value": [
- {
- "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
- "type": "Microsoft.Insights/metrics",
- "name": {
- "value": "BlobCapacity",
- "localizedValue": "Blob Capacity"
- },
- "unit": "Bytes",
- "timeseries": [
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "BlockBlob"
- }
- ]
- },
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "PageBlob"
- }
- ]
- }
- ]
- }
- ]
- }
- }
+ "value": [
+ {
+ "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCapacity",
+ "localizedValue": "Blob Capacity"
+ },
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "BlockBlob"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "PageBlob"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json
index 8335a4ec33e1..602799e199b4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json
@@ -5,67 +5,69 @@
"api-version": "2017-05-01-preview",
"parameters": {
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
"eventHubName": "myeventhub",
"metrics": [
{
- "category":"WorkflowMetrics",
- "enabled":true,
+ "category": "WorkflowMetrics",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
- ]
+ ],
+ "logAnalyticsDestinationType": "Dedicated"
}
}
},
"responses": {
"200": {
- "headers": { },
+ "headers": {},
"body": {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting",
- "type":"",
- "name":"mysetting",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting",
+ "type": "",
+ "name": "mysetting",
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
"eventHubName": "myeventhub",
"metrics": [
{
- "category":"WorkflowMetrics",
- "enabled":true,
+ "category": "WorkflowMetrics",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
- ]
+ ],
+ "logAnalyticsDestinationType": "Dedicated"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json
index c7468e7ff795..ade0a9a73841 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json
@@ -1,17 +1,17 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
"name": "mysetting",
- "api-version" : "2017-05-01-preview"
+ "api-version": "2017-05-01-preview"
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
+ },
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json
index 03603e23f20d..50cf4c636646 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json
@@ -1,35 +1,37 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
"name": "mysetting",
- "api-version" : "2017-05-01-preview"
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "id" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type" : "",
- "name" : "mysetting",
- "properties" : {
- "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId" : "",
- "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "metrics" : [{
- "category" : "WorkflowMetrics",
- "enabled" : true,
- "retentionPolicy" : {
- "enabled" : false,
- "days" : 0
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "mysetting",
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "metrics": [
+ {
+ "category": "WorkflowMetrics",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
}
],
- "logs" : [{
- "category" : "WorkflowRuntime",
- "enabled" : true,
- "retentionPolicy" : {
- "enabled" : false,
- "days" : 0
+ "logs": [
+ {
+ "category": "WorkflowRuntime",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
}
]
@@ -37,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json
index c8d94c67c36f..ae766e558bdc 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json
@@ -1,20 +1,20 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
"name": "WorkflowRuntime",
- "api-version" : "2017-05-01-preview"
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
- "type":"microsoft.insights/diagnosticSettingsCategories",
- "name":"WorkflowRuntime",
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
+ "type": "microsoft.insights/diagnosticSettingsCategories",
+ "name": "WorkflowRuntime",
"properties": {
- "categoryType":"Logs"
+ "categoryType": "Logs"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json
index 3a54aca66177..50220bc82498 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json
@@ -1,38 +1,38 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
- "api-version" : "2017-05-01-preview"
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "value": [
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
{
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting",
- "type":"microsoft.logic/workflows",
- "name":"mysetting",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting",
+ "type": "microsoft.logic/workflows",
+ "name": "mysetting",
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "eventHubAuthorizationRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "eventHubAuthorizationRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
"metrics": [
{
- "category":"WorkflowMetrics",
- "enabled":true,
+ "category": "WorkflowMetrics",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
]
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json
index 2b915de05f31..d7ea73b6638b 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json
@@ -1,31 +1,31 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
- "api-version" : "2017-05-01-preview"
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
"value": [
{
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
- "type":"microsoft.insights/diagnosticSettingsCategories",
- "name":"WorkflowRuntime",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
+ "type": "microsoft.insights/diagnosticSettingsCategories",
+ "name": "WorkflowRuntime",
"properties": {
- "categoryType":"Logs"
+ "categoryType": "Logs"
}
},
{
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric",
- "type":"microsoft.insights/diagnosticSettingsCategories",
- "name":"WorkflowMetric",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric",
+ "type": "microsoft.insights/diagnosticSettingsCategories",
+ "name": "WorkflowMetric",
"properties": {
- "categoryType":"Metrics"
+ "categoryType": "Metrics"
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json
index 6c4ab30c16cb..bf16c9cdee59 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json
@@ -65,7 +65,8 @@
},
"examples": {
"application/json": {
- "value": [{
+ "value": [
+ {
"id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
"resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
"name": {
@@ -75,20 +76,24 @@
"isDimensionRequired": false,
"unit": "Seconds",
"primaryAggregationType": "Total",
- "metricAvailabilities": [{
+ "metricAvailabilities": [
+ {
"timeGrain": "PT1M",
"retention": "P30D"
- }, {
+ },
+ {
"timeGrain": "PT1H",
"retention": "P30D"
}
],
- "dimensions": [{
+ "dimensions": [
+ {
"value": "Instance",
"localizedValue": "Instance"
}
]
- }, {
+ },
+ {
"id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
"resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
"name": {
@@ -98,20 +103,24 @@
"isDimensionRequired": false,
"unit": "Bytes",
"primaryAggregationType": "Average",
- "metricAvailabilities": [{
+ "metricAvailabilities": [
+ {
"timeGrain": "PT1M",
"retention": "P30D"
- }, {
+ },
+ {
"timeGrain": "PT1H",
"retention": "P30D"
}
],
- "dimensions": [{
+ "dimensions": [
+ {
"value": "Instance",
"localizedValue": "Instance"
}
]
- }, {
+ },
+ {
"id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
"resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
"name": {
@@ -121,22 +130,25 @@
"isDimensionRequired": false,
"unit": "Bytes",
"primaryAggregationType": "Average",
- "metricAvailabilities": [{
+ "metricAvailabilities": [
+ {
"timeGrain": "PT1M",
"retention": "P30D"
- }, {
+ },
+ {
"timeGrain": "PT1H",
"retention": "P30D"
}
],
- "dimensions": [{
+ "dimensions": [
+ {
"value": "Instance",
"localizedValue": "Instance"
}
]
}
]
- }
+ }
}
}
},
@@ -144,14 +156,18 @@
"nextLinkName": null
},
"x-ms-examples": {
- "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" }
+ "Get Metric Definitions without filter": {
+ "$ref": "./examples/GetMetricDefinitions.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -263,7 +279,9 @@
"description": "the values for the metric definitions."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Represents collection of metric definitions."
},
"ErrorResponse": {
@@ -299,4 +317,4 @@
"x-ms-skip-url-encoding": true
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json
index c02c2f86f83f..fbcde3c0e5ca 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json
@@ -96,7 +96,8 @@
"cost": 0,
"timespan": "2017-08-10T21:44:34Z/2017-08-10T22:44:34Z",
"interval": "PT1M",
- "value": [{
+ "value": [
+ {
"id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/Microsoft.Insights/metrics/CpuTime",
"type": "Microsoft.Insights/metrics",
"name": {
@@ -104,27 +105,35 @@
"localizedValue": "CPU Time"
},
"unit": "Seconds",
- "timeseries": [{
+ "timeseries": [
+ {
"metadatavalues": [],
- "data": [{
+ "data": [
+ {
"timeStamp": "2017-08-10T21:44:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:45:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:46:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:47:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:48:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:49:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:50:00Z",
"total": 0.0
}
@@ -139,15 +148,21 @@
},
"x-ms-odata": "#/definitions/MetadataValue",
"x-ms-examples": {
- "Get Metric for data": { "$ref": "./examples/GetMetric.json" },
- "Get Metric for metadata": { "$ref": "./examples/GetMetricMetadata.json" }
+ "Get Metric for data": {
+ "$ref": "./examples/GetMetric.json"
+ },
+ "Get Metric for metadata": {
+ "$ref": "./examples/GetMetricMetadata.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -180,7 +195,9 @@
}
},
"MetricValue": {
- "required": [ "timeStamp" ],
+ "required": [
+ "timeStamp"
+ ],
"properties": {
"timeStamp": {
"type": "string",
@@ -268,7 +285,10 @@
"description": "the value of the collection."
}
},
- "required": [ "timespan", "value" ],
+ "required": [
+ "timespan",
+ "value"
+ ],
"description": "The response to a metrics query."
},
"Metric": {
@@ -298,7 +318,13 @@
"description": "the time series returned when a data query is performed."
}
},
- "required": [ "id", "type", "name", "unit", "timeseries" ],
+ "required": [
+ "id",
+ "type",
+ "name",
+ "unit",
+ "timeseries"
+ ],
"description": "The result data of a query."
},
"TimeSeriesElement": {
@@ -406,4 +432,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
index caba765e16e5..4ba3123874d4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
@@ -1,316 +1,326 @@
{
- "swagger": "2.0",
- "info": {
- "title": "MonitorManagementClient",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2017-11-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "MonitorManagementClient",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2017-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": {
- "get": {
- "tags": [
- "Baseline"
- ],
- "operationId": "MetricBaseline_Get",
- "description": "**Gets the baseline values for a specific metric**.",
- "parameters": [
- {
- "$ref": "#/parameters/ExtendedResourceUriParameter"
- },
- {
- "$ref": "#/parameters/MetricNameParameter"
- },
- {
- "$ref": "#/parameters/TimespanParameter"
- },
- {
- "$ref": "#/parameters/IntervalParameter"
- },
- {
- "$ref": "#/parameters/AggregationParameter"
- },
- {
- "$ref": "#/parameters/SensitivitiesParameter"
- },
- {
- "$ref": "#/parameters/BaselineResultTypeParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": {
+ "get": {
+ "tags": [
+ "Baseline"
+ ],
+ "operationId": "MetricBaseline_Get",
+ "description": "**Gets the baseline values for a specific metric**.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ExtendedResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TimespanParameter"
+ },
+ {
+ "$ref": "#/parameters/IntervalParameter"
+ },
+ {
+ "$ref": "#/parameters/AggregationParameter"
+ },
+ {
+ "$ref": "#/parameters/SensitivitiesParameter"
+ },
+ {
+ "$ref": "#/parameters/BaselineResultTypeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to get the list of metric values.",
- "schema": {
- "$ref": "#/definitions/BaselineResponse"
- }
+ },
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/BaselineResponse"
}
+ }
+ },
+ "x-ms-examples": {
+ "Get Metric for data": {
+ "$ref": "./examples/GetBaseline.json"
},
- "x-ms-examples": {
- "Get Metric for data": { "$ref": "./examples/GetBaseline.json" },
- "Get Metric for metadata": { "$ref": "./examples/GetBaselineMetadata.json" }
+ "Get Metric for metadata": {
+ "$ref": "./examples/GetBaselineMetadata.json"
}
}
}
- },
- "definitions": {
- "LocalizableString": {
- "required": [ "value" ],
- "properties": {
- "value": {
- "type": "string",
- "description": "the invariant value."
- },
- "localizedValue": {
- "type": "string",
- "description": "the locale specific value."
- }
+ }
+ },
+ "definitions": {
+ "LocalizableString": {
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "the invariant value."
},
- "description": "The localizable string class."
+ "localizedValue": {
+ "type": "string",
+ "description": "the locale specific value."
+ }
},
- "BaselineMetadataValue": {
- "properties": {
- "name": {
- "$ref": "#/definitions/LocalizableString",
- "description": "the name of the metadata."
- },
- "value": {
- "type": "string",
- "description": "the value of the metadata."
- }
+ "description": "The localizable string class."
+ },
+ "BaselineMetadataValue": {
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/LocalizableString",
+ "description": "the name of the metadata."
},
- "description": "Represents a baseline metadata value."
+ "value": {
+ "type": "string",
+ "description": "the value of the metadata."
+ }
},
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
+ "description": "Represents a baseline metadata value."
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "BaselineResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "the metric baseline Id."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "the resource type of the baseline resource."
+ },
+ "name": {
+ "$ref": "#/definitions/LocalizableString",
+ "readOnly": true,
+ "description": "the name and the display name of the metric, i.e. it is localizable string."
+ },
"properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BaselineProperties",
+ "description": "the properties of the baseline."
}
},
- "BaselineResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "the metric baseline Id."
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "the resource type of the baseline resource."
- },
- "name": {
- "$ref": "#/definitions/LocalizableString",
- "readOnly": true,
- "description": "the name and the display name of the metric, i.e. it is localizable string."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/BaselineProperties",
- "description": "the properties of the baseline."
- }
+ "description": "The response to a baseline query."
+ },
+ "BaselineProperties": {
+ "properties": {
+ "timespan": {
+ "type": "string",
+ "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
},
- "description": "The response to a baseline query."
- },
- "BaselineProperties": {
- "properties": {
- "timespan": {
- "type": "string",
- "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
- },
- "interval": {
- "type": "string",
- "format": "duration",
- "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
- },
- "aggregation": {
+ "interval": {
+ "type": "string",
+ "format": "duration",
+ "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
+ },
+ "aggregation": {
+ "type": "string",
+ "description": "The aggregation type of the metric."
+ },
+ "timestamps": {
+ "type": "array",
+ "items": {
"type": "string",
- "description": "The aggregation type of the metric."
+ "format": "date-time",
+ "description": "the timestamp for the baseline value in ISO 8601 format."
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "the timestamp for the baseline value in ISO 8601 format."
- },
- "description": "the array of timestamps of the baselines."
- },
- "baseline": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Baseline"
- },
- "description": "the baseline values for each sensitivity."
+ "description": "the array of timestamps of the baselines."
+ },
+ "baseline": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Baseline"
},
- "metadata": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/BaselineMetadataValue"
- },
- "description": "the baseline metadata values."
- }
+ "description": "the baseline values for each sensitivity."
},
- "description": "The baseline properties class."
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BaselineMetadataValue"
+ },
+ "description": "the baseline metadata values."
+ }
},
- "Baseline": {
- "type": "object",
- "properties": {
- "sensitivity": {
- "type": "string",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "Sensitivity",
- "modelAsString": false
- },
- "description": "the sensitivity of the baseline."
+ "description": "The baseline properties class."
+ },
+ "Baseline": {
+ "type": "object",
+ "properties": {
+ "sensitivity": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "Sensitivity",
+ "modelAsString": false
},
- "lowThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single low threshold value."
- },
- "description": "The low thresholds of the baseline."
+ "description": "the sensitivity of the baseline."
+ },
+ "lowThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single low threshold value."
},
- "highThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single high threshold value."
- },
- "description": "The high thresholds of the baseline."
- }
+ "description": "The low thresholds of the baseline."
},
- "required": [ "sensitivity", "lowThresholds", "highThresholds" ],
- "description": "The baseline values for a single sensitivity value."
- }
- },
- "parameters": {
- "ExtendedResourceUriParameter": {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "MetricNameParameter": {
- "name": "metricName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the metric to retrieve the baseline for.",
- "x-ms-parameter-location": "method"
- },
- "TimespanParameter": {
- "name": "timespan",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
- "x-ms-parameter-location": "method"
- },
- "IntervalParameter": {
- "name": "interval",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "duration",
- "description": "The interval (i.e. timegrain) of the query.",
- "x-ms-parameter-location": "method"
- },
- "AggregationParameter": {
- "name": "aggregation",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The aggregation type of the metric to retrieve the baseline for.",
- "x-ms-parameter-location": "method"
- },
- "SensitivitiesParameter": {
- "name": "sensitivities",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The list of sensitivities (comma separated) to retrieve.",
- "x-ms-parameter-location": "method"
+ "highThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single high threshold value."
+ },
+ "description": "The high thresholds of the baseline."
+ }
},
- "BaselineResultTypeParameter": {
- "name": "resultType",
- "in": "query",
- "type": "string",
- "enum": [
- "Data",
- "Metadata"
- ],
- "x-ms-enum": {
- "name": "ResultType",
- "modelAsString": false
- },
- "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.",
- "x-ms-parameter-location": "method",
- "required": false
+ "required": [
+ "sensitivity",
+ "lowThresholds",
+ "highThresholds"
+ ],
+ "description": "The baseline values for a single sensitivity value."
+ }
+ },
+ "parameters": {
+ "ExtendedResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "MetricNameParameter": {
+ "name": "metricName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the metric to retrieve the baseline for.",
+ "x-ms-parameter-location": "method"
+ },
+ "TimespanParameter": {
+ "name": "timespan",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
+ "x-ms-parameter-location": "method"
+ },
+ "IntervalParameter": {
+ "name": "interval",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "format": "duration",
+ "description": "The interval (i.e. timegrain) of the query.",
+ "x-ms-parameter-location": "method"
+ },
+ "AggregationParameter": {
+ "name": "aggregation",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The aggregation type of the metric to retrieve the baseline for.",
+ "x-ms-parameter-location": "method"
+ },
+ "SensitivitiesParameter": {
+ "name": "sensitivities",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The list of sensitivities (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "BaselineResultTypeParameter": {
+ "name": "resultType",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "Data",
+ "Metadata"
+ ],
+ "x-ms-enum": {
+ "name": "ResultType",
+ "modelAsString": false
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.",
+ "x-ms-parameter-location": "method",
+ "required": false
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
index c2e9065d56f5..e1ce81ced40d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
@@ -1,214 +1,226 @@
{
- "swagger": "2.0",
- "info": {
- "title": "MonitorManagementClient",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2017-11-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "MonitorManagementClient",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2017-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/calculatebaseline": {
- "post": {
- "tags": [
- "Baseline"
- ],
- "operationId": "MetricBaseline_CalculateBaseline",
- "description": "**Lists the baseline values for a resource**.",
- "parameters": [
- {
- "$ref": "#/parameters/ExtendedResourceUriParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "TimeSeriesInformation",
- "description": "Information that need to be specified to calculate a baseline on a time series.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/TimeSeriesInformation"
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/calculatebaseline": {
+ "post": {
+ "tags": [
+ "Baseline"
+ ],
+ "operationId": "MetricBaseline_CalculateBaseline",
+ "description": "**Lists the baseline values for a resource**.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ExtendedResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "TimeSeriesInformation",
+ "description": "Information that need to be specified to calculate a baseline on a time series.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TimeSeriesInformation"
}
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to get the list of metric values.",
- "schema": {
- "$ref": "#/definitions/CalculateBaselineResponse"
- }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
},
- "x-ms-examples": {
- "Calculate baseline": { "$ref": "./examples/CalculateBaseline.json" }
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/CalculateBaselineResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Calculate baseline": {
+ "$ref": "./examples/CalculateBaseline.json"
}
}
}
- },
- "definitions": {
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
}
- },
- "TimeSeriesInformation": {
- "properties": {
- "sensitivities": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "the requested sensitivity for calculating the baseline."
- },
- "description": "the list of sensitivities for calculating the baseline."
+ }
+ },
+ "TimeSeriesInformation": {
+ "properties": {
+ "sensitivities": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "the requested sensitivity for calculating the baseline."
},
- "values": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single metric value."
- },
- "description": "The metric values to calculate the baseline."
+ "description": "the list of sensitivities for calculating the baseline."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single metric value."
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "the timestamp for the baseline value in ISO 8601 format."
- },
- "description": "the array of timestamps of the baselines."
- }
+ "description": "The metric values to calculate the baseline."
},
- "required": [ "sensitivities", "values" ],
- "description": "The time series info needed for calculating the baseline."
- },
- "CalculateBaselineResponse": {
- "type": "object",
- "properties": {
- "type": {
+ "timestamps": {
+ "type": "array",
+ "items": {
"type": "string",
- "description": "the resource type of the baseline resource."
+ "format": "date-time",
+ "description": "the timestamp for the baseline value in ISO 8601 format."
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "the timestamp for the baseline value in ISO 8601 format."
- },
- "description": "the array of timestamps of the baselines."
+ "description": "the array of timestamps of the baselines."
+ }
+ },
+ "required": [
+ "sensitivities",
+ "values"
+ ],
+ "description": "The time series info needed for calculating the baseline."
+ },
+ "CalculateBaselineResponse": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "the resource type of the baseline resource."
+ },
+ "timestamps": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "date-time",
+ "description": "the timestamp for the baseline value in ISO 8601 format."
},
- "baseline": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Baseline"
- },
- "description": "the baseline values for each sensitivity."
- }
+ "description": "the array of timestamps of the baselines."
},
- "required": [ "type", "baseline" ],
- "description": "The response to a calculate baseline call."
+ "baseline": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Baseline"
+ },
+ "description": "the baseline values for each sensitivity."
+ }
},
- "Baseline": {
- "type": "object",
- "properties": {
- "sensitivity": {
- "type": "string",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "Sensitivity",
- "modelAsString": false
- },
- "description": "the sensitivity of the baseline."
+ "required": [
+ "type",
+ "baseline"
+ ],
+ "description": "The response to a calculate baseline call."
+ },
+ "Baseline": {
+ "type": "object",
+ "properties": {
+ "sensitivity": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "Sensitivity",
+ "modelAsString": false
},
- "lowThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single low threshold value."
- },
- "description": "The low thresholds of the baseline."
+ "description": "the sensitivity of the baseline."
+ },
+ "lowThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single low threshold value."
},
- "highThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single high threshold value."
- },
- "description": "The high thresholds of the baseline."
- }
+ "description": "The low thresholds of the baseline."
},
- "required": [ "sensitivity", "lowThresholds", "highThresholds" ],
- "description": "The baseline values for a single sensitivity value."
- }
- },
- "parameters": {
- "ExtendedResourceUriParameter": {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
+ "highThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single high threshold value."
+ },
+ "description": "The high thresholds of the baseline."
+ }
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "required": [
+ "sensitivity",
+ "lowThresholds",
+ "highThresholds"
+ ],
+ "description": "The baseline values for a single sensitivity value."
+ }
+ },
+ "parameters": {
+ "ExtendedResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json
index 3b1a708a6c91..706ed919758c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json
@@ -1,41 +1,47 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
- "api-version": "2017-11-01-preview",
- "TimeSeriesInformation": {
- "sensitivities": ["Low", "Medium"],
- "values": [61.0, 62.0]
- }
- },
- "responses": {
- "200": {
- "body": {
- "type": "Microsoft.Insights/calculatebaseline",
- "baseline": [
- {
- "sensitivity": "Low",
- "lowThresholds": [
- 30.0,
- 31.1
- ],
- "highThresholds": [
- 90.3453,
- 91.3453
- ]
- },
- {
- "sensitivity": "Medium",
- "lowThresholds": [
- 50.0,
- 51.1
- ],
- "highThresholds": [
- 70.3453,
- 71.3453
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "api-version": "2017-11-01-preview",
+ "TimeSeriesInformation": {
+ "sensitivities": [
+ "Low",
+ "Medium"
+ ],
+ "values": [
+ 61.0,
+ 62.0
+ ]
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "type": "Microsoft.Insights/calculatebaseline",
+ "baseline": [
+ {
+ "sensitivity": "Low",
+ "lowThresholds": [
+ 30.0,
+ 31.1
+ ],
+ "highThresholds": [
+ 90.3453,
+ 91.3453
+ ]
+ },
+ {
+ "sensitivity": "Medium",
+ "lowThresholds": [
+ 50.0,
+ 51.1
+ ],
+ "highThresholds": [
+ 70.3453,
+ 71.3453
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json
index e7b39ef4b363..2c84cad30ea4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json
@@ -1,55 +1,55 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metricName": "PercentageCpu",
- "aggregation": "Average",
- "interval": "PT1H",
- "sensitivities": "Low,Medium",
- "api-version": "2017-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
- "type": "Microsoft.Insights/baseline",
- "name": {
- "value": "PercentageCpu"
- },
- "properties": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "aggregation": "Average",
- "interval": "PT1H",
- "timestamps": [
- "2017-04-14T02:20:00Z",
- "2017-04-14T03:20:00Z"
- ],
- "baseline": [
- {
- "sensitivity": "Low",
- "lowThresholds": [
- 30.0,
- 31.1
- ],
- "highThresholds": [
- 90.3453,
- 91.3453
- ]
- },
- {
- "sensitivity": "Medium",
- "lowThresholds": [
- 50.0,
- 51.1
- ],
- "highThresholds": [
- 70.3453,
- 71.3453
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metricName": "PercentageCpu",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "sensitivities": "Low,Medium",
+ "api-version": "2017-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
+ "type": "Microsoft.Insights/baseline",
+ "name": {
+ "value": "PercentageCpu"
+ },
+ "properties": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "timestamps": [
+ "2017-04-14T02:20:00Z",
+ "2017-04-14T03:20:00Z"
+ ],
+ "baseline": [
+ {
+ "sensitivity": "Low",
+ "lowThresholds": [
+ 30.0,
+ 31.1
+ ],
+ "highThresholds": [
+ 90.3453,
+ 91.3453
+ ]
+ },
+ {
+ "sensitivity": "Medium",
+ "lowThresholds": [
+ 50.0,
+ 51.1
+ ],
+ "highThresholds": [
+ 70.3453,
+ 71.3453
+ ]
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json
index e3384a56ce4a..0f6ea5ff333d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json
@@ -1,37 +1,37 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metricName": "PercentageCpu",
- "aggregation": "Average",
- "interval": "PT1H",
- "resulttype": "metadata",
- "api-version": "2017-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
- "type": "Microsoft.Insights/baseline",
- "name": {
- "value": "PercentageCpu"
- },
- "properties": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "aggregation": "Average",
- "interval": "PT1H",
- "metadata": [
- {
- "name": "CurrentTrainingState",
- "value": "Trained"
- },
- {
- "name": "SelectedModel",
- "value": "AdjustedBoxplot"
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metricName": "PercentageCpu",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "resulttype": "metadata",
+ "api-version": "2017-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
+ "type": "Microsoft.Insights/baseline",
+ "name": {
+ "value": "PercentageCpu"
+ },
+ "properties": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "metadata": [
+ {
+ "name": "CurrentTrainingState",
+ "value": "Trained"
+ },
+ {
+ "name": "SelectedModel",
+ "value": "AdjustedBoxplot"
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json
index 46a037b1705e..1eff5dfacb69 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json
@@ -1,23 +1,23 @@
{
- "parameters": {
- "resourceUri": "subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb",
- "startTime": "2018-08-31T15:53:00Z",
- "api-version": "2017-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb/providers/microsoft.insights/metricNamespaces/Microsoft.DocumentDB-databaseAccounts",
- "name": "Microsoft.DocumentDB-databaseAccounts",
- "type": "Microsoft.Insights/metricNamespaces",
- "properties": {
- "metricNamespaceName": "Microsoft.DocumentDB/databaseAccounts"
- }
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb",
+ "startTime": "2018-08-31T15:53:00Z",
+ "api-version": "2017-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb/providers/microsoft.insights/metricNamespaces/Microsoft.DocumentDB-databaseAccounts",
+ "name": "Microsoft.DocumentDB-databaseAccounts",
+ "type": "Microsoft.Insights/metricNamespaces",
+ "properties": {
+ "metricNamespaceName": "Microsoft.DocumentDB/databaseAccounts"
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
index ba9d6a3e6c2c..85e1e0f5a63f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
@@ -72,7 +72,9 @@
"nextLinkName": null
},
"x-ms-examples": {
- "Get Metric Namespaces without filter": { "$ref": "./examples/GetMetricNamespaces.json" }
+ "Get Metric Namespaces without filter": {
+ "$ref": "./examples/GetMetricNamespaces.json"
+ }
}
}
}
@@ -102,7 +104,7 @@
"type": "string",
"description": "The name of the namespace."
},
- "properties": {
+ "properties": {
"$ref": "#/definitions/MetricNamespaceName",
"description": "Properties which include the fully qualified namespace name."
}
@@ -119,7 +121,9 @@
"description": "The values for the metric namespaces."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Represents collection of metric namespaces."
},
"ErrorResponse": {
@@ -154,7 +158,7 @@
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
- "StartTimeParameter": {
+ "StartTimeParameter": {
"name": "startTime",
"in": "query",
"required": false,
@@ -163,4 +167,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json
index e57cc6ec6235..19e93cdd1e9d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json
@@ -1,153 +1,150 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ResourceGroup",
- "diagnosticSettingsName": "SampleDiagSetting",
- "api-version": "2018-06-01-preview",
- "diagnosticSettings": {
- "location": "Global",
- "tags": {},
- "properties": {
- "osType": "Windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "ETWProviders",
- "configuration": {
- "providers": [
- {
- "name": "AuditLog",
- "id": 1,
- "filter": "filter exp"
- },
- {
- "name": "TraceLog",
- "id": 2
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "WindowsEventLogs",
- "configuration": {
- "eventLogs": [
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
-
- },
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
- }
-
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
-
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ResourceGroup",
+ "diagnosticSettingsName": "SampleDiagSetting",
+ "api-version": "2018-06-01-preview",
+ "diagnosticSettings": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "osType": "Windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "ETWProviders",
+ "configuration": {
+ "providers": [
+ {
+ "name": "AuditLog",
+ "id": 1,
+ "filter": "filter exp"
+ },
+ {
+ "name": "TraceLog",
+ "id": 2
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "WindowsEventLogs",
+ "configuration": {
+ "eventLogs": [
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
+ },
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting",
+ "name": "productionMachineSetting",
+ "type": "Microsoft.Insights/guestDiagnosticSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "osType": "Windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
}
+ ]
}
+ }
},
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting",
- "name": "productionMachineSetting",
- "type": "Microsoft.Insights/guestDiagnosticSettings",
- "location": "West US",
- "tags": {},
- "properties": {
- "osType": "Windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
- ]
- }
- }
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting",
- "name": "SampleDiagSetting",
- "type": "Microsoft.Insights/guestDiagnosticSettings",
- "location": "West US",
- "tags": {},
- "properties": {
- "osType": "Windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
- ]
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting",
+ "name": "SampleDiagSetting",
+ "type": "Microsoft.Insights/guestDiagnosticSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "osType": "Windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
}
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json
index c35cff6c5de2..633e67f69828 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json
@@ -1,42 +1,42 @@
{
- "parameters": {
- "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
- "associationName": "healthSystemMachineConfigAssociation",
- "api-version": "2018-06-01-preview",
- "diagnosticSettingsAssociation": {
- "location": "Global",
- "tags": {},
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
+ "parameters": {
+ "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
+ "associationName": "healthSystemMachineConfigAssociation",
+ "api-version": "2018-06-01-preview",
+ "diagnosticSettingsAssociation": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
+ "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
+ "name": "healthSystemMachineConfigAssociation",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
}
+ }
},
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
- "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
- "name": "healthSystemMachineConfigAssociation",
- "location": "Global",
- "tags": {},
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
- }
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
- "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
- "name": "healthSystemMachineConfigAssociation",
- "location": "Global",
- "tags": {},
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
- }
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
+ "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
+ "name": "healthSystemMachineConfigAssociation",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json
index 2de5c4bb50ef..4b1941830408 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
- "associationName": "healthSystemMachineConfigAssociation",
- "api-version": "2018-06-01-preview"
+ "parameters": {
+ "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
+ "associationName": "healthSystemMachineConfigAssociation",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json
index 09a003c11131..b9a8f6faa1dd 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json
@@ -1,168 +1,162 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ResourceGroup",
- "diagnosticSettingsName": "productionMachineSetting",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting",
- "name": "productionMachineSetting",
- "type": "Microsoft.Insights/guestDiagnosticSettings",
- "location": "West US",
- "tags": {},
- "properties": {
- "osType": "windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "ETWProviders",
- "configuration": {
- "providers": [
- {
- "name": "AuditLog",
- "id": 1,
- "filter": "filter exp"
- },
- {
- "name": "TraceLog",
- "id": 2
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "WindowsEventLogs",
- "configuration": {
- "eventLogs": [
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
-
- },
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
- }
-
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
-
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ResourceGroup",
+ "diagnosticSettingsName": "productionMachineSetting",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting",
+ "name": "productionMachineSetting",
+ "type": "Microsoft.Insights/guestDiagnosticSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "osType": "windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "ETWProviders",
+ "configuration": {
+ "providers": [
+ {
+ "name": "AuditLog",
+ "id": 1,
+ "filter": "filter exp"
+ },
+ {
+ "name": "TraceLog",
+ "id": 2
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
}
+ ]
+ },
+ {
+ "kind": "WindowsEventLogs",
+ "configuration": {
+ "eventLogs": [
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
+ },
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
}
- },
- "202": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting",
- "name": "productionMachineSetting",
- "type": "Microsoft.Insights/guestDiagnosticSettings",
- "location": "West US",
- "tags": {},
- "properties": {
- "osType": "windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "ETWProviders",
- "configuration": {
- "providers": [
- {
- "name": "AuditLog",
- "id": 1,
- "filter": "filter exp"
- },
- {
- "name": "TraceLog",
- "id": 2
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "WindowsEventLogs",
- "configuration": {
- "eventLogs": [
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
-
- },
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
- }
-
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
-
- ]
+ ]
+ }
+ }
+ },
+ "202": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting",
+ "name": "productionMachineSetting",
+ "type": "Microsoft.Insights/guestDiagnosticSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "osType": "windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "ETWProviders",
+ "configuration": {
+ "providers": [
+ {
+ "name": "AuditLog",
+ "id": 1,
+ "filter": "filter exp"
+ },
+ {
+ "name": "TraceLog",
+ "id": 2
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "WindowsEventLogs",
+ "configuration": {
+ "eventLogs": [
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
+ },
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
}
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json
index 5ee3afd4ef02..5cd3f4ba672c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
- "associationName": "healthSystemMachineConfigAssociation",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
- "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
- "name": "healthSystemMachineConfigAssociation",
- "location": "Global",
- "tags": {},
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagnosticSettingsName"
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
+ "associationName": "healthSystemMachineConfigAssociation",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
+ "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
+ "name": "healthSystemMachineConfigAssociation",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagnosticSettingsName"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json
index e33341549273..2cfc3cf55463 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json
@@ -1,28 +1,28 @@
{
+ "parameters": {
+ "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
+ "associationName": "healthSystemMachineConfigAssociation",
+ "api-version": "2018-06-01-preview",
"parameters": {
- "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
- "associationName": "healthSystemMachineConfigAssociation",
- "api-version": "2018-06-01-preview",
- "parameters": {
- "tags": null,
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
- "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
- "name": "healthSystemMachineConfigAssociation",
- "location": "Global",
- "tags": null,
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
- }
+ "tags": null,
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
+ "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
+ "name": "healthSystemMachineConfigAssociation",
+ "location": "Global",
+ "tags": null,
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json
index 80487b3dc64d..ddcba6617e2d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json
@@ -1,444 +1,446 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Guest Diagnostic Settings Association API",
- "description": "API to Add/Remove/List Guest Diagnostics Settings Association for Azure Resources",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-06-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "Guest Diagnostic Settings Association API",
+ "description": "API to Add/Remove/List Guest Diagnostics Settings Association for Azure Resources",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2018-06-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}": {
- "put": {
- "description": "Creates or updates guest diagnostics settings association.",
- "tags": [
- "GuestDiagnosticsSettingsAssociation"
- ],
- "operationId": "guestDiagnosticsSettingsAssociation_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an guest diagnostic settings association": {
- "$ref": "./examples/createOrUpdateGuestDiagnosticSettingsAssociation.json"
- }
- },
- "parameters": [
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified ID of the resource, including the resource name and resource type.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "diagnosticSettingsAssociation",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- },
- "description": "The diagnostic settings association to create or update."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing guest diagnostic settings association was successfully updated.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- }
- },
- "201": {
- "description": "A new guest diagnostic settings association was successfully created.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- }
- },
- "default": {
- "description": "An error occurred and the guest diagnostic settings association could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Gets guest diagnostics association settings.",
- "tags": [
- "GuestDiagnosticsSettingsAssociation"
- ],
- "operationId": "guestDiagnosticsSettingsAssociation_Get",
- "x-ms-examples": {
- "Create or update an guest diagnostic settings association": {
- "$ref": "./examples/getGuestDiagnosticSettingsAssociation.json"
- }
- },
- "parameters": [
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified ID of the resource, including the resource name and resource type.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- }
- },
- "default": {
- "description": "An error occurred and the diagnostic settings association could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete guest diagnostics association settings.",
- "tags": [
- "GuestDiagnosticsSettingsAssociation"
- ],
- "x-ms-examples": {
- "Create or update an guest diagnostic settings association": {
- "$ref": "./examples/deleteGuestDiagnosticSettingsAssociation.json"
- }
- },
- "operationId": "GuestDiagnosticsSettingsAssociation_Delete",
- "parameters": [
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified ID of the resource, including the resource name and resource type.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The diagnostic settings association was successfully deleted."
- },
- "204": {
- "description": "The diagnostic settings association does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the diagnostic settings association could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}": {
+ "put": {
+ "description": "Creates or updates guest diagnostics settings association.",
+ "tags": [
+ "GuestDiagnosticsSettingsAssociation"
+ ],
+ "operationId": "GuestDiagnosticsSettingsAssociation_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an guest diagnostic settings association": {
+ "$ref": "./examples/createOrUpdateGuestDiagnosticSettingsAssociation.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The fully qualified ID of the resource, including the resource name and resource type.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "diagnosticSettingsAssociation",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
},
- "patch": {
- "description": "Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method",
- "operationId": "guestDiagnosticsSettingsAssociation_Update",
- "parameters": [
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified ID of the resource, including the resource name and resource type.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResourcePatch"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing guest diagnostics setting resource was successfully updated.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- }
- }
- },
- "x-ms-examples": {
- "Update a service diagnostic setting": { "$ref": "./examples/updateGuestDiagnosticSettingsAssociation.json" }
- }
- }
+ "description": "The diagnostic settings association to create or update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing guest diagnostic settings association was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
+ }
+ },
+ "201": {
+ "description": "A new guest diagnostic settings association was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the guest diagnostic settings association could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "description": "Gets guest diagnostics association settings.",
+ "tags": [
+ "GuestDiagnosticsSettingsAssociation"
+ ],
+ "operationId": "GuestDiagnosticsSettingsAssociation_Get",
+ "x-ms-examples": {
+ "Create or update an guest diagnostic settings association": {
+ "$ref": "./examples/getGuestDiagnosticSettingsAssociation.json"
+ }
},
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": {
- "get": {
- "description": "Get a list of all guest diagnostic settings association in a subscription.",
- "operationId": "guestDiagnosticsSettingsAssociation_List",
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList"
- }
- },
- "default": {
- "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The fully qualified ID of the resource, including the resource name and resource type.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
}
+ },
+ "default": {
+ "description": "An error occurred and the diagnostic settings association could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "description": "Delete guest diagnostics association settings.",
+ "tags": [
+ "GuestDiagnosticsSettingsAssociation"
+ ],
+ "x-ms-examples": {
+ "Create or update an guest diagnostic settings association": {
+ "$ref": "./examples/deleteGuestDiagnosticSettingsAssociation.json"
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": {
- "get": {
- "description": "Get a list of all guest diagnostic settings association in a resource group.",
- "operationId": "guestDiagnosticsSettingsAssociation_ListByResourceGroup",
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList"
- }
- },
- "default": {
- "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "operationId": "GuestDiagnosticsSettingsAssociation_Delete",
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The fully qualified ID of the resource, including the resource name and resource type.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The diagnostic settings association was successfully deleted."
+ },
+ "204": {
+ "description": "The diagnostic settings association does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the diagnostic settings association could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
}
- },
- "definitions": {
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ },
+ "patch": {
+ "description": "Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method",
+ "operationId": "GuestDiagnosticsSettingsAssociation_Update",
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The fully qualified ID of the resource, including the resource name and resource type.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResourcePatch"
+ },
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "An existing guest diagnostics setting resource was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
}
+ }
+ },
+ "x-ms-examples": {
+ "Update a service diagnostic setting": {
+ "$ref": "./examples/updateGuestDiagnosticSettingsAssociation.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": {
+ "get": {
+ "description": "Get a list of all guest diagnostic settings association in a subscription.",
+ "operationId": "GuestDiagnosticsSettingsAssociation_List",
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "GuestDiagnosticSettingsAssociationList": {
- "description": "A list of guest diagnostic settings association.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- },
- "description": "The list of guest diagnostic settings association."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": {
+ "get": {
+ "description": "Get a list of all guest diagnostic settings association in a resource group.",
+ "operationId": "GuestDiagnosticsSettingsAssociation_ListByResourceGroup",
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "GuestDiagnosticSettingsAssociationResourcePatch": {
- "description": "Guest diagnostic setting resource for patch operations",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociation",
- "description": "The service diagnostics settings for an update operation."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
},
- "GuestDiagnosticSettingsAssociation": {
- "description": "A guest diagnostic settings association.",
- "properties": {
- "guestDiagnosticSettingsName": {
- "type": "string",
- "description": "The guest diagnostic settings name."
- }
- },
- "required": [
- "guestDiagnosticSettingsName"
- ]
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "GuestDiagnosticSettingsAssociationList": {
+ "description": "A list of guest diagnostic settings association.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
+ },
+ "description": "The list of guest diagnostic settings association."
},
- "GuestDiagnosticSettingsAssociationResource": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "required": [
- "properties"
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociation",
- "description": "The diagnostics settings associations of the resource."
- }
- },
- "description": "Virtual machine guest diagnostic settings resource."
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "GuestDiagnosticSettingsAssociationResourcePatch": {
+ "description": "Guest diagnostic setting resource for patch operations",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
},
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- }
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociation",
+ "description": "The service diagnostics settings for an update operation."
+ }
+ }
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "GuestDiagnosticSettingsAssociation": {
+ "description": "A guest diagnostic settings association.",
+ "properties": {
+ "guestDiagnosticSettingsName": {
+ "type": "string",
+ "description": "The guest diagnostic settings name."
+ }
+ },
+ "required": [
+ "guestDiagnosticSettingsName"
+ ]
+ },
+ "GuestDiagnosticSettingsAssociationResource": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociation",
+ "description": "The diagnostics settings associations of the resource."
+ }
+ },
+ "description": "Virtual machine guest diagnostic settings resource."
+ },
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "DiagnosticSettingsAssociationNameParameter": {
- "name": "associationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the diagnostic settings association.",
- "x-ms-parameter-location": "method"
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "DiagnosticSettingsAssociationNameParameter": {
+ "name": "associationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the diagnostic settings association.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json
index 092ba0613f6f..c82bcd2e139e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json
@@ -1,580 +1,580 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Guest Diagnostic Settings API",
- "description": "API to Add/Remove/List Guest Diagnostics Configuration to Azure Resources",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-06-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "Guest Diagnostic Settings API",
+ "description": "API to Add/Remove/List Guest Diagnostics Configuration to Azure Resources",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2018-06-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}": {
- "put": {
- "description": "Creates or updates guest diagnostics settings.",
- "tags": [
- "GuestDiagnosticsSettings"
- ],
- "operationId": "guestDiagnosticsSettings_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update a guest diagnostic settings": {
- "$ref": "./examples/createOrUpdateGuestDiagnosticSettings.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "diagnosticSettings",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- },
- "description": "The configuration to create or update."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing guest diagnostic settings was successfully updated.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "201": {
- "description": "A new guest diagnostic settings was successfully created.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "default": {
- "description": "An error occurred and the guest diagnostic settings could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Gets guest diagnostics settings.",
- "tags": [
- "GuestDiagnosticsSettings"
- ],
- "operationId": "guestDiagnosticsSettings_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "default": {
- "description": "An error occurred and the diagnostic settings could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}": {
+ "put": {
+ "description": "Creates or updates guest diagnostics settings.",
+ "tags": [
+ "GuestDiagnosticsSettings"
+ ],
+ "operationId": "guestDiagnosticsSettings_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update a guest diagnostic settings": {
+ "$ref": "./examples/createOrUpdateGuestDiagnosticSettings.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "diagnosticSettings",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
},
- "patch": {
- "description": "Updates guest diagnostics settings.",
- "operationId": "guestDiagnosticsSettings_Update",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsPatchResource"
- },
- "description": "The configuration to patch."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing guest diagnostic settings was successfully updated.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "201": {
- "description": "A new guest diagnostic settings was successfully created.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "default": {
- "description": "An error occurred and the guest diagnostic settings could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete guest diagnostics settings.",
- "tags": [
- "GuestDiagnosticsSettings"
- ],
- "operationId": "guestDiagnosticsSettings_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The diagnostic settings was successfully deleted."
- },
- "204": {
- "description": "The diagnostic settings does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the diagnostic settings could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "description": "The configuration to create or update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing guest diagnostic settings was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettings": {
- "get": {
- "description": "Get a list of all guest diagnostic settings in a subscription.",
- "operationId": "guestDiagnosticsSettings_List",
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsList"
- }
- },
- "default": {
- "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "201": {
+ "description": "A new guest diagnostic settings was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings": {
- "get": {
- "description": "Get a list of all guest diagnostic settings in a resource group.",
- "operationId": "guestDiagnosticsSettings_ListByResourceGroup",
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsList"
- }
- },
- "default": {
- "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "default": {
+ "description": "An error occurred and the guest diagnostic settings could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
}
- },
- "definitions": {
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ },
+ "get": {
+ "description": "Gets guest diagnostics settings.",
+ "tags": [
+ "GuestDiagnosticsSettings"
+ ],
+ "operationId": "guestDiagnosticsSettings_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "GuestDiagnosticSettingsList": {
- "description": "A list of guest diagnostic settings.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- },
- "description": "The list of guest diagnostic settings."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ },
+ "default": {
+ "description": "An error occurred and the diagnostic settings could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "GuestDiagnosticSettingsResource": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "required": [
- "properties"
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GuestDiagnosticSettings",
- "description": "The diagnostic settings to be applied to azure resources."
- }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates guest diagnostics settings.",
+ "operationId": "guestDiagnosticsSettings_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsPatchResource"
},
- "description": "Virtual machine guest diagnostics settings resource."
- },
- "GuestDiagnosticSettings": {
- "description": "Virtual machine diagnostic settings",
- "properties": {
- "osType": {
- "type": "string",
- "enum": [
- "Windows",
- "Linux"
- ],
- "description" : "Operating system type for the configuration"
- },
- "dataSources": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DataSource"
- },
- "description": "the array of data source object which are configured to collect and send data"
- },
- "proxySetting": {
- "type": "string"
- }
+ "description": "The configuration to patch."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing guest diagnostic settings was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "GuestDiagnosticSettingsPatchResource": {
- "description": "An diagnostic settings object for the body of patch operations.",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GuestDiagnosticSettings",
- "description": "The diagnostic settings for an update operation."
- }
+ },
+ "201": {
+ "description": "A new guest diagnostic settings was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "DataSource": {
- "type": "object",
- "required": [
- "kind",
- "configuration",
- "sinks"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "PerformanceCounter",
- "ETWProviders",
- "WindowsEventLogs"
- ],
- "description": "Datasource kind"
- },
- "configuration": {
- "type": "object",
- "$ref": "#/definitions/DataSourceConfiguration"
- },
- "sinks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SinkConfiguration"
- }
- }
- },
- "description": "Data source object contains configuration to collect telemetry and one or more sinks to send that telemetry data to"
- },
- "SinkConfiguration": {
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "EventHub",
- "ApplicationInsights",
- "LogAnalytics"
- ]
- }
+ },
+ "default": {
+ "description": "An error occurred and the guest diagnostic settings could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "DataSourceConfiguration": {
- "type": "object",
- "properties": {
- "providers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EtwProviderConfiguration"
- },
- "description": "ETW providers configuration"
- },
- "perfCounters": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PerformanceCounterConfiguration"
- },
- "description": "Performance counter configuration"
- },
- "eventLogs": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EventLogConfiguration"
- },
- "description": "Windows event logs configuration."
- }
+ }
+ }
+ },
+ "delete": {
+ "description": "Delete guest diagnostics settings.",
+ "tags": [
+ "GuestDiagnosticsSettings"
+ ],
+ "operationId": "guestDiagnosticsSettings_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The diagnostic settings was successfully deleted."
+ },
+ "204": {
+ "description": "The diagnostic settings does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the diagnostic settings could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettings": {
+ "get": {
+ "description": "Get a list of all guest diagnostic settings in a subscription.",
+ "operationId": "guestDiagnosticsSettings_List",
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "EtwEventConfiguration": {
- "type": "object",
- "required": [
- "name",
- "id"
- ],
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "filter": {
- "type": "string"
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsList"
}
- },
- "EtwProviderConfiguration": {
- "type": "object",
- "required": [
- "id",
- "events"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "events": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EtwEventConfiguration"
- }
- }
+ },
+ "default": {
+ "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings": {
+ "get": {
+ "description": "Get a list of all guest diagnostic settings in a resource group.",
+ "operationId": "guestDiagnosticsSettings_ListByResourceGroup",
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "PerformanceCounterConfiguration": {
- "type": "object",
- "required": [
- "name",
- "samplingPeriod"
- ],
- "properties": {
- "name": {
- "type": "string"
- },
- "samplingPeriod": {
- "type": "string"
- },
- "instance": {
- "type": "string"
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsList"
}
- },
- "EventLogConfiguration": {
- "type": "object",
- "required": [
- "logName"
- ],
- "properties": {
- "logName": {
- "type": "string"
- },
- "filter": {
- "type": "string"
- }
+ },
+ "default": {
+ "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
},
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- }
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "GuestDiagnosticSettingsList": {
+ "description": "A list of guest diagnostic settings.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
+ },
+ "description": "The list of guest diagnostic settings."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "GuestDiagnosticSettingsResource": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GuestDiagnosticSettings",
+ "description": "The diagnostic settings to be applied to azure resources."
+ }
+ },
+ "description": "Virtual machine guest diagnostics settings resource."
+ },
+ "GuestDiagnosticSettings": {
+ "description": "Virtual machine diagnostic settings",
+ "properties": {
+ "osType": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "description": "Operating system type for the configuration"
},
- "DiagnosticSettingNameParameter": {
- "name": "diagnosticSettingsName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the diagnostic setting.",
- "x-ms-parameter-location": "method"
+ "dataSources": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataSource"
+ },
+ "description": "the array of data source object which are configured to collect and send data"
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "proxySetting": {
+ "type": "string"
+ }
+ }
+ },
+ "GuestDiagnosticSettingsPatchResource": {
+ "description": "An diagnostic settings object for the body of patch operations.",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GuestDiagnosticSettings",
+ "description": "The diagnostic settings for an update operation."
+ }
+ }
+ },
+ "DataSource": {
+ "type": "object",
+ "required": [
+ "kind",
+ "configuration",
+ "sinks"
+ ],
+ "properties": {
+ "kind": {
+ "type": "string",
+ "enum": [
+ "PerformanceCounter",
+ "ETWProviders",
+ "WindowsEventLogs"
+ ],
+ "description": "Datasource kind"
+ },
+ "configuration": {
+ "type": "object",
+ "$ref": "#/definitions/DataSourceConfiguration"
+ },
+ "sinks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SinkConfiguration"
+ }
+ }
+ },
+ "description": "Data source object contains configuration to collect telemetry and one or more sinks to send that telemetry data to"
+ },
+ "SinkConfiguration": {
+ "type": "object",
+ "required": [
+ "kind"
+ ],
+ "properties": {
+ "kind": {
+ "type": "string",
+ "enum": [
+ "EventHub",
+ "ApplicationInsights",
+ "LogAnalytics"
+ ]
+ }
+ }
+ },
+ "DataSourceConfiguration": {
+ "type": "object",
+ "properties": {
+ "providers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EtwProviderConfiguration"
+ },
+ "description": "ETW providers configuration"
+ },
+ "perfCounters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PerformanceCounterConfiguration"
+ },
+ "description": "Performance counter configuration"
+ },
+ "eventLogs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EventLogConfiguration"
+ },
+ "description": "Windows event logs configuration."
+ }
+ }
+ },
+ "EtwEventConfiguration": {
+ "type": "object",
+ "required": [
+ "name",
+ "id"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "filter": {
+ "type": "string"
+ }
+ }
+ },
+ "EtwProviderConfiguration": {
+ "type": "object",
+ "required": [
+ "id",
+ "events"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "events": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EtwEventConfiguration"
+ }
+ }
+ }
+ },
+ "PerformanceCounterConfiguration": {
+ "type": "object",
+ "required": [
+ "name",
+ "samplingPeriod"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "samplingPeriod": {
+ "type": "string"
+ },
+ "instance": {
+ "type": "string"
+ }
+ }
+ },
+ "EventLogConfiguration": {
+ "type": "object",
+ "required": [
+ "logName"
+ ],
+ "properties": {
+ "logName": {
+ "type": "string"
+ },
+ "filter": {
+ "type": "string"
+ }
+ }
+ },
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "DiagnosticSettingNameParameter": {
+ "name": "diagnosticSettingsName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the diagnostic setting.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json
index 3500766bd62a..2e60687e3054 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms",
+ "onboardingStatus": "onboarded",
+ "dataStatus": "present",
+ "data": [
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
+ "location": "eastus",
"properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms",
- "onboardingStatus": "onboarded",
- "dataStatus": "present",
- "data": [
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
- "location": "eastus",
- "properties": {
- "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
- }
- }
- }
- ]
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
+ "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
+ }
+ }
}
- }
+ ]
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json
index 8fb2b0190191..59476d080e17 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
+ "onboardingStatus": "onboarded",
+ "dataStatus": "present",
+ "data": [
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
+ "location": "eastus",
"properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
- "onboardingStatus": "onboarded",
- "dataStatus": "present",
- "data": [
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
- "location": "eastus",
- "properties": {
- "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
- }
- }
- }
- ]
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
+ "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
+ }
+ }
}
- }
+ ]
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json
index 41d1f25fdf8d..203db7a7a12f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
- "onboardingStatus": "unknown",
- "dataStatus": "notPresent",
- "data": []
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
+ "onboardingStatus": "unknown",
+ "dataStatus": "notPresent",
+ "data": []
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json
index 57eb902d9b23..a18c08b8587d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json
@@ -1,38 +1,38 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87",
- "onboardingStatus": "onboarded",
- "dataStatus": "present",
- "data": [
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary",
- "location": "eastus",
- "properties": {
- "customerId": "f096d163-206e-4abf-9db3-2c62af003d68"
- }
- }
- },
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
- "location": "eastus",
- "properties": {
- "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
- }
- }
- }
- ]
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
- }
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87",
+ "onboardingStatus": "onboarded",
+ "dataStatus": "present",
+ "data": [
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary",
+ "location": "eastus",
+ "properties": {
+ "customerId": "f096d163-206e-4abf-9db3-2c62af003d68"
+ }
+ }
+ },
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
+ "location": "eastus",
+ "properties": {
+ "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
+ }
+ }
+ }
+ ]
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json
index be3a9a8d3a61..1b0a85ec5ad2 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01",
+ "onboardingStatus": "onboarded",
+ "dataStatus": "present",
+ "data": [
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
+ "location": "eastus",
"properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01",
- "onboardingStatus": "onboarded",
- "dataStatus": "present",
- "data": [
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
- "location": "eastus",
- "properties": {
- "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
- }
- }
- }
- ]
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
+ "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
+ }
+ }
}
- }
+ ]
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
index b6385a6437bd..a955bfa3fbdd 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
@@ -1,260 +1,260 @@
{
- "swagger": "2.0",
- "info": {
- "title": "VM Insights Onboarding API",
- "description": "API to manage VM Insights Onboarding",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-11-27-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "VM Insights Onboarding API",
+ "description": "API to manage VM Insights Onboarding",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2018-11-27-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default": {
- "get": {
- "tags": [
- "VM Insights Onboarding"
- ],
- "operationId": "VMInsights_GetOnboardingStatus",
- "description": "Retrieves the VM Insights onboarding status for the specified resource or resource scope.",
- "x-ms-examples": {
- "Get status for a VM that has not yet reported data": {
- "$ref": "./examples/getOnboardingStatusSingleVMUnknown.json"
- },
- "Get status for a VM that is actively reporting data": {
- "$ref": "./examples/getOnboardingStatusSingleVM.json"
- },
- "Get status for a VM scale set that is actively reporting data": {
- "$ref": "./examples/getOnboardingStatusVMScaleSet.json"
- },
- "Get status for a resource group that has at least one VM that is actively reporting data": {
- "$ref": "./examples/getOnboardingStatusResourceGroup.json"
- },
- "Get status for a subscription that has at least one VM that is actively reporting data": {
- "$ref": "./examples/getOnboardingStatusSubscription.json"
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default": {
+ "get": {
+ "tags": [
+ "VM Insights Onboarding"
+ ],
+ "operationId": "VMInsights_GetOnboardingStatus",
+ "description": "Retrieves the VM Insights onboarding status for the specified resource or resource scope.",
+ "x-ms-examples": {
+ "Get status for a VM that has not yet reported data": {
+ "$ref": "./examples/getOnboardingStatusSingleVMUnknown.json"
},
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.",
- "x-ms-skip-url-encoding": true
- }
- ],
- "responses": {
- "200": {
- "description": "The operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/VMInsightsOnboardingStatus"
- }
- },
- "default": {
- "description": "An error occurred while processing the request. See the error.code parameter to identify the specific error.",
- "schema": {
- "$ref": "#/definitions/ResponseWithError"
- }
- }
+ "Get status for a VM that is actively reporting data": {
+ "$ref": "./examples/getOnboardingStatusSingleVM.json"
+ },
+ "Get status for a VM scale set that is actively reporting data": {
+ "$ref": "./examples/getOnboardingStatusVMScaleSet.json"
+ },
+ "Get status for a resource group that has at least one VM that is actively reporting data": {
+ "$ref": "./examples/getOnboardingStatusResourceGroup.json"
+ },
+ "Get status for a subscription that has at least one VM that is actively reporting data": {
+ "$ref": "./examples/getOnboardingStatusSubscription.json"
}
- }
- }
- },
- "definitions": {
- "ProxyResource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
},
- "name": {
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
"type": "string",
- "readOnly": true,
- "description": "Azure resource name"
+ "description": "The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.",
+ "x-ms-skip-url-encoding": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/VMInsightsOnboardingStatus"
+ }
},
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
+ "default": {
+ "description": "An error occurred while processing the request. See the error.code parameter to identify the specific error.",
+ "schema": {
+ "$ref": "#/definitions/ResponseWithError"
+ }
}
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ProxyResource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- },
- "ResponseWithError": {
- "type": "object",
- "description": "An error response from the API.",
- "properties": {
- "error": {
- "$ref": "#/definitions/Error",
- "description": "Error information."
- }
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "required": [
- "error"
- ]
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ }
},
- "Error": {
- "type": "object",
- "description": "Error details.",
- "properties": {
- "code": {
- "type": "string",
- "description": "Error code identifying the specific error."
- },
- "message": {
- "type": "string",
- "description": "Error message in the caller's locale."
- }
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ },
+ "ResponseWithError": {
+ "type": "object",
+ "description": "An error response from the API.",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/Error",
+ "description": "Error information."
+ }
+ },
+ "required": [
+ "error"
+ ]
+ },
+ "Error": {
+ "type": "object",
+ "description": "Error details.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code identifying the specific error."
},
- "required": [
- "code"
- ]
+ "message": {
+ "type": "string",
+ "description": "Error message in the caller's locale."
+ }
},
- "WorkspaceInfo": {
- "type": "object",
- "description": "Information about a Log Analytics Workspace.",
+ "required": [
+ "code"
+ ]
+ },
+ "WorkspaceInfo": {
+ "type": "object",
+ "description": "Information about a Log Analytics Workspace.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Azure Resource Manager identifier of the Log Analytics Workspace."
+ },
+ "location": {
+ "type": "string",
+ "description": "Location of the Log Analytics workspace."
+ },
"properties": {
- "id": {
- "type": "string",
- "description": "Azure Resource Manager identifier of the Log Analytics Workspace."
- },
- "location": {
- "type": "string",
- "description": "Location of the Log Analytics workspace."
- },
+ "x-ms-client-flatten": true,
+ "type": "object",
+ "description": "Resource properties.",
"properties": {
- "x-ms-client-flatten": true,
- "type": "object",
- "description": "Resource properties.",
- "properties": {
- "customerId": {
- "type": "string",
- "description": "Log Analytics workspace identifier."
- }
- },
- "required": [
- "customerId"
- ]
- }
- },
- "required": [
- "id",
- "location",
- "properties"
- ]
+ "customerId": {
+ "type": "string",
+ "description": "Log Analytics workspace identifier."
+ }
+ },
+ "required": [
+ "customerId"
+ ]
+ }
},
- "DataContainer": {
- "type": "object",
- "description": "Information about a container with data for a given resource.",
- "properties": {
- "workspace": {
- "$ref": "#/definitions/WorkspaceInfo",
- "description": "Log Analytics workspace information."
- }
- },
- "required": [
- "workspace"
- ]
+ "required": [
+ "id",
+ "location",
+ "properties"
+ ]
+ },
+ "DataContainer": {
+ "type": "object",
+ "description": "Information about a container with data for a given resource.",
+ "properties": {
+ "workspace": {
+ "$ref": "#/definitions/WorkspaceInfo",
+ "description": "Log Analytics workspace information."
+ }
},
- "VMInsightsOnboardingStatus": {
- "description": "VM Insights onboarding status for a resource.",
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
+ "required": [
+ "workspace"
+ ]
+ },
+ "VMInsightsOnboardingStatus": {
+ "description": "VM Insights onboarding status for a resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
"properties": {
+ "x-ms-client-flatten": true,
+ "type": "object",
+ "description": "Resource properties.",
"properties": {
- "x-ms-client-flatten": true,
- "type": "object",
- "description": "Resource properties.",
- "properties": {
- "resourceId": {
- "type": "string",
- "description": "Azure Resource Manager identifier of the resource whose onboarding status is being represented."
- },
- "onboardingStatus": {
- "type": "string",
- "enum": [
- "onboarded",
- "notOnboarded",
- "unknown"
- ],
- "x-ms-enum": {
- "name": "OnboardingStatus",
- "modelAsString": true
- },
- "description": "The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded."
+ "resourceId": {
+ "type": "string",
+ "description": "Azure Resource Manager identifier of the resource whose onboarding status is being represented."
+ },
+ "onboardingStatus": {
+ "type": "string",
+ "enum": [
+ "onboarded",
+ "notOnboarded",
+ "unknown"
+ ],
+ "x-ms-enum": {
+ "name": "OnboardingStatus",
+ "modelAsString": true
},
- "dataStatus": {
- "type": "string",
- "enum": [
- "present",
- "notPresent"
- ],
- "x-ms-enum": {
- "name": "DataStatus",
- "modelAsString": true
- },
- "description": "The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed."
+ "description": "The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded."
+ },
+ "dataStatus": {
+ "type": "string",
+ "enum": [
+ "present",
+ "notPresent"
+ ],
+ "x-ms-enum": {
+ "name": "DataStatus",
+ "modelAsString": true
},
- "data": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DataContainer"
- },
- "description": "Containers that currently store VM Insights data for the specified resource."
- }
+ "description": "The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed."
},
- "required": [
- "resourceId",
- "onboardingStatus",
- "dataStatus"
- ]
- }
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataContainer"
+ },
+ "description": "Containers that currently store VM Insights data for the specified resource."
+ }
+ },
+ "required": [
+ "resourceId",
+ "onboardingStatus",
+ "dataStatus"
+ ]
}
}
- },
- "parameters": {
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version."
- }
}
- }
\ No newline at end of file
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "API version."
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
index cccfc164c41b..ebc01be48664 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
@@ -51,8 +51,8 @@
"name": "$filter",
"in": "query",
"type": "string",
- "required": false,
- "description": "Reduces the set of data collected.
The **$filter** argument is very restricted and allows only the following patterns.
- *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'.
- *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.
- *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.
- *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.
- *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.
**NOTE**: No other syntax is allowed."
+ "required": true,
+ "description": "Reduces the set of data collected.
This argument is required and it also requires at least the start date/time.
The **$filter** argument is very restricted and allows only the following patterns.
- *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'.
- *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.
- *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'.
- *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'.
- *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.
**NOTE**: No other syntax is allowed."
},
{
"$ref": "#/parameters/SelectParameter"
@@ -80,17 +80,21 @@
},
"x-ms-odata": "#/definitions/EventData",
"x-ms-examples": {
- "Get Activity Logs without filter or select": { "$ref": "./examples/GetActivityLogsNoParams.json" },
- "Get Activity Logs with filter": { "$ref": "./examples/GetActivityLogsFiltered.json" },
- "Get Activity Logs with select": { "$ref": "./examples/GetActivityLogsSelected.json" },
- "Get Activity Logs with filter and select": { "$ref": "./examples/GetActivityLogsFilteredAndSelected.json" }
+ "Get Activity Logs with filter": {
+ "$ref": "./examples/GetActivityLogsFiltered.json"
+ },
+ "Get Activity Logs with filter and select": {
+ "$ref": "./examples/GetActivityLogsFilteredAndSelected.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -311,7 +315,9 @@
"description": "Provides the link to retrieve the next set of events."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"description": "Represents collection of events."
},
"ErrorResponse": {
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json
index bfc43dd3c7f4..857de7aa263c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/autoscale_API.json
@@ -72,7 +72,9 @@
"nextLinkName": "nextLink"
},
"x-ms-examples": {
- "List autoscale settings": { "$ref": "./examples/listAutoscaleSetting.json" }
+ "List autoscale settings": {
+ "$ref": "./examples/listAutoscaleSetting.json"
+ }
}
}
},
@@ -127,7 +129,9 @@
}
},
"x-ms-examples": {
- "Create or update an autoscale setting": { "$ref": "./examples/createOrUpdateAutoscaleSetting.json" }
+ "Create or update an autoscale setting": {
+ "$ref": "./examples/createOrUpdateAutoscaleSetting.json"
+ }
}
},
"delete": {
@@ -165,7 +169,9 @@
}
},
"x-ms-examples": {
- "Delete an autoscale setting": { "$ref": "./examples/deleteAutoscaleSetting.json" }
+ "Delete an autoscale setting": {
+ "$ref": "./examples/deleteAutoscaleSetting.json"
+ }
}
},
"get": {
@@ -203,52 +209,56 @@
}
},
"x-ms-examples": {
- "Get an autoscale setting": { "$ref": "./examples/getAutoscaleSetting.json" }
+ "Get an autoscale setting": {
+ "$ref": "./examples/getAutoscaleSetting.json"
+ }
}
},
"patch": {
- "description": "Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.",
- "operationId": "AutoscaleSettings_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/AutoscaleSettingNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "autoscaleSettingResource",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AutoscaleSettingResourcePatch"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing autoscale setting resource was successfully updated.",
- "schema": {
- "$ref": "#/definitions/AutoscaleSettingResource"
- }
- }
- },
- "x-ms-examples": {
- "Patch an autoscale setting": { "$ref": "./examples/patchAutoscaleSetting.json" }
+ "description": "Updates an existing AutoscaleSettingsResource. To update other fields use the CreateOrUpdate method.",
+ "operationId": "AutoscaleSettings_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/AutoscaleSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "autoscaleSettingResource",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AutoscaleSettingResourcePatch"
+ },
+ "description": "Parameters supplied to the operation."
}
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "An existing autoscale setting resource was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/AutoscaleSettingResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Patch an autoscale setting": {
+ "$ref": "./examples/patchAutoscaleSetting.json"
+ }
+ }
}
},
"/subscriptions/{subscriptionId}/providers/microsoft.insights/autoscalesettings": {
@@ -284,7 +294,9 @@
"nextLinkName": "nextLink"
},
"x-ms-examples": {
- "List autoscale settings": { "$ref": "./examples/listAutoscaleSettingBySubscription.json" }
+ "List autoscale settings": {
+ "$ref": "./examples/listAutoscaleSettingBySubscription.json"
+ }
}
}
}
@@ -311,8 +323,8 @@
"type": "string",
"description": "Resource location",
"x-ms-mutability": [
- "create",
- "read"
+ "create",
+ "read"
]
},
"tags": {
@@ -351,7 +363,16 @@
"description": "The number of instances that can be used during this profile."
},
"MetricTrigger": {
- "required": ["metricName", "metricResourceUri", "timeGrain", "statistic", "timeWindow", "timeAggregation", "operator", "threshold"],
+ "required": [
+ "metricName",
+ "metricResourceUri",
+ "timeGrain",
+ "statistic",
+ "timeWindow",
+ "timeAggregation",
+ "operator",
+ "threshold"
+ ],
"properties": {
"metricName": {
"type": "string",
@@ -473,7 +494,8 @@
},
"ScaleRule": {
"required": [
- "scaleAction", "metricTrigger"
+ "scaleAction",
+ "metricTrigger"
],
"properties": {
"metricTrigger": {
@@ -504,11 +526,19 @@
"description": "the end time for the profile in ISO 8601 format."
}
},
- "required": [ "start", "end" ],
+ "required": [
+ "start",
+ "end"
+ ],
"description": "A specific date-time for the profile."
},
"RecurrentSchedule": {
- "required": ["timeZone", "days", "hours", "minutes"],
+ "required": [
+ "timeZone",
+ "days",
+ "hours",
+ "minutes"
+ ],
"properties": {
"timeZone": {
"type": "string",
@@ -541,7 +571,10 @@
"description": "The scheduling constraints for when the profile begins."
},
"Recurrence": {
- "required": ["frequency", "schedule"],
+ "required": [
+ "frequency",
+ "schedule"
+ ],
"properties": {
"frequency": {
"type": "string",
@@ -569,7 +602,7 @@
"description": "The repeating times at which this profile begins. This element is not used if the FixedDate element is used."
},
"AutoscaleProfile": {
- "required":[
+ "required": [
"rules",
"name",
"capacity"
@@ -645,7 +678,9 @@
"operation": {
"type": "string",
"description": "the operation associated with the notification and its value must be \"scale\"",
- "enum": ["Scale"],
+ "enum": [
+ "Scale"
+ ],
"x-ms-enum": {
"name": "OperationType",
"modelAsString": false
@@ -666,7 +701,7 @@
"description": "Autoscale notification."
},
"AutoscaleSetting": {
- "required":[
+ "required": [
"profiles"
],
"properties": {
@@ -705,7 +740,7 @@
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/Resource"
+ "$ref": "#/definitions/Resource"
}
],
"required": [
@@ -724,10 +759,10 @@
"description": "The autoscale setting object for patch operations.",
"properties": {
"tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
},
"properties": {
"x-ms-client-flatten": true,
@@ -750,7 +785,9 @@
"description": "URL to get the next set of results."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Represents a collection of autoscale setting resources."
},
"ErrorResponse": {
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
index 558f853ada92..7a3187374bb6 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
@@ -66,14 +66,18 @@
"nextLinkName": null
},
"x-ms-examples": {
- "Get event categories": { "$ref": "./examples/GetEventCategories.json" }
+ "Get event categories": {
+ "$ref": "./examples/GetEventCategories.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -96,7 +100,9 @@
"description": "the list that includes the Azure event categories."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"description": "A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy."
},
"ErrorResponse": {
@@ -123,4 +129,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json
index d1240f00184b..a2a688f11a51 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFiltered.json
@@ -1,83 +1,85 @@
{
- "parameters": {
- "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'",
- "api-version": "2015-04-01",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- },
- "responses": {
- "200": {
- "body": {
- "value": [ {
- "authorization": {
- "action": "microsoft.support/supporttickets/write",
- "role": "Subscription Admin",
- "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841"
- },
- "caller": "admin@contoso.com",
- "claims": {
- "aud": "https://management.core.windows.net/",
- "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/",
- "iat": "1421876371",
- "nbf": "1421876371",
- "exp": "1421880271",
- "ver": "1.0",
- "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ",
- "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd",
- "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com",
- "puid": "20030000801A118C",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith",
- "name": "John Smith",
- "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com",
- "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c",
- "appidacr": "2",
- "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
- "http://schemas.microsoft.com/claims/authnclassreference": "1"
- },
- "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "description": "",
- "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8",
- "eventName": {
- "value": "EndRequest",
- "localizedValue": "End request"
- },
- "httpRequest": {
- "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249",
- "clientIpAddress": "192.168.35.115",
- "method": "PUT"
- },
- "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
- "level": "Informational",
- "resourceGroupName": "MSSupportGroup",
- "resourceProviderName": {
- "value": "microsoft.support",
- "localizedValue": "microsoft.support"
- },
- "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "operationName": {
- "value": "microsoft.support/supporttickets/write",
- "localizedValue": "microsoft.support/supporttickets/write"
- },
- "properties": {
- "statusCode": "Created"
- },
- "status": {
- "value": "Succeeded",
- "localizedValue": "Succeeded"
- },
- "subStatus": {
- "value": "Created",
- "localizedValue": "Created (HTTP Status Code: 201)"
- },
- "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
- "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- } ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
- }
- }
+ "parameters": {
+ "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'",
+ "api-version": "2015-04-01",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "authorization": {
+ "action": "microsoft.support/supporttickets/write",
+ "role": "Subscription Admin",
+ "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841"
+ },
+ "caller": "admin@contoso.com",
+ "claims": {
+ "aud": "https://management.core.windows.net/",
+ "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/",
+ "iat": "1421876371",
+ "nbf": "1421876371",
+ "exp": "1421880271",
+ "ver": "1.0",
+ "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315",
+ "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd",
+ "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com",
+ "puid": "20030000801A118C",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith",
+ "name": "John Smith",
+ "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "admin@contoso.com",
+ "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c",
+ "appidacr": "2",
+ "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
+ "http://schemas.microsoft.com/claims/authnclassreference": "1"
+ },
+ "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "description": "",
+ "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8",
+ "eventName": {
+ "value": "EndRequest",
+ "localizedValue": "End request"
+ },
+ "httpRequest": {
+ "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249",
+ "clientIpAddress": "192.168.35.115",
+ "method": "PUT"
+ },
+ "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
+ "level": "Informational",
+ "resourceGroupName": "MSSupportGroup",
+ "resourceProviderName": {
+ "value": "microsoft.support",
+ "localizedValue": "microsoft.support"
+ },
+ "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "operationName": {
+ "value": "microsoft.support/supporttickets/write",
+ "localizedValue": "microsoft.support/supporttickets/write"
+ },
+ "properties": {
+ "statusCode": "Created"
+ },
+ "status": {
+ "value": "Succeeded",
+ "localizedValue": "Succeeded"
+ },
+ "subStatus": {
+ "value": "Created",
+ "localizedValue": "Created (HTTP Status Code: 201)"
+ },
+ "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
+ "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ }
+ ],
+ "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json
index 3c521070179c..7c8fcf697066 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json
@@ -1,39 +1,41 @@
{
- "parameters": {
- "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'",
- "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level",
- "api-version": "2015-04-01",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- },
- "responses": {
- "200": {
- "body": {
- "value": [ {
- "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "eventName": {
- "value": "EndRequest",
- "localizedValue": "End request"
- },
- "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
- "resourceGroupName": "MSSupportGroup",
- "resourceProviderName": {
- "value": "microsoft.support",
- "localizedValue": "microsoft.support"
- },
- "operationName": {
- "value": "microsoft.support/supporttickets/write",
- "localizedValue": "microsoft.support/supporttickets/write"
- },
- "status": {
- "value": "Succeeded",
- "localizedValue": "Succeeded"
- },
- "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
- "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
- "level": "Informational"
- } ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
- }
- }
+ "parameters": {
+ "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'",
+ "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level",
+ "api-version": "2015-04-01",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "eventName": {
+ "value": "EndRequest",
+ "localizedValue": "End request"
+ },
+ "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
+ "resourceGroupName": "MSSupportGroup",
+ "resourceProviderName": {
+ "value": "microsoft.support",
+ "localizedValue": "microsoft.support"
+ },
+ "operationName": {
+ "value": "microsoft.support/supporttickets/write",
+ "localizedValue": "microsoft.support/supporttickets/write"
+ },
+ "status": {
+ "value": "Succeeded",
+ "localizedValue": "Succeeded"
+ },
+ "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
+ "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
+ "level": "Informational"
+ }
+ ],
+ "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json
deleted file mode 100644
index 9b7b95534d62..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsNoParams.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
- "parameters": {
- "api-version": "2015-04-01",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- },
- "responses": {
- "200": {
- "body": {
- "value": [ {
- "authorization": {
- "action": "microsoft.support/supporttickets/write",
- "role": "Subscription Admin",
- "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841"
- },
- "caller": "admin@contoso.com",
- "claims": {
- "aud": "https://management.core.windows.net/",
- "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/",
- "iat": "1421876371",
- "nbf": "1421876371",
- "exp": "1421880271",
- "ver": "1.0",
- "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ",
- "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd",
- "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com",
- "puid": "20030000801A118C",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith",
- "name": "John Smith",
- "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com",
- "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c",
- "appidacr": "2",
- "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
- "http://schemas.microsoft.com/claims/authnclassreference": "1"
- },
- "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "description": "",
- "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8",
- "eventName": {
- "value": "EndRequest",
- "localizedValue": "End request"
- },
- "httpRequest": {
- "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249",
- "clientIpAddress": "192.168.35.115",
- "method": "PUT"
- },
- "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
- "level": "Informational",
- "resourceGroupName": "MSSupportGroup",
- "resourceProviderName": {
- "value": "microsoft.support",
- "localizedValue": "microsoft.support"
- },
- "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "operationName": {
- "value": "microsoft.support/supporttickets/write",
- "localizedValue": "microsoft.support/supporttickets/write"
- },
- "properties": {
- "statusCode": "Created"
- },
- "status": {
- "value": "Succeeded",
- "localizedValue": "Succeeded"
- },
- "subStatus": {
- "value": "Created",
- "localizedValue": "Created (HTTP Status Code: 201)"
- },
- "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
- "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- } ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json
deleted file mode 100644
index 3ebe725ae844..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetActivityLogsSelected.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "parameters": {
- "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level",
- "api-version": "2015-04-01",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- },
- "responses": {
- "200": {
- "body": {
- "value": [ {
- "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "eventName": {
- "value": "EndRequest",
- "localizedValue": "End request"
- },
- "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
- "resourceGroupName": "MSSupportGroup",
- "resourceProviderName": {
- "value": "microsoft.support",
- "localizedValue": "microsoft.support"
- },
- "operationName": {
- "value": "microsoft.support/supporttickets/write",
- "localizedValue": "microsoft.support/supporttickets/write"
- },
- "status": {
- "value": "Succeeded",
- "localizedValue": "Succeeded"
- },
- "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
- "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
- "level": "Informational"
- } ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json
index e90ca45e3f83..38dca0f27034 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetEventCategories.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "api-version": "2015-04-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "value": "category1",
- "localizedValue": "category1"
- },
- {
- "value": "category2",
- "localizedValue": "category2"
- }
- ]
- }
- }
+ "parameters": {
+ "api-version": "2015-04-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "value": "category1",
+ "localizedValue": "category1"
+ },
+ {
+ "value": "category2",
+ "localizedValue": "category2"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json
index d1240f00184b..a2a688f11a51 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFiltered.json
@@ -1,83 +1,85 @@
{
- "parameters": {
- "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'",
- "api-version": "2015-04-01",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- },
- "responses": {
- "200": {
- "body": {
- "value": [ {
- "authorization": {
- "action": "microsoft.support/supporttickets/write",
- "role": "Subscription Admin",
- "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841"
- },
- "caller": "admin@contoso.com",
- "claims": {
- "aud": "https://management.core.windows.net/",
- "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/",
- "iat": "1421876371",
- "nbf": "1421876371",
- "exp": "1421880271",
- "ver": "1.0",
- "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ",
- "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd",
- "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com",
- "puid": "20030000801A118C",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith",
- "name": "John Smith",
- "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com",
- "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c",
- "appidacr": "2",
- "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
- "http://schemas.microsoft.com/claims/authnclassreference": "1"
- },
- "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "description": "",
- "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8",
- "eventName": {
- "value": "EndRequest",
- "localizedValue": "End request"
- },
- "httpRequest": {
- "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249",
- "clientIpAddress": "192.168.35.115",
- "method": "PUT"
- },
- "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
- "level": "Informational",
- "resourceGroupName": "MSSupportGroup",
- "resourceProviderName": {
- "value": "microsoft.support",
- "localizedValue": "microsoft.support"
- },
- "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "operationName": {
- "value": "microsoft.support/supporttickets/write",
- "localizedValue": "microsoft.support/supporttickets/write"
- },
- "properties": {
- "statusCode": "Created"
- },
- "status": {
- "value": "Succeeded",
- "localizedValue": "Succeeded"
- },
- "subStatus": {
- "value": "Created",
- "localizedValue": "Created (HTTP Status Code: 201)"
- },
- "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
- "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- } ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
- }
- }
+ "parameters": {
+ "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'",
+ "api-version": "2015-04-01",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "authorization": {
+ "action": "microsoft.support/supporttickets/write",
+ "role": "Subscription Admin",
+ "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841"
+ },
+ "caller": "admin@contoso.com",
+ "claims": {
+ "aud": "https://management.core.windows.net/",
+ "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/",
+ "iat": "1421876371",
+ "nbf": "1421876371",
+ "exp": "1421880271",
+ "ver": "1.0",
+ "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315",
+ "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd",
+ "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com",
+ "puid": "20030000801A118C",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith",
+ "name": "John Smith",
+ "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "admin@contoso.com",
+ "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c",
+ "appidacr": "2",
+ "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
+ "http://schemas.microsoft.com/claims/authnclassreference": "1"
+ },
+ "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "description": "",
+ "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8",
+ "eventName": {
+ "value": "EndRequest",
+ "localizedValue": "End request"
+ },
+ "httpRequest": {
+ "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249",
+ "clientIpAddress": "192.168.35.115",
+ "method": "PUT"
+ },
+ "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
+ "level": "Informational",
+ "resourceGroupName": "MSSupportGroup",
+ "resourceProviderName": {
+ "value": "microsoft.support",
+ "localizedValue": "microsoft.support"
+ },
+ "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "operationName": {
+ "value": "microsoft.support/supporttickets/write",
+ "localizedValue": "microsoft.support/supporttickets/write"
+ },
+ "properties": {
+ "statusCode": "Created"
+ },
+ "status": {
+ "value": "Succeeded",
+ "localizedValue": "Succeeded"
+ },
+ "subStatus": {
+ "value": "Created",
+ "localizedValue": "Created (HTTP Status Code: 201)"
+ },
+ "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
+ "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ }
+ ],
+ "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json
index 3c521070179c..7c8fcf697066 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsFilteredAndSelected.json
@@ -1,39 +1,41 @@
{
- "parameters": {
- "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'",
- "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level",
- "api-version": "2015-04-01",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- },
- "responses": {
- "200": {
- "body": {
- "value": [ {
- "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "eventName": {
- "value": "EndRequest",
- "localizedValue": "End request"
- },
- "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
- "resourceGroupName": "MSSupportGroup",
- "resourceProviderName": {
- "value": "microsoft.support",
- "localizedValue": "microsoft.support"
- },
- "operationName": {
- "value": "microsoft.support/supporttickets/write",
- "localizedValue": "microsoft.support/supporttickets/write"
- },
- "status": {
- "value": "Succeeded",
- "localizedValue": "Succeeded"
- },
- "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
- "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
- "level": "Informational"
- } ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
- }
- }
+ "parameters": {
+ "$filter": "eventTimestamp ge '2015-01-21T20:00:00Z' and eventTimestamp le '2015-01-23T20:00:00Z' and resourceGroupName eq 'MSSupportGroup'",
+ "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level",
+ "api-version": "2015-04-01",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "eventName": {
+ "value": "EndRequest",
+ "localizedValue": "End request"
+ },
+ "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
+ "resourceGroupName": "MSSupportGroup",
+ "resourceProviderName": {
+ "value": "microsoft.support",
+ "localizedValue": "microsoft.support"
+ },
+ "operationName": {
+ "value": "microsoft.support/supporttickets/write",
+ "localizedValue": "microsoft.support/supporttickets/write"
+ },
+ "status": {
+ "value": "Succeeded",
+ "localizedValue": "Succeeded"
+ },
+ "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
+ "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
+ "level": "Informational"
+ }
+ ],
+ "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json
index 9b7b95534d62..d9e4f31f4a37 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsNoParams.json
@@ -1,82 +1,84 @@
{
- "parameters": {
- "api-version": "2015-04-01",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- },
- "responses": {
- "200": {
- "body": {
- "value": [ {
- "authorization": {
- "action": "microsoft.support/supporttickets/write",
- "role": "Subscription Admin",
- "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841"
- },
- "caller": "admin@contoso.com",
- "claims": {
- "aud": "https://management.core.windows.net/",
- "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/",
- "iat": "1421876371",
- "nbf": "1421876371",
- "exp": "1421880271",
- "ver": "1.0",
- "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ",
- "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd",
- "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com",
- "puid": "20030000801A118C",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith",
- "name": "John Smith",
- "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c",
- "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com",
- "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c",
- "appidacr": "2",
- "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
- "http://schemas.microsoft.com/claims/authnclassreference": "1"
- },
- "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "description": "",
- "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8",
- "eventName": {
- "value": "EndRequest",
- "localizedValue": "End request"
- },
- "httpRequest": {
- "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249",
- "clientIpAddress": "192.168.35.115",
- "method": "PUT"
- },
- "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
- "level": "Informational",
- "resourceGroupName": "MSSupportGroup",
- "resourceProviderName": {
- "value": "microsoft.support",
- "localizedValue": "microsoft.support"
- },
- "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "operationName": {
- "value": "microsoft.support/supporttickets/write",
- "localizedValue": "microsoft.support/supporttickets/write"
- },
- "properties": {
- "statusCode": "Created"
- },
- "status": {
- "value": "Succeeded",
- "localizedValue": "Succeeded"
- },
- "subStatus": {
- "value": "Created",
- "localizedValue": "Created (HTTP Status Code: 201)"
- },
- "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
- "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- } ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
- }
- }
+ "parameters": {
+ "api-version": "2015-04-01",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "authorization": {
+ "action": "microsoft.support/supporttickets/write",
+ "role": "Subscription Admin",
+ "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841"
+ },
+ "caller": "admin@contoso.com",
+ "claims": {
+ "aud": "https://management.core.windows.net/",
+ "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/",
+ "iat": "1421876371",
+ "nbf": "1421876371",
+ "exp": "1421880271",
+ "ver": "1.0",
+ "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315",
+ "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd",
+ "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com",
+ "puid": "20030000801A118C",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith",
+ "name": "John Smith",
+ "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c",
+ "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "admin@contoso.com",
+ "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c",
+ "appidacr": "2",
+ "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
+ "http://schemas.microsoft.com/claims/authnclassreference": "1"
+ },
+ "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "description": "",
+ "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8",
+ "eventName": {
+ "value": "EndRequest",
+ "localizedValue": "End request"
+ },
+ "httpRequest": {
+ "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249",
+ "clientIpAddress": "192.168.35.115",
+ "method": "PUT"
+ },
+ "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
+ "level": "Informational",
+ "resourceGroupName": "MSSupportGroup",
+ "resourceProviderName": {
+ "value": "microsoft.support",
+ "localizedValue": "microsoft.support"
+ },
+ "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "operationName": {
+ "value": "microsoft.support/supporttickets/write",
+ "localizedValue": "microsoft.support/supporttickets/write"
+ },
+ "properties": {
+ "statusCode": "Created"
+ },
+ "status": {
+ "value": "Succeeded",
+ "localizedValue": "Succeeded"
+ },
+ "subStatus": {
+ "value": "Created",
+ "localizedValue": "Created (HTTP Status Code: 201)"
+ },
+ "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
+ "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ }
+ ],
+ "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json
index 3ebe725ae844..020bb6e7f15e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/GetTenantActivityLogsSelected.json
@@ -1,38 +1,40 @@
{
- "parameters": {
- "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level",
- "api-version": "2015-04-01",
- "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
- },
- "responses": {
- "200": {
- "body": {
- "value": [ {
- "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
- "eventName": {
- "value": "EndRequest",
- "localizedValue": "End request"
- },
- "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
- "resourceGroupName": "MSSupportGroup",
- "resourceProviderName": {
- "value": "microsoft.support",
- "localizedValue": "microsoft.support"
- },
- "operationName": {
- "value": "microsoft.support/supporttickets/write",
- "localizedValue": "microsoft.support/supporttickets/write"
- },
- "status": {
- "value": "Succeeded",
- "localizedValue": "Succeeded"
- },
- "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
- "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
- "level": "Informational"
- } ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
- }
- }
+ "parameters": {
+ "$select": "eventName,id,resourceGroupName,resourceProviderName,operationName,status,eventTimestamp,correlationId,submissionTimestamp,level",
+ "api-version": "2015-04-01",
+ "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f",
+ "eventName": {
+ "value": "EndRequest",
+ "localizedValue": "End request"
+ },
+ "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776",
+ "resourceGroupName": "MSSupportGroup",
+ "resourceProviderName": {
+ "value": "microsoft.support",
+ "localizedValue": "microsoft.support"
+ },
+ "operationName": {
+ "value": "microsoft.support/supporttickets/write",
+ "localizedValue": "microsoft.support/supporttickets/write"
+ },
+ "status": {
+ "value": "Succeeded",
+ "localizedValue": "Succeeded"
+ },
+ "eventTimestamp": "2015-01-21T22:14:26.9792776Z",
+ "submissionTimestamp": "2015-01-21T22:14:39.9936304Z",
+ "level": "Informational"
+ }
+ ],
+ "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/OperationList.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/OperationList.json
index a9b7694da946..2d082e76b07c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/OperationList.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/OperationList.json
@@ -1,717 +1,405 @@
{
- "parameters":{
- "api-version":"2015-04-01"
+ "parameters": {
+ "api-version": "2015-04-01"
},
- "responses":{
- "200":{
- "body":{
- "value":[
- {
- "name":"Microsoft.Insights/Operations/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Operations",
- "operation":"Operations read",
- "description":"Reading operations"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/MetricDefinitions/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Metric Definitions",
- "operation":"Metric definitions read",
- "description":"Read metric definitions"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Metrics/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Metrics",
- "operation":"Metrics read",
- "description":"Read metrics"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AlertRules/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Alert Rules",
- "operation":"Alert Rule write",
- "description":"Writing to an alert rule configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AlertRules/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Alert Rules",
- "operation":"Alert Rule delete",
- "description":"Deleting an alert rule configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AlertRules/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Alert Rules",
- "operation":"Alert Rule read",
- "description":"Reading an alert rule configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/MetricAlerts/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Metric alerts",
- "operation":"Metric alert write",
- "description":"Writing a metric alert"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/MetricAlerts/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Metric alerts",
- "operation":"Metric alert delete",
- "description":"Deleting a metric alert"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/MetricAlerts/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Metric alerts",
- "operation":"Metric alert read",
- "description":"Reading a metric alert"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AutoscaleSettings/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Autoscale",
- "operation":"Autoscale Setting write",
- "description":"Writing to an autoscale setting configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AutoscaleSettings/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Autoscale",
- "operation":"Autoscale Setting delete",
- "description":"Deleting an autoscale setting configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AutoscaleSettings/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Autoscale",
- "operation":"Autoscale Setting read",
- "description":"Reading an autoscale setting configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AlertRules/Incidents/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Alert Rule Incident resource",
- "operation":"Alert Rule Incidents read",
- "description":"Reading an alert rule incident configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AutoscaleSettings/providers/Microsoft.Insights/MetricDefinitions/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Metric Definitions",
- "operation":"Metric definitions read",
- "description":"Read metric definitions"
- },
- "properties":{
- "serviceSpecification":{
- "metricSpecifications":[
- {
- "name":"ObservedMetricValue",
- "displayName":"Observed Metric Value",
- "displayDescription":"The value computed by autoscale when executed",
- "unit":"Count",
- "aggregationType":"Average",
- "availabilities":null,
- "fillGapWithZero":false,
- "category":"Metric",
- "dimensions":[
- {
- "name":"MetricTriggerSource",
- "displayName":"Metric Trigger Source",
- "toBeExportedForShoebox":true
- }
- ]
- },
- {
- "name":"MetricThreshold",
- "displayName":"Metric Threshold",
- "displayDescription":"The configured autoscale threshold when autoscale ran.",
- "unit":"Count",
- "aggregationType":"Average",
- "availabilities":null,
- "fillGapWithZero":false,
- "category":"Metric",
- "dimensions":[
- {
- "name":"MetricTriggerRule",
- "displayName":"Metric Trigger Rule",
- "toBeExportedForShoebox":true
- }
- ]
- },
- {
- "name":"ObservedCapacity",
- "displayName":"Observed Capacity",
- "displayDescription":"The capacity reported to autoscale when it executed.",
- "unit":"Count",
- "aggregationType":"Average",
- "availabilities":null,
- "fillGapWithZero":false,
- "category":"ScaleAction",
- "dimensions":null
- },
- {
- "name":"ScaleActionsInitiated",
- "displayName":"Scale Actions Initiated",
- "displayDescription":"The direction of the scale operation.",
- "unit":"Count",
- "aggregationType":"Total",
- "availabilities":null,
- "fillGapWithZero":true,
- "category":"ScaleAction",
- "dimensions":[
- {
- "name":"ScaleDirection",
- "displayName":"Scale Direction",
- "toBeExportedForShoebox":true
- }
- ]
- }
- ],
- "logSpecifications":null,
- "legacyMetricSpecifications":null
- }
- }
- },
- {
- "name":"Microsoft.Insights/ActionGroups/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Action groups",
- "operation":"Action group write",
- "description":"Writing an action group"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ActionGroups/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Action groups",
- "operation":"Action group delete",
- "description":"Deleting an action group"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ActionGroups/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Action groups",
- "operation":"Action group read",
- "description":"Reading an action group"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ActivityLogAlerts/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Activity log alert",
- "operation":"Activity log alert read",
- "description":"Reading an activity log alert"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ActivityLogAlerts/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Activity log alert",
- "operation":"Activity log alert delete",
- "description":"Deleting an activity log alert"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ActivityLogAlerts/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Activity log alert",
- "operation":"Activity log alert read",
- "description":"Reading an activity log alert"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ActivityLogAlerts/Activated/Action",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Activity Log Alert",
- "operation":"Activity Log Alert Activated",
- "description":"Triggered the Activity Log Alert"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/EventCategories/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Event category",
- "operation":"Event category read",
- "description":"Reading an event category"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/eventtypes/values/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Events",
- "operation":"Event types management values read",
- "description":"Read management event type values"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/eventtypes/digestevents/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Digest events",
- "operation":"Event types management digest read",
- "description":"Read management event type digest"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/DiagnosticSettings/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Diagnostic settings",
- "operation":"Diagnostic settings write",
- "description":"Writing to diagnostic settings configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/DiagnosticSettings/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Diagnostic settings",
- "operation":"Diagnostic settings delete",
- "description":"Deleting diagnostic settings configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/DiagnosticSettings/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Diagnostic settings",
- "operation":"Diagnostic settings read",
- "description":"Reading a diagnostic settings configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ExtendedDiagnosticSettings/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Extended Diagnostic settings",
- "operation":"Extended Diagnostic settings write",
- "description":"Writing to extended diagnostic settings configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ExtendedDiagnosticSettings/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Extended Diagnostic settings",
- "operation":"Extended Diagnostic settings delete",
- "description":"Deleting extended diagnostic settings configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/ExtendedDiagnosticSettings/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Extended Diagnostic settings",
- "operation":"Extended Diagnostic settings read",
- "description":"Reading a extended diagnostic settings configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/LogProfiles/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Log Profiles",
- "operation":"Log profile write",
- "description":"Writing to a log profile configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/LogProfiles/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Log Profiles",
- "operation":"Log profile delete",
- "description":"Delete log profiles configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/LogProfiles/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Log Profiles",
- "operation":"Log profile read",
- "description":"Read log profiles"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/LogDefinitions/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Log Definitions",
- "operation":"Log Definitions read",
- "description":"Read log definitions"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AutoscaleSettings/Scaleup/Action",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Autoscale",
- "operation":"Autoscale scale up operation",
- "description":"Autoscale scale up operation"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AutoscaleSettings/Scaledown/Action",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Autoscale",
- "operation":"Autoscale scale down operation",
- "description":"Autoscale scale down operation"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AlertRules/Activated/Action",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Alert Rules",
- "operation":"Alert Rule activated",
- "description":"Alert Rule activated"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AlertRules/Resolved/Action",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Alert Rules",
- "operation":"Alert Rule resolved",
- "description":"Alert Rule resolved"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/AlertRules/Throttled/Action",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Alert Rules",
- "operation":"Alert Rule throttled",
- "description":"Alert rule is throttled"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Register/Action",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Microsoft.Insights",
- "operation":"Register Microsoft.Insights",
- "description":"Register the microsoft insights provider"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Components/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Application insights components",
- "operation":"Application insights component write",
- "description":"Writing to an application insights component configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Components/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Application insights components",
- "operation":"Application insights component delete",
- "description":"Deleting an application insights component configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Components/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Application insights components",
- "operation":"Application insights component read",
- "description":"Reading an application insights component configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Webtests/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Web tests",
- "operation":"Webtest write",
- "description":"Writing to a webtest configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Webtests/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Monitoring Insights",
- "resource":"Web tests",
- "operation":"Webtest delete",
- "description":"Deleting a webtest configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Workbooks/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Application Insights",
- "resource":"Workbooks",
- "operation":"Workbooks read",
- "description":"Reading a Workbooks configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Workbooks/Write",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Application Insights",
- "resource":"Workbooks",
- "operation":"Workbooks write",
- "description":"Writing to a Workbooks configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Workbooks/Delete",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Application Insights",
- "resource":"Workbooks",
- "operation":"Workbooks delete",
- "description":"Deleting a Workbooks configuration"
- },
- "properties":{
-
- }
- },
- {
- "name":"Microsoft.Insights/Workbooks/Read",
- "display":{
- "publisher":"Microsoft",
- "provider":"Microsoft Application Insights",
- "resource":"Workbooks",
- "operation":"Workbooks read",
- "description":"Reading a Workbooks configuration"
- },
- "properties":{
-
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Insights/Operations/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Operations",
+ "operation": "Operations read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/MetricDefinitions/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Metric Definitions",
+ "operation": "Metric definitions read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Metrics/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Metrics",
+ "operation": "Metrics read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AlertRules/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Alert Rules",
+ "operation": "Alert Rule write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AlertRules/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Alert Rules",
+ "operation": "Alert Rule delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AlertRules/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Alert Rules",
+ "operation": "Alert Rule read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/MetricAlerts/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Metric alerts",
+ "operation": "Metric alert write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/MetricAlerts/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Metric alerts",
+ "operation": "Metric alert delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/MetricAlerts/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Metric alerts",
+ "operation": "Metric alert read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AutoscaleSettings/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Autoscale",
+ "operation": "Autoscale Setting write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AutoscaleSettings/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Autoscale",
+ "operation": "Autoscale Setting delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AutoscaleSettings/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Autoscale",
+ "operation": "Autoscale Setting read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AlertRules/Incidents/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Alert Rule Incident resource",
+ "operation": "Alert Rule Incidents read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AutoscaleSettings/providers/Microsoft.Insights/MetricDefinitions/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Metric Definitions",
+ "operation": "Metric definitions read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ActionGroups/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Action groups",
+ "operation": "Action group write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ActionGroups/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Action groups",
+ "operation": "Action group delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ActionGroups/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Action groups",
+ "operation": "Action group read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ActivityLogAlerts/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Activity log alert",
+ "operation": "Activity log alert read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ActivityLogAlerts/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Activity log alert",
+ "operation": "Activity log alert delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ActivityLogAlerts/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Activity log alert",
+ "operation": "Activity log alert read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ActivityLogAlerts/Activated/Action",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Activity Log Alert",
+ "operation": "Activity Log Alert Activated"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/EventCategories/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Event category",
+ "operation": "Event category read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/eventtypes/values/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Events",
+ "operation": "Event types management values read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/eventtypes/digestevents/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Digest events",
+ "operation": "Event types management digest read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/DiagnosticSettings/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Diagnostic settings",
+ "operation": "Diagnostic settings write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/DiagnosticSettings/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Diagnostic settings",
+ "operation": "Diagnostic settings delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/DiagnosticSettings/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Diagnostic settings",
+ "operation": "Diagnostic settings read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ExtendedDiagnosticSettings/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Extended Diagnostic settings",
+ "operation": "Extended Diagnostic settings write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ExtendedDiagnosticSettings/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Extended Diagnostic settings",
+ "operation": "Extended Diagnostic settings delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/ExtendedDiagnosticSettings/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Extended Diagnostic settings",
+ "operation": "Extended Diagnostic settings read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/LogProfiles/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Log Profiles",
+ "operation": "Log profile write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/LogProfiles/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Log Profiles",
+ "operation": "Log profile delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/LogProfiles/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Log Profiles",
+ "operation": "Log profile read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/LogDefinitions/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Log Definitions",
+ "operation": "Log Definitions read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AutoscaleSettings/Scaleup/Action",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Autoscale",
+ "operation": "Autoscale scale up operation"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AutoscaleSettings/Scaledown/Action",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Autoscale",
+ "operation": "Autoscale scale down operation"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AlertRules/Activated/Action",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Alert Rules",
+ "operation": "Alert Rule activated"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AlertRules/Resolved/Action",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Alert Rules",
+ "operation": "Alert Rule resolved"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/AlertRules/Throttled/Action",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Alert Rules",
+ "operation": "Alert Rule throttled"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Register/Action",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Microsoft.Insights",
+ "operation": "Register Microsoft.Insights"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Components/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Application insights components",
+ "operation": "Application insights component write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Components/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Application insights components",
+ "operation": "Application insights component delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Components/Read",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Application insights components",
+ "operation": "Application insights component read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Webtests/Write",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Web tests",
+ "operation": "Webtest write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Webtests/Delete",
+ "display": {
+ "provider": "Microsoft Monitoring Insights",
+ "resource": "Web tests",
+ "operation": "Webtest delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Workbooks/Read",
+ "display": {
+ "provider": "Microsoft Application Insights",
+ "resource": "Workbooks",
+ "operation": "Workbooks read"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Workbooks/Write",
+ "display": {
+ "provider": "Microsoft Application Insights",
+ "resource": "Workbooks",
+ "operation": "Workbooks write"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Workbooks/Delete",
+ "display": {
+ "provider": "Microsoft Application Insights",
+ "resource": "Workbooks",
+ "operation": "Workbooks delete"
+ }
+ },
+ {
+ "name": "Microsoft.Insights/Workbooks/Read",
+ "display": {
+ "provider": "Microsoft Application Insights",
+ "resource": "Workbooks",
+ "operation": "Workbooks read"
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json
index 819bc4f6885d..4a429d060c9f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/createOrUpdateAutoscaleSetting.json
@@ -1,136 +1,144 @@
{
- "parameters" : {
- "subscriptionId" : "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName" : "TestingMetricsScaleSet",
- "autoscaleSettingName" : "MySetting",
- "api-version" : "2015-04-01",
- "parameters" : {
- "location" : "West US",
- "tags" : {},
- "properties" : {
- "profiles" : [{
- "name" : "adios",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "TestingMetricsScaleSet",
+ "autoscaleSettingName": "MySetting",
+ "api-version": "2015-04-01",
+ "parameters": {
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "profiles": [
+ {
+ "name": "adios",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "fixedDate" : {
- "timeZone" : "UTC",
- "start" : "2015-03-05T14:00:00Z",
- "end" : "2015-03-05T14:30:00Z"
+ "fixedDate": {
+ "timeZone": "UTC",
+ "start": "2015-03-05T14:00:00Z",
+ "end": "2015-03-05T14:30:00Z"
}
- }, {
- "name" : "saludos",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ },
+ {
+ "name": "saludos",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "recurrence" : {
- "frequency" : "Week",
- "schedule" : {
- "timeZone" : "UTC",
- "days" : [
+ "recurrence": {
+ "frequency": "Week",
+ "schedule": {
+ "timeZone": "UTC",
+ "days": [
"1"
],
- "hours" : [
+ "hours": [
5
],
- "minutes" : [
+ "minutes": [
15
]
}
}
}
],
- "enabled" : true,
- "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "notifications" : [{
- "operation" : "Scale",
- "email" : {
- "sendToSubscriptionAdministrator" : true,
- "sendToSubscriptionCoAdministrators" : true,
- "customEmails" : [
+ "enabled": true,
+ "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "notifications": [
+ {
+ "operation": "Scale",
+ "email": {
+ "sendToSubscriptionAdministrator": true,
+ "sendToSubscriptionCoAdministrators": true,
+ "customEmails": [
"gu@ms.com",
"ge@ns.net"
]
},
- "webhooks" : [{
- "serviceUri" : "http://myservice.com",
- "properties" : {}
+ "webhooks": [
+ {
+ "serviceUri": "http://myservice.com",
+ "properties": {}
}
]
}
@@ -138,142 +146,150 @@
}
}
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
- "name" : "MySetting",
- "type" : "Microsoft.Insights/autoscaleSettings",
- "location" : "West US",
- "tags" : {
- "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
+ "name": "MySetting",
+ "type": "Microsoft.Insights/autoscaleSettings",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
},
- "properties" : {
- "profiles" : [{
- "name" : "adios",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ "properties": {
+ "profiles": [
+ {
+ "name": "adios",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "fixedDate" : {
- "timeZone" : "UTC",
- "start" : "2015-03-05T14:00:00Z",
- "end" : "2015-03-05T14:30:00Z"
+ "fixedDate": {
+ "timeZone": "UTC",
+ "start": "2015-03-05T14:00:00Z",
+ "end": "2015-03-05T14:30:00Z"
}
- }, {
- "name" : "saludos",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ },
+ {
+ "name": "saludos",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "recurrence" : {
- "frequency" : "Week",
- "schedule" : {
- "timeZone" : "UTC",
- "days" : [
+ "recurrence": {
+ "frequency": "Week",
+ "schedule": {
+ "timeZone": "UTC",
+ "days": [
"1"
],
- "hours" : [
+ "hours": [
5
],
- "minutes" : [
+ "minutes": [
15
]
}
}
}
],
- "enabled" : true,
- "name" : "MySetting",
- "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "notifications" : [{
- "operation" : "Scale",
- "email" : {
- "sendToSubscriptionAdministrator" : true,
- "sendToSubscriptionCoAdministrators" : true,
- "customEmails" : [
+ "enabled": true,
+ "name": "MySetting",
+ "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "notifications": [
+ {
+ "operation": "Scale",
+ "email": {
+ "sendToSubscriptionAdministrator": true,
+ "sendToSubscriptionCoAdministrators": true,
+ "customEmails": [
"gu@ms.com",
"ge@ns.net"
]
},
- "webhooks" : [{
- "serviceUri" : "http://myservice.com",
- "properties" : {}
+ "webhooks": [
+ {
+ "serviceUri": "http://myservice.com",
+ "properties": {}
}
]
}
@@ -281,141 +297,149 @@
}
}
},
- "201" : {
- "headers" : {},
- "body" : {
- "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
- "name" : "MySetting",
- "type" : "Microsoft.Insights/autoscaleSettings",
- "location" : "West US",
- "tags" : {
- "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
+ "name": "MySetting",
+ "type": "Microsoft.Insights/autoscaleSettings",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
},
- "properties" : {
- "profiles" : [{
- "name" : "adios",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ "properties": {
+ "profiles": [
+ {
+ "name": "adios",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "fixedDate" : {
- "timeZone" : "UTC",
- "start" : "2015-03-05T14:00:00Z",
- "end" : "2015-03-05T14:30:00Z"
+ "fixedDate": {
+ "timeZone": "UTC",
+ "start": "2015-03-05T14:00:00Z",
+ "end": "2015-03-05T14:30:00Z"
}
- }, {
- "name" : "saludos",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ },
+ {
+ "name": "saludos",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "recurrence" : {
- "frequency" : "Week",
- "schedule" : {
- "timeZone" : "UTC",
- "days" : [
+ "recurrence": {
+ "frequency": "Week",
+ "schedule": {
+ "timeZone": "UTC",
+ "days": [
"1"
],
- "hours" : [
+ "hours": [
5
],
- "minutes" : [
+ "minutes": [
15
]
}
}
}
],
- "enabled" : true,
- "name" : "MySetting",
- "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "notifications" : [{
- "operation" : "Scale",
- "email" : {
- "sendToSubscriptionAdministrator" : true,
- "sendToSubscriptionCoAdministrators" : true,
- "customEmails" : [
+ "enabled": true,
+ "name": "MySetting",
+ "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "notifications": [
+ {
+ "operation": "Scale",
+ "email": {
+ "sendToSubscriptionAdministrator": true,
+ "sendToSubscriptionCoAdministrators": true,
+ "customEmails": [
"gu@ms.com",
"ge@ns.net"
]
},
- "webhooks" : [{
- "serviceUri" : "http://myservice.com",
- "properties" : {}
+ "webhooks": [
+ {
+ "serviceUri": "http://myservice.com",
+ "properties": {}
}
]
}
@@ -424,4 +448,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json
index 45e684316de4..f7aedfaea3cb 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/deleteAutoscaleSetting.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "TestingMetricsScaleSet",
- "autoscaleSettingName": "MySetting",
- "api-version": "2015-04-01"
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "TestingMetricsScaleSet",
+ "autoscaleSettingName": "MySetting",
+ "api-version": "2015-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json
index 7e359dd858c2..940fb7184382 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/getAutoscaleSetting.json
@@ -1,160 +1,160 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "TestingMetricsScaleSet",
- "autoscaleSettingName": "MySetting",
- "api-version": "2015-04-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
- "name":"MySetting",
- "type":"Microsoft.Insights/autoscaleSettings",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "TestingMetricsScaleSet",
+ "autoscaleSettingName": "MySetting",
+ "api-version": "2015-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
+ "name": "MySetting",
+ "type": "Microsoft.Insights/autoscaleSettings",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
+ },
+ "properties": {
+ "profiles": [
+ {
+ "name": "adios",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
+ },
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
+ },
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
+ }
},
- "properties": {
- "profiles": [
- {
- "name":"adios",
- "capacity": {
- "minimum":"1",
- "maximum":"10",
- "default":"1"
- },
- "rules": [
- {
- "metricTrigger": {
- "metricName":"Percentage CPU",
- "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain":"PT1M",
- "statistic":"Average",
- "timeWindow":"PT5M",
- "timeAggregation":"Average",
- "operator":"GreaterThan",
- "threshold":10.0
- },
- "scaleAction": {
- "direction":"Increase",
- "type":"ChangeCount",
- "value":"1",
- "cooldown":"PT5M"
- }
- },
- {
- "metricTrigger": {
- "metricName":"Percentage CPU",
- "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain":"PT2M",
- "statistic":"Average",
- "timeWindow":"PT5M",
- "timeAggregation":"Average",
- "operator":"GreaterThan",
- "threshold":15.0
- },
- "scaleAction": {
- "direction":"Decrease",
- "type":"ChangeCount",
- "value":"2",
- "cooldown":"PT6M"
- }
- }
- ],
- "fixedDate": {
- "timeZone":"UTC",
- "start":"2015-03-05T14:00:00Z",
- "end":"2015-03-05T14:30:00Z"
- }
- },
- {
- "name":"saludos",
- "capacity": {
- "minimum":"1",
- "maximum":"10",
- "default":"1"
- },
- "rules": [
- {
- "metricTrigger": {
- "metricName":"Percentage CPU",
- "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain":"PT1M",
- "statistic":"Average",
- "timeWindow":"PT5M",
- "timeAggregation":"Average",
- "operator":"GreaterThan",
- "threshold":10.0
- },
- "scaleAction": {
- "direction":"Increase",
- "type":"ChangeCount",
- "value":"1",
- "cooldown":"PT5M"
- }
- },
- {
- "metricTrigger": {
- "metricName":"Percentage CPU",
- "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain":"PT2M",
- "statistic":"Average",
- "timeWindow":"PT5M",
- "timeAggregation":"Average",
- "operator":"GreaterThan",
- "threshold":15.0
- },
- "scaleAction": {
- "direction":"Decrease",
- "type":"ChangeCount",
- "value":"2",
- "cooldown":"PT6M"
- }
- }
- ],
- "recurrence": {
- "frequency":"Week",
- "schedule": {
- "timeZone":"UTC",
- "days": [
- "1"
- ],
- "hours": [
- 5
- ],
- "minutes": [
- 15
- ]
- }
- }
- }
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
+ },
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
+ }
+ }
+ ],
+ "fixedDate": {
+ "timeZone": "UTC",
+ "start": "2015-03-05T14:00:00Z",
+ "end": "2015-03-05T14:30:00Z"
+ }
+ },
+ {
+ "name": "saludos",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
+ },
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
+ },
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
+ }
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
+ },
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
+ }
+ }
+ ],
+ "recurrence": {
+ "frequency": "Week",
+ "schedule": {
+ "timeZone": "UTC",
+ "days": [
+ "1"
],
- "enabled":true,
- "name":"MySetting",
- "targetResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "notifications": [
- {
- "operation":"Scale",
- "email": {
- "sendToSubscriptionAdministrator":true,
- "sendToSubscriptionCoAdministrators":true,
- "customEmails": [
- "gu@ms.com",
- "ge@ns.net"
- ]
- },
- "webhooks": [
- {
- "serviceUri":"http://myservice.com",
- "properties":{}
- }
- ]
- }
+ "hours": [
+ 5
+ ],
+ "minutes": [
+ 15
]
}
+ }
+ }
+ ],
+ "enabled": true,
+ "name": "MySetting",
+ "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "notifications": [
+ {
+ "operation": "Scale",
+ "email": {
+ "sendToSubscriptionAdministrator": true,
+ "sendToSubscriptionCoAdministrators": true,
+ "customEmails": [
+ "gu@ms.com",
+ "ge@ns.net"
+ ]
+ },
+ "webhooks": [
+ {
+ "serviceUri": "http://myservice.com",
+ "properties": {}
+ }
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json
index 909da7a9fb73..70ba238c9364 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSetting.json
@@ -1,147 +1,164 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "TestingMetricsScaleSet",
- "api-version": "2015-04-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value" : [
- {
- "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
- "name" : "MySetting",
- "type" : "Microsoft.Insights/autoscaleSettings",
- "location" : "West US",
- "tags" : {
- "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "TestingMetricsScaleSet",
+ "api-version": "2015-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
+ "name": "MySetting",
+ "type": "Microsoft.Insights/autoscaleSettings",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
+ },
+ "properties": {
+ "profiles": [
+ {
+ "name": "adios",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
+ },
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
+ },
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
+ }
},
- "properties" : {
- "profiles" : [{
- "name" : "adios",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
- },
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
- },
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
- }
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
- },
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
- }
- }
- ],
- "fixedDate" : {
- "timeZone" : "UTC",
- "start" : "2015-03-05T14:00:00Z",
- "end" : "2015-03-05T14:30:00Z"
- }
- }, {
- "name" : "saludos",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
- },
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
- },
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
- }
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
- },
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
- }
- }
- ],
- "recurrence" : {
- "frequency" : "Week",
- "schedule" : {
- "timeZone" : "UTC",
- "days" : ["1"],
- "hours" : [5],
- "minutes" : [15]
- }
- }
- }
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
+ },
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
+ }
+ }
+ ],
+ "fixedDate": {
+ "timeZone": "UTC",
+ "start": "2015-03-05T14:00:00Z",
+ "end": "2015-03-05T14:30:00Z"
+ }
+ },
+ {
+ "name": "saludos",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
+ },
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
+ },
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
+ }
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
+ },
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
+ }
+ }
+ ],
+ "recurrence": {
+ "frequency": "Week",
+ "schedule": {
+ "timeZone": "UTC",
+ "days": [
+ "1"
+ ],
+ "hours": [
+ 5
],
- "enabled" : true,
- "name" : "MySetting",
- "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "notifications" : [{
- "operation" : "Scale",
- "email" : {
- "sendToSubscriptionAdministrator" : true,
- "sendToSubscriptionCoAdministrators" : true,
- "customEmails" : ["gu@ms.com", "ge@ns.net"]
- },
- "webhooks" : [{
- "serviceUri" : "http://myservice.com",
- "properties" : {}
- }
- ]
- }
+ "minutes": [
+ 15
]
}
}
- ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
+ ],
+ "enabled": true,
+ "name": "MySetting",
+ "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "notifications": [
+ {
+ "operation": "Scale",
+ "email": {
+ "sendToSubscriptionAdministrator": true,
+ "sendToSubscriptionCoAdministrators": true,
+ "customEmails": [
+ "gu@ms.com",
+ "ge@ns.net"
+ ]
+ },
+ "webhooks": [
+ {
+ "serviceUri": "http://myservice.com",
+ "properties": {}
+ }
+ ]
+ }
+ ]
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json
index 134f3ed6bb91..dddfc3df50e1 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/listAutoscaleSettingBySubscription.json
@@ -1,146 +1,163 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "api-version": "2015-04-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value" : [
- {
- "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
- "name" : "MySetting",
- "type" : "Microsoft.Insights/autoscaleSettings",
- "location" : "West US",
- "tags" : {
- "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "api-version": "2015-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
+ "name": "MySetting",
+ "type": "Microsoft.Insights/autoscaleSettings",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage"
+ },
+ "properties": {
+ "profiles": [
+ {
+ "name": "adios",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
+ },
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
+ },
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
+ }
},
- "properties" : {
- "profiles" : [{
- "name" : "adios",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
- },
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
- },
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
- }
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
- },
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
- }
- }
- ],
- "fixedDate" : {
- "timeZone" : "UTC",
- "start" : "2015-03-05T14:00:00Z",
- "end" : "2015-03-05T14:30:00Z"
- }
- }, {
- "name" : "saludos",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
- },
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
- },
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
- }
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
- },
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
- }
- }
- ],
- "recurrence" : {
- "frequency" : "Week",
- "schedule" : {
- "timeZone" : "UTC",
- "days" : ["1"],
- "hours" : [5],
- "minutes" : [15]
- }
- }
- }
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
+ },
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
+ }
+ }
+ ],
+ "fixedDate": {
+ "timeZone": "UTC",
+ "start": "2015-03-05T14:00:00Z",
+ "end": "2015-03-05T14:30:00Z"
+ }
+ },
+ {
+ "name": "saludos",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
+ },
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
+ },
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
+ }
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
+ },
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
+ }
+ }
+ ],
+ "recurrence": {
+ "frequency": "Week",
+ "schedule": {
+ "timeZone": "UTC",
+ "days": [
+ "1"
+ ],
+ "hours": [
+ 5
],
- "enabled" : true,
- "name" : "MySetting",
- "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "notifications" : [{
- "operation" : "Scale",
- "email" : {
- "sendToSubscriptionAdministrator" : true,
- "sendToSubscriptionCoAdministrators" : true,
- "customEmails" : ["gu@ms.com", "ge@ns.net"]
- },
- "webhooks" : [{
- "serviceUri" : "http://myservice.com",
- "properties" : {}
- }
- ]
- }
+ "minutes": [
+ 15
]
}
}
- ],
- "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
+ ],
+ "enabled": true,
+ "name": "MySetting",
+ "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "notifications": [
+ {
+ "operation": "Scale",
+ "email": {
+ "sendToSubscriptionAdministrator": true,
+ "sendToSubscriptionCoAdministrators": true,
+ "customEmails": [
+ "gu@ms.com",
+ "ge@ns.net"
+ ]
+ },
+ "webhooks": [
+ {
+ "serviceUri": "http://myservice.com",
+ "properties": {}
+ }
+ ]
+ }
+ ]
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json
index ef609f5e2646..3c80bd7a509f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/examples/patchAutoscaleSetting.json
@@ -1,137 +1,145 @@
{
- "parameters" : {
- "subscriptionId" : "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName" : "TestingMetricsScaleSet",
- "autoscaleSettingName" : "MySetting",
- "api-version" : "2015-04-01",
- "autoscaleSettingResource" : {
- "tags" : {
- "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "TestingMetricsScaleSet",
+ "autoscaleSettingName": "MySetting",
+ "api-version": "2015-04-01",
+ "autoscaleSettingResource": {
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
},
- "properties" : {
- "profiles" : [{
- "name" : "adios",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ "properties": {
+ "profiles": [
+ {
+ "name": "adios",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "fixedDate" : {
- "timeZone" : "UTC",
- "start" : "2015-03-05T14:00:00Z",
- "end" : "2015-03-05T14:30:00Z"
+ "fixedDate": {
+ "timeZone": "UTC",
+ "start": "2015-03-05T14:00:00Z",
+ "end": "2015-03-05T14:30:00Z"
}
- }, {
- "name" : "saludos",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ },
+ {
+ "name": "saludos",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "recurrence" : {
- "frequency" : "Week",
- "schedule" : {
- "timeZone" : "UTC",
- "days" : [
+ "recurrence": {
+ "frequency": "Week",
+ "schedule": {
+ "timeZone": "UTC",
+ "days": [
"1"
],
- "hours" : [
+ "hours": [
5
],
- "minutes" : [
+ "minutes": [
15
]
}
}
}
],
- "enabled" : true,
- "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "notifications" : [{
- "operation" : "Scale",
- "email" : {
- "sendToSubscriptionAdministrator" : true,
- "sendToSubscriptionCoAdministrators" : true,
- "customEmails" : [
+ "enabled": true,
+ "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "notifications": [
+ {
+ "operation": "Scale",
+ "email": {
+ "sendToSubscriptionAdministrator": true,
+ "sendToSubscriptionCoAdministrators": true,
+ "customEmails": [
"gu@ms.com",
"ge@ns.net"
]
},
- "webhooks" : [{
- "serviceUri" : "http://myservice.com",
- "properties" : {}
+ "webhooks": [
+ {
+ "serviceUri": "http://myservice.com",
+ "properties": {}
}
]
}
@@ -139,142 +147,150 @@
}
}
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
- "name" : "MySetting",
- "type" : "Microsoft.Insights/autoscaleSettings",
- "location" : "West US",
- "tags" : {
- "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting",
+ "name": "MySetting",
+ "type": "Microsoft.Insights/autoscaleSettings",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
},
- "properties" : {
- "profiles" : [{
- "name" : "adios",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ "properties": {
+ "profiles": [
+ {
+ "name": "adios",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "fixedDate" : {
- "timeZone" : "UTC",
- "start" : "2015-03-05T14:00:00Z",
- "end" : "2015-03-05T14:30:00Z"
+ "fixedDate": {
+ "timeZone": "UTC",
+ "start": "2015-03-05T14:00:00Z",
+ "end": "2015-03-05T14:30:00Z"
}
- }, {
- "name" : "saludos",
- "capacity" : {
- "minimum" : "1",
- "maximum" : "10",
- "default" : "1"
+ },
+ {
+ "name": "saludos",
+ "capacity": {
+ "minimum": "1",
+ "maximum": "10",
+ "default": "1"
},
- "rules" : [{
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT1M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 10.0
+ "rules": [
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT1M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 10.0
},
- "scaleAction" : {
- "direction" : "Increase",
- "type" : "ChangeCount",
- "value" : "1",
- "cooldown" : "PT5M"
+ "scaleAction": {
+ "direction": "Increase",
+ "type": "ChangeCount",
+ "value": "1",
+ "cooldown": "PT5M"
}
- }, {
- "metricTrigger" : {
- "metricName" : "Percentage CPU",
- "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "timeGrain" : "PT2M",
- "statistic" : "Average",
- "timeWindow" : "PT5M",
- "timeAggregation" : "Average",
- "operator" : "GreaterThan",
- "threshold" : 15.0
+ },
+ {
+ "metricTrigger": {
+ "metricName": "Percentage CPU",
+ "metricResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "timeGrain": "PT2M",
+ "statistic": "Average",
+ "timeWindow": "PT5M",
+ "timeAggregation": "Average",
+ "operator": "GreaterThan",
+ "threshold": 15.0
},
- "scaleAction" : {
- "direction" : "Decrease",
- "type" : "ChangeCount",
- "value" : "2",
- "cooldown" : "PT6M"
+ "scaleAction": {
+ "direction": "Decrease",
+ "type": "ChangeCount",
+ "value": "2",
+ "cooldown": "PT6M"
}
}
],
- "recurrence" : {
- "frequency" : "Week",
- "schedule" : {
- "timeZone" : "UTC",
- "days" : [
+ "recurrence": {
+ "frequency": "Week",
+ "schedule": {
+ "timeZone": "UTC",
+ "days": [
"1"
],
- "hours" : [
+ "hours": [
5
],
- "minutes" : [
+ "minutes": [
15
]
}
}
}
],
- "enabled" : true,
- "name" : "MySetting",
- "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
- "notifications" : [{
- "operation" : "Scale",
- "email" : {
- "sendToSubscriptionAdministrator" : true,
- "sendToSubscriptionCoAdministrators" : true,
- "customEmails" : [
+ "enabled": true,
+ "name": "MySetting",
+ "targetResourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc",
+ "notifications": [
+ {
+ "operation": "Scale",
+ "email": {
+ "sendToSubscriptionAdministrator": true,
+ "sendToSubscriptionCoAdministrators": true,
+ "customEmails": [
"gu@ms.com",
"ge@ns.net"
]
},
- "webhooks" : [{
- "serviceUri" : "http://myservice.com",
- "properties" : {}
+ "webhooks": [
+ {
+ "serviceUri": "http://myservice.com",
+ "properties": {}
}
]
}
@@ -283,4 +299,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json
index b45598268c67..9b684a8b01b1 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json
@@ -36,35 +36,37 @@
}
},
"paths": {
- "/providers/microsoft.insights/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "description": "Lists all of the available operations from Microsoft.Insights provider.",
- "operationId": "Operations_List",
- "x-ms-examples": {
- "Get a list of operations for a resource provider": {
- "$ref": "./examples/OperationList.json"
- }
- },
- "parameters": [{
+ "/providers/microsoft.insights/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available operations from Microsoft.Insights provider.",
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "Get a list of operations for a resource provider": {
+ "$ref": "./examples/OperationList.json"
+ }
+ },
+ "parameters": [
+ {
"$ref": "#/parameters/ApiVersionParameter"
- }],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
}
}
}
}
+ }
},
"definitions": {
"OperationListResult": {
- "description": "Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results.",
+ "description": "Result of the request to list Microsoft.Insights operations. It contains a list of operations and a URL link to get the next set of results.",
"properties": {
"value": {
"type": "array",
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
index 3a4bbdb55dc4..bfc830e14ef3 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
@@ -77,17 +77,27 @@
},
"x-ms-odata": "#/definitions/EventData",
"x-ms-examples": {
- "Get Tenant Activity Logs without filter or select": { "$ref": "./examples/GetTenantActivityLogsNoParams.json" },
- "Get Tenant Activity Logs with filter": { "$ref": "./examples/GetTenantActivityLogsFiltered.json" },
- "Get Tenant Activity Logs with select": { "$ref": "./examples/GetTenantActivityLogsSelected.json" },
- "Get Tenant Activity Logs with filter and select": { "$ref": "./examples/GetTenantActivityLogsFilteredAndSelected.json" }
+ "Get Tenant Activity Logs without filter or select": {
+ "$ref": "./examples/GetTenantActivityLogsNoParams.json"
+ },
+ "Get Tenant Activity Logs with filter": {
+ "$ref": "./examples/GetTenantActivityLogsFiltered.json"
+ },
+ "Get Tenant Activity Logs with select": {
+ "$ref": "./examples/GetTenantActivityLogsSelected.json"
+ },
+ "Get Tenant Activity Logs with filter and select": {
+ "$ref": "./examples/GetTenantActivityLogsFilteredAndSelected.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -308,7 +318,9 @@
"description": "Provides the link to retrieve the next set of events."
}
},
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"description": "Represents collection of events."
},
"ErrorResponse": {
@@ -343,4 +355,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json
index 28d3af6e0462..47d2cfd11f23 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json
@@ -63,31 +63,32 @@
},
"examples": {
"application/json": {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type":"",
- "name":"service",
- "location":"",
- "tags":null,
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "service",
+ "location": "",
+ "tags": null,
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1","serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
"metrics": [
{
- "timeGrain":"PT1M",
- "enabled":true,
+ "timeGrain": "PT1M",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
]
@@ -129,31 +130,32 @@
},
"examples": {
"application/json": {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type":"",
- "name":"service",
- "location":"",
- "tags":null,
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "service",
+ "location": "",
+ "tags": null,
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1","serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
"metrics": [
{
- "timeGrain":"PT1M",
- "enabled":true,
+ "timeGrain": "PT1M",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
]
@@ -187,8 +189,8 @@
"type": "string",
"description": "Resource location",
"x-ms-mutability": [
- "create",
- "read"
+ "create",
+ "read"
]
},
"tags": {
@@ -216,7 +218,10 @@
"description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
}
},
- "required": [ "enabled", "days" ],
+ "required": [
+ "enabled",
+ "days"
+ ],
"description": "Specifies the retention policy for the log."
},
"MetricSettings": {
@@ -235,7 +240,10 @@
"description": "the retention policy for this timegrain."
}
},
- "required": [ "enabled", "timeGrain" ],
+ "required": [
+ "enabled",
+ "timeGrain"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric."
},
"LogSettings": {
@@ -253,7 +261,9 @@
"description": "the retention policy for this log."
}
},
- "required": [ "enabled" ],
+ "required": [
+ "enabled"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
},
"ServiceDiagnosticSettings": {
@@ -334,4 +344,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
index 6ef19b51b0a8..732e28a28d68 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
@@ -79,7 +79,9 @@
}
},
"x-ms-examples": {
- "Get a single alert rule incident": { "$ref": "./examples/getAlertRuleIncident.json" }
+ "Get a single alert rule incident": {
+ "$ref": "./examples/getAlertRuleIncident.json"
+ }
}
}
},
@@ -113,7 +115,9 @@
}
},
"x-ms-examples": {
- "List alert rule incidents": { "$ref": "./examples/listAlertRuleIncidents.json" }
+ "List alert rule incidents": {
+ "$ref": "./examples/listAlertRuleIncidents.json"
+ }
},
"x-ms-pageable": {
"nextLinkName": null
@@ -213,4 +217,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json
index c7d1732feece..f9d1e42c1f5e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/alertRules_API.json
@@ -87,7 +87,9 @@
}
},
"x-ms-examples": {
- "Create or update an alert rule": { "$ref": "./examples/createOrUpdateAlertRule.json" }
+ "Create or update an alert rule": {
+ "$ref": "./examples/createOrUpdateAlertRule.json"
+ }
}
},
"delete": {
@@ -119,7 +121,9 @@
}
},
"x-ms-examples": {
- "Delete an alert rule": { "$ref": "./examples/deleteAlertRule.json" }
+ "Delete an alert rule": {
+ "$ref": "./examples/deleteAlertRule.json"
+ }
}
},
"get": {
@@ -151,58 +155,62 @@
}
},
"x-ms-examples": {
- "Get an alert rule": { "$ref": "./examples/getAlertRule.json" }
+ "Get an alert rule": {
+ "$ref": "./examples/getAlertRule.json"
+ }
}
},
"patch": {
- "description": "Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.",
- "operationId": "AlertRules_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/RuleNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "alertRulesResource",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AlertRuleResourcePatch"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to update an alert rule",
- "schema": {
- "$ref": "#/definitions/AlertRuleResource"
- }
- },
- "201": {
- "description": "Successful request to update an alert rule that resulted in a creation of the alert rule",
- "schema": {
- "$ref": "#/definitions/AlertRuleResource"
- }
- }
+ "description": "Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.",
+ "operationId": "AlertRules_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "alertRulesResource",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AlertRuleResourcePatch"
+ },
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
},
- "x-ms-examples": {
- "Patch an alert rule": { "$ref": "./examples/patchAlertRule.json" }
+ "200": {
+ "description": "Successful request to update an alert rule",
+ "schema": {
+ "$ref": "#/definitions/AlertRuleResource"
+ }
+ },
+ "201": {
+ "description": "Successful request to update an alert rule that resulted in a creation of the alert rule",
+ "schema": {
+ "$ref": "#/definitions/AlertRuleResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Patch an alert rule": {
+ "$ref": "./examples/patchAlertRule.json"
}
+ }
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules": {
@@ -235,7 +243,9 @@
"nextLinkName": null
},
"x-ms-examples": {
- "List alert rules": { "$ref": "./examples/listAlertRule.json" }
+ "List alert rules": {
+ "$ref": "./examples/listAlertRule.json"
+ }
}
}
},
@@ -266,7 +276,9 @@
"nextLinkName": null
},
"x-ms-examples": {
- "List alert rules": { "$ref": "./examples/listAlertRuleBySubscription.json" }
+ "List alert rules": {
+ "$ref": "./examples/listAlertRuleBySubscription.json"
+ }
}
}
}
@@ -285,7 +297,9 @@
"description": "the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource."
}
},
- "required": [ "odata.type" ],
+ "required": [
+ "odata.type"
+ ],
"description": "The condition that results in the alert rule being activated."
},
"RuleDataSource": {
@@ -301,7 +315,9 @@
"description": "the resource identifier of the resource the rule monitors. **NOTE**: this property cannot be updated for an existing rule."
}
},
- "required": [ "odata.type" ],
+ "required": [
+ "odata.type"
+ ],
"description": "The resource from which the rule collects its data."
},
"RuleMetricDataSource": {
@@ -334,7 +350,7 @@
"type": "object",
"allOf": [
{
- "$ref" : "#/definitions/RuleDataSource"
+ "$ref": "#/definitions/RuleDataSource"
}
],
"properties": {
@@ -392,14 +408,14 @@
"description": "Operators allowed in the rule condition."
},
"TimeAggregationOperator": {
- "type": "string",
- "enum": [
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Last"
- ],
+ "type": "string",
+ "enum": [
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Last"
+ ],
"x-ms-enum": {
"name": "TimeAggregationOperator",
"modelAsString": false
@@ -411,10 +427,13 @@
"type": "object",
"allOf": [
{
- "$ref" : "#/definitions/RuleCondition"
+ "$ref": "#/definitions/RuleCondition"
}
],
- "required": [ "threshold", "operator" ],
+ "required": [
+ "threshold",
+ "operator"
+ ],
"properties": {
"operator": {
"$ref": "#/definitions/ConditionOperator",
@@ -443,7 +462,7 @@
"type": "object",
"allOf": [
{
- "$ref" : "#/definitions/RuleCondition"
+ "$ref": "#/definitions/RuleCondition"
}
],
"properties": {
@@ -459,20 +478,22 @@
"description": "the number of locations that must fail to activate the alert."
}
},
- "required": [ "failedLocationCount" ],
+ "required": [
+ "failedLocationCount"
+ ],
"description": "A rule condition based on a certain number of locations failing.",
"example": "{\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition\",\r\n\t\"dataSource\": {\r\n\t\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource\",\r\n\t\t\"resourceUri\": \"/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourcegroups/Default-Web-CentralUS/providers/microsoft.insights/webtests/homepagetest-newrelapp2\",r\n\t\t\"metricName\": \"GSMT_AvRaW\"\r\n\t},\r\n\t\"windowSize\": \"PT5M\",\r\n\t\"failedLocationCount\": 1\r\n}"
},
"ManagementEventAggregationCondition": {
"properties": {
"operator": {
- "$ref": "#/definitions/ConditionOperator",
- "description": "the condition operator."
+ "$ref": "#/definitions/ConditionOperator",
+ "description": "the condition operator."
},
"threshold": {
- "type": "number",
- "format": "double",
- "description": "The threshold value that activates the alert."
+ "type": "number",
+ "format": "double",
+ "description": "The threshold value that activates the alert."
},
"windowSize": {
"type": "string",
@@ -487,7 +508,7 @@
"type": "object",
"allOf": [
{
- "$ref" : "#/definitions/RuleCondition"
+ "$ref": "#/definitions/RuleCondition"
}
],
"properties": {
@@ -508,7 +529,9 @@
"description": "specifies the type of the action. There are two types of actions: RuleEmailAction and RuleWebhookAction."
}
},
- "required": [ "odata.type" ],
+ "required": [
+ "odata.type"
+ ],
"description": "The action that is performed when the alert rule becomes active, and when an alert condition is resolved."
},
"RuleEmailAction": {
@@ -521,15 +544,15 @@
],
"properties": {
"sendToServiceOwners": {
- "type": "boolean",
- "description": "Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated."
+ "type": "boolean",
+ "description": "Whether the administrators (service and co-administrators) of the service should be notified when the alert is activated."
},
"customEmails": {
- "type": "array",
- "items": {
- "type" : "string"
- },
- "description": "the list of administrator's custom email addresses to notify of the activation of the alert."
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "the list of administrator's custom email addresses to notify of the activation of the alert."
}
},
"description": "Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case.",
@@ -544,17 +567,17 @@
}
],
"properties": {
- "serviceUri": {
- "type": "string",
- "description": "the service uri to Post the notification when the alert activates or resolves."
- },
- "properties": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
- }
+ "serviceUri": {
+ "type": "string",
+ "description": "the service uri to Post the notification when the alert activates or resolves."
+ },
+ "properties": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
+ }
},
"description": "Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case.",
"example": "{\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction\",\r\n\t\"serviceUri\": \"http://contoso.com/\",\r\n\t\"properties\": { }\r\n}"
@@ -619,8 +642,8 @@
"type": "string",
"description": "Resource location",
"x-ms-mutability": [
- "create",
- "read"
+ "create",
+ "read"
]
},
"tags": {
@@ -639,9 +662,9 @@
"AlertRuleResource": {
"type": "object",
"allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
+ {
+ "$ref": "#/definitions/Resource"
+ }
],
"required": [
"properties"
@@ -659,10 +682,10 @@
"description": "The alert rule object for patch operations.",
"properties": {
"tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
},
"properties": {
"x-ms-client-flatten": true,
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json
index fda5f7bc6329..68fd82a7aa48 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitions.json
@@ -1,76 +1,75 @@
{
- "parameters": {
- "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "api-version": "2016-03-01",
- "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192"
- },
- "responses": {
- "200": {
- "body": {
- "value":
- [
- {
- "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "name": {
- "value":"RunsStarted",
- "localizedValue":"Runs Started"
- },
- "unit":"Count",
- "primaryAggregationType":"Total",
- "metricAvailabilities":[
- {
- "timeGrain":"PT1M",
- "retention":"P30D"
- },
- {
- "timeGrain":"PT1H",
- "retention":"P30D"
- }
- ],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted"
- },
- {
- "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "name": {
- "value":"RunsCompleted",
- "localizedValue":"Runs Completed"
- },
- "unit":"Count",
- "primaryAggregationType":"Total",
- "metricAvailabilities": [
- {
- "timeGrain":"PT1M",
- "retention":"P30D"
- },
- {
- "timeGrain":"PT1H",
- "retention":"P30D"
- }
- ],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted"
- },
- {
- "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "name": {
- "value":"RunsSucceeded",
- "localizedValue":"Runs Succeeded"
- },
- "unit":"Count",
- "primaryAggregationType":"Total",
- "metricAvailabilities": [
- {
- "timeGrain":"PT1M",
- "retention":"P30D"
- },
- {
- "timeGrain":"PT1H",
- "retention":"P30D"
- }
- ],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded"
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "api-version": "2016-03-01",
+ "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "name": {
+ "value": "RunsStarted",
+ "localizedValue": "Runs Started"
+ },
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted"
+ },
+ {
+ "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "name": {
+ "value": "RunsCompleted",
+ "localizedValue": "Runs Completed"
+ },
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted"
+ },
+ {
+ "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "name": {
+ "value": "RunsSucceeded",
+ "localizedValue": "Runs Succeeded"
+ },
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json
index ccbe7670ed6f..3362cc71a05a 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/GetMetricDefinitionsFiltered.json
@@ -1,57 +1,56 @@
{
- "parameters": {
- "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "api-version": "2016-03-01",
- "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
- "$filter": "name.value eq 'RunsStarted' or name.value eq 'RunsSucceeded'"
- },
- "responses": {
- "200": {
- "body": {
- "value":
- [
- {
- "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "name": {
- "value":"RunsStarted",
- "localizedValue":"Runs Started"
- },
- "unit":"Count",
- "primaryAggregationType":"Total",
- "metricAvailabilities":[
- {
- "timeGrain":"PT1M",
- "retention":"P30D"
- },
- {
- "timeGrain":"PT1H",
- "retention":"P30D"
- }
- ],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted"
- },
- {
- "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "name": {
- "value":"RunsSucceeded",
- "localizedValue":"Runs Succeeded"
- },
- "unit":"Count",
- "primaryAggregationType":"Total",
- "metricAvailabilities": [
- {
- "timeGrain":"PT1M",
- "retention":"P30D"
- },
- {
- "timeGrain":"PT1H",
- "retention":"P30D"
- }
- ],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded"
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "api-version": "2016-03-01",
+ "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
+ "$filter": "name.value eq 'RunsStarted' or name.value eq 'RunsSucceeded'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "name": {
+ "value": "RunsStarted",
+ "localizedValue": "Runs Started"
+ },
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted"
+ },
+ {
+ "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "name": {
+ "value": "RunsSucceeded",
+ "localizedValue": "Runs Succeeded"
+ },
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json
index 7c6eec0e5d36..50712ab18981 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateAlertRule.json
@@ -1,95 +1,97 @@
{
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "Rac46PostSwapRG",
+ "ruleName": "chiricutin",
+ "api-version": "2016-03-01",
"parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "Rac46PostSwapRG",
- "ruleName": "chiricutin",
- "api-version": "2016-03-01",
- "parameters": {
- "location": "West US",
- "tags": { },
- "properties": {
- "name":"chiricutin",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":3.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
- "actions":[]
- }
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "name": "chiricutin",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 3.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
+ "actions": []
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
+ "name": "chiricutin",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage",
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
+ "properties": {
+ "name": "chiricutin",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 3.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
+ "actions": []
}
+ }
},
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
- "name":"chiricutin",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
- },
- "properties": {
- "name":"chiricutin",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":3.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
- "actions":[]
- }
- }
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
+ "name": "chiricutin",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage",
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
},
- "201": {
- "headers": { },
- "body": {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
- "name":"chiricutin",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
- },
- "properties": {
- "name":"chiricutin",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":3.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
- "actions":[]
- }
- }
+ "properties": {
+ "name": "chiricutin",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 3.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
+ "actions": []
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json
index 437c9a43999e..a10cf81d6573 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/createOrUpdateLogProfile.json
@@ -1,49 +1,55 @@
{
+ "parameters": {
+ "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
+ "logProfileName": "Rac46PostSwapRG",
+ "api-version": "2016-03-01",
"parameters": {
- "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
- "logProfileName": "Rac46PostSwapRG",
- "api-version": "2016-03-01",
- "parameters": {
- "location": "",
- "tags": { },
- "properties": {
- "locations": [ "global" ],
- "categories": [ "Write", "Delete", "Action" ],
- "retentionPolicy": {
- "enabled": true,
- "days": 3
- },
- "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
- "serviceBusRuleId": ""
- }
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
- "type":"",
- "name":"default",
- "location":"",
- "tags":null,
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
- "serviceBusRuleId":"",
- "locations":[
- "global"
- ],
- "categories": [
- "Delete",
- "Write",
- "Action"
- ],
- "retentionPolicy": {
- "enabled":true,
- "days":3
- }
- }
- }
+ "location": "",
+ "tags": {},
+ "properties": {
+ "locations": [
+ "global"
+ ],
+ "categories": [
+ "Write",
+ "Delete",
+ "Action"
+ ],
+ "retentionPolicy": {
+ "enabled": true,
+ "days": 3
+ },
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
+ "serviceBusRuleId": ""
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
+ "type": "",
+ "name": "default",
+ "location": "",
+ "tags": null,
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
+ "serviceBusRuleId": "",
+ "locations": [
+ "global"
+ ],
+ "categories": [
+ "Delete",
+ "Write",
+ "Action"
+ ],
+ "retentionPolicy": {
+ "enabled": true,
+ "days": 3
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json
index 959c9be02353..e32256513b8f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteAlertRule.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "Rac46PostSwapRG",
- "ruleName": "chiricutin",
- "api-version": "2016-03-01"
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "Rac46PostSwapRG",
+ "ruleName": "chiricutin",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json
index 1d8b3c9c57c4..15c210f6aafb 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/deleteLogProfile.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "logProfileName": "Rac46PostSwapRG",
- "api-version": "2016-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": null
- }
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "logProfileName": "Rac46PostSwapRG",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json
index 16f5a1e5e0c8..f8b0c0165a9d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRule.json
@@ -1,41 +1,42 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "Rac46PostSwapRG",
- "ruleName": "chiricutin",
- "api-version": "2016-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
- "name":"chiricutin",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
- },
- "properties": {
- "name":"chiricutin",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":3.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
- "actions":[]
- }
- }
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "Rac46PostSwapRG",
+ "ruleName": "chiricutin",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
+ "name": "chiricutin",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage",
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
+ "properties": {
+ "name": "chiricutin",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 3.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
+ "actions": []
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json
index 5893da737f48..c09724c5d089 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getAlertRuleIncident.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "Rac46PostSwapRG",
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "Rac46PostSwapRG",
+ "ruleName": "myRuleName",
+ "incidentName": "Website_started",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "name": "Website_started",
"ruleName": "myRuleName",
- "incidentName": "Website_started",
- "api-version": "2016-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "name": "Website_started",
- "ruleName": "myRuleName",
- "isActive": true,
- "activatedTime": "2017-09-13T15:45:26.9792776Z",
- "resolvedTime": "2017-09-13T22:14:28.9792776Z"
- }
- }
+ "isActive": true,
+ "activatedTime": "2017-09-13T15:45:26.9792776Z",
+ "resolvedTime": "2017-09-13T22:14:28.9792776Z"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json
index 8449a7b74678..739e5dea636f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/getLogProfile.json
@@ -1,35 +1,35 @@
{
- "parameters": {
- "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
- "logProfileName": "default",
- "api-version": "2016-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
- "type":"",
- "name":"default",
- "location":"",
- "tags":null,
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
- "serviceBusRuleId":"",
- "locations": [
- "global"
- ],
- "categories": [
- "Delete",
- "Write",
- "Action"
- ],
- "retentionPolicy": {
- "enabled":true,
- "days":3
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
+ "logProfileName": "default",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
+ "type": "",
+ "name": "default",
+ "location": "",
+ "tags": null,
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
+ "serviceBusRuleId": "",
+ "locations": [
+ "global"
+ ],
+ "categories": [
+ "Delete",
+ "Write",
+ "Action"
+ ],
+ "retentionPolicy": {
+ "enabled": true,
+ "days": 3
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json
index fd6521f57989..fb531977b2a5 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRule.json
@@ -1,81 +1,83 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "Rac46PostSwapRG",
- "api-version": "2016-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName",
- "name":"myRuleName",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
- },
- "properties": {
- "name":"myRuleName",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":2.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-10T21:04:39.0005255Z",
- "actions": [
- {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
- "sendToServiceOwners":true,
- "customEmails": [
- "gu@ms.com",
- "su@ms.net"
- ]
- }
- ]
- }
- },
- {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0",
- "name":"chiricutin0",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
- },
- "properties": {
- "name":"chiricutin0",
- "description":"Pura Vida 0",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":2.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-10T21:04:39.1082596Z",
- "actions":[]
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "Rac46PostSwapRG",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName",
+ "name": "myRuleName",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage",
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
+ "properties": {
+ "name": "myRuleName",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 2.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-10T21:04:39.0005255Z",
+ "actions": [
+ {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
+ "sendToServiceOwners": true,
+ "customEmails": [
+ "gu@ms.com",
+ "su@ms.net"
+ ]
+ }
+ ]
}
- }
+ },
+ {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0",
+ "name": "chiricutin0",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage",
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
+ "properties": {
+ "name": "chiricutin0",
+ "description": "Pura Vida 0",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 2.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-10T21:04:39.1082596Z",
+ "actions": []
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json
index bd048421d8cc..78b6e018656a 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleBySubscription.json
@@ -1,80 +1,82 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "api-version": "2016-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName",
- "name":"myRuleName",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
- },
- "properties": {
- "name":"myRuleName",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":2.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-10T21:04:39.0005255Z",
- "actions": [
- {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
- "sendToServiceOwners":true,
- "customEmails": [
- "gu@ms.com",
- "su@ms.net"
- ]
- }
- ]
- }
- },
- {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0",
- "name":"chiricutin0",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource"
- },
- "properties": {
- "name":"chiricutin0",
- "description":"Pura Vida 0",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":2.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-10T21:04:39.1082596Z",
- "actions":[]
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/myRuleName",
+ "name": "myRuleName",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage",
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
+ "properties": {
+ "name": "myRuleName",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 2.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-10T21:04:39.0005255Z",
+ "actions": [
+ {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction",
+ "sendToServiceOwners": true,
+ "customEmails": [
+ "gu@ms.com",
+ "su@ms.net"
+ ]
+ }
+ ]
}
- }
+ },
+ {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0",
+ "name": "chiricutin0",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage",
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
+ "properties": {
+ "name": "chiricutin0",
+ "description": "Pura Vida 0",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 2.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-10T21:04:39.1082596Z",
+ "actions": []
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json
index ccd54a57d356..bdf0f5aaee03 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listAlertRuleIncidents.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "Rac46PostSwapRG",
- "ruleName": "myRuleName",
- "api-version": "2016-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "name": "Website_started",
- "ruleName": "myRuleName",
- "isActive": true,
- "activatedTime": "2017-09-13T15:45:26.9792776Z",
- "resolvedTime": "2017-09-13T22:14:28.9792776Z"
- }
- ]
- }
- }
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "Rac46PostSwapRG",
+ "ruleName": "myRuleName",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "name": "Website_started",
+ "ruleName": "myRuleName",
+ "isActive": true,
+ "activatedTime": "2017-09-13T15:45:26.9792776Z",
+ "resolvedTime": "2017-09-13T22:14:28.9792776Z"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json
index e4c59ca65269..3b6886398973 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/listLogProfile.json
@@ -1,61 +1,61 @@
{
- "parameters": {
- "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
- "api-version": "2016-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
- "type":"",
- "name":"default",
- "location":"",
- "tags":null,
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
- "serviceBusRuleId":"",
- "locations": [
- "global"
- ],
- "categories": [
- "Delete",
- "Write",
- "Action"
- ],
- "retentionPolicy": {
- "enabled":true,
- "days":3
- }
- }
- },
- {
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default2",
- "type":"",
- "name":"default2",
- "location":"",
- "tags":null,
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8165",
- "serviceBusRuleId":"",
- "locations": [
- "global"
- ],
- "categories": [
- "Delete",
- "Write",
- "Action"
- ],
- "retentionPolicy": {
- "enabled":true,
- "days":15
- }
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
+ "api-version": "2016-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
+ "type": "",
+ "name": "default",
+ "location": "",
+ "tags": null,
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
+ "serviceBusRuleId": "",
+ "locations": [
+ "global"
+ ],
+ "categories": [
+ "Delete",
+ "Write",
+ "Action"
+ ],
+ "retentionPolicy": {
+ "enabled": true,
+ "days": 3
+ }
}
- }
+ },
+ {
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default2",
+ "type": "",
+ "name": "default2",
+ "location": "",
+ "tags": null,
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8165",
+ "serviceBusRuleId": "",
+ "locations": [
+ "global"
+ ],
+ "categories": [
+ "Delete",
+ "Write",
+ "Action"
+ ],
+ "retentionPolicy": {
+ "enabled": true,
+ "days": 15
+ }
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json
index 91122db11b8f..df5d714900ba 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchAlertRule.json
@@ -1,96 +1,96 @@
{
- "parameters": {
- "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
- "resourceGroupName": "Rac46PostSwapRG",
- "ruleName": "chiricutin",
- "api-version": "2016-03-01",
- "alertRulesResource": {
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
- },
- "properties": {
- "name":"chiricutin",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":3.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
- "actions":[]
- }
+ "parameters": {
+ "subscriptionId": "b67f7fec-69fc-4974-9099-a26bd6ffeda3",
+ "resourceGroupName": "Rac46PostSwapRG",
+ "ruleName": "chiricutin",
+ "api-version": "2016-03-01",
+ "alertRulesResource": {
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
+ },
+ "properties": {
+ "name": "chiricutin",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 3.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
+ "actions": []
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
+ "name": "chiricutin",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
+ },
+ "properties": {
+ "name": "chiricutin",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 3.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
+ "actions": []
}
+ }
},
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
- "name":"chiricutin",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
- },
- "properties": {
- "name":"chiricutin",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":3.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
- "actions":[]
- }
- }
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
+ "name": "chiricutin",
+ "type": "Microsoft.Insights/alertRules",
+ "location": "West US",
+ "tags": {
+ "$type": "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
},
- "201": {
- "headers": { },
- "body": {
- "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin",
- "name":"chiricutin",
- "type":"Microsoft.Insights/alertRules",
- "location":"West US",
- "tags": {
- "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary"
- },
- "properties": {
- "name":"chiricutin",
- "description":"Pura Vida",
- "isEnabled":true,
- "condition": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
- "dataSource": {
- "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
- "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
- "metricName":"Requests"
- },
- "operator":"GreaterThan",
- "threshold":3.0,
- "windowSize":"PT5M",
- "timeAggregation":"Total"
- },
- "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z",
- "actions":[]
- }
- }
+ "properties": {
+ "name": "chiricutin",
+ "description": "Pura Vida",
+ "isEnabled": true,
+ "condition": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition",
+ "dataSource": {
+ "odata.type": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource",
+ "resourceUri": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest",
+ "metricName": "Requests"
+ },
+ "operator": "GreaterThan",
+ "threshold": 3.0,
+ "windowSize": "PT5M",
+ "timeAggregation": "Total"
+ },
+ "lastUpdatedTime": "2016-11-23T21:23:52.0221265Z",
+ "actions": []
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json
index 4e4a0a199d8c..6fc9bbb17e11 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/examples/patchLogProfile.json
@@ -1,52 +1,58 @@
{
- "parameters": {
- "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
- "logProfileName": "Rac46PostSwapRG",
- "api-version": "2016-03-01",
- "logProfilesResource": {
- "tags": {
- "key1": "value1"
- },
- "properties": {
- "locations": [ "global" ],
- "categories": [ "Write", "Delete", "Action" ],
- "retentionPolicy": {
- "enabled": true,
- "days": 3
- },
- "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
- "serviceBusRuleId": ""
- }
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
- "type":"",
- "name":"default",
- "location":"",
- "tags": {
- "key1": "value1"
- },
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
- "serviceBusRuleId":"",
- "locations":[
- "global"
- ],
- "categories": [
- "Delete",
- "Write",
- "Action"
- ],
- "retentionPolicy": {
- "enabled":true,
- "days":3
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192",
+ "logProfileName": "Rac46PostSwapRG",
+ "api-version": "2016-03-01",
+ "logProfilesResource": {
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "locations": [
+ "global"
+ ],
+ "categories": [
+ "Write",
+ "Delete",
+ "Action"
+ ],
+ "retentionPolicy": {
+ "enabled": true,
+ "days": 3
+ },
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
+ "serviceBusRuleId": ""
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default",
+ "type": "",
+ "name": "default",
+ "location": "",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162",
+ "serviceBusRuleId": "",
+ "locations": [
+ "global"
+ ],
+ "categories": [
+ "Delete",
+ "Write",
+ "Action"
+ ],
+ "retentionPolicy": {
+ "enabled": true,
+ "days": 3
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
index b7a79b53ef2c..73c5d169e3d8 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
@@ -60,7 +60,9 @@
}
},
"x-ms-examples": {
- "Delete log profile": { "$ref": "./examples/deleteLogProfile.json" }
+ "Delete log profile": {
+ "$ref": "./examples/deleteLogProfile.json"
+ }
}
},
"get": {
@@ -95,7 +97,9 @@
}
},
"x-ms-examples": {
- "Get log profile": { "$ref": "./examples/getLogProfile.json" }
+ "Get log profile": {
+ "$ref": "./examples/getLogProfile.json"
+ }
}
},
"put": {
@@ -133,49 +137,53 @@
}
},
"x-ms-examples": {
- "Create or update a log profile": { "$ref": "./examples/createOrUpdateLogProfile.json" }
+ "Create or update a log profile": {
+ "$ref": "./examples/createOrUpdateLogProfile.json"
+ }
}
},
"patch": {
- "description": "Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.",
- "operationId": "LogProfiles_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/LogProfileNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "logProfilesResource",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/LogProfileResourcePatch"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing log profile was successfully updated.",
- "schema": {
- "$ref": "#/definitions/LogProfileResource"
- }
- }
+ "description": "Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.",
+ "operationId": "LogProfiles_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LogProfileNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "logProfilesResource",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LogProfileResourcePatch"
+ },
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
},
- "x-ms-examples": {
- "Patch a log profile": { "$ref": "./examples/patchLogProfile.json" }
+ "200": {
+ "description": "An existing log profile was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/LogProfileResource"
+ }
}
+ },
+ "x-ms-examples": {
+ "Patch a log profile": {
+ "$ref": "./examples/patchLogProfile.json"
+ }
+ }
}
},
"/subscriptions/{subscriptionId}/providers/microsoft.insights/logprofiles": {
@@ -205,7 +213,9 @@
"nextLinkName": null
},
"x-ms-examples": {
- "List log profiles": { "$ref": "./examples/listLogProfile.json" }
+ "List log profiles": {
+ "$ref": "./examples/listLogProfile.json"
+ }
}
}
}
@@ -232,8 +242,8 @@
"type": "string",
"description": "Resource location",
"x-ms-mutability": [
- "create",
- "read"
+ "create",
+ "read"
]
},
"tags": {
@@ -262,11 +272,18 @@
"description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
}
},
- "required": [ "enabled", "days" ],
+ "required": [
+ "enabled",
+ "days"
+ ],
"description": "Specifies the retention policy for the log."
},
"LogProfileProperties": {
- "required": [ "locations", "categories", "retentionPolicy" ],
+ "required": [
+ "locations",
+ "categories",
+ "retentionPolicy"
+ ],
"properties": {
"storageAccountId": {
"type": "string",
@@ -305,23 +322,25 @@
}
],
"properties": {
- "properties": {
+ "properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/LogProfileProperties",
"description": "The log profile properties of the resource."
}
},
- "required": ["properties"],
+ "required": [
+ "properties"
+ ],
"description": "The log profile resource."
},
"LogProfileResourcePatch": {
"description": "The log profile resource for patch operations.",
"properties": {
"tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
},
"properties": {
"x-ms-client-flatten": true,
@@ -340,7 +359,9 @@
"description": "the values of the log profiles."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Represents a collection of log profiles."
},
"ErrorResponse": {
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json
index 035cc95f53e4..fcfaf112add0 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json
@@ -69,66 +69,66 @@
},
"examples": {
"application/json": {
- "value":[
+ "value": [
{
- "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
"name": {
- "value":"RunsStarted",
- "localizedValue":"Runs Started"
+ "value": "RunsStarted",
+ "localizedValue": "Runs Started"
},
- "unit":"Count",
- "primaryAggregationType":"Total",
- "metricAvailabilities":[
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
{
- "timeGrain":"PT1M",
- "retention":"P30D"
+ "timeGrain": "PT1M",
+ "retention": "P30D"
},
{
- "timeGrain":"PT1H",
- "retention":"P30D"
+ "timeGrain": "PT1H",
+ "retention": "P30D"
}
],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted"
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted"
},
{
- "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
"name": {
- "value":"RunsCompleted",
- "localizedValue":"Runs Completed"
+ "value": "RunsCompleted",
+ "localizedValue": "Runs Completed"
},
- "unit":"Count",
- "primaryAggregationType":"Total",
+ "unit": "Count",
+ "primaryAggregationType": "Total",
"metricAvailabilities": [
{
- "timeGrain":"PT1M",
- "retention":"P30D"
+ "timeGrain": "PT1M",
+ "retention": "P30D"
},
{
- "timeGrain":"PT1H",
- "retention":"P30D"
+ "timeGrain": "PT1H",
+ "retention": "P30D"
}
],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted"
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted"
},
{
- "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "resourceId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
"name": {
- "value":"RunsSucceeded",
- "localizedValue":"Runs Succeeded"
+ "value": "RunsSucceeded",
+ "localizedValue": "Runs Succeeded"
},
- "unit":"Count",
- "primaryAggregationType":"Total",
+ "unit": "Count",
+ "primaryAggregationType": "Total",
"metricAvailabilities": [
{
- "timeGrain":"PT1M",
- "retention":"P30D"
+ "timeGrain": "PT1M",
+ "retention": "P30D"
},
{
- "timeGrain":"PT1H",
- "retention":"P30D"
+ "timeGrain": "PT1H",
+ "retention": "P30D"
}
],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded"
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded"
}
]
}
@@ -140,15 +140,21 @@
},
"x-ms-odata": "#/definitions/MetricDefinition",
"x-ms-examples": {
- "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" },
- "Get Metric Definitions with filter": { "$ref": "./examples/GetMetricDefinitionsFiltered.json" }
+ "Get Metric Definitions without filter": {
+ "$ref": "./examples/GetMetricDefinitions.json"
+ },
+ "Get Metric Definitions with filter": {
+ "$ref": "./examples/GetMetricDefinitionsFiltered.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -247,7 +253,9 @@
"description": "the values for the metric definitions."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Represents collection of metric definitions."
},
"ErrorResponse": {
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json
index a1377c14f37b..fdc5de9cf6d7 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetric.json
@@ -1,62 +1,62 @@
{
- "parameters": {
- "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "api-version": "2016-09-01",
- "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "data": [
- {
- "timeStamp":"2016-11-23T19:14:00Z",
- "total":1.0
- },
- {
- "timeStamp":"2016-11-23T19:15:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:16:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:17:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:18:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:19:00Z",
- "total":1.0
- },
- {
- "timeStamp":"2016-11-23T19:20:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:21:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:22:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:23:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:24:00Z",
- "total":1.0
- }
- ],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted",
- "name": {
- "value":"RunsStarted",
- "localizedValue":"Runs Started"
- },
- "type":"Microsoft.Insights/metrics",
- "unit":"Count"
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "api-version": "2016-09-01",
+ "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "data": [
+ {
+ "timeStamp": "2016-11-23T19:14:00Z",
+ "total": 1.0
+ },
+ {
+ "timeStamp": "2016-11-23T19:15:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:16:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:17:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:18:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:19:00Z",
+ "total": 1.0
+ },
+ {
+ "timeStamp": "2016-11-23T19:20:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:21:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:22:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:23:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:24:00Z",
+ "total": 1.0
+ }
+ ],
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted",
+ "name": {
+ "value": "RunsStarted",
+ "localizedValue": "Runs Started"
+ },
+ "type": "Microsoft.Insights/metrics",
+ "unit": "Count"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json
index bece918b2b16..df50abd401b4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/GetMetricFiltered.json
@@ -1,63 +1,63 @@
{
- "parameters": {
- "$filter": "(name.value eq 'RunsStarted') and aggregationType eq 'Total' and startTime eq 2016-11-23 and endTime eq 2016-11-24 and timeGrain eq duration'PT1M'",
- "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
- "api-version": "2016-09-01",
- "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "data": [
- {
- "timeStamp":"2016-11-23T19:14:00Z",
- "total":1.0
- },
- {
- "timeStamp":"2016-11-23T19:15:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:16:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:17:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:18:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:19:00Z",
- "total":1.0
- },
- {
- "timeStamp":"2016-11-23T19:20:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:21:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:22:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:23:00Z"
- },
- {
- "timeStamp":"2016-11-23T19:24:00Z",
- "total":1.0
- }
- ],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted",
- "name": {
- "value":"RunsStarted",
- "localizedValue":"Runs Started"
- },
- "type":"Microsoft.Insights/metrics",
- "unit":"Count"
- }
- ]
- }
- }
+ "parameters": {
+ "$filter": "(name.value eq 'RunsStarted') and aggregationType eq 'Total' and startTime eq 2016-11-23 and endTime eq 2016-11-24 and timeGrain eq duration'PT1M'",
+ "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia",
+ "api-version": "2016-09-01",
+ "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "data": [
+ {
+ "timeStamp": "2016-11-23T19:14:00Z",
+ "total": 1.0
+ },
+ {
+ "timeStamp": "2016-11-23T19:15:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:16:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:17:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:18:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:19:00Z",
+ "total": 1.0
+ },
+ {
+ "timeStamp": "2016-11-23T19:20:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:21:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:22:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:23:00Z"
+ },
+ {
+ "timeStamp": "2016-11-23T19:24:00Z",
+ "total": 1.0
+ }
+ ],
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted",
+ "name": {
+ "value": "RunsStarted",
+ "localizedValue": "Runs Started"
+ },
+ "type": "Microsoft.Insights/metrics",
+ "unit": "Count"
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json
index 2257369319d9..b384e6adb9de 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json
@@ -1,73 +1,73 @@
{
+ "parameters": {
+ "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "api-version": "2016-09-01",
"parameters": {
- "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
- "api-version": "2016-09-01",
- "parameters": {
- "location": "",
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "metrics": [
- {
- "timeGrain":"PT1M",
- "enabled":true,
- "retentionPolicy": {
- "enabled":false,
- "days":0
- }
- }
- ],
- "logs": [
- {
- "category":"WorkflowRuntime",
- "enabled":true,
- "retentionPolicy": {
- "enabled":false,
- "days":0
- }
- }
- ]
+ "location": "",
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "metrics": [
+ {
+ "timeGrain": "PT1M",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type":"",
- "name":"service",
- "location":"",
- "tags":null,
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "metrics": [
- {
- "timeGrain":"PT1M",
- "enabled":true,
- "retentionPolicy": {
- "enabled":false,
- "days":0
- }
- }
- ],
- "logs": [
- {
- "category":"WorkflowRuntime",
- "enabled":true,
- "retentionPolicy": {
- "enabled":false,
- "days":0
- }
- }
- ]
- }
+ }
+ ],
+ "logs": [
+ {
+ "category": "WorkflowRuntime",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "service",
+ "location": "",
+ "tags": null,
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "metrics": [
+ {
+ "timeGrain": "PT1M",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
+ }
+ ],
+ "logs": [
+ {
+ "category": "WorkflowRuntime",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
+ }
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/getServiceDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/getServiceDiagnosticSetting.json
index 323f6938d9bd..a05370758b19 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/getServiceDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/getServiceDiagnosticSetting.json
@@ -1,37 +1,39 @@
{
- "parameters" : {
- "resourceUri" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
- "api-version" : "2016-09-01"
+ "parameters": {
+ "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "api-version": "2016-09-01"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "id" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type" : "",
- "name" : "service",
- "location" : "",
- "tags" : null,
- "properties" : {
- "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "serviceBusRuleId" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId" : "",
- "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "metrics" : [{
- "timeGrain" : "PT1M",
- "enabled" : true,
- "retentionPolicy" : {
- "enabled" : false,
- "days" : 0
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "service",
+ "location": "",
+ "tags": null,
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "metrics": [
+ {
+ "timeGrain": "PT1M",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
}
],
- "logs" : [{
- "category" : "WorkflowRuntime",
- "enabled" : true,
- "retentionPolicy" : {
- "enabled" : false,
- "days" : 0
+ "logs": [
+ {
+ "category": "WorkflowRuntime",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
}
]
@@ -39,4 +41,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/updateServiceDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/updateServiceDiagnosticSetting.json
index da047720e4ff..7d0bb0639f60 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/updateServiceDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/examples/updateServiceDiagnosticSetting.json
@@ -1,73 +1,73 @@
{
+ "parameters": {
+ "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "api-version": "2016-09-01",
"parameters": {
- "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
- "api-version": "2016-09-01",
- "parameters": {
- "tags": null,
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "metrics": [
- {
- "timeGrain":"PT1M",
- "enabled":true,
- "retentionPolicy": {
- "enabled":false,
- "days":3
- }
- }
- ],
- "logs": [
- {
- "category":"WorkflowRuntime",
- "enabled":true,
- "retentionPolicy": {
- "enabled":false,
- "days":5
- }
- }
- ]
+ "tags": null,
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "metrics": [
+ {
+ "timeGrain": "PT1M",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 3
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type":"",
- "name":"service",
- "location":"",
- "tags":null,
- "properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "metrics": [
- {
- "timeGrain":"PT1M",
- "enabled":true,
- "retentionPolicy": {
- "enabled":false,
- "days":3
- }
- }
- ],
- "logs": [
- {
- "category":"WorkflowRuntime",
- "enabled":true,
- "retentionPolicy": {
- "enabled":false,
- "days":5
- }
- }
- ]
- }
+ }
+ ],
+ "logs": [
+ {
+ "category": "WorkflowRuntime",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 5
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "service",
+ "location": "",
+ "tags": null,
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "metrics": [
+ {
+ "timeGrain": "PT1M",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 3
}
+ }
+ ],
+ "logs": [
+ {
+ "category": "WorkflowRuntime",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 5
+ }
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json
index 061139f29e94..4191c1dd8b46 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/metrics_API.json
@@ -73,49 +73,49 @@
{
"data": [
{
- "timeStamp":"2016-11-23T19:14:00Z",
- "total":1.0
+ "timeStamp": "2016-11-23T19:14:00Z",
+ "total": 1.0
},
{
- "timeStamp":"2016-11-23T19:15:00Z"
+ "timeStamp": "2016-11-23T19:15:00Z"
},
{
- "timeStamp":"2016-11-23T19:16:00Z"
+ "timeStamp": "2016-11-23T19:16:00Z"
},
{
- "timeStamp":"2016-11-23T19:17:00Z"
+ "timeStamp": "2016-11-23T19:17:00Z"
},
{
- "timeStamp":"2016-11-23T19:18:00Z"
+ "timeStamp": "2016-11-23T19:18:00Z"
},
{
- "timeStamp":"2016-11-23T19:19:00Z",
- "total":1.0
+ "timeStamp": "2016-11-23T19:19:00Z",
+ "total": 1.0
},
{
- "timeStamp":"2016-11-23T19:20:00Z"
+ "timeStamp": "2016-11-23T19:20:00Z"
},
{
- "timeStamp":"2016-11-23T19:21:00Z"
+ "timeStamp": "2016-11-23T19:21:00Z"
},
{
- "timeStamp":"2016-11-23T19:22:00Z"
+ "timeStamp": "2016-11-23T19:22:00Z"
},
{
- "timeStamp":"2016-11-23T19:23:00Z"
+ "timeStamp": "2016-11-23T19:23:00Z"
},
{
- "timeStamp":"2016-11-23T19:24:00Z",
- "total":1.0
+ "timeStamp": "2016-11-23T19:24:00Z",
+ "total": 1.0
}
],
- "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted",
+ "id": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted",
"name": {
- "value":"RunsStarted",
- "localizedValue":"Runs Started"
+ "value": "RunsStarted",
+ "localizedValue": "Runs Started"
},
- "type":"Microsoft.Insights/metrics",
- "unit":"Count"
+ "type": "Microsoft.Insights/metrics",
+ "unit": "Count"
}
]
}
@@ -127,15 +127,21 @@
},
"x-ms-odata": "#/definitions/Metric",
"x-ms-examples": {
- "Get Metric without filter": { "$ref": "./examples/GetMetric.json" },
- "Get Metric with filter": { "$ref": "./examples/GetMetricFiltered.json" }
+ "Get Metric without filter": {
+ "$ref": "./examples/GetMetric.json"
+ },
+ "Get Metric with filter": {
+ "$ref": "./examples/GetMetricFiltered.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -166,7 +172,9 @@
}
},
"MetricValue": {
- "required": [ "timeStamp" ],
+ "required": [
+ "timeStamp"
+ ],
"properties": {
"timeStamp": {
"type": "string",
@@ -202,7 +210,11 @@
"description": "Represents a metric value."
},
"Metric": {
- "required": [ "name", "unit", "data" ],
+ "required": [
+ "name",
+ "unit",
+ "data"
+ ],
"properties": {
"id": {
"type": "string",
@@ -240,7 +252,9 @@
"description": "the value of the collection."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "The collection of metric value sets."
},
"ErrorResponse": {
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json
index 4918d221fd0f..bc1396b369c2 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json
@@ -62,32 +62,32 @@
},
"examples": {
"application/json": {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type":"",
- "name":"service",
- "location":"",
- "tags":null,
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "service",
+ "location": "",
+ "tags": null,
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
"metrics": [
{
- "timeGrain":"PT1M",
- "enabled":true,
+ "timeGrain": "PT1M",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
]
@@ -97,7 +97,9 @@
}
},
"x-ms-examples": {
- "Get service diagnostic setting": { "$ref": "./examples/getServiceDiagnosticSetting.json" }
+ "Get service diagnostic setting": {
+ "$ref": "./examples/getServiceDiagnosticSetting.json"
+ }
}
},
"put": {
@@ -131,33 +133,33 @@
},
"examples": {
"application/json": {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type":"",
- "name":"service",
- "location":"",
- "tags":null,
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "service",
+ "location": "",
+ "tags": null,
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/authorizationrules/myrule",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "serviceBusRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/authorizationrules/myrule",
"metrics": [
{
- "timeGrain":"PT1M",
- "enabled":true,
+ "timeGrain": "PT1M",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
]
@@ -167,45 +169,49 @@
}
},
"x-ms-examples": {
- "Create or update a service diagnostic setting": { "$ref": "./examples/createOrUpdateServiceDiagnosticSetting.json" }
+ "Create or update a service diagnostic setting": {
+ "$ref": "./examples/createOrUpdateServiceDiagnosticSetting.json"
+ }
}
},
"patch": {
"description": "Updates an existing ServiceDiagnosticSettingsResource. To update other fields use the CreateOrUpdate method. **WARNING**: This method will be deprecated in future releases.",
"operationId": "ServiceDiagnosticSettings_Update",
"parameters": [
- {
- "$ref": "#/parameters/ResourceUriParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
+ {
+ "$ref": "#/parameters/ResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "serviceDiagnosticSettingsResource",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ServiceDiagnosticSettingsResourcePatch"
},
- {
- "name": "serviceDiagnosticSettingsResource",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServiceDiagnosticSettingsResourcePatch"
- },
- "description": "Parameters supplied to the operation."
- }
+ "description": "Parameters supplied to the operation."
+ }
],
"responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing service diagnostics setting resource was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ServiceDiagnosticSettingsResource"
- }
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "An existing service diagnostics setting resource was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ServiceDiagnosticSettingsResource"
}
+ }
},
"x-ms-examples": {
- "Update a service diagnostic setting": { "$ref": "./examples/updateServiceDiagnosticSetting.json" }
+ "Update a service diagnostic setting": {
+ "$ref": "./examples/updateServiceDiagnosticSetting.json"
+ }
}
}
}
@@ -232,8 +238,8 @@
"type": "string",
"description": "Resource location",
"x-ms-mutability": [
- "create",
- "read"
+ "create",
+ "read"
]
},
"tags": {
@@ -262,7 +268,10 @@
"description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
}
},
- "required": [ "enabled", "days" ],
+ "required": [
+ "enabled",
+ "days"
+ ],
"description": "Specifies the retention policy for the log."
},
"MetricSettings": {
@@ -281,7 +290,10 @@
"description": "the retention policy for this timegrain."
}
},
- "required": [ "enabled", "timeGrain" ],
+ "required": [
+ "enabled",
+ "timeGrain"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric."
},
"LogSettings": {
@@ -299,7 +311,9 @@
"description": "the retention policy for this log."
}
},
- "required": [ "enabled" ],
+ "required": [
+ "enabled"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
},
"ServiceDiagnosticSettings": {
@@ -357,10 +371,10 @@
"description": "Service diagnostic setting resource for patch operations",
"properties": {
"tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
},
"properties": {
"x-ms-client-flatten": true,
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/actionGroups_API.json
index b3d90206d892..c2f3163a2c36 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/actionGroups_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/actionGroups_API.json
@@ -1,716 +1,716 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Azure Action Groups API",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2017-04-01"
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Action Groups API",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "version": "2017-04-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
+ "put": {
+ "description": "Create a new action group or update an existing one.",
+ "operationId": "ActionGroups_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an action group": {
+ "$ref": "./examples/createOrUpdateActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "actionGroup",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The action group to create or use for the update."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "201": {
+ "description": "A new action group was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+ },
+ "get": {
+ "description": "Get an action group.",
+ "operationId": "ActionGroups_Get",
+ "x-ms-examples": {
+ "Get an action group": {
+ "$ref": "./examples/getActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
- "put": {
- "description": "Create a new action group or update an existing one.",
- "operationId": "ActionGroups_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an action group": {
- "$ref": "./examples/createOrUpdateActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "actionGroup",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The action group to create or use for the update."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "201": {
- "description": "A new action group was successfully created.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Get an action group.",
- "operationId": "ActionGroups_Get",
- "x-ms-examples": {
- "Get an action group": {
- "$ref": "./examples/getActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete an action group.",
- "operationId": "ActionGroups_Delete",
- "x-ms-examples": {
- "Delete an action group": {
- "$ref": "./examples/deleteActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The action group was successfully deleted."
- },
- "204": {
- "description": "The action group does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the action group could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "delete": {
+ "description": "Delete an action group.",
+ "operationId": "ActionGroups_Delete",
+ "x-ms-examples": {
+ "Delete an action group": {
+ "$ref": "./examples/deleteActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The action group was successfully deleted."
+ },
+ "204": {
+ "description": "The action group does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
+ "operationId": "ActionGroups_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "actionGroupPatch",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupPatchBody"
},
- "patch": {
- "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
- "operationId": "ActionGroups_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "actionGroupPatch",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupPatchBody"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- }
- },
- "x-ms-examples": {
- "Patch an action group": {
- "$ref": "./examples/patchActionGroup.json"
- }
- }
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a subscription.",
- "operationId": "ActionGroups_ListBySubscriptionId",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
}
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a resource group.",
- "operationId": "ActionGroups_ListByResourceGroup",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
+ "x-ms-examples": {
+ "Patch an action group": {
+ "$ref": "./examples/patchActionGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a subscription.",
+ "operationId": "ActionGroups_ListBySubscriptionId",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
- "post": {
- "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled.",
- "operationId": "ActionGroups_EnableReceiver",
- "x-ms-examples": {
- "Enable the receiver": {
- "$ref": "./examples/enableReceiver.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "enableRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/EnableRequest"
- },
- "description": "The receiver to re-enable."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The receiver was successfully enabled."
- },
- "409": {
- "description": "The receiver is already enabled in the action group."
- },
- "default": {
- "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
}
+ }
},
- "definitions": {
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- },
- "ActionGroupResource": {
- "description": "An action group resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroup",
- "description": "The action groups properties of the resource."
- }
- }
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a resource group.",
+ "operationId": "ActionGroups_ListByResourceGroup",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "ActionGroupList": {
- "description": "A list of action groups.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The list of action groups."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
}
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
+ "post": {
+ "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled.",
+ "operationId": "ActionGroups_EnableReceiver",
+ "x-ms-examples": {
+ "Enable the receiver": {
+ "$ref": "./examples/enableReceiver.json"
+ }
},
- "ActionGroup": {
- "description": "An Azure action group.",
- "properties": {
- "groupShortName": {
- "type": "string",
- "maxLength": 12,
- "description": "The short name of the action group. This will be used in SMS messages."
- },
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
- },
- "emailReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EmailReceiver"
- },
- "description": "The list of email receivers that are part of this action group."
- },
- "smsReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SmsReceiver"
- },
- "description": "The list of SMS receivers that are part of this action group."
- },
- "webhookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/WebhookReceiver"
- },
- "description": "The list of webhook receivers that are part of this action group."
- },
- "itsmReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ItsmReceiver"
- },
- "description": "The list of ITSM receivers that are part of this action group."
- },
- "azureAppPushReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureAppPushReceiver"
- },
- "description": "The list of AzureAppPush receivers that are part of this action group."
- },
- "automationRunbookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AutomationRunbookReceiver"
- },
- "description": "The list of AutomationRunbook receivers that are part of this action group."
- }
- },
- "required": [
- "groupShortName",
- "enabled"
- ]
- },
- "EmailReceiver": {
- "description": "An email receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address of this receiver."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The receiver status of the e-mail."
- }
- },
- "required": [
- "name",
- "emailAddress"
- ]
- },
- "SmsReceiver": {
- "description": "An SMS receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the SMS receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the SMS receiver."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The status of the receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "WebhookReceiver": {
- "description": "A webhook receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- }
- },
- "required": [
- "name",
- "serviceUri"
- ]
- },
- "ItsmReceiver": {
- "description": "An Itsm receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
- },
- "workspaceId": {
- "type": "string",
- "description": "OMS LA instance identifier."
- },
- "connectionId": {
- "type": "string",
- "description": "Unique identification of ITSM connection among multiple defined in above workspace."
- },
- "ticketConfiguration": {
- "type": "string",
- "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
- },
- "region": {
- "type": "string",
- "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
- }
- },
- "required": [
- "name",
- "workspaceId",
- "connectionId",
- "ticketConfiguration",
- "region"
- ]
- },
- "AzureAppPushReceiver": {
- "description": "The Azure mobile App push notification receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address registered for the Azure mobile app."
- }
- },
- "required": [
- "name",
- "emailAddress"
- ]
- },
- "AutomationRunbookReceiver": {
- "description": "The Azure Automation Runbook notification receiver.",
- "properties": {
- "automationAccountId": {
- "type": "string",
- "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
- },
- "runbookName": {
- "type": "string",
- "description": "The name for this runbook."
- },
- "webhookResourceId": {
- "type": "string",
- "description": "The resource id for webhook linked to this runbook."
- },
- "isGlobalRunbook": {
- "type": "boolean",
- "description": "Indicates whether this instance is global runbook."
- },
- "name": {
- "type": "string",
- "description": "Indicates name of the webhook."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- }
- },
- "required": [
- "automationAccountId",
- "runbookName",
- "webhookResourceId",
- "isGlobalRunbook"
- ]
- },
- "ReceiverStatus": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "ReceiverStatus",
- "modelAsString": false
- },
- "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
- },
- "EnableRequest": {
- "description": "Describes a receiver that should be resubscribed.",
- "properties": {
- "receiverName": {
- "type": "string",
- "description": "The name of the receiver to resubscribe."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "enableRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EnableRequest"
},
- "required": [
- "receiverName"
- ]
- },
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ "description": "The receiver to re-enable."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The receiver was successfully enabled."
+ },
+ "409": {
+ "description": "The receiver is already enabled in the action group."
+ },
+ "default": {
+ "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ActionGroupPatchBody": {
- "description": "An action group object for the body of patch operations.",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroupPatch",
- "description": "The action group settings for an update operation."
- }
- }
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "ActionGroupPatch": {
- "description": "An Azure action group for patch operations.",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
- }
- }
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
}
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "ActionGroupResource": {
+ "description": "An action group resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroup",
+ "description": "The action groups properties of the resource."
+ }
+ }
+ },
+ "ActionGroupList": {
+ "description": "A list of action groups.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The list of action groups."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "ActionGroup": {
+ "description": "An Azure action group.",
+ "properties": {
+ "groupShortName": {
+ "type": "string",
+ "maxLength": 12,
+ "description": "The short name of the action group. This will be used in SMS messages."
},
- "ActionGroupNameParameter": {
- "name": "actionGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the action group.",
- "x-ms-parameter-location": "method"
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
+ "emailReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EmailReceiver"
+ },
+ "description": "The list of email receivers that are part of this action group."
+ },
+ "smsReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SmsReceiver"
+ },
+ "description": "The list of SMS receivers that are part of this action group."
+ },
+ "webhookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WebhookReceiver"
+ },
+ "description": "The list of webhook receivers that are part of this action group."
+ },
+ "itsmReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ItsmReceiver"
+ },
+ "description": "The list of ITSM receivers that are part of this action group."
+ },
+ "azureAppPushReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureAppPushReceiver"
+ },
+ "description": "The list of AzureAppPush receivers that are part of this action group."
+ },
+ "automationRunbookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutomationRunbookReceiver"
+ },
+ "description": "The list of AutomationRunbook receivers that are part of this action group."
+ }
+ },
+ "required": [
+ "groupShortName",
+ "enabled"
+ ]
+ },
+ "EmailReceiver": {
+ "description": "An email receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address of this receiver."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The receiver status of the e-mail."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress"
+ ]
+ },
+ "SmsReceiver": {
+ "description": "An SMS receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the SMS receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the SMS receiver."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The status of the receiver."
+ }
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "WebhookReceiver": {
+ "description": "A webhook receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ }
+ },
+ "required": [
+ "name",
+ "serviceUri"
+ ]
+ },
+ "ItsmReceiver": {
+ "description": "An Itsm receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
+ },
+ "workspaceId": {
+ "type": "string",
+ "description": "OMS LA instance identifier."
+ },
+ "connectionId": {
+ "type": "string",
+ "description": "Unique identification of ITSM connection among multiple defined in above workspace."
+ },
+ "ticketConfiguration": {
+ "type": "string",
+ "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
+ },
+ "region": {
+ "type": "string",
+ "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
}
+ },
+ "required": [
+ "name",
+ "workspaceId",
+ "connectionId",
+ "ticketConfiguration",
+ "region"
+ ]
+ },
+ "AzureAppPushReceiver": {
+ "description": "The Azure mobile App push notification receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address registered for the Azure mobile app."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress"
+ ]
+ },
+ "AutomationRunbookReceiver": {
+ "description": "The Azure Automation Runbook notification receiver.",
+ "properties": {
+ "automationAccountId": {
+ "type": "string",
+ "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
+ },
+ "runbookName": {
+ "type": "string",
+ "description": "The name for this runbook."
+ },
+ "webhookResourceId": {
+ "type": "string",
+ "description": "The resource id for webhook linked to this runbook."
+ },
+ "isGlobalRunbook": {
+ "type": "boolean",
+ "description": "Indicates whether this instance is global runbook."
+ },
+ "name": {
+ "type": "string",
+ "description": "Indicates name of the webhook."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ }
+ },
+ "required": [
+ "automationAccountId",
+ "runbookName",
+ "webhookResourceId",
+ "isGlobalRunbook"
+ ]
+ },
+ "ReceiverStatus": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ReceiverStatus",
+ "modelAsString": false
+ },
+ "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
+ },
+ "EnableRequest": {
+ "description": "Describes a receiver that should be resubscribed.",
+ "properties": {
+ "receiverName": {
+ "type": "string",
+ "description": "The name of the receiver to resubscribe."
+ }
+ },
+ "required": [
+ "receiverName"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "ActionGroupPatchBody": {
+ "description": "An action group object for the body of patch operations.",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroupPatch",
+ "description": "The action group settings for an update operation."
+ }
+ }
+ },
+ "ActionGroupPatch": {
+ "description": "An Azure action group for patch operations.",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ActionGroupNameParameter": {
+ "name": "actionGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the action group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
+ }
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
index 332e93e78a8c..1c8c0a5d5ae8 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
@@ -1,528 +1,528 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Azure Activity Log Alerts API",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2017-04-01"
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Activity Log Alerts API",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "version": "2017-04-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": {
+ "put": {
+ "description": "Create a new activity log alert or update an existing one.",
+ "operationId": "ActivityLogAlerts_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an activity log alert": {
+ "$ref": "./examples/createOrUpdateActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "activityLogAlert",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ },
+ "description": "The activity log alert to create or use for the update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing activity log alert was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ }
+ },
+ "201": {
+ "description": "A new activity log alert was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+ },
+ "get": {
+ "description": "Get an activity log alert.",
+ "operationId": "ActivityLogAlerts_Get",
+ "x-ms-examples": {
+ "Get an activity log alert": {
+ "$ref": "./examples/getActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
}
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": {
- "put": {
- "description": "Create a new activity log alert or update an existing one.",
- "operationId": "ActivityLogAlerts_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an activity log alert": {
- "$ref": "./examples/createOrUpdateActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "activityLogAlert",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- },
- "description": "The activity log alert to create or use for the update."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing activity log alert was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "201": {
- "description": "A new activity log alert was successfully created.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Get an activity log alert.",
- "operationId": "ActivityLogAlerts_Get",
- "x-ms-examples": {
- "Get an activity log alert": {
- "$ref": "./examples/getActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete an activity log alert.",
- "operationId": "ActivityLogAlerts_Delete",
- "x-ms-examples": {
- "Delete an activity log alert": {
- "$ref": "./examples/deleteActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The activity log alert was successfully deleted."
- },
- "204": {
- "description": "The activity log alert does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "delete": {
+ "description": "Delete an activity log alert.",
+ "operationId": "ActivityLogAlerts_Delete",
+ "x-ms-examples": {
+ "Delete an activity log alert": {
+ "$ref": "./examples/deleteActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The activity log alert was successfully deleted."
+ },
+ "204": {
+ "description": "The activity log alert does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.",
+ "operationId": "ActivityLogAlerts_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "activityLogAlertPatch",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertPatchBody"
},
- "patch": {
- "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.",
- "operationId": "ActivityLogAlerts_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "activityLogAlertPatch",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertPatchBody"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing activity log alert was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- }
- },
- "x-ms-examples": {
- "Patch an activity log alert": {
- "$ref": "./examples/patchActivityLogAlert.json"
- }
- }
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": {
- "get": {
- "description": "Get a list of all activity log alerts in a subscription.",
- "operationId": "ActivityLogAlerts_ListBySubscriptionId",
- "x-ms-examples": {
- "List activity log alerts": {
- "$ref": "./examples/listActivityLogAlerts.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertList"
- }
- },
- "default": {
- "description": "An error occurred and the list of activity log alerts could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "200": {
+ "description": "An existing activity log alert was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
}
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": {
- "get": {
- "description": "Get a list of all activity log alerts in a resource group.",
- "operationId": "ActivityLogAlerts_ListByResourceGroup",
- "x-ms-examples": {
- "List activity log alerts": {
- "$ref": "./examples/listActivityLogAlerts.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertList"
- }
- },
- "default": {
- "description": "An error occurred and the list of activity log alerts could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
+ "x-ms-examples": {
+ "Patch an activity log alert": {
+ "$ref": "./examples/patchActivityLogAlert.json"
+ }
}
+ }
},
- "definitions": {
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": {
+ "get": {
+ "description": "Get a list of all activity log alerts in a subscription.",
+ "operationId": "ActivityLogAlerts_ListBySubscriptionId",
+ "x-ms-examples": {
+ "List activity log alerts": {
+ "$ref": "./examples/listActivityLogAlerts.json"
+ }
},
- "ActivityLogAlertResource": {
- "description": "An activity log alert resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActivityLogAlert",
- "description": "The activity log alert properties of the resource."
- }
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of activity log alerts could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": {
+ "get": {
+ "description": "Get a list of all activity log alerts in a resource group.",
+ "operationId": "ActivityLogAlerts_ListByResourceGroup",
+ "x-ms-examples": {
+ "List activity log alerts": {
+ "$ref": "./examples/listActivityLogAlerts.json"
+ }
},
- "ActivityLogAlertList": {
- "description": "A list of activity log alerts.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- },
- "description": "The list of activity log alerts."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of activity log alerts could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ActivityLogAlert": {
- "description": "An Azure activity log alert.",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item."
- },
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
- },
- "condition": {
- "$ref": "#/definitions/ActivityLogAlertAllOfCondition",
- "description": "The condition that will cause this alert to activate."
- },
- "actions": {
- "$ref": "#/definitions/ActivityLogAlertActionList",
- "description": "The actions that will activate when the condition is met."
- },
- "description": {
- "type": "string",
- "description": "A description of this activity log alert."
- }
- },
- "required": [
- "scopes",
- "condition",
- "actions"
- ]
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "ActivityLogAlertAllOfCondition": {
- "properties": {
- "allOf": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertLeafCondition"
- },
- "description": "The list of activity log alert conditions."
- }
- },
- "description": "An Activity Log alert condition that is met when all its member conditions are met.",
- "required": [
- "allOf"
- ]
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
},
- "ActivityLogAlertLeafCondition": {
- "properties": {
- "field": {
- "type": "string",
- "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'."
- },
- "equals": {
- "type": "string",
- "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met."
- }
- },
- "description": "An Activity Log alert condition that is met by comparing an activity log field and value.",
- "required": [
- "field",
- "equals"
- ]
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
},
- "ActivityLogAlertActionList": {
- "description": "A list of activity log alert actions.",
- "properties": {
- "actionGroups": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertActionGroup"
- },
- "description": "The list of activity log alerts."
- }
- }
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ },
+ "ActivityLogAlertResource": {
+ "description": "An activity log alert resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActivityLogAlert",
+ "description": "The activity log alert properties of the resource."
+ }
+ }
+ },
+ "ActivityLogAlertList": {
+ "description": "A list of activity log alerts.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ },
+ "description": "The list of activity log alerts."
},
- "ActivityLogAlertActionGroup": {
- "description": "A pointer to an Azure Action Group.",
- "properties": {
- "actionGroupId": {
- "type": "string",
- "description": "The resourceId of the action group. This cannot be null or empty."
- },
- "webhookProperties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
- }
- },
- "required": [
- "actionGroupId"
- ]
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "ActivityLogAlert": {
+ "description": "An Azure activity log alert.",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item."
},
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
- }
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
},
- "ActivityLogAlertPatchBody": {
- "description": "An activity log alert object for the body of patch operations.",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActivityLogAlertPatch",
- "description": "The activity log alert settings for an update operation."
- }
- }
+ "condition": {
+ "$ref": "#/definitions/ActivityLogAlertAllOfCondition",
+ "description": "The condition that will cause this alert to activate."
},
- "ActivityLogAlertPatch": {
- "description": "An Azure activity log alert for patch operations.",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
- }
- }
+ "actions": {
+ "$ref": "#/definitions/ActivityLogAlertActionList",
+ "description": "The actions that will activate when the condition is met."
+ },
+ "description": {
+ "type": "string",
+ "description": "A description of this activity log alert."
}
+ },
+ "required": [
+ "scopes",
+ "condition",
+ "actions"
+ ]
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "ActivityLogAlertAllOfCondition": {
+ "properties": {
+ "allOf": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertLeafCondition"
+ },
+ "description": "The list of activity log alert conditions."
+ }
+ },
+ "description": "An Activity Log alert condition that is met when all its member conditions are met.",
+ "required": [
+ "allOf"
+ ]
+ },
+ "ActivityLogAlertLeafCondition": {
+ "properties": {
+ "field": {
+ "type": "string",
+ "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "equals": {
+ "type": "string",
+ "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met."
+ }
+ },
+ "description": "An Activity Log alert condition that is met by comparing an activity log field and value.",
+ "required": [
+ "field",
+ "equals"
+ ]
+ },
+ "ActivityLogAlertActionList": {
+ "description": "A list of activity log alert actions.",
+ "properties": {
+ "actionGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertActionGroup"
+ },
+ "description": "The list of activity log alerts."
+ }
+ }
+ },
+ "ActivityLogAlertActionGroup": {
+ "description": "A pointer to an Azure Action Group.",
+ "properties": {
+ "actionGroupId": {
+ "type": "string",
+ "description": "The resourceId of the action group. This cannot be null or empty."
},
- "ActivityLogAlertNameParameter": {
- "name": "activityLogAlertName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the activity log alert.",
- "x-ms-parameter-location": "method"
+ "webhookProperties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
+ }
+ },
+ "required": [
+ "actionGroupId"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
}
+ }
+ },
+ "ActivityLogAlertPatchBody": {
+ "description": "An activity log alert object for the body of patch operations.",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActivityLogAlertPatch",
+ "description": "The activity log alert settings for an update operation."
+ }
+ }
+ },
+ "ActivityLogAlertPatch": {
+ "description": "An Azure activity log alert for patch operations.",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ActivityLogAlertNameParameter": {
+ "name": "activityLogAlertName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the activity log alert.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
+ }
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActionGroup.json
index c061cee773df..a8de7b6b5531 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActionGroup.json
@@ -1,213 +1,213 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2017-04-01",
- "actionGroup": {
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2017-04-01",
+ "actionGroup": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
}
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
+ }
+ ]
}
+ }
},
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ]
- }
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
}
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ]
- }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActivityLogAlert.json
index da116b2822ab..24993d51dde8 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/createOrUpdateActivityLogAlert.json
@@ -1,121 +1,121 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-04-01",
- "activityLogAlert": {
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-04-01",
+ "activityLogAlert": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
- }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
+ }
}
+ ]
},
- "201": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "description": "Sample activity log alert description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
+ }
+ }
+ },
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
+ }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json
index c6e835cb2895..87fc46039a3d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActionGroup.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2017-04-01"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2017-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json
index 7a3fbf91c0c6..23393ae26daa 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/deleteActivityLogAlert.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-04-01"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json
index 65bd11c1c1fb..43802e8eb192 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/enableReceiver.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2017-04-01",
- "enableRequest": {
- "receiverName": "John Doe's mobile"
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2017-04-01",
+ "enableRequest": {
+ "receiverName": "John Doe's mobile"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "409": {
- "headers": {},
- "body": null
- }
+ "409": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActionGroup.json
index 1066a62661e5..cc56b291979e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActionGroup.json
@@ -1,56 +1,56 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2017-04-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2017-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled"
}
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActivityLogAlert.json
index 7172f109e8fe..e468e240dbf4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/getActivityLogAlert.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-04-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActionGroups.json
index c8e9e4901dd5..89044838c7fb 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActionGroups.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActionGroups.json
@@ -1,86 +1,86 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "api-version": "2017-04-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
- },
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup2",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample2",
- "enabled": false,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": []
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "api-version": "2017-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ]
}
- }
+ },
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup2",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample2",
+ "enabled": false,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": []
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActivityLogAlerts.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActivityLogAlerts.json
index ae53a7ca9351..3d92803d2bf4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActivityLogAlerts.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/listActivityLogAlerts.json
@@ -1,81 +1,81 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "api-version": "2017-04-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
- }
- },
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert2",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": { }
- }
- ]
- }
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "api-version": "2017-04-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
+ }
+ },
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert2",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {}
+ }
]
+ }
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActionGroup.json
index 1175ff17126e..855c3ef1cb5f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActionGroup.json
@@ -1,62 +1,68 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2017-04-01",
- "actionGroupPatch": {
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "enabled": false
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2017-04-01",
+ "actionGroupPatch": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActivityLogAlert.json
index 96fada36985a..0b207b8ff409 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/examples/patchActivityLogAlert.json
@@ -1,55 +1,61 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview",
- "activityLogAlertPatch": {
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "enabled": false
- }
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "scopes": [
- "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": false,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview",
+ "activityLogAlertPatch": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "scopes": [
+ "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": false,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json
index e4577210e0fa..4f9b0f06a527 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetric.json
@@ -1,98 +1,98 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "parameters": {
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metric": "BlobCapacity",
+ "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices",
+ "$filter": "BlobType eq '*'",
+ "top": 3,
+ "orderby": "Average asc",
+ "aggregation": "Average,count",
+ "interval": "PT1M",
+ "api-version": "2018-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "cost": 0,
"timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metric": "BlobCapacity",
- "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices",
- "$filter": "BlobType eq '*'",
- "top": 3,
- "orderby": "Average asc",
- "aggregation": "Average,count",
"interval": "PT1M",
- "api-version": "2018-01-01"
- },
- "responses": {
- "200": {
- "body": {
- "cost": 0,
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "interval": "PT1M",
- "namespace": "Microsoft.Storage/storageAccounts/blobServices",
- "resourceregion": "eastus2",
- "value": [
- {
- "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
- "type": "Microsoft.Insights/metrics",
- "name": {
- "value": "BlobCapacity",
- "localizedValue": "Blob Capacity"
+ "namespace": "Microsoft.Storage/storageAccounts/blobServices",
+ "resourceregion": "eastus2",
+ "value": [
+ {
+ "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCapacity",
+ "localizedValue": "Blob Capacity"
+ },
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "PageBlob"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2017-04-14T02:20:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:21:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:22:00Z",
+ "count": 0.0
},
- "unit": "Bytes",
- "timeseries": [
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "PageBlob"
- }
- ],
- "data": [
- {
- "timeStamp": "2017-04-14T02:20:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:21:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:22:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:23:00Z",
- "count": 1.0,
- "average": 0.0
- }
- ]
+ {
+ "timeStamp": "2017-04-14T02:23:00Z",
+ "count": 1.0,
+ "average": 0.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
},
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "BlockBlob"
- }
- ],
- "data": [
- {
- "timeStamp": "2017-04-14T02:20:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:21:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:22:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:23:00Z",
- "count": 1.0,
- "average": 245.0
- }
- ]
- }
- ]
- }
- ]
- }
- }
+ "value": "BlockBlob"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2017-04-14T02:20:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:21:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:22:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:23:00Z",
+ "count": 1.0,
+ "average": 245.0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitions.json
index 5f49d369c758..6b07e32cb0c9 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitions.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricDefinitions.json
@@ -1,928 +1,975 @@
{
- "parameters": {
- "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions",
- "api-version": "2018-01-01",
- "metricnamespace": "Microsoft.Web/sites"
- },
- "responses": {
- "200": {
- "body":
- {
- "value": [{
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "CpuTime",
- "localizedValue": "CPU Time"
- },
- "isDimensionRequired": false,
- "unit": "Seconds",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Requests",
- "localizedValue": "Requests"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "BytesReceived",
- "localizedValue": "Data In"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "BytesSent",
- "localizedValue": "Data Out"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http101",
- "localizedValue": "Http 101"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http2xx",
- "localizedValue": "Http 2xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http3xx",
- "localizedValue": "Http 3xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http401",
- "localizedValue": "Http 401"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http403",
- "localizedValue": "Http 403"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http404",
- "localizedValue": "Http 404"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http406",
- "localizedValue": "Http 406"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http4xx",
- "localizedValue": "Http 4xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "Http5xx",
- "localizedValue": "Http Server Errors"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "MemoryWorkingSet",
- "localizedValue": "Memory working set"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Average",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "AverageMemoryWorkingSet",
- "localizedValue": "Average memory working set"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Average",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "namespace": "Microsoft.Web/sites",
- "name": {
- "value": "AverageResponseTime",
- "localizedValue": "Average Response Time"
- },
- "isDimensionRequired": false,
- "unit": "Seconds",
- "primaryAggregationType": "Average",
- "supportedAggregationTypes": [
- "None",
- "Average",
- "Minimum",
- "Maximum",
- "Total",
- "Count"
- ],
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT5M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT15M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT30M",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT1H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT6H",
- "retention": "P93D"
- },
- {
- "timeGrain": "PT12H",
- "retention": "P93D"
- },
- {
- "timeGrain": "P1D",
- "retention": "P93D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions",
+ "api-version": "2018-01-01",
+ "metricnamespace": "Microsoft.Web/sites"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "CpuTime",
+ "localizedValue": "CPU Time"
+ },
+ "isDimensionRequired": false,
+ "unit": "Seconds",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Requests",
+ "localizedValue": "Requests"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "BytesReceived",
+ "localizedValue": "Data In"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "BytesSent",
+ "localizedValue": "Data Out"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http101",
+ "localizedValue": "Http 101"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http2xx",
+ "localizedValue": "Http 2xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http3xx",
+ "localizedValue": "Http 3xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http401",
+ "localizedValue": "Http 401"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http403",
+ "localizedValue": "Http 403"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http404",
+ "localizedValue": "Http 404"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http406",
+ "localizedValue": "Http 406"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http4xx",
+ "localizedValue": "Http 4xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "Http5xx",
+ "localizedValue": "Http Server Errors"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "MemoryWorkingSet",
+ "localizedValue": "Memory working set"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Average",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "AverageMemoryWorkingSet",
+ "localizedValue": "Average memory working set"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Average",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "namespace": "Microsoft.Web/sites",
+ "name": {
+ "value": "AverageResponseTime",
+ "localizedValue": "Average Response Time"
+ },
+ "isDimensionRequired": false,
+ "unit": "Seconds",
+ "primaryAggregationType": "Average",
+ "supportedAggregationTypes": [
+ "None",
+ "Average",
+ "Minimum",
+ "Maximum",
+ "Total",
+ "Count"
+ ],
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT5M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT15M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT30M",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT6H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "PT12H",
+ "retention": "P93D"
+ },
+ {
+ "timeGrain": "P1D",
+ "retention": "P93D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json
index eb929a0ee350..2d8a21817013 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/examples/GetMetricMetadata.json
@@ -1,59 +1,59 @@
{
- "parameters": {
+ "parameters": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metric": "BlobCapacity",
+ "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices",
+ "$filter": "BlobType eq '*'",
+ "top": 3,
+ "orderby": "Average asc",
+ "aggregation": "Average,count",
+ "interval": "PT1M",
+ "resulttype": "metadata",
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "api-version": "2018-01-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
"timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metric": "BlobCapacity",
- "metricnamespace": "Microsoft.Storage/storageAccounts/blobServices",
- "$filter": "BlobType eq '*'",
- "top": 3,
- "orderby": "Average asc",
- "aggregation": "Average,count",
- "interval": "PT1M",
- "resulttype": "metadata",
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
- "api-version": "2018-01-01"
- },
- "responses": {
- "200": {
- "body": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "namespace": "Microsoft.Storage/storageAccounts/blobServices",
- "resourceregion": "eastus2",
- "value": [
- {
- "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
- "type": "Microsoft.Insights/metrics",
- "name": {
- "value": "BlobCapacity",
- "localizedValue": "Blob Capacity"
- },
- "unit": "Bytes",
- "timeseries": [
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "BlockBlob"
- }
- ]
- },
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "PageBlob"
- }
- ]
- }
- ]
- }
- ]
- }
- }
+ "namespace": "Microsoft.Storage/storageAccounts/blobServices",
+ "resourceregion": "eastus2",
+ "value": [
+ {
+ "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCapacity",
+ "localizedValue": "Blob Capacity"
+ },
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "BlockBlob"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "PageBlob"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
index 8a13c0cb6a7f..853fae62c587 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
@@ -72,14 +72,18 @@
"nextLinkName": null
},
"x-ms-examples": {
- "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" }
+ "Get Metric Definitions without filter": {
+ "$ref": "./examples/GetMetricDefinitions.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -119,30 +123,33 @@
"Percent",
"MilliSeconds",
"ByteSeconds",
- "Unspecified"
+ "Unspecified",
+ "Cores",
+ "MilliCores",
+ "NanoCores",
+ "BitsPerSecond"
],
"x-ms-enum": {
"name": "Unit",
"modelAsString": false
}
},
- "AggregationType":
- {
+ "AggregationType": {
"type": "string",
"description": "the aggregation type of the metric.",
"enum": [
- "None",
- "Average",
- "Count",
- "Minimum",
- "Maximum",
- "Total"
+ "None",
+ "Average",
+ "Count",
+ "Minimum",
+ "Maximum",
+ "Total"
],
"x-ms-enum": {
- "name": "AggregationType",
- "modelAsString": false
+ "name": "AggregationType",
+ "modelAsString": false
}
- },
+ },
"MetricDefinition": {
"properties": {
"isDimensionRequired": {
@@ -169,7 +176,7 @@
"$ref": "#/definitions/AggregationType",
"description": "the primary aggregation type value defining how to use the values for display."
},
- "supportedAggregationTypes": {
+ "supportedAggregationTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/AggregationType"
@@ -207,7 +214,9 @@
"description": "the values for the metric definitions."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Represents collection of metric definitions."
},
"ErrorResponse": {
@@ -251,4 +260,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json
index 2aba4142c955..791acec68765 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json
@@ -98,15 +98,21 @@
},
"x-ms-odata": "#/definitions/MetadataValue",
"x-ms-examples": {
- "Get Metric for data": { "$ref": "./examples/GetMetric.json" },
- "Get Metric for metadata": { "$ref": "./examples/GetMetricMetadata.json" }
+ "Get Metric for data": {
+ "$ref": "./examples/GetMetric.json"
+ },
+ "Get Metric for metadata": {
+ "$ref": "./examples/GetMetricMetadata.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -131,7 +137,11 @@
"Percent",
"MilliSeconds",
"ByteSeconds",
- "Unspecified"
+ "Unspecified",
+ "Cores",
+ "MilliCores",
+ "NanoCores",
+ "BitsPerSecond"
],
"x-ms-enum": {
"name": "Unit",
@@ -139,7 +149,9 @@
}
},
"MetricValue": {
- "required": [ "timeStamp" ],
+ "required": [
+ "timeStamp"
+ ],
"properties": {
"timeStamp": {
"type": "string",
@@ -167,8 +179,8 @@
"description": "the sum of all of the values in the time range."
},
"count": {
- "type": "integer",
- "format": "int64",
+ "type": "number",
+ "format": "double",
"description": "the number of samples in the time range. Can be used to determine the number of values that contributed to the average value."
}
},
@@ -235,7 +247,10 @@
"description": "the value of the collection."
}
},
- "required": [ "timespan", "value" ],
+ "required": [
+ "timespan",
+ "value"
+ ],
"description": "The response to a metrics query."
},
"Metric": {
@@ -265,7 +280,13 @@
"description": "the time series returned when a data query is performed."
}
},
- "required": [ "id", "type", "name", "unit", "timeseries" ],
+ "required": [
+ "id",
+ "type",
+ "name",
+ "unit",
+ "timeseries"
+ ],
"description": "The result data of a query."
},
"TimeSeriesElement": {
@@ -381,4 +402,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/actionGroups_API.json
index 78580130da79..d1966662068f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/actionGroups_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/actionGroups_API.json
@@ -1,808 +1,808 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Azure Action Groups API",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-03-01"
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Action Groups API",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "version": "2018-03-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
+ "put": {
+ "description": "Create a new action group or update an existing one.",
+ "operationId": "ActionGroups_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an action group": {
+ "$ref": "./examples/createOrUpdateActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "actionGroup",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The action group to create or use for the update."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "201": {
+ "description": "A new action group was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+ },
+ "get": {
+ "description": "Get an action group.",
+ "operationId": "ActionGroups_Get",
+ "x-ms-examples": {
+ "Get an action group": {
+ "$ref": "./examples/getActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
- "put": {
- "description": "Create a new action group or update an existing one.",
- "operationId": "ActionGroups_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an action group": {
- "$ref": "./examples/createOrUpdateActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "actionGroup",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The action group to create or use for the update."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "201": {
- "description": "A new action group was successfully created.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Get an action group.",
- "operationId": "ActionGroups_Get",
- "x-ms-examples": {
- "Get an action group": {
- "$ref": "./examples/getActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete an action group.",
- "operationId": "ActionGroups_Delete",
- "x-ms-examples": {
- "Delete an action group": {
- "$ref": "./examples/deleteActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The action group was successfully deleted."
- },
- "204": {
- "description": "The action group does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the action group could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "delete": {
+ "description": "Delete an action group.",
+ "operationId": "ActionGroups_Delete",
+ "x-ms-examples": {
+ "Delete an action group": {
+ "$ref": "./examples/deleteActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The action group was successfully deleted."
+ },
+ "204": {
+ "description": "The action group does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
+ "operationId": "ActionGroups_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "actionGroupPatch",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupPatchBody"
},
- "patch": {
- "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
- "operationId": "ActionGroups_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "actionGroupPatch",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupPatchBody"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- }
- },
- "x-ms-examples": {
- "Patch an action group": {
- "$ref": "./examples/patchActionGroup.json"
- }
- }
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a subscription.",
- "operationId": "ActionGroups_ListBySubscriptionId",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
}
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a resource group.",
- "operationId": "ActionGroups_ListByResourceGroup",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
+ "x-ms-examples": {
+ "Patch an action group": {
+ "$ref": "./examples/patchActionGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a subscription.",
+ "operationId": "ActionGroups_ListBySubscriptionId",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
- "post": {
- "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.",
- "operationId": "ActionGroups_EnableReceiver",
- "x-ms-examples": {
- "Enable the receiver": {
- "$ref": "./examples/enableReceiver.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "enableRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/EnableRequest"
- },
- "description": "The receiver to re-enable."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The receiver was successfully enabled."
- },
- "409": {
- "description": "The receiver is already enabled in the action group."
- },
- "default": {
- "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
}
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
+ }
},
- "definitions": {
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- },
- "ActionGroupResource": {
- "description": "An action group resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroup",
- "description": "The action groups properties of the resource."
- }
- }
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a resource group.",
+ "operationId": "ActionGroups_ListByResourceGroup",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "ActionGroupList": {
- "description": "A list of action groups.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The list of action groups."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
}
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
+ "post": {
+ "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.",
+ "operationId": "ActionGroups_EnableReceiver",
+ "x-ms-examples": {
+ "Enable the receiver": {
+ "$ref": "./examples/enableReceiver.json"
+ }
},
- "ActionGroup": {
- "description": "An Azure action group.",
- "properties": {
- "groupShortName": {
- "type": "string",
- "maxLength": 12,
- "description": "The short name of the action group. This will be used in SMS messages."
- },
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
- },
- "emailReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EmailReceiver"
- },
- "description": "The list of email receivers that are part of this action group."
- },
- "smsReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SmsReceiver"
- },
- "description": "The list of SMS receivers that are part of this action group."
- },
- "webhookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/WebhookReceiver"
- },
- "description": "The list of webhook receivers that are part of this action group."
- },
- "itsmReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ItsmReceiver"
- },
- "description": "The list of ITSM receivers that are part of this action group."
- },
- "azureAppPushReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureAppPushReceiver"
- },
- "description": "The list of AzureAppPush receivers that are part of this action group."
- },
- "automationRunbookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AutomationRunbookReceiver"
- },
- "description": "The list of AutomationRunbook receivers that are part of this action group."
- },
- "voiceReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceReceiver"
- },
- "description": "The list of voice receivers that are part of this action group."
- },
- "logicAppReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/LogicAppReceiver"
- },
- "description": "The list of logic app receivers that are part of this action group."
- },
- "azureFunctionReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureFunctionReceiver"
- },
- "description": "The list of azure function receivers that are part of this action group."
- }
- },
- "required": [
- "groupShortName",
- "enabled"
- ]
- },
- "EmailReceiver": {
- "description": "An email receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address of this receiver."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The receiver status of the e-mail."
- }
- },
- "required": [
- "name",
- "emailAddress"
- ]
- },
- "SmsReceiver": {
- "description": "An SMS receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the SMS receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the SMS receiver."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The status of the receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "WebhookReceiver": {
- "description": "A webhook receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- }
- },
- "required": [
- "name",
- "serviceUri"
- ]
- },
- "ItsmReceiver": {
- "description": "An Itsm receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
- },
- "workspaceId": {
- "type": "string",
- "description": "OMS LA instance identifier."
- },
- "connectionId": {
- "type": "string",
- "description": "Unique identification of ITSM connection among multiple defined in above workspace."
- },
- "ticketConfiguration": {
- "type": "string",
- "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
- },
- "region": {
- "type": "string",
- "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
- }
- },
- "required": [
- "name",
- "workspaceId",
- "connectionId",
- "ticketConfiguration",
- "region"
- ]
- },
- "AzureAppPushReceiver": {
- "description": "The Azure mobile App push notification receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address registered for the Azure mobile app."
- }
- },
- "required": [
- "name",
- "emailAddress"
- ]
- },
- "AutomationRunbookReceiver": {
- "description": "The Azure Automation Runbook notification receiver.",
- "properties": {
- "automationAccountId": {
- "type": "string",
- "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
- },
- "runbookName": {
- "type": "string",
- "description": "The name for this runbook."
- },
- "webhookResourceId": {
- "type": "string",
- "description": "The resource id for webhook linked to this runbook."
- },
- "isGlobalRunbook": {
- "type": "boolean",
- "description": "Indicates whether this instance is global runbook."
- },
- "name": {
- "type": "string",
- "description": "Indicates name of the webhook."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- }
- },
- "required": [
- "automationAccountId",
- "runbookName",
- "webhookResourceId",
- "isGlobalRunbook"
- ]
- },
- "VoiceReceiver": {
- "description": "A voice receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the voice receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the voice receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the voice receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "LogicAppReceiver": {
- "description": "A logic app receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group."
- },
- "resourceId": {
- "type": "string",
- "description": "The azure resource id of the logic app receiver."
- },
- "callbackUrl": {
- "type": "string",
- "description": "The callback url where http request sent to."
- }
- },
- "required": [
- "name",
- "resourceId",
- "callbackUrl"
- ]
- },
- "AzureFunctionReceiver": {
- "description": "An azure function receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
- },
- "functionAppResourceId": {
- "type": "string",
- "description": "The azure resource id of the function app."
- },
- "functionName": {
- "type": "string",
- "description": "The function name in the function app."
- },
- "httpTriggerUrl": {
- "type": "string",
- "description": "The http trigger url where http request sent to."
- }
- },
- "required": [
- "name",
- "functionAppResourceId",
- "functionName",
- "httpTriggerUrl"
- ]
- },
- "ReceiverStatus": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "ReceiverStatus",
- "modelAsString": false
- },
- "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
- },
- "EnableRequest": {
- "description": "Describes a receiver that should be resubscribed.",
- "properties": {
- "receiverName": {
- "type": "string",
- "description": "The name of the receiver to resubscribe."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "enableRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EnableRequest"
},
- "required": [
- "receiverName"
- ]
- },
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ "description": "The receiver to re-enable."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The receiver was successfully enabled."
+ },
+ "409": {
+ "description": "The receiver is already enabled in the action group."
+ },
+ "default": {
+ "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ActionGroupPatchBody": {
- "description": "An action group object for the body of patch operations.",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroupPatch",
- "description": "The action group settings for an update operation."
- }
- }
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "ActionGroupPatch": {
- "description": "An Azure action group for patch operations.",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
- }
- }
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
}
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "ActionGroupResource": {
+ "description": "An action group resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroup",
+ "description": "The action groups properties of the resource."
+ }
+ }
+ },
+ "ActionGroupList": {
+ "description": "A list of action groups.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The list of action groups."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "ActionGroup": {
+ "description": "An Azure action group.",
+ "properties": {
+ "groupShortName": {
+ "type": "string",
+ "maxLength": 12,
+ "description": "The short name of the action group. This will be used in SMS messages."
},
- "ActionGroupNameParameter": {
- "name": "actionGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the action group.",
- "x-ms-parameter-location": "method"
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
+ "emailReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EmailReceiver"
+ },
+ "description": "The list of email receivers that are part of this action group."
+ },
+ "smsReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SmsReceiver"
+ },
+ "description": "The list of SMS receivers that are part of this action group."
+ },
+ "webhookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WebhookReceiver"
+ },
+ "description": "The list of webhook receivers that are part of this action group."
+ },
+ "itsmReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ItsmReceiver"
+ },
+ "description": "The list of ITSM receivers that are part of this action group."
+ },
+ "azureAppPushReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureAppPushReceiver"
+ },
+ "description": "The list of AzureAppPush receivers that are part of this action group."
+ },
+ "automationRunbookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutomationRunbookReceiver"
+ },
+ "description": "The list of AutomationRunbook receivers that are part of this action group."
+ },
+ "voiceReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceReceiver"
+ },
+ "description": "The list of voice receivers that are part of this action group."
+ },
+ "logicAppReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogicAppReceiver"
+ },
+ "description": "The list of logic app receivers that are part of this action group."
+ },
+ "azureFunctionReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFunctionReceiver"
+ },
+ "description": "The list of azure function receivers that are part of this action group."
+ }
+ },
+ "required": [
+ "groupShortName",
+ "enabled"
+ ]
+ },
+ "EmailReceiver": {
+ "description": "An email receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address of this receiver."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The receiver status of the e-mail."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress"
+ ]
+ },
+ "SmsReceiver": {
+ "description": "An SMS receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the SMS receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the SMS receiver."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The status of the receiver."
}
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "WebhookReceiver": {
+ "description": "A webhook receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ }
+ },
+ "required": [
+ "name",
+ "serviceUri"
+ ]
+ },
+ "ItsmReceiver": {
+ "description": "An Itsm receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
+ },
+ "workspaceId": {
+ "type": "string",
+ "description": "OMS LA instance identifier."
+ },
+ "connectionId": {
+ "type": "string",
+ "description": "Unique identification of ITSM connection among multiple defined in above workspace."
+ },
+ "ticketConfiguration": {
+ "type": "string",
+ "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
+ },
+ "region": {
+ "type": "string",
+ "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
+ }
+ },
+ "required": [
+ "name",
+ "workspaceId",
+ "connectionId",
+ "ticketConfiguration",
+ "region"
+ ]
+ },
+ "AzureAppPushReceiver": {
+ "description": "The Azure mobile App push notification receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address registered for the Azure mobile app."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress"
+ ]
+ },
+ "AutomationRunbookReceiver": {
+ "description": "The Azure Automation Runbook notification receiver.",
+ "properties": {
+ "automationAccountId": {
+ "type": "string",
+ "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
+ },
+ "runbookName": {
+ "type": "string",
+ "description": "The name for this runbook."
+ },
+ "webhookResourceId": {
+ "type": "string",
+ "description": "The resource id for webhook linked to this runbook."
+ },
+ "isGlobalRunbook": {
+ "type": "boolean",
+ "description": "Indicates whether this instance is global runbook."
+ },
+ "name": {
+ "type": "string",
+ "description": "Indicates name of the webhook."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ }
+ },
+ "required": [
+ "automationAccountId",
+ "runbookName",
+ "webhookResourceId",
+ "isGlobalRunbook"
+ ]
+ },
+ "VoiceReceiver": {
+ "description": "A voice receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the voice receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the voice receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the voice receiver."
+ }
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "LogicAppReceiver": {
+ "description": "A logic app receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "The azure resource id of the logic app receiver."
+ },
+ "callbackUrl": {
+ "type": "string",
+ "description": "The callback url where http request sent to."
+ }
+ },
+ "required": [
+ "name",
+ "resourceId",
+ "callbackUrl"
+ ]
+ },
+ "AzureFunctionReceiver": {
+ "description": "An azure function receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
+ },
+ "functionAppResourceId": {
+ "type": "string",
+ "description": "The azure resource id of the function app."
+ },
+ "functionName": {
+ "type": "string",
+ "description": "The function name in the function app."
+ },
+ "httpTriggerUrl": {
+ "type": "string",
+ "description": "The http trigger url where http request sent to."
+ }
+ },
+ "required": [
+ "name",
+ "functionAppResourceId",
+ "functionName",
+ "httpTriggerUrl"
+ ]
+ },
+ "ReceiverStatus": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ReceiverStatus",
+ "modelAsString": false
+ },
+ "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
+ },
+ "EnableRequest": {
+ "description": "Describes a receiver that should be resubscribed.",
+ "properties": {
+ "receiverName": {
+ "type": "string",
+ "description": "The name of the receiver to resubscribe."
+ }
+ },
+ "required": [
+ "receiverName"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "ActionGroupPatchBody": {
+ "description": "An action group object for the body of patch operations.",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroupPatch",
+ "description": "The action group settings for an update operation."
+ }
+ }
+ },
+ "ActionGroupPatch": {
+ "description": "An Azure action group for patch operations.",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ActionGroupNameParameter": {
+ "name": "actionGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the action group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
+ }
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json
index 627786075af7..1688705d89ce 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/UpdateMetricAlert.json
@@ -19,11 +19,10 @@
"odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
"allOf": [
{
- "criterionType":"StaticThresholdCriterion",
+ "criterionType": "StaticThresholdCriterion",
"name": "High_CPU_80",
"metricName": "\\Processor(_Total)\\% Processor Time",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -66,18 +65,17 @@
"odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
"allOf": [
{
- "criterionType":"StaticThresholdCriterion",
+ "criterionType": "StaticThresholdCriterion",
"name": "High_CPU_80",
"metricName": "\\Processor(_Total)\\% Processor Time",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
}
]
},
- "autoMitigate":false,
+ "autoMitigate": false,
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
@@ -91,4 +89,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateActionGroup.json
index 5fcb558496b9..da0f49efd6ab 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateActionGroup.json
@@ -1,279 +1,279 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-03-01",
- "actionGroup": {
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
- }
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-03-01",
+ "actionGroup": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
}
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
+ }
+ ]
}
+ }
},
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
- }
- ]
- }
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
}
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
- }
- ]
- }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json
index 35e8264e7de9..ee68510b86c7 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertMultipleResource.json
@@ -1,12 +1,66 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "gigtest",
+ "ruleName": "MetricAlertOnMultipleResources",
+ "api-version": "2018-03-01",
"parameters": {
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "gigtest",
- "ruleName": "MetricAlertOnMultipleResources",
- "api-version": "2018-03-01",
- "parameters": {
+ "location": "global",
+ "tags": {},
+ "properties": {
+ "description": "This is the description of the rule1",
+ "severity": 3,
+ "enabled": true,
+ "scopes": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2"
+ ],
+ "evaluationFrequency": "PT1M",
+ "windowSize": "PT15M",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
+ "criteria": {
+ "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
+ "allOf": [
+ {
+ "criterionType": "DynamicThresholdCriterion",
+ "name": "High_CPU_80",
+ "metricName": "Percentage CPU",
+ "metricNamespace": "microsoft.compute/virtualmachines",
+ "operator": "GreaterOrLessThan",
+ "timeAggregation": "Average",
+ "dimensions": [],
+ "alertSensitivity": "Medium",
+ "failingPeriods": {
+ "numberOfEvaluationPeriods": 4,
+ "minFailingPeriodsToAlert": 4
+ }
+ }
+ ]
+ },
+ "autoMitigate": false,
+ "actions": [
+ {
+ "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
+ "webhookProperties": {
+ "key11": "value11",
+ "key12": "value12"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources",
+ "type": "Microsoft.Insights/metricAlerts",
"location": "global",
- "tags": {},
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
"properties": {
"description": "This is the description of the rule1",
"severity": 3,
@@ -17,8 +71,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -32,8 +86,8 @@
"dimensions": [],
"alertSensitivity": "Medium",
"failingPeriods": {
- "numberOfEvaluationPeriods": 4,
- "minFailingPeriodsToAlert": 4
+ "numberOfEvaluationPeriods": 4,
+ "minFailingPeriodsToAlert": 4
}
}
]
@@ -50,60 +104,6 @@
]
}
}
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources",
- "type": "Microsoft.Insights/metricAlerts",
- "location": "global",
- "tags": {
- "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
- },
- "properties": {
- "description": "This is the description of the rule1",
- "severity": 3,
- "enabled": true,
- "scopes": [
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1",
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2"
- ],
- "evaluationFrequency": "PT1M",
- "windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
- "criteria": {
- "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
- "allOf": [
- {
- "criterionType": "DynamicThresholdCriterion",
- "name": "High_CPU_80",
- "metricName": "Percentage CPU",
- "metricNamespace": "microsoft.compute/virtualmachines",
- "operator": "GreaterOrLessThan",
- "timeAggregation": "Average",
- "dimensions": [],
- "alertSensitivity": "Medium",
- "failingPeriods": {
- "numberOfEvaluationPeriods": 4,
- "minFailingPeriodsToAlert": 4
- }
- }
- ]
- },
- "autoMitigate":false,
- "actions": [
- {
- "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
- "key11": "value11",
- "key12": "value12"
- }
- }
- ]
- }
- }
- }
}
}
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json
index 59765d180233..3fdd3df3ad4e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateDynamicMetricAlertSingleResource.json
@@ -1,12 +1,66 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "gigtest",
+ "ruleName": "chiricutin",
+ "api-version": "2018-03-01",
"parameters": {
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "gigtest",
- "ruleName": "chiricutin",
- "api-version": "2018-03-01",
- "parameters": {
+ "location": "global",
+ "tags": {},
+ "properties": {
+ "description": "This is the description of the rule1",
+ "severity": 3,
+ "enabled": true,
+ "scopes": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme"
+ ],
+ "evaluationFrequency": "PT1M",
+ "windowSize": "PT15M",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
+ "criteria": {
+ "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
+ "allOf": [
+ {
+ "criterionType": "DynamicThresholdCriterion",
+ "name": "High_CPU_80",
+ "metricName": "Percentage CPU",
+ "metricNamespace": "microsoft.compute/virtualmachines",
+ "operator": "GreaterOrLessThan",
+ "timeAggregation": "Average",
+ "dimensions": [],
+ "alertSensitivity": "Medium",
+ "failingPeriods": {
+ "numberOfEvaluationPeriods": 4,
+ "minFailingPeriodsToAlert": 4
+ },
+ "ignoreDataBefore": "2019-04-04T21:00:00.000Z"
+ }
+ ]
+ },
+ "autoMitigate": false,
+ "actions": [
+ {
+ "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
+ "webhookProperties": {
+ "key11": "value11",
+ "key12": "value12"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin",
+ "type": "Microsoft.Insights/metricAlerts",
"location": "global",
- "tags": {},
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
"properties": {
"description": "This is the description of the rule1",
"severity": 3,
@@ -16,8 +70,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -31,8 +85,8 @@
"dimensions": [],
"alertSensitivity": "Medium",
"failingPeriods": {
- "numberOfEvaluationPeriods": 4,
- "minFailingPeriodsToAlert": 4
+ "numberOfEvaluationPeriods": 4,
+ "minFailingPeriodsToAlert": 4
},
"ignoreDataBefore": "2019-04-04T21:00:00.000Z"
}
@@ -50,60 +104,6 @@
]
}
}
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin",
- "type": "Microsoft.Insights/metricAlerts",
- "location": "global",
- "tags": {
- "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
- },
- "properties": {
- "description": "This is the description of the rule1",
- "severity": 3,
- "enabled": true,
- "scopes": [
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme"
- ],
- "evaluationFrequency": "PT1M",
- "windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
- "criteria": {
- "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
- "allOf": [
- {
- "criterionType": "DynamicThresholdCriterion",
- "name": "High_CPU_80",
- "metricName": "Percentage CPU",
- "metricNamespace": "microsoft.compute/virtualmachines",
- "operator": "GreaterOrLessThan",
- "timeAggregation": "Average",
- "dimensions": [],
- "alertSensitivity": "Medium",
- "failingPeriods": {
- "numberOfEvaluationPeriods": 4,
- "minFailingPeriodsToAlert": 4
- },
- "ignoreDataBefore": "2019-04-04T21:00:00.000Z"
- }
- ]
- },
- "autoMitigate":false,
- "actions": [
- {
- "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
- "key11": "value11",
- "key12": "value12"
- }
- }
- ]
- }
- }
- }
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json
index fba5379d0fb2..50e3275420f9 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertMultipleResource.json
@@ -17,8 +17,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -27,8 +27,7 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -68,8 +67,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -78,15 +77,14 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
}
]
},
- "autoMitigate":false,
+ "autoMitigate": false,
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
@@ -100,4 +98,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json
index 907f73e9c2f8..7b2bb11cd113 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertResourceGroup.json
@@ -17,8 +17,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -27,8 +27,7 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -68,8 +67,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -78,15 +77,14 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
}
]
},
- "autoMitigate":false,
+ "autoMitigate": false,
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
@@ -100,4 +98,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json
index c7aa4f165acf..4065627efa3f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSingleResource.json
@@ -23,8 +23,7 @@
"criterionType": "StaticThresholdCriterion",
"name": "High_CPU_80",
"metricName": "\\Processor(_Total)\\% Processor Time",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -70,15 +69,14 @@
"criterionType": "StaticThresholdCriterion",
"name": "High_CPU_80",
"metricName": "\\Processor(_Total)\\% Processor Time",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
}
]
},
- "autoMitigate":false,
+ "autoMitigate": false,
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
@@ -92,4 +90,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json
index 09c9cf710d19..918d07dd4620 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/createOrUpdateMetricAlertSubscription.json
@@ -16,8 +16,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -26,8 +26,7 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -66,8 +65,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -76,15 +75,14 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
}
]
},
- "autoMitigate":false,
+ "autoMitigate": false,
"actions": [
{
"actionGroupId": "/subscriptions/14ddf0c5-77c5-4b53-84f6-e1fa43ad68f7/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
@@ -98,4 +96,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json
index ff8db9749d27..f28ccba95fc6 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteActionGroup.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-03-01"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json
index 79076b517119..86808cb7c95a 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/deleteMetricAlert.json
@@ -15,4 +15,4 @@
"body": null
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json
index cb085170b440..768e38c7c9dd 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/enableReceiver.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-03-01",
- "enableRequest": {
- "receiverName": "John Doe's mobile"
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-03-01",
+ "enableRequest": {
+ "receiverName": "John Doe's mobile"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "409": {
- "headers": {},
- "body": null
- }
+ "409": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getActionGroup.json
index a7573f481272..ccdf6dfa0e57 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getActionGroup.json
@@ -1,56 +1,56 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled"
}
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json
index 5ac5532e4c23..8869f07a8571 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertMultipleResource.json
@@ -1,63 +1,63 @@
{
- "parameters": {
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "gigtest",
- "ruleName": "MetricAlertOnMultipleResources",
- "api-version": "2018-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources",
- "type": "Microsoft.Insights/metricAlerts",
- "location": "global",
- "tags": {
- "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
- },
- "properties": {
- "description": "This is the description of the rule1",
- "severity": 3,
- "enabled": true,
- "scopes": [
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1",
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2"
- ],
- "evaluationFrequency": "PT1M",
- "windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
- "criteria": {
- "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
- "allOf": [
- {
- "criterionType": "DynamicThresholdCriterion",
- "name": "High_CPU_80",
- "metricName": "Percentage CPU",
- "metricNamespace": "microsoft.compute/virtualmachines",
- "operator": "GreaterOrLessThan",
- "timeAggregation": "Average",
- "dimensions": [],
- "alertSensitivity": "Medium",
- "failingPeriods": {
- "numberOfEvaluationPeriods": 4,
- "minFailingPeriodsToAlert": 4
- }
- }
- ]
- },
- "autoMitigate": false,
- "actions": [
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "gigtest",
+ "ruleName": "MetricAlertOnMultipleResources",
+ "api-version": "2018-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/MetricAlertOnMultipleResources",
+ "type": "Microsoft.Insights/metricAlerts",
+ "location": "global",
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
+ "properties": {
+ "description": "This is the description of the rule1",
+ "severity": 3,
+ "enabled": true,
+ "scopes": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme1",
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme2"
+ ],
+ "evaluationFrequency": "PT1M",
+ "windowSize": "PT15M",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
+ "criteria": {
+ "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
+ "allOf": [
{
- "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
- "key11": "value11",
- "key12": "value12"
+ "criterionType": "DynamicThresholdCriterion",
+ "name": "High_CPU_80",
+ "metricName": "Percentage CPU",
+ "metricNamespace": "microsoft.compute/virtualmachines",
+ "operator": "GreaterOrLessThan",
+ "timeAggregation": "Average",
+ "dimensions": [],
+ "alertSensitivity": "Medium",
+ "failingPeriods": {
+ "numberOfEvaluationPeriods": 4,
+ "minFailingPeriodsToAlert": 4
}
}
]
- }
+ },
+ "autoMitigate": false,
+ "actions": [
+ {
+ "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
+ "webhookProperties": {
+ "key11": "value11",
+ "key12": "value12"
+ }
+ }
+ ]
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json
index 3434c835ef0e..54d46d2c1ac8 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getDynamicMetricAlertSingleResource.json
@@ -1,61 +1,61 @@
{
- "parameters": {
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "gigtest",
- "ruleName": "chiricutin",
- "api-version": "2018-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin",
- "type": "Microsoft.Insights/metricAlerts",
- "location": "global",
- "tags": {
- "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
- },
- "properties": {
- "description": "This is the description of the rule1",
- "severity": 3,
- "enabled": true,
- "scopes": [
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme"
- ],
- "evaluationFrequency": "Pt1m",
- "windowSize": "Pt15m",
- "criteria": {
- "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
- "allOf": [
- {
- "criterionType": "DynamicThresholdCriterion",
- "name": "High_CPU_80",
- "metricName": "Percentage CPU",
- "metricNamespace": "microsoft.compute/virtualmachines",
- "operator": "GreaterOrLessThan",
- "timeAggregation": "Average",
- "dimensions": [],
- "alertSensitivity": "Medium",
- "failingPeriods": {
- "numberOfEvaluationPeriods": 4,
- "minFailingPeriodsToAlert": 4
- },
- "ignoreDataBefore": null
- }
- ]
- },
- "autoMitigate": false,
- "actions": [
+ "parameters": {
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "gigtest",
+ "ruleName": "chiricutin",
+ "api-version": "2018-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/providers/microsoft.insights/metricalerts/chiricutin",
+ "type": "Microsoft.Insights/metricAlerts",
+ "location": "global",
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest": "Resource"
+ },
+ "properties": {
+ "description": "This is the description of the rule1",
+ "severity": 3,
+ "enabled": true,
+ "scopes": [
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gigtest/providers/Microsoft.Compute/virtualMachines/gigwadme"
+ ],
+ "evaluationFrequency": "Pt1m",
+ "windowSize": "Pt15m",
+ "criteria": {
+ "odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
+ "allOf": [
{
- "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
- "webhookProperties": {
- "key11": "value11",
- "key12": "value12"
- }
+ "criterionType": "DynamicThresholdCriterion",
+ "name": "High_CPU_80",
+ "metricName": "Percentage CPU",
+ "metricNamespace": "microsoft.compute/virtualmachines",
+ "operator": "GreaterOrLessThan",
+ "timeAggregation": "Average",
+ "dimensions": [],
+ "alertSensitivity": "Medium",
+ "failingPeriods": {
+ "numberOfEvaluationPeriods": 4,
+ "minFailingPeriodsToAlert": 4
+ },
+ "ignoreDataBefore": null
}
]
- }
+ },
+ "autoMitigate": false,
+ "actions": [
+ {
+ "actionGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/gigtest/providers/microsoft.insights/notificationgroups/group2",
+ "webhookProperties": {
+ "key11": "value11",
+ "key12": "value12"
+ }
+ }
+ ]
}
}
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json
index 789b5b34b10e..853015d49de3 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertMultipleResource.json
@@ -25,8 +25,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -35,8 +35,7 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -57,4 +56,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json
index 9ab3285b8179..00e5d33bd202 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertResourceGroup.json
@@ -25,8 +25,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -35,8 +35,7 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -57,4 +56,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json
index 510dd835dfb5..c6ab3a033c42 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSingleResource.json
@@ -28,11 +28,10 @@
"odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
"allOf": [
{
- "criterionType":"StaticThresholdCriterion",
+ "criterionType": "StaticThresholdCriterion",
"name": "High_CPU_80",
"metricName": "\\Processor(_Total)\\% Processor Time",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -53,4 +52,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json
index a3d593e53669..cf2123868ab7 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatus.json
@@ -26,4 +26,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json
index 7bd82721d5f6..92742ea3d426 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertStatusByName.json
@@ -27,4 +27,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json
index 1fb0e39afe36..9c323b96999c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/getMetricAlertSubscription.json
@@ -24,8 +24,8 @@
],
"evaluationFrequency": "PT1M",
"windowSize": "PT15M",
- "targetResourceType":"Microsoft.Compute/virtualMachines",
- "targetResourceRegion":"southcentralus",
+ "targetResourceType": "Microsoft.Compute/virtualMachines",
+ "targetResourceRegion": "southcentralus",
"criteria": {
"odata.type": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"allOf": [
@@ -34,8 +34,7 @@
"name": "High_CPU_80",
"metricName": "Percentage CPU",
"metricNamespace": "microsoft.compute/virtualmachines",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -56,4 +55,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listActionGroups.json
index ebc446f2bac6..5206b3234761 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listActionGroups.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listActionGroups.json
@@ -1,86 +1,86 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "api-version": "2018-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
- },
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup2",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample2",
- "enabled": false,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": []
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "api-version": "2018-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ]
}
- }
+ },
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup2",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample2",
+ "enabled": false,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": []
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json
index b8e115bae254..b2feab27f209 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/listMetricAlert.json
@@ -29,11 +29,10 @@
"odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
"allOf": [
{
- "criterionType":"StaticThresholdCriterion",
+ "criterionType": "StaticThresholdCriterion",
"name": "High_CPU_80",
"metricName": "CustomMetric_\\Processor(_Total)\\% Processor Time",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 80.50,
"timeAggregation": "Average"
@@ -71,11 +70,10 @@
"odata.type": "Microsoft.Azure.Monitor.SingleResourceMultipleMetricCriteria",
"allOf": [
{
- "criterionType":"StaticThresholdCriterion",
+ "criterionType": "StaticThresholdCriterion",
"name": "Medium_CPU_50",
"metricName": "CustomMetric_\\Processor(_Total)\\% Processor Time",
- "dimensions": [
- ],
+ "dimensions": [],
"operator": "GreaterThan",
"threshold": 50.50,
"timeAggregation": "Average"
@@ -97,4 +95,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/patchActionGroup.json
index df0b9b2b99bb..3004ae6f5a38 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/patchActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/examples/patchActionGroup.json
@@ -1,62 +1,68 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-03-01",
- "actionGroupPatch": {
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "enabled": false
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-03-01",
+ "actionGroupPatch": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
index 7c7c65bd8648..ca7fdba8a5a2 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
@@ -9,9 +9,15 @@
"description": "Azure Monitor client to create/update/delete metric based alerts."
},
"host": "management.azure.com",
- "schemes": [ "https" ],
- "consumes": [ "application/json" ],
- "produces": [ "application/json" ],
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
"security": [
{
"azure_auth": [
@@ -33,12 +39,18 @@
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Insights/metricAlerts": {
"get": {
- "tags": [ "MetricAlerts" ],
+ "tags": [
+ "MetricAlerts"
+ ],
"description": "Retrieve alert rule definitions in a subscription.",
"operationId": "MetricAlerts_ListBySubscription",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" }
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
],
"responses": {
"200": {
@@ -49,26 +61,38 @@
},
"default": {
"description": "BadRequest",
- "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" }
+ "schema": {
+ "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-pageable": {
"nextLinkName": null
},
"x-ms-examples": {
- "List metric alert rules": { "$ref": "./examples/listMetricAlert.json" }
+ "List metric alert rules": {
+ "$ref": "./examples/listMetricAlert.json"
+ }
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts": {
"get": {
- "tags": [ "MetricAlerts" ],
+ "tags": [
+ "MetricAlerts"
+ ],
"description": "Retrieve alert rule definitions in a resource group.",
"operationId": "MetricAlerts_ListByResourceGroup",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ResourceGroupNameParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" }
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
],
"responses": {
"200": {
@@ -79,27 +103,41 @@
},
"default": {
"description": "BadRequest",
- "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" }
+ "schema": {
+ "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-pageable": {
"nextLinkName": null
},
"x-ms-examples": {
- "List metric alert rules": { "$ref": "./examples/listMetricAlert.json" }
+ "List metric alert rules": {
+ "$ref": "./examples/listMetricAlert.json"
+ }
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}": {
"get": {
- "tags": [ "MetricAlerts" ],
+ "tags": [
+ "MetricAlerts"
+ ],
"description": "Retrieve an alert rule definition.",
"operationId": "MetricAlerts_Get",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ResourceGroupNameParameter" },
- { "$ref": "#/parameters/RuleNameParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" }
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
],
"responses": {
"200": {
@@ -110,27 +148,51 @@
},
"default": {
"description": "BadRequest",
- "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" }
+ "schema": {
+ "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
- "Get an alert rule for single resource": { "$ref": "./examples/getMetricAlertSingleResource.json" },
- "Get an alert rule for multiple resources": { "$ref": "./examples/getMetricAlertMultipleResource.json" },
- "Get an alert rule on resource group(s)": { "$ref": "./examples/getMetricAlertResourceGroup.json" },
- "Get an alert rule on subscription": { "$ref": "./examples/getMetricAlertSubscription.json" },
- "Get a dynamic alert rule for single resource": { "$ref": "./examples/getDynamicMetricAlertSingleResource.json" },
- "Get a dynamic alert rule for multiple resources": { "$ref": "./examples/getDynamicMetricAlertMultipleResource.json" }
+ "Get an alert rule for single resource": {
+ "$ref": "./examples/getMetricAlertSingleResource.json"
+ },
+ "Get an alert rule for multiple resources": {
+ "$ref": "./examples/getMetricAlertMultipleResource.json"
+ },
+ "Get an alert rule on resource group(s)": {
+ "$ref": "./examples/getMetricAlertResourceGroup.json"
+ },
+ "Get an alert rule on subscription": {
+ "$ref": "./examples/getMetricAlertSubscription.json"
+ },
+ "Get a dynamic alert rule for single resource": {
+ "$ref": "./examples/getDynamicMetricAlertSingleResource.json"
+ },
+ "Get a dynamic alert rule for multiple resources": {
+ "$ref": "./examples/getDynamicMetricAlertMultipleResource.json"
+ }
}
},
"put": {
- "tags": [ "MetricAlerts" ],
+ "tags": [
+ "MetricAlerts"
+ ],
"description": "Create or update an metric alert definition.",
"operationId": "MetricAlerts_CreateOrUpdate",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ResourceGroupNameParameter" },
- { "$ref": "#/parameters/RuleNameParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
{
"name": "parameters",
"in": "body",
@@ -150,27 +212,51 @@
},
"default": {
"description": "BadRequest",
- "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" }
+ "schema": {
+ "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
- "Create or update an alert rule for Single Resource": { "$ref": "./examples/createOrUpdateMetricAlertSingleResource.json" },
- "Create or update an alert rule for Multiple Resource": { "$ref": "./examples/createOrUpdateMetricAlertMultipleResource.json" },
- "Create or update an alert rule on Resource group(s)": { "$ref": "./examples/createOrUpdateMetricAlertResourceGroup.json" },
- "Create or update an alert rule on Subscription ": { "$ref": "./examples/createOrUpdateMetricAlertSubscription.json" },
- "Create or update a dynamic alert rule for Single Resource": { "$ref": "./examples/createOrUpdateDynamicMetricAlertSingleResource.json" },
- "Create or update a dynamic alert rule for Multiple Resources": { "$ref": "./examples/createOrUpdateDynamicMetricAlertMultipleResource.json" }
+ "Create or update an alert rule for Single Resource": {
+ "$ref": "./examples/createOrUpdateMetricAlertSingleResource.json"
+ },
+ "Create or update an alert rule for Multiple Resource": {
+ "$ref": "./examples/createOrUpdateMetricAlertMultipleResource.json"
+ },
+ "Create or update an alert rule on Resource group(s)": {
+ "$ref": "./examples/createOrUpdateMetricAlertResourceGroup.json"
+ },
+ "Create or update an alert rule on Subscription ": {
+ "$ref": "./examples/createOrUpdateMetricAlertSubscription.json"
+ },
+ "Create or update a dynamic alert rule for Single Resource": {
+ "$ref": "./examples/createOrUpdateDynamicMetricAlertSingleResource.json"
+ },
+ "Create or update a dynamic alert rule for Multiple Resources": {
+ "$ref": "./examples/createOrUpdateDynamicMetricAlertMultipleResource.json"
+ }
}
},
"patch": {
- "tags": [ "MetricAlerts" ],
+ "tags": [
+ "MetricAlerts"
+ ],
"description": "Update an metric alert definition.",
"operationId": "MetricAlerts_Update",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ResourceGroupNameParameter" },
- { "$ref": "#/parameters/RuleNameParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
{
"name": "parameters",
"in": "body",
@@ -190,22 +276,36 @@
},
"default": {
"description": "BadRequest",
- "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" }
+ "schema": {
+ "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
- "Create or update an alert rule": { "$ref": "./examples/UpdateMetricAlert.json" }
+ "Create or update an alert rule": {
+ "$ref": "./examples/UpdateMetricAlert.json"
+ }
}
},
"delete": {
- "tags": [ "MetricAlerts" ],
+ "tags": [
+ "MetricAlerts"
+ ],
"description": "Delete an alert rule definition.",
"operationId": "MetricAlerts_Delete",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ResourceGroupNameParameter" },
- { "$ref": "#/parameters/RuleNameParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" }
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
],
"responses": {
"204": {
@@ -216,20 +316,32 @@
}
},
"x-ms-examples": {
- "Delete an alert rule": { "$ref": "./examples/deleteMetricAlert.json" }
+ "Delete an alert rule": {
+ "$ref": "./examples/deleteMetricAlert.json"
+ }
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status": {
"get": {
- "tags": [ "MetricAlertsStatus" ],
+ "tags": [
+ "MetricAlertsStatus"
+ ],
"description": "Retrieve an alert rule status.",
"operationId": "MetricAlertsStatus_List",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ResourceGroupNameParameter" },
- { "$ref": "#/parameters/RuleNameParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" }
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
],
"responses": {
"200": {
@@ -240,25 +352,41 @@
},
"default": {
"description": "BadRequest",
- "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" }
+ "schema": {
+ "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
- "Get an alert rule status": { "$ref": "./examples/getMetricAlertStatus.json" }
+ "Get an alert rule status": {
+ "$ref": "./examples/getMetricAlertStatus.json"
+ }
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}/status/{statusName}": {
"get": {
- "tags": [ "MetricAlertsStatus" ],
+ "tags": [
+ "MetricAlertsStatus"
+ ],
"description": "Retrieve an alert rule status.",
"operationId": "MetricAlertsStatus_ListByName",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ResourceGroupNameParameter" },
- { "$ref": "#/parameters/RuleNameParameter" },
- { "$ref": "#/parameters/StatusNameParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" }
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/StatusNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
],
"responses": {
"200": {
@@ -269,11 +397,15 @@
},
"default": {
"description": "BadRequest",
- "schema": { "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse" }
+ "schema": {
+ "$ref": "../../stable/2016-03-01/alertRules_API.json#/definitions/ErrorResponse"
+ }
}
},
"x-ms-examples": {
- "Get an alert rule status": { "$ref": "./examples/getMetricAlertStatusByName.json" }
+ "Get an alert rule status": {
+ "$ref": "./examples/getMetricAlertStatusByName.json"
+ }
}
}
}
@@ -373,13 +505,13 @@
"format": "duration",
"description": "the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold."
},
- "targetResourceType" :{
- "type" : "string",
- "description" : "the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
+ "targetResourceType": {
+ "type": "string",
+ "description": "the resource type of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
},
- "targetResourceRegion" : {
- "type" : "string",
- "description" : "the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
+ "targetResourceRegion": {
+ "type": "string",
+ "description": "the region of the target resource(s) on which the alert is created/updated. Mandatory for MultipleResourceMultipleMetricCriteria."
},
"criteria": {
"$ref": "#/definitions/MetricAlertCriteria",
@@ -387,7 +519,7 @@
},
"autoMitigate": {
"type": "boolean",
- "description":"the flag that indicates whether the alert should be auto resolved or not."
+ "description": "the flag that indicates whether the alert should be auto resolved or not."
},
"actions": {
"type": "array",
@@ -510,7 +642,7 @@
"MetricAlertCriteria": {
"type": "object",
"additionalProperties": {
- "type": "object"
+ "type": "object"
},
"discriminator": "odata.type",
"properties": {
@@ -526,7 +658,9 @@
"description": "specifies the type of the alert criteria."
}
},
- "required": [ "odata.type" ],
+ "required": [
+ "odata.type"
+ ],
"description": "The rule criteria that defines the conditions of the alert rule."
},
"MetricAlertSingleResourceMultipleMetricCriteria": {
@@ -556,7 +690,7 @@
"$ref": "#/definitions/MultiMetricCriteria"
}
],
- "required": [
+ "required": [
"operator",
"threshold"
],
@@ -578,7 +712,7 @@
},
"threshold": {
"type": "number",
- "format": "double",
+ "format": "double",
"description": "the criteria threshold value that activates the alert."
}
},
@@ -609,19 +743,19 @@
},
"description": "Specifies a metric dimension."
},
- "MetricAlertMultipleResourceMultipleMetricCriteria":{
+ "MetricAlertMultipleResourceMultipleMetricCriteria": {
"x-ms-discriminator-value": "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria",
"type": "object",
- "allOf":[
+ "allOf": [
{
- "$ref":"#/definitions/MetricAlertCriteria"
+ "$ref": "#/definitions/MetricAlertCriteria"
}
],
- "properties":{
- "allOf":{
+ "properties": {
+ "allOf": {
"type": "array",
- "items":{
- "$ref":"#/definitions/MultiMetricCriteria"
+ "items": {
+ "$ref": "#/definitions/MultiMetricCriteria"
},
"description": "the list of multiple metric criteria for this 'all of' operation. "
}
@@ -633,18 +767,18 @@
"additionalProperties": {
"type": "object"
},
- "discriminator":"criterionType",
- "properties":{
- "criterionType" : {
- "enum":[
- "StaticThresholdCriterion",
- "DynamicThresholdCriterion"
+ "discriminator": "criterionType",
+ "properties": {
+ "criterionType": {
+ "enum": [
+ "StaticThresholdCriterion",
+ "DynamicThresholdCriterion"
],
- "x-ms-enum" : {
- "name" : "criterionType",
+ "x-ms-enum": {
+ "name": "criterionType",
"modelAsString": true
},
- "description":" Specifies the type of threshold criteria"
+ "description": "Specifies the type of threshold criteria"
},
"name": {
"type": "string",
@@ -679,10 +813,15 @@
"description": "List of dimension conditions."
}
},
- "required": [ "criterionType", "name", "metricName", "timeAggregation" ],
+ "required": [
+ "criterionType",
+ "name",
+ "metricName",
+ "timeAggregation"
+ ],
"description": "The types of conditions for a multi resource alert."
},
- "DynamicMetricCriteria" : {
+ "DynamicMetricCriteria": {
"x-ms-discriminator-value": "DynamicThresholdCriterion",
"type": "object",
"allOf": [
@@ -690,7 +829,7 @@
"$ref": "#/definitions/MultiMetricCriteria"
}
],
- "required": [
+ "required": [
"operator",
"alertSensitivity",
"failingPeriods"
@@ -709,31 +848,31 @@
"description": "The operator used to compare the metric value against the threshold."
},
"alertSensitivity": {
- "enum" : [
+ "enum": [
"Low",
"Medium",
"High"
],
- "x-ms-enum" : {
- "name" : "DynamicThresholdSensitivity",
+ "x-ms-enum": {
+ "name": "DynamicThresholdSensitivity",
"modelAsString": true
},
"description": "The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern."
},
- "failingPeriods" : {
- "type" : "object",
- "$ref" : "#/definitions/DynamicThresholdFailingPeriods",
- "description" : "The minimum number of violations required within the selected lookback time window required to raise an alert."
+ "failingPeriods": {
+ "type": "object",
+ "$ref": "#/definitions/DynamicThresholdFailingPeriods",
+ "description": "The minimum number of violations required within the selected lookback time window required to raise an alert."
},
- "ignoreDataBefore" : {
- "type" : "string",
+ "ignoreDataBefore": {
+ "type": "string",
"format": "date-time",
- "description" :"Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)"
+ "description": "Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)"
}
},
"description": "Criterion for dynamic threshold."
},
- "DynamicThresholdFailingPeriods" : {
+ "DynamicThresholdFailingPeriods": {
"required": [
"numberOfEvaluationPeriods",
"minFailingPeriodsToAlert"
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json
index 3c75479ee262..7d133e6c23b8 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json
@@ -6,7 +6,7 @@
"api-version": "2018-04-16",
"parameters": {
"location": "West Europe",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log to metric description",
"enabled": "true",
@@ -33,7 +33,7 @@
"name": "logtometricfoo",
"type": "microsoft.insights/scheduledqueryrules",
"location": "westeurope",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log to metric description",
"displayName": "logtometricfoo",
@@ -64,7 +64,7 @@
"name": "logtometricfoo",
"type": "microsoft.insights/scheduledqueryrules",
"location": "westeurope",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log to metric description",
"enabled": "true",
@@ -88,4 +88,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json
index bd449c2b5479..da4ba2df9eb5 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json
@@ -6,7 +6,7 @@
"api-version": "2018-04-16",
"parameters": {
"location": "eastus",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log alert description",
"enabled": "true",
@@ -51,7 +51,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log alert description",
"enabled": "true",
@@ -95,7 +95,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log alert description",
"enabled": "true",
@@ -127,4 +127,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json
index 464d745e7c53..4f39938e4eec 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json
@@ -6,7 +6,7 @@
"api-version": "2018-04-16",
"parameters": {
"location": "eastus",
- "tags": { },
+ "tags": {},
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
@@ -26,7 +26,9 @@
"action": {
"severity": "3",
"aznsAction": {
- "actionGroup": [ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" ],
+ "actionGroup": [
+ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag"
+ ],
"emailSubject": "Cross Resource Mail!!"
},
"trigger": {
@@ -46,7 +48,7 @@
"name": "SampleCrossResourceAlert",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
- "tags": { },
+ "tags": {},
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
@@ -68,7 +70,9 @@
"action": {
"severity": "3",
"aznsAction": {
- "actionGroup": [ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" ],
+ "actionGroup": [
+ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag"
+ ],
"emailSubject": "Cross Resource Mail!!"
},
"trigger": {
@@ -87,7 +91,7 @@
"name": "SampleCrossResourceAlert",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
- "tags": { },
+ "tags": {},
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
@@ -109,7 +113,9 @@
"action": {
"severity": "3",
"aznsAction": {
- "actionGroup": [ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag" ],
+ "actionGroup": [
+ "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/actiongroups/test-ag"
+ ],
"emailSubject": "Cross Resource Mail!!"
},
"trigger": {
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json
index f9fba36800dd..a4c920963d87 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/deleteScheduledQueryRules.json
@@ -15,4 +15,4 @@
"body": null
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json
index 6209f950f657..ae3256f4e092 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json
@@ -13,7 +13,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log alert description",
"enabled": "true",
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json
index d07a6c2a311a..28e33b126d63 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json
@@ -14,7 +14,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log alert description",
"enabled": "false",
@@ -55,7 +55,7 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
- "tags": { },
+ "tags": {},
"properties": {
"description": "log alert description",
"enabled": "true",
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
index 57dad457a726..e39dca56bcb6 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
@@ -85,9 +85,15 @@
}
},
"x-ms-examples": {
- "Create or Update rule - AlertingAction": { "$ref": "./examples/createOrUpdateScheduledQueryRules.json" },
- "Create or Update rule - AlertingAction with Cross-Resource": { "$ref": "./examples/createOrUpdateScheduledQueryRuleswithCrossResource.json" },
- "Create or Update rule - LogToMetricAction": { "$ref": "./examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json" }
+ "Create or Update rule - AlertingAction": {
+ "$ref": "./examples/createOrUpdateScheduledQueryRules.json"
+ },
+ "Create or Update rule - AlertingAction with Cross-Resource": {
+ "$ref": "./examples/createOrUpdateScheduledQueryRuleswithCrossResource.json"
+ },
+ "Create or Update rule - LogToMetricAction": {
+ "$ref": "./examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json"
+ }
}
},
"get": {
@@ -125,18 +131,30 @@
}
},
"x-ms-examples": {
- "Get rule": { "$ref": "./examples/getScheduledQueryRules.json" }
+ "Get rule": {
+ "$ref": "./examples/getScheduledQueryRules.json"
+ }
}
},
"patch": {
- "tags": [ "scheduledQueryRules" ],
+ "tags": [
+ "scheduledQueryRules"
+ ],
"description": "Update log search Rule.",
"operationId": "ScheduledQueryRules_Update",
"parameters": [
- { "$ref": "#/parameters/SubscriptionIdParameter" },
- { "$ref": "#/parameters/ResourceGroupNameParameter" },
- { "$ref": "#/parameters/RuleNameParameter" },
- { "$ref": "#/parameters/ApiVersionParameter" },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RuleNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
{
"name": "parameters",
"in": "body",
@@ -162,7 +180,9 @@
}
},
"x-ms-examples": {
- "Patch Log Search Rule": { "$ref": "./examples/patchScheduledQueryRules.json" }
+ "Patch Log Search Rule": {
+ "$ref": "./examples/patchScheduledQueryRules.json"
+ }
}
},
"delete": {
@@ -200,7 +220,9 @@
}
},
"x-ms-examples": {
- "Delete rule": { "$ref": "./examples/deleteScheduledQueryRules.json" }
+ "Delete rule": {
+ "$ref": "./examples/deleteScheduledQueryRules.json"
+ }
}
}
},
@@ -240,7 +262,9 @@
"nextLinkName": null
},
"x-ms-examples": {
- "List rules": { "$ref": "./examples/listScheduledQueryRules.json" }
+ "List rules": {
+ "$ref": "./examples/listScheduledQueryRules.json"
+ }
},
"x-ms-odata": "#/definitions/LogSearchRuleResource"
}
@@ -284,14 +308,16 @@
"nextLinkName": null
},
"x-ms-examples": {
- "List rules": { "$ref": "./examples/listScheduledQueryRules.json" }
+ "List rules": {
+ "$ref": "./examples/listScheduledQueryRules.json"
+ }
},
"x-ms-odata": "#/definitions/LogSearchRuleResource"
}
}
},
"definitions": {
- "Resource": {
+ "Resource": {
"properties": {
"id": {
"type": "string",
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/actionGroups_API.json
index 586975d5f55c..d997d59945fb 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/actionGroups_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/actionGroups_API.json
@@ -1,832 +1,832 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Azure Action Groups API",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-09-01"
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Action Groups API",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "version": "2018-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
+ "put": {
+ "description": "Create a new action group or update an existing one.",
+ "operationId": "ActionGroups_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an action group": {
+ "$ref": "./examples/createOrUpdateActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "actionGroup",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The action group to create or use for the update."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "201": {
+ "description": "A new action group was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+ },
+ "get": {
+ "description": "Get an action group.",
+ "operationId": "ActionGroups_Get",
+ "x-ms-examples": {
+ "Get an action group": {
+ "$ref": "./examples/getActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
- "put": {
- "description": "Create a new action group or update an existing one.",
- "operationId": "ActionGroups_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an action group": {
- "$ref": "./examples/createOrUpdateActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "actionGroup",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The action group to create or use for the update."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "201": {
- "description": "A new action group was successfully created.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Get an action group.",
- "operationId": "ActionGroups_Get",
- "x-ms-examples": {
- "Get an action group": {
- "$ref": "./examples/getActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete an action group.",
- "operationId": "ActionGroups_Delete",
- "x-ms-examples": {
- "Delete an action group": {
- "$ref": "./examples/deleteActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The action group was successfully deleted."
- },
- "204": {
- "description": "The action group does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the action group could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "delete": {
+ "description": "Delete an action group.",
+ "operationId": "ActionGroups_Delete",
+ "x-ms-examples": {
+ "Delete an action group": {
+ "$ref": "./examples/deleteActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The action group was successfully deleted."
+ },
+ "204": {
+ "description": "The action group does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
+ "operationId": "ActionGroups_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "actionGroupPatch",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupPatchBody"
},
- "patch": {
- "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
- "operationId": "ActionGroups_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "actionGroupPatch",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupPatchBody"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- }
- },
- "x-ms-examples": {
- "Patch an action group": {
- "$ref": "./examples/patchActionGroup.json"
- }
- }
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a subscription.",
- "operationId": "ActionGroups_ListBySubscriptionId",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
}
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a resource group.",
- "operationId": "ActionGroups_ListByResourceGroup",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
+ "x-ms-examples": {
+ "Patch an action group": {
+ "$ref": "./examples/patchActionGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a subscription.",
+ "operationId": "ActionGroups_ListBySubscriptionId",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
- "post": {
- "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.",
- "operationId": "ActionGroups_EnableReceiver",
- "x-ms-examples": {
- "Enable the receiver": {
- "$ref": "./examples/enableReceiver.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "enableRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/EnableRequest"
- },
- "description": "The receiver to re-enable."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The receiver was successfully enabled."
- },
- "409": {
- "description": "The receiver is already enabled in the action group."
- },
- "default": {
- "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
}
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
+ }
},
- "definitions": {
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- },
- "ActionGroupResource": {
- "description": "An action group resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroup",
- "description": "The action groups properties of the resource."
- }
- }
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a resource group.",
+ "operationId": "ActionGroups_ListByResourceGroup",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "ActionGroupList": {
- "description": "A list of action groups.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The list of action groups."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
}
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
+ "post": {
+ "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.",
+ "operationId": "ActionGroups_EnableReceiver",
+ "x-ms-examples": {
+ "Enable the receiver": {
+ "$ref": "./examples/enableReceiver.json"
+ }
},
- "ActionGroup": {
- "description": "An Azure action group.",
- "properties": {
- "groupShortName": {
- "type": "string",
- "maxLength": 12,
- "description": "The short name of the action group. This will be used in SMS messages."
- },
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
- },
- "emailReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EmailReceiver"
- },
- "description": "The list of email receivers that are part of this action group."
- },
- "smsReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SmsReceiver"
- },
- "description": "The list of SMS receivers that are part of this action group."
- },
- "webhookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/WebhookReceiver"
- },
- "description": "The list of webhook receivers that are part of this action group."
- },
- "itsmReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ItsmReceiver"
- },
- "description": "The list of ITSM receivers that are part of this action group."
- },
- "azureAppPushReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureAppPushReceiver"
- },
- "description": "The list of AzureAppPush receivers that are part of this action group."
- },
- "automationRunbookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AutomationRunbookReceiver"
- },
- "description": "The list of AutomationRunbook receivers that are part of this action group."
- },
- "voiceReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceReceiver"
- },
- "description": "The list of voice receivers that are part of this action group."
- },
- "logicAppReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/LogicAppReceiver"
- },
- "description": "The list of logic app receivers that are part of this action group."
- },
- "azureFunctionReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureFunctionReceiver"
- },
- "description": "The list of azure function receivers that are part of this action group."
- },
- "armRoleReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ArmRoleReceiver"
- },
- "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported."
- }
- },
- "required": [
- "groupShortName",
- "enabled"
- ]
- },
- "EmailReceiver": {
- "description": "An email receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address of this receiver."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The receiver status of the e-mail."
- }
- },
- "required": [
- "name",
- "emailAddress"
- ]
- },
- "SmsReceiver": {
- "description": "An SMS receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the SMS receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the SMS receiver."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The status of the receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "WebhookReceiver": {
- "description": "A webhook receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- }
- },
- "required": [
- "name",
- "serviceUri"
- ]
- },
- "ItsmReceiver": {
- "description": "An Itsm receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
- },
- "workspaceId": {
- "type": "string",
- "description": "OMS LA instance identifier."
- },
- "connectionId": {
- "type": "string",
- "description": "Unique identification of ITSM connection among multiple defined in above workspace."
- },
- "ticketConfiguration": {
- "type": "string",
- "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
- },
- "region": {
- "type": "string",
- "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
- }
- },
- "required": [
- "name",
- "workspaceId",
- "connectionId",
- "ticketConfiguration",
- "region"
- ]
- },
- "AzureAppPushReceiver": {
- "description": "The Azure mobile App push notification receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address registered for the Azure mobile app."
- }
- },
- "required": [
- "name",
- "emailAddress"
- ]
- },
- "AutomationRunbookReceiver": {
- "description": "The Azure Automation Runbook notification receiver.",
- "properties": {
- "automationAccountId": {
- "type": "string",
- "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
- },
- "runbookName": {
- "type": "string",
- "description": "The name for this runbook."
- },
- "webhookResourceId": {
- "type": "string",
- "description": "The resource id for webhook linked to this runbook."
- },
- "isGlobalRunbook": {
- "type": "boolean",
- "description": "Indicates whether this instance is global runbook."
- },
- "name": {
- "type": "string",
- "description": "Indicates name of the webhook."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- }
- },
- "required": [
- "automationAccountId",
- "runbookName",
- "webhookResourceId",
- "isGlobalRunbook"
- ]
- },
- "VoiceReceiver": {
- "description": "A voice receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the voice receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the voice receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the voice receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "LogicAppReceiver": {
- "description": "A logic app receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group."
- },
- "resourceId": {
- "type": "string",
- "description": "The azure resource id of the logic app receiver."
- },
- "callbackUrl": {
- "type": "string",
- "description": "The callback url where http request sent to."
- }
- },
- "required": [
- "name",
- "resourceId",
- "callbackUrl"
- ]
- },
- "AzureFunctionReceiver": {
- "description": "An azure function receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
- },
- "functionAppResourceId": {
- "type": "string",
- "description": "The azure resource id of the function app."
- },
- "functionName": {
- "type": "string",
- "description": "The function name in the function app."
- },
- "httpTriggerUrl": {
- "type": "string",
- "description": "The http trigger url where http request sent to."
- }
- },
- "required": [
- "name",
- "functionAppResourceId",
- "functionName",
- "httpTriggerUrl"
- ]
- },
- "ArmRoleReceiver": {
- "description": "An arm role receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group."
- },
- "roleId": {
- "type": "string",
- "description": "The arm role id."
- }
- },
- "required": [
- "name",
- "roleId"
- ]
- },
- "ReceiverStatus": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "ReceiverStatus",
- "modelAsString": false
- },
- "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
- },
- "EnableRequest": {
- "description": "Describes a receiver that should be resubscribed.",
- "properties": {
- "receiverName": {
- "type": "string",
- "description": "The name of the receiver to resubscribe."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "enableRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EnableRequest"
},
- "required": [
- "receiverName"
- ]
- },
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ "description": "The receiver to re-enable."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The receiver was successfully enabled."
+ },
+ "409": {
+ "description": "The receiver is already enabled in the action group."
+ },
+ "default": {
+ "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ActionGroupPatchBody": {
- "description": "An action group object for the body of patch operations.",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroupPatch",
- "description": "The action group settings for an update operation."
- }
- }
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "ActionGroupPatch": {
- "description": "An Azure action group for patch operations.",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
- }
- }
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
}
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "ActionGroupResource": {
+ "description": "An action group resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroup",
+ "description": "The action groups properties of the resource."
+ }
+ }
+ },
+ "ActionGroupList": {
+ "description": "A list of action groups.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The list of action groups."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "ActionGroup": {
+ "description": "An Azure action group.",
+ "properties": {
+ "groupShortName": {
+ "type": "string",
+ "maxLength": 12,
+ "description": "The short name of the action group. This will be used in SMS messages."
},
- "ActionGroupNameParameter": {
- "name": "actionGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the action group.",
- "x-ms-parameter-location": "method"
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
+ "emailReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EmailReceiver"
+ },
+ "description": "The list of email receivers that are part of this action group."
+ },
+ "smsReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SmsReceiver"
+ },
+ "description": "The list of SMS receivers that are part of this action group."
+ },
+ "webhookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WebhookReceiver"
+ },
+ "description": "The list of webhook receivers that are part of this action group."
+ },
+ "itsmReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ItsmReceiver"
+ },
+ "description": "The list of ITSM receivers that are part of this action group."
+ },
+ "azureAppPushReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureAppPushReceiver"
+ },
+ "description": "The list of AzureAppPush receivers that are part of this action group."
+ },
+ "automationRunbookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutomationRunbookReceiver"
+ },
+ "description": "The list of AutomationRunbook receivers that are part of this action group."
+ },
+ "voiceReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceReceiver"
+ },
+ "description": "The list of voice receivers that are part of this action group."
+ },
+ "logicAppReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogicAppReceiver"
+ },
+ "description": "The list of logic app receivers that are part of this action group."
+ },
+ "azureFunctionReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFunctionReceiver"
+ },
+ "description": "The list of azure function receivers that are part of this action group."
+ },
+ "armRoleReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArmRoleReceiver"
+ },
+ "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported."
+ }
+ },
+ "required": [
+ "groupShortName",
+ "enabled"
+ ]
+ },
+ "EmailReceiver": {
+ "description": "An email receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address of this receiver."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The receiver status of the e-mail."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress"
+ ]
+ },
+ "SmsReceiver": {
+ "description": "An SMS receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the SMS receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the SMS receiver."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The status of the receiver."
+ }
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "WebhookReceiver": {
+ "description": "A webhook receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ }
+ },
+ "required": [
+ "name",
+ "serviceUri"
+ ]
+ },
+ "ItsmReceiver": {
+ "description": "An Itsm receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
+ },
+ "workspaceId": {
+ "type": "string",
+ "description": "OMS LA instance identifier."
+ },
+ "connectionId": {
+ "type": "string",
+ "description": "Unique identification of ITSM connection among multiple defined in above workspace."
+ },
+ "ticketConfiguration": {
+ "type": "string",
+ "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
+ },
+ "region": {
+ "type": "string",
+ "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
+ }
+ },
+ "required": [
+ "name",
+ "workspaceId",
+ "connectionId",
+ "ticketConfiguration",
+ "region"
+ ]
+ },
+ "AzureAppPushReceiver": {
+ "description": "The Azure mobile App push notification receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address registered for the Azure mobile app."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress"
+ ]
+ },
+ "AutomationRunbookReceiver": {
+ "description": "The Azure Automation Runbook notification receiver.",
+ "properties": {
+ "automationAccountId": {
+ "type": "string",
+ "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
+ },
+ "runbookName": {
+ "type": "string",
+ "description": "The name for this runbook."
+ },
+ "webhookResourceId": {
+ "type": "string",
+ "description": "The resource id for webhook linked to this runbook."
+ },
+ "isGlobalRunbook": {
+ "type": "boolean",
+ "description": "Indicates whether this instance is global runbook."
+ },
+ "name": {
+ "type": "string",
+ "description": "Indicates name of the webhook."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
}
+ },
+ "required": [
+ "automationAccountId",
+ "runbookName",
+ "webhookResourceId",
+ "isGlobalRunbook"
+ ]
+ },
+ "VoiceReceiver": {
+ "description": "A voice receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the voice receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the voice receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the voice receiver."
+ }
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "LogicAppReceiver": {
+ "description": "A logic app receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "The azure resource id of the logic app receiver."
+ },
+ "callbackUrl": {
+ "type": "string",
+ "description": "The callback url where http request sent to."
+ }
+ },
+ "required": [
+ "name",
+ "resourceId",
+ "callbackUrl"
+ ]
+ },
+ "AzureFunctionReceiver": {
+ "description": "An azure function receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
+ },
+ "functionAppResourceId": {
+ "type": "string",
+ "description": "The azure resource id of the function app."
+ },
+ "functionName": {
+ "type": "string",
+ "description": "The function name in the function app."
+ },
+ "httpTriggerUrl": {
+ "type": "string",
+ "description": "The http trigger url where http request sent to."
+ }
+ },
+ "required": [
+ "name",
+ "functionAppResourceId",
+ "functionName",
+ "httpTriggerUrl"
+ ]
+ },
+ "ArmRoleReceiver": {
+ "description": "An arm role receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group."
+ },
+ "roleId": {
+ "type": "string",
+ "description": "The arm role id."
+ }
+ },
+ "required": [
+ "name",
+ "roleId"
+ ]
+ },
+ "ReceiverStatus": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ReceiverStatus",
+ "modelAsString": false
+ },
+ "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
+ },
+ "EnableRequest": {
+ "description": "Describes a receiver that should be resubscribed.",
+ "properties": {
+ "receiverName": {
+ "type": "string",
+ "description": "The name of the receiver to resubscribe."
+ }
+ },
+ "required": [
+ "receiverName"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "ActionGroupPatchBody": {
+ "description": "An action group object for the body of patch operations.",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroupPatch",
+ "description": "The action group settings for an update operation."
+ }
+ }
+ },
+ "ActionGroupPatch": {
+ "description": "An Azure action group for patch operations.",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ActionGroupNameParameter": {
+ "name": "actionGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the action group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json
index fa616c4edb22..fbf213aaa465 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/baseline_API.json
@@ -1,404 +1,416 @@
{
- "swagger": "2.0",
- "info": {
- "title": "MonitorManagementClient",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-09-01"
+ "swagger": "2.0",
+ "info": {
+ "title": "MonitorManagementClient",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2018-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": {
- "get": {
- "tags": [
- "Baseline"
- ],
- "operationId": "MetricBaseline_Get",
- "description": "**Gets the baseline values for a specific metric**.",
- "parameters": [
- {
- "$ref": "#/parameters/ExtendedResourceUriParameter"
- },
- {
- "$ref": "#/parameters/MetricNameParameter"
- },
- {
- "$ref": "#/parameters/TimespanParameter"
- },
- {
- "$ref": "#/parameters/IntervalParameter"
- },
- {
- "$ref": "#/parameters/AggregationParameter"
- },
- {
- "$ref": "#/parameters/SensitivitiesParameter"
- },
- {
- "$ref": "#/parameters/BaselineResultTypeParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MetricNamespaceParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "type": "string",
- "description": "The **$filter** is used to describe a set of dimensions with their concrete values which produce a specific metric's time series, in which a baseline is requested for.",
- "required": false
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to get the list of metric values.",
- "schema": {
- "$ref": "#/definitions/BaselineResponse"
- }
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": {
+ "get": {
+ "tags": [
+ "Baseline"
+ ],
+ "operationId": "MetricBaseline_Get",
+ "description": "**Gets the baseline values for a specific metric**.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ExtendedResourceUriParameter"
},
- "x-ms-examples": {
- "Get Metric for data": { "$ref": "./examples/GetBaseline.json" },
- "Get Metric for metadata": { "$ref": "./examples/GetBaselineMetadata.json" }
- }
- }
- },
- "/{resourceUri}/providers/microsoft.insights/baseline": {
- "get": {
- "tags": [
- "Baseline"
- ],
- "operationId": "Baseline_Get",
- "description": "**Gets the baseline values for a resource**.",
- "parameters": [
- {
- "$ref": "#/parameters/ExtendedResourceUriParameter"
- },
- {
- "$ref": "#/parameters/MetricNamesParameter"
- },
- {
- "$ref": "#/parameters/TimespanParameter"
- },
- {
- "$ref": "#/parameters/IntervalParameter"
- },
- {
- "$ref": "#/parameters/AggregationParameter"
- },
- {
- "$ref": "#/parameters/SensitivitiesParameter"
- },
- {
- "$ref": "#/parameters/BaselineResultTypeParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MetricNamespaceParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "type": "string",
- "description": "The **$filter** is used to describe a set of dimensions with their concrete values which produce a specific metric's time series, in which a baseline is requested for.",
- "required": false
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to get the list of metric values.",
- "schema": {
- "$ref": "#/definitions/BaselineResponse"
- }
- }
+ {
+ "$ref": "#/parameters/MetricNameParameter"
},
- "x-ms-examples": {
- "Get Metric for data": { "$ref": "./examples/GetBaseline.json" }
- }
- }
- }
- },
- "definitions": {
- "LocalizableString": {
- "required": [ "value" ],
- "properties": {
- "value": {
- "type": "string",
- "description": "The invariant value."
+ {
+ "$ref": "#/parameters/TimespanParameter"
+ },
+ {
+ "$ref": "#/parameters/IntervalParameter"
+ },
+ {
+ "$ref": "#/parameters/AggregationParameter"
+ },
+ {
+ "$ref": "#/parameters/SensitivitiesParameter"
+ },
+ {
+ "$ref": "#/parameters/BaselineResultTypeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
},
- "localizedValue": {
+ {
+ "$ref": "#/parameters/MetricNamespaceParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
"type": "string",
- "description": "The locale specific value."
+ "description": "The **$filter** is used to describe a set of dimensions with their concrete values which produce a specific metric's time series, in which a baseline is requested for.",
+ "required": false
}
- },
- "description": "The localizable string class."
- },
- "BaselineMetadataValue": {
- "properties": {
- "name": {
- "$ref": "#/definitions/LocalizableString",
- "description": "The name of the metadata."
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
},
- "value": {
- "type": "string",
- "description": "The value of the metadata."
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/BaselineResponse"
+ }
}
},
- "description": "Represents a baseline metadata value."
- },
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
+ "x-ms-examples": {
+ "Get Metric for data": {
+ "$ref": "./examples/GetBaseline.json"
},
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
+ "Get Metric for metadata": {
+ "$ref": "./examples/GetBaselineMetadata.json"
}
}
- },
- "BaselineResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "The metric baseline ID."
+ }
+ },
+ "/{resourceUri}/providers/microsoft.insights/baseline": {
+ "get": {
+ "tags": [
+ "Baseline"
+ ],
+ "operationId": "Baseline_Get",
+ "description": "**Gets the baseline values for a resource**.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ExtendedResourceUriParameter"
},
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "The resource type of the baseline resource."
+ {
+ "$ref": "#/parameters/MetricNamesParameter"
},
- "name": {
- "$ref": "#/definitions/LocalizableString",
- "readOnly": true,
- "description": "The name and the display name of the metric, i.e. it is localizable string."
+ {
+ "$ref": "#/parameters/TimespanParameter"
},
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/BaselineProperties",
- "description": "The properties of the baseline."
- }
- },
- "description": "The response to a baseline query."
- },
- "BaselineProperties": {
- "properties": {
- "timespan": {
- "type": "string",
- "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
+ {
+ "$ref": "#/parameters/IntervalParameter"
},
- "interval": {
- "type": "string",
- "format": "duration",
- "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
+ {
+ "$ref": "#/parameters/AggregationParameter"
},
- "aggregation": {
- "type": "string",
- "description": "The aggregation type of the metric."
+ {
+ "$ref": "#/parameters/SensitivitiesParameter"
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "The timestamp for the baseline value in ISO 8601 format."
- },
- "description": "The array of timestamps of the baselines."
+ {
+ "$ref": "#/parameters/BaselineResultTypeParameter"
},
- "baseline": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Baseline"
- },
- "description": "The baseline values for each sensitivity."
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
},
- "metadata": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/BaselineMetadataValue"
- },
- "description": "The baseline metadata values."
- }
- },
- "description": "The baseline properties class."
- },
- "Baseline": {
- "type": "object",
- "properties": {
- "sensitivity": {
- "type": "string",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "Sensitivity",
- "modelAsString": false
- },
- "description": "The sensitivity of the baseline."
+ {
+ "$ref": "#/parameters/MetricNamespaceParameter"
},
- "lowThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single low threshold value."
- },
- "description": "The low thresholds of the baseline."
+ {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "The **$filter** is used to describe a set of dimensions with their concrete values which produce a specific metric's time series, in which a baseline is requested for.",
+ "required": false
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
},
- "highThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single high threshold value."
- },
- "description": "The high thresholds of the baseline."
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/BaselineResponse"
+ }
}
},
- "required": [ "sensitivity", "lowThresholds", "highThresholds" ],
- "description": "The baseline values for a single sensitivity value."
+ "x-ms-examples": {
+ "Get Metric for data": {
+ "$ref": "./examples/GetBaseline.json"
+ }
+ }
}
- },
- "parameters": {
- "ExtendedResourceUriParameter": {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "MetricNameParameter": {
- "name": "metricName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the metric to retrieve the baseline for.",
- "x-ms-parameter-location": "method"
- },
- "TimespanParameter": {
- "name": "timespan",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
- "x-ms-parameter-location": "method"
- },
- "IntervalParameter": {
- "name": "interval",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "duration",
- "description": "The interval (i.e. timegrain) of the query.",
- "x-ms-parameter-location": "method"
+ }
+ },
+ "definitions": {
+ "LocalizableString": {
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "The invariant value."
+ },
+ "localizedValue": {
+ "type": "string",
+ "description": "The locale specific value."
+ }
},
- "MetricNamesParameter": {
- "name": "metricnames",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The names of the metrics (comma separated) to retrieve.",
- "x-ms-parameter-location": "method"
+ "description": "The localizable string class."
+ },
+ "BaselineMetadataValue": {
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/LocalizableString",
+ "description": "The name of the metadata."
+ },
+ "value": {
+ "type": "string",
+ "description": "The value of the metadata."
+ }
},
- "AggregationParameter": {
- "name": "aggregation",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The aggregation type of the metric to retrieve the baseline for.",
- "x-ms-parameter-location": "method"
+ "description": "Represents a baseline metadata value."
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "BaselineResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The metric baseline ID."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The resource type of the baseline resource."
+ },
+ "name": {
+ "$ref": "#/definitions/LocalizableString",
+ "readOnly": true,
+ "description": "The name and the display name of the metric, i.e. it is localizable string."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BaselineProperties",
+ "description": "The properties of the baseline."
+ }
},
- "SensitivitiesParameter": {
- "name": "sensitivities",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The list of sensitivities (comma separated) to retrieve.",
- "x-ms-parameter-location": "method"
+ "description": "The response to a baseline query."
+ },
+ "BaselineProperties": {
+ "properties": {
+ "timespan": {
+ "type": "string",
+ "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
+ },
+ "interval": {
+ "type": "string",
+ "format": "duration",
+ "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
+ },
+ "aggregation": {
+ "type": "string",
+ "description": "The aggregation type of the metric."
+ },
+ "timestamps": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp for the baseline value in ISO 8601 format."
+ },
+ "description": "The array of timestamps of the baselines."
+ },
+ "baseline": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Baseline"
+ },
+ "description": "The baseline values for each sensitivity."
+ },
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BaselineMetadataValue"
+ },
+ "description": "The baseline metadata values."
+ }
},
- "BaselineResultTypeParameter": {
- "name": "resultType",
- "in": "query",
- "type": "string",
- "enum": [
- "Data",
- "Metadata"
- ],
- "x-ms-enum": {
- "name": "ResultType",
- "modelAsString": false
+ "description": "The baseline properties class."
+ },
+ "Baseline": {
+ "type": "object",
+ "properties": {
+ "sensitivity": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "Sensitivity",
+ "modelAsString": false
+ },
+ "description": "The sensitivity of the baseline."
+ },
+ "lowThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single low threshold value."
+ },
+ "description": "The low thresholds of the baseline."
},
- "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.",
- "x-ms-parameter-location": "method",
- "required": false
+ "highThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single high threshold value."
+ },
+ "description": "The high thresholds of the baseline."
+ }
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
+ "required": [
+ "sensitivity",
+ "lowThresholds",
+ "highThresholds"
+ ],
+ "description": "The baseline values for a single sensitivity value."
+ }
+ },
+ "parameters": {
+ "ExtendedResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "MetricNameParameter": {
+ "name": "metricName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the metric to retrieve the baseline for.",
+ "x-ms-parameter-location": "method"
+ },
+ "TimespanParameter": {
+ "name": "timespan",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
+ "x-ms-parameter-location": "method"
+ },
+ "IntervalParameter": {
+ "name": "interval",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "format": "duration",
+ "description": "The interval (i.e. timegrain) of the query.",
+ "x-ms-parameter-location": "method"
+ },
+ "MetricNamesParameter": {
+ "name": "metricnames",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The names of the metrics (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "AggregationParameter": {
+ "name": "aggregation",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The aggregation type of the metric to retrieve the baseline for.",
+ "x-ms-parameter-location": "method"
+ },
+ "SensitivitiesParameter": {
+ "name": "sensitivities",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The list of sensitivities (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "BaselineResultTypeParameter": {
+ "name": "resultType",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "Data",
+ "Metadata"
+ ],
+ "x-ms-enum": {
+ "name": "ResultType",
+ "modelAsString": false
},
- "MetricNamespaceParameter": {
- "name": "metricnamespace",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Metric namespace to query metric definitions for.",
- "x-ms-parameter-location": "method"
- }
+ "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.",
+ "x-ms-parameter-location": "method",
+ "required": false
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "MetricNamespaceParameter": {
+ "name": "metricnamespace",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Metric namespace to query metric definitions for.",
+ "x-ms-parameter-location": "method"
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json
index c6e0e614c5e5..39ba5120dd9e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json
@@ -1,214 +1,226 @@
{
- "swagger": "2.0",
- "info": {
- "title": "MonitorManagementClient",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-09-01"
+ "swagger": "2.0",
+ "info": {
+ "title": "MonitorManagementClient",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2018-09-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/calculatebaseline": {
- "post": {
- "tags": [
- "Baseline"
- ],
- "operationId": "MetricBaseline_CalculateBaseline",
- "description": "**Lists the baseline values for a resource**.",
- "parameters": [
- {
- "$ref": "#/parameters/ExtendedResourceUriParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "TimeSeriesInformation",
- "description": "Information that need to be specified to calculate a baseline on a time series.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/TimeSeriesInformation"
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/calculatebaseline": {
+ "post": {
+ "tags": [
+ "Baseline"
+ ],
+ "operationId": "MetricBaseline_CalculateBaseline",
+ "description": "**Lists the baseline values for a resource**.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ExtendedResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "TimeSeriesInformation",
+ "description": "Information that need to be specified to calculate a baseline on a time series.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TimeSeriesInformation"
}
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to get the list of metric values.",
- "schema": {
- "$ref": "#/definitions/CalculateBaselineResponse"
- }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
},
- "x-ms-examples": {
- "Calculate baseline": { "$ref": "./examples/CalculateBaseline.json" }
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/CalculateBaselineResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Calculate baseline": {
+ "$ref": "./examples/CalculateBaseline.json"
}
}
}
- },
- "definitions": {
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
}
- },
- "TimeSeriesInformation": {
- "properties": {
- "sensitivities": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "The requested sensitivity for calculating the baseline."
- },
- "description": "The list of sensitivities for calculating the baseline."
+ }
+ },
+ "TimeSeriesInformation": {
+ "properties": {
+ "sensitivities": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The requested sensitivity for calculating the baseline."
},
- "values": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single metric value."
- },
- "description": "The metric values to calculate the baseline."
+ "description": "The list of sensitivities for calculating the baseline."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single metric value."
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "The timestamp for the baseline value in ISO 8601 format."
- },
- "description": "The array of timestamps of the baselines."
- }
+ "description": "The metric values to calculate the baseline."
},
- "required": [ "sensitivities", "values" ],
- "description": "The time series info needed for calculating the baseline."
- },
- "CalculateBaselineResponse": {
- "type": "object",
- "properties": {
- "type": {
+ "timestamps": {
+ "type": "array",
+ "items": {
"type": "string",
- "description": "The resource type of the baseline resource."
+ "format": "date-time",
+ "description": "The timestamp for the baseline value in ISO 8601 format."
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "The timestamp for the baseline value in ISO 8601 format."
- },
- "description": "The array of timestamps of the baselines."
+ "description": "The array of timestamps of the baselines."
+ }
+ },
+ "required": [
+ "sensitivities",
+ "values"
+ ],
+ "description": "The time series info needed for calculating the baseline."
+ },
+ "CalculateBaselineResponse": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The resource type of the baseline resource."
+ },
+ "timestamps": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp for the baseline value in ISO 8601 format."
},
- "baseline": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Baseline"
- },
- "description": "The baseline values for each sensitivity."
- }
+ "description": "The array of timestamps of the baselines."
},
- "required": [ "type", "baseline" ],
- "description": "The response to a calculate baseline call."
+ "baseline": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Baseline"
+ },
+ "description": "The baseline values for each sensitivity."
+ }
},
- "Baseline": {
- "type": "object",
- "properties": {
- "sensitivity": {
- "type": "string",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "Sensitivity",
- "modelAsString": false
- },
- "description": "The sensitivity of the baseline."
+ "required": [
+ "type",
+ "baseline"
+ ],
+ "description": "The response to a calculate baseline call."
+ },
+ "Baseline": {
+ "type": "object",
+ "properties": {
+ "sensitivity": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "Sensitivity",
+ "modelAsString": false
},
- "lowThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single low threshold value."
- },
- "description": "The low thresholds of the baseline."
+ "description": "The sensitivity of the baseline."
+ },
+ "lowThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single low threshold value."
},
- "highThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single high threshold value."
- },
- "description": "The high thresholds of the baseline."
- }
+ "description": "The low thresholds of the baseline."
},
- "required": [ "sensitivity", "lowThresholds", "highThresholds" ],
- "description": "The baseline values for a single sensitivity value."
- }
- },
- "parameters": {
- "ExtendedResourceUriParameter": {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
+ "highThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single high threshold value."
+ },
+ "description": "The high thresholds of the baseline."
+ }
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "required": [
+ "sensitivity",
+ "lowThresholds",
+ "highThresholds"
+ ],
+ "description": "The baseline values for a single sensitivity value."
+ }
+ },
+ "parameters": {
+ "ExtendedResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/CalculateBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/CalculateBaseline.json
index f2e6c8a3a683..904f1d3a3ef7 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/CalculateBaseline.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/CalculateBaseline.json
@@ -1,41 +1,47 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
- "api-version": "2018-09-01",
- "TimeSeriesInformation": {
- "sensitivities": ["Low", "Medium"],
- "values": [61.0, 62.0]
- }
- },
- "responses": {
- "200": {
- "body": {
- "type": "Microsoft.Insights/calculatebaseline",
- "baseline": [
- {
- "sensitivity": "Low",
- "lowThresholds": [
- 30.0,
- 31.1
- ],
- "highThresholds": [
- 90.3453,
- 91.3453
- ]
- },
- {
- "sensitivity": "Medium",
- "lowThresholds": [
- 50.0,
- 51.1
- ],
- "highThresholds": [
- 70.3453,
- 71.3453
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "api-version": "2018-09-01",
+ "TimeSeriesInformation": {
+ "sensitivities": [
+ "Low",
+ "Medium"
+ ],
+ "values": [
+ 61.0,
+ 62.0
+ ]
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "type": "Microsoft.Insights/calculatebaseline",
+ "baseline": [
+ {
+ "sensitivity": "Low",
+ "lowThresholds": [
+ 30.0,
+ 31.1
+ ],
+ "highThresholds": [
+ 90.3453,
+ 91.3453
+ ]
+ },
+ {
+ "sensitivity": "Medium",
+ "lowThresholds": [
+ 50.0,
+ 51.1
+ ],
+ "highThresholds": [
+ 70.3453,
+ 71.3453
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaseline.json
index 05f072f096e4..326d00ba4e6b 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaseline.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaseline.json
@@ -1,55 +1,55 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metricName": "PercentageCpu",
- "aggregation": "Average",
- "interval": "PT1H",
- "sensitivities": "Low,Medium",
- "api-version": "2018-09-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
- "type": "Microsoft.Insights/baseline",
- "name": {
- "value": "PercentageCpu"
- },
- "properties": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "aggregation": "Average",
- "interval": "PT1H",
- "timestamps": [
- "2017-04-14T02:20:00Z",
- "2017-04-14T03:20:00Z"
- ],
- "baseline": [
- {
- "sensitivity": "Low",
- "lowThresholds": [
- 30.0,
- 31.1
- ],
- "highThresholds": [
- 90.3453,
- 91.3453
- ]
- },
- {
- "sensitivity": "Medium",
- "lowThresholds": [
- 50.0,
- 51.1
- ],
- "highThresholds": [
- 70.3453,
- 71.3453
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metricName": "PercentageCpu",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "sensitivities": "Low,Medium",
+ "api-version": "2018-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
+ "type": "Microsoft.Insights/baseline",
+ "name": {
+ "value": "PercentageCpu"
+ },
+ "properties": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "timestamps": [
+ "2017-04-14T02:20:00Z",
+ "2017-04-14T03:20:00Z"
+ ],
+ "baseline": [
+ {
+ "sensitivity": "Low",
+ "lowThresholds": [
+ 30.0,
+ 31.1
+ ],
+ "highThresholds": [
+ 90.3453,
+ 91.3453
+ ]
+ },
+ {
+ "sensitivity": "Medium",
+ "lowThresholds": [
+ 50.0,
+ 51.1
+ ],
+ "highThresholds": [
+ 70.3453,
+ 71.3453
+ ]
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaselineMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaselineMetadata.json
index 25bdf1d01df2..1af52e4488a8 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaselineMetadata.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/GetBaselineMetadata.json
@@ -1,37 +1,37 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metricName": "PercentageCpu",
- "aggregation": "Average",
- "interval": "PT1H",
- "resulttype": "metadata",
- "api-version": "2018-09-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
- "type": "Microsoft.Insights/baseline",
- "name": {
- "value": "PercentageCpu"
- },
- "properties": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "aggregation": "Average",
- "interval": "PT1H",
- "metadata": [
- {
- "name": "CurrentTrainingState",
- "value": "Trained"
- },
- {
- "name": "SelectedModel",
- "value": "AdjustedBoxplot"
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metricName": "PercentageCpu",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "resulttype": "metadata",
+ "api-version": "2018-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
+ "type": "Microsoft.Insights/baseline",
+ "name": {
+ "value": "PercentageCpu"
+ },
+ "properties": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "metadata": [
+ {
+ "name": "CurrentTrainingState",
+ "value": "Trained"
+ },
+ {
+ "name": "SelectedModel",
+ "value": "AdjustedBoxplot"
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/createOrUpdateActionGroup.json
index 5d79f314d84b..741971c63b8c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/createOrUpdateActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/createOrUpdateActionGroup.json
@@ -1,297 +1,297 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-09-01",
- "actionGroup": {
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
- }
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-09-01",
+ "actionGroup": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
+ }
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
}
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
+ }
+ ]
}
+ }
},
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
- }
- ]
- }
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
}
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d"
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
- }
- ]
- }
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635"
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json
index 3d7edcf8ebb6..d61e90614bce 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/deleteActionGroup.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-08-01"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-08-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json
index c57300b58fe7..cdf572ea5acb 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/enableReceiver.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-08-01",
- "enableRequest": {
- "receiverName": "John Doe's mobile"
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-08-01",
+ "enableRequest": {
+ "receiverName": "John Doe's mobile"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "409": {
- "headers": {},
- "body": null
- }
+ "409": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/getActionGroup.json
index 6aa11ec2bdfc..d0b3e8101891 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/getActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/getActionGroup.json
@@ -1,56 +1,56 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-08-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-08-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled"
}
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/listActionGroups.json
index cbce7c57b919..11fcec5d6097 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/listActionGroups.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/listActionGroups.json
@@ -1,86 +1,86 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "api-version": "2018-03801"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
- },
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup2",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample2",
- "enabled": false,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers": [
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": []
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "api-version": "2018-03801"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
+ }
+ ]
}
- }
+ },
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup2",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample2",
+ "enabled": false,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": []
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/patchActionGroup.json
index fe9df4fec5f0..4f0cdf66c70e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/patchActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-09-01/examples/patchActionGroup.json
@@ -1,62 +1,68 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2018-08-01",
- "actionGroupPatch": {
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "enabled": false
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2018-08-01",
+ "actionGroupPatch": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled"
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled"
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook"
- }
- ]
- }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook"
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json
index ff39155ebae6..0f37312be577 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json
@@ -1,862 +1,862 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Azure Action Groups API",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2019-03-01"
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Action Groups API",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "version": "2019-03-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
+ "put": {
+ "description": "Create a new action group or update an existing one.",
+ "operationId": "ActionGroups_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an action group": {
+ "$ref": "./examples/createOrUpdateActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "actionGroup",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The action group to create or use for the update."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "201": {
+ "description": "A new action group was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+ },
+ "get": {
+ "description": "Get an action group.",
+ "operationId": "ActionGroups_Get",
+ "x-ms-examples": {
+ "Get an action group": {
+ "$ref": "./examples/getActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
}
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
- "put": {
- "description": "Create a new action group or update an existing one.",
- "operationId": "ActionGroups_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an action group": {
- "$ref": "./examples/createOrUpdateActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "actionGroup",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The action group to create or use for the update."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "201": {
- "description": "A new action group was successfully created.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Get an action group.",
- "operationId": "ActionGroups_Get",
- "x-ms-examples": {
- "Get an action group": {
- "$ref": "./examples/getActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete an action group.",
- "operationId": "ActionGroups_Delete",
- "x-ms-examples": {
- "Delete an action group": {
- "$ref": "./examples/deleteActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The action group was successfully deleted."
- },
- "204": {
- "description": "The action group does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the action group could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "delete": {
+ "description": "Delete an action group.",
+ "operationId": "ActionGroups_Delete",
+ "x-ms-examples": {
+ "Delete an action group": {
+ "$ref": "./examples/deleteActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The action group was successfully deleted."
+ },
+ "204": {
+ "description": "The action group does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
+ "operationId": "ActionGroups_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "actionGroupPatch",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupPatchBody"
},
- "patch": {
- "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
- "operationId": "ActionGroups_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "actionGroupPatch",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupPatchBody"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- }
- },
- "x-ms-examples": {
- "Patch an action group": {
- "$ref": "./examples/patchActionGroup.json"
- }
- }
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a subscription.",
- "operationId": "ActionGroups_ListBySubscriptionId",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
}
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a resource group.",
- "operationId": "ActionGroups_ListByResourceGroup",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
+ "x-ms-examples": {
+ "Patch an action group": {
+ "$ref": "./examples/patchActionGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a subscription.",
+ "operationId": "ActionGroups_ListBySubscriptionId",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
- "post": {
- "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.",
- "operationId": "ActionGroups_EnableReceiver",
- "x-ms-examples": {
- "Enable the receiver": {
- "$ref": "./examples/enableReceiver.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "enableRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/EnableRequest"
- },
- "description": "The receiver to re-enable."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The receiver was successfully enabled."
- },
- "409": {
- "description": "The receiver is already enabled in the action group."
- },
- "default": {
- "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
}
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
+ }
},
- "definitions": {
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- },
- "ActionGroupResource": {
- "description": "An action group resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroup",
- "description": "The action groups properties of the resource."
- }
- }
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a resource group.",
+ "operationId": "ActionGroups_ListByResourceGroup",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "ActionGroupList": {
- "description": "A list of action groups.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The list of action groups."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
}
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
+ "post": {
+ "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.",
+ "operationId": "ActionGroups_EnableReceiver",
+ "x-ms-examples": {
+ "Enable the receiver": {
+ "$ref": "./examples/enableReceiver.json"
+ }
},
- "ActionGroup": {
- "description": "An Azure action group.",
- "properties": {
- "groupShortName": {
- "type": "string",
- "maxLength": 12,
- "description": "The short name of the action group. This will be used in SMS messages."
- },
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
- },
- "emailReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EmailReceiver"
- },
- "description": "The list of email receivers that are part of this action group."
- },
- "smsReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SmsReceiver"
- },
- "description": "The list of SMS receivers that are part of this action group."
- },
- "webhookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/WebhookReceiver"
- },
- "description": "The list of webhook receivers that are part of this action group."
- },
- "itsmReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ItsmReceiver"
- },
- "description": "The list of ITSM receivers that are part of this action group."
- },
- "azureAppPushReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureAppPushReceiver"
- },
- "description": "The list of AzureAppPush receivers that are part of this action group."
- },
- "automationRunbookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AutomationRunbookReceiver"
- },
- "description": "The list of AutomationRunbook receivers that are part of this action group."
- },
- "voiceReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceReceiver"
- },
- "description": "The list of voice receivers that are part of this action group."
- },
- "logicAppReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/LogicAppReceiver"
- },
- "description": "The list of logic app receivers that are part of this action group."
- },
- "azureFunctionReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureFunctionReceiver"
- },
- "description": "The list of azure function receivers that are part of this action group."
- },
- "armRoleReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ArmRoleReceiver"
- },
- "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported."
- }
- },
- "required": [
- "groupShortName",
- "enabled"
- ]
- },
- "EmailReceiver": {
- "description": "An email receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address of this receiver."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The receiver status of the e-mail."
- }
- },
- "required": [
- "name",
- "emailAddress",
- "useCommonAlertSchema"
- ]
- },
- "SmsReceiver": {
- "description": "An SMS receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the SMS receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the SMS receiver."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The status of the receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "WebhookReceiver": {
- "description": "A webhook receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "name",
- "serviceUri",
- "useCommonAlertSchema"
- ]
- },
- "ItsmReceiver": {
- "description": "An Itsm receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
- },
- "workspaceId": {
- "type": "string",
- "description": "OMS LA instance identifier."
- },
- "connectionId": {
- "type": "string",
- "description": "Unique identification of ITSM connection among multiple defined in above workspace."
- },
- "ticketConfiguration": {
- "type": "string",
- "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
- },
- "region": {
- "type": "string",
- "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
- }
- },
- "required": [
- "name",
- "workspaceId",
- "connectionId",
- "ticketConfiguration",
- "region"
- ]
- },
- "AzureAppPushReceiver": {
- "description": "The Azure mobile App push notification receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address registered for the Azure mobile app."
- }
- },
- "required": [
- "name",
- "emailAddress"
- ]
- },
- "AutomationRunbookReceiver": {
- "description": "The Azure Automation Runbook notification receiver.",
- "properties": {
- "automationAccountId": {
- "type": "string",
- "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
- },
- "runbookName": {
- "type": "string",
- "description": "The name for this runbook."
- },
- "webhookResourceId": {
- "type": "string",
- "description": "The resource id for webhook linked to this runbook."
- },
- "isGlobalRunbook": {
- "type": "boolean",
- "description": "Indicates whether this instance is global runbook."
- },
- "name": {
- "type": "string",
- "description": "Indicates name of the webhook."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "automationAccountId",
- "runbookName",
- "webhookResourceId",
- "isGlobalRunbook",
- "useCommonAlertSchema"
- ]
- },
- "VoiceReceiver": {
- "description": "A voice receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the voice receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the voice receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the voice receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "LogicAppReceiver": {
- "description": "A logic app receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group."
- },
- "resourceId": {
- "type": "string",
- "description": "The azure resource id of the logic app receiver."
- },
- "callbackUrl": {
- "type": "string",
- "description": "The callback url where http request sent to."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "name",
- "resourceId",
- "callbackUrl",
- "useCommonAlertSchema"
- ]
- },
- "AzureFunctionReceiver": {
- "description": "An azure function receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
- },
- "functionAppResourceId": {
- "type": "string",
- "description": "The azure resource id of the function app."
- },
- "functionName": {
- "type": "string",
- "description": "The function name in the function app."
- },
- "httpTriggerUrl": {
- "type": "string",
- "description": "The http trigger url where http request sent to."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "name",
- "functionAppResourceId",
- "functionName",
- "httpTriggerUrl",
- "useCommonAlertSchema"
- ]
- },
- "ArmRoleReceiver": {
- "description": "An arm role receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group."
- },
- "roleId": {
- "type": "string",
- "description": "The arm role id."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "name",
- "roleId",
- "useCommonAlertSchema"
- ]
- },
- "ReceiverStatus": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "ReceiverStatus",
- "modelAsString": false
- },
- "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
- },
- "EnableRequest": {
- "description": "Describes a receiver that should be resubscribed.",
- "properties": {
- "receiverName": {
- "type": "string",
- "description": "The name of the receiver to resubscribe."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "enableRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EnableRequest"
},
- "required": [
- "receiverName"
- ]
- },
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ "description": "The receiver to re-enable."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The receiver was successfully enabled."
+ },
+ "409": {
+ "description": "The receiver is already enabled in the action group."
+ },
+ "default": {
+ "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ActionGroupPatchBody": {
- "description": "An action group object for the body of patch operations.",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroupPatch",
- "description": "The action group settings for an update operation."
- }
- }
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "ActionGroupPatch": {
- "description": "An Azure action group for patch operations.",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
- }
- }
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
}
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "ActionGroupResource": {
+ "description": "An action group resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroup",
+ "description": "The action groups properties of the resource."
+ }
+ }
+ },
+ "ActionGroupList": {
+ "description": "A list of action groups.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The list of action groups."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "ActionGroup": {
+ "description": "An Azure action group.",
+ "properties": {
+ "groupShortName": {
+ "type": "string",
+ "maxLength": 12,
+ "description": "The short name of the action group. This will be used in SMS messages."
},
- "ActionGroupNameParameter": {
- "name": "actionGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the action group.",
- "x-ms-parameter-location": "method"
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
+ "emailReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EmailReceiver"
+ },
+ "description": "The list of email receivers that are part of this action group."
+ },
+ "smsReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SmsReceiver"
+ },
+ "description": "The list of SMS receivers that are part of this action group."
+ },
+ "webhookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WebhookReceiver"
+ },
+ "description": "The list of webhook receivers that are part of this action group."
+ },
+ "itsmReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ItsmReceiver"
+ },
+ "description": "The list of ITSM receivers that are part of this action group."
+ },
+ "azureAppPushReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureAppPushReceiver"
+ },
+ "description": "The list of AzureAppPush receivers that are part of this action group."
+ },
+ "automationRunbookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutomationRunbookReceiver"
+ },
+ "description": "The list of AutomationRunbook receivers that are part of this action group."
+ },
+ "voiceReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceReceiver"
+ },
+ "description": "The list of voice receivers that are part of this action group."
+ },
+ "logicAppReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogicAppReceiver"
+ },
+ "description": "The list of logic app receivers that are part of this action group."
+ },
+ "azureFunctionReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFunctionReceiver"
+ },
+ "description": "The list of azure function receivers that are part of this action group."
+ },
+ "armRoleReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArmRoleReceiver"
+ },
+ "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported."
+ }
+ },
+ "required": [
+ "groupShortName",
+ "enabled"
+ ]
+ },
+ "EmailReceiver": {
+ "description": "An email receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address of this receiver."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The receiver status of the e-mail."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress",
+ "useCommonAlertSchema"
+ ]
+ },
+ "SmsReceiver": {
+ "description": "An SMS receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the SMS receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the SMS receiver."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The status of the receiver."
+ }
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "WebhookReceiver": {
+ "description": "A webhook receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "name",
+ "serviceUri",
+ "useCommonAlertSchema"
+ ]
+ },
+ "ItsmReceiver": {
+ "description": "An Itsm receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
+ },
+ "workspaceId": {
+ "type": "string",
+ "description": "OMS LA instance identifier."
+ },
+ "connectionId": {
+ "type": "string",
+ "description": "Unique identification of ITSM connection among multiple defined in above workspace."
+ },
+ "ticketConfiguration": {
+ "type": "string",
+ "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
+ },
+ "region": {
+ "type": "string",
+ "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
+ }
+ },
+ "required": [
+ "name",
+ "workspaceId",
+ "connectionId",
+ "ticketConfiguration",
+ "region"
+ ]
+ },
+ "AzureAppPushReceiver": {
+ "description": "The Azure mobile App push notification receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address registered for the Azure mobile app."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress"
+ ]
+ },
+ "AutomationRunbookReceiver": {
+ "description": "The Azure Automation Runbook notification receiver.",
+ "properties": {
+ "automationAccountId": {
+ "type": "string",
+ "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
+ },
+ "runbookName": {
+ "type": "string",
+ "description": "The name for this runbook."
+ },
+ "webhookResourceId": {
+ "type": "string",
+ "description": "The resource id for webhook linked to this runbook."
+ },
+ "isGlobalRunbook": {
+ "type": "boolean",
+ "description": "Indicates whether this instance is global runbook."
+ },
+ "name": {
+ "type": "string",
+ "description": "Indicates name of the webhook."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "automationAccountId",
+ "runbookName",
+ "webhookResourceId",
+ "isGlobalRunbook",
+ "useCommonAlertSchema"
+ ]
+ },
+ "VoiceReceiver": {
+ "description": "A voice receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the voice receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the voice receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the voice receiver."
}
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "LogicAppReceiver": {
+ "description": "A logic app receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "The azure resource id of the logic app receiver."
+ },
+ "callbackUrl": {
+ "type": "string",
+ "description": "The callback url where http request sent to."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "name",
+ "resourceId",
+ "callbackUrl",
+ "useCommonAlertSchema"
+ ]
+ },
+ "AzureFunctionReceiver": {
+ "description": "An azure function receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
+ },
+ "functionAppResourceId": {
+ "type": "string",
+ "description": "The azure resource id of the function app."
+ },
+ "functionName": {
+ "type": "string",
+ "description": "The function name in the function app."
+ },
+ "httpTriggerUrl": {
+ "type": "string",
+ "description": "The http trigger url where http request sent to."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "name",
+ "functionAppResourceId",
+ "functionName",
+ "httpTriggerUrl",
+ "useCommonAlertSchema"
+ ]
+ },
+ "ArmRoleReceiver": {
+ "description": "An arm role receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group."
+ },
+ "roleId": {
+ "type": "string",
+ "description": "The arm role id."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "name",
+ "roleId",
+ "useCommonAlertSchema"
+ ]
+ },
+ "ReceiverStatus": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ReceiverStatus",
+ "modelAsString": false
+ },
+ "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
+ },
+ "EnableRequest": {
+ "description": "Describes a receiver that should be resubscribed.",
+ "properties": {
+ "receiverName": {
+ "type": "string",
+ "description": "The name of the receiver to resubscribe."
+ }
+ },
+ "required": [
+ "receiverName"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "ActionGroupPatchBody": {
+ "description": "An action group object for the body of patch operations.",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroupPatch",
+ "description": "The action group settings for an update operation."
+ }
+ }
+ },
+ "ActionGroupPatch": {
+ "description": "An Azure action group for patch operations.",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ActionGroupNameParameter": {
+ "name": "actionGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the action group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json
index 775a40ca8790..f6204525c10f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json
@@ -1,318 +1,318 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01",
- "actionGroup": {
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "useCommonAlertSchema": false
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": true
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
- "useCommonAlertSchema": true
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
- "useCommonAlertSchema": false
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
- "useCommonAlertSchema": true
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
- "useCommonAlertSchema": true
- }
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-03-01",
+ "actionGroup": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
+ "useCommonAlertSchema": false
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
+ "useCommonAlertSchema": true
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
+ "useCommonAlertSchema": false
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
+ "useCommonAlertSchema": true
}
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
+ "useCommonAlertSchema": true
+ }
+ ]
}
+ }
},
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": false
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": true
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
- "useCommonAlertSchema": true
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
- "useCommonAlertSchema": false
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
- "useCommonAlertSchema": true
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
- "useCommonAlertSchema": true
- }
- ]
- }
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
+ "useCommonAlertSchema": false
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
+ "useCommonAlertSchema": true
}
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": false
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": true
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
- "useCommonAlertSchema": true
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
- "useCommonAlertSchema": false
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
- "useCommonAlertSchema": true
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
- "useCommonAlertSchema": true
- }
- ]
- }
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
+ "useCommonAlertSchema": true
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json
index 3f5e257870b3..e35e083e4ebb 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
+ "204": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json
index 460f6864c0eb..4fb78fcca51d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01",
- "enableRequest": {
- "receiverName": "John Doe's mobile"
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-03-01",
+ "enableRequest": {
+ "receiverName": "John Doe's mobile"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "409": {
- "headers": {},
- "body": null
- }
+ "409": {
+ "headers": {},
+ "body": null
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json
index 2896dd13117d..538e192f52bf 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json
@@ -1,59 +1,59 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": false
- }
- ]
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled",
+ "useCommonAlertSchema": true
}
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": false
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json
index 30bec9bfa7ea..9058cf7afdf3 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json
@@ -1,90 +1,90 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "api-version": "2019-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": false
- }
- ]
- }
- },
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup2",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample2",
- "enabled": false,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers": [
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": []
- }
- }
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "api-version": "2019-03-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": false
+ }
+ ]
}
- }
+ },
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup2",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample2",
+ "enabled": false,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": []
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json
index 788b72e76039..b44b5b9bffbf 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/metricBaselines.json
@@ -1,55 +1,73 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "timespan": "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z",
- "metricName": "Percentage Cpu",
- "aggregation": "average",
- "interval": "PT1H",
- "sensitivities": "Low,Medium",
- "api-version": "2019-03-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "/subscriptions/11aeb0ed-456b-4ca0-8df5-b9fbdc63d0d3/resourceGroups/SmartAnalytics-DEV-VM/providers/Microsoft.Compute/virtualMachines/DemoVM1/providers/microsoft.insights/metricBaselines/Percentage CPU",
- "type": "microsoft.insights/metricBaselines",
- "name": "Percentage CPU",
- "properties": {
- "interval": "PT1H",
- "timespan": "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z",
- "namespace": "microsoft.compute/virtualmachines",
- "baselines": [{
- "aggregation": "average",
- "dimensions": [],
- "metadata": [{
- "name": "ErrorType",
- "value": "TooManyAnomalies"
- },
- {
- "name": "SeasonalityFrequency",
- "value": "288"
- }],
- "timestamps": ["2019-03-12T11:00:00.000Z",
- "2019-03-12T12:00:00.000Z"],
- "data": [{
- "sensitivity": "Low",
- "lowThresholds": [30.0,
- 31.1],
- "highThresholds": [90.3453,
- 91.3453]
- },
- {
- "sensitivity": "Medium",
- "lowThresholds": [50.0,
- 51.1],
- "highThresholds": [70.3453,
- 71.3453]
- }]
- }]
- }
- }]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "timespan": "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z",
+ "metricName": "Percentage Cpu",
+ "aggregation": "average",
+ "interval": "PT1H",
+ "sensitivities": "Low,Medium",
+ "api-version": "2019-03-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/11aeb0ed-456b-4ca0-8df5-b9fbdc63d0d3/resourceGroups/SmartAnalytics-DEV-VM/providers/Microsoft.Compute/virtualMachines/DemoVM1/providers/microsoft.insights/metricBaselines/Percentage CPU",
+ "type": "microsoft.insights/metricBaselines",
+ "name": "Percentage CPU",
+ "properties": {
+ "interval": "PT1H",
+ "timespan": "2019-03-12T11:00:00.000Z/2019-03-12T12:00:00.000Z",
+ "namespace": "microsoft.compute/virtualmachines",
+ "baselines": [
+ {
+ "aggregation": "average",
+ "dimensions": [],
+ "metadata": [
+ {
+ "name": "ErrorType",
+ "value": "TooManyAnomalies"
+ },
+ {
+ "name": "SeasonalityFrequency",
+ "value": "288"
+ }
+ ],
+ "timestamps": [
+ "2019-03-12T11:00:00.000Z",
+ "2019-03-12T12:00:00.000Z"
+ ],
+ "data": [
+ {
+ "sensitivity": "Low",
+ "lowThresholds": [
+ 30.0,
+ 31.1
+ ],
+ "highThresholds": [
+ 90.3453,
+ 91.3453
+ ]
+ },
+ {
+ "sensitivity": "Medium",
+ "lowThresholds": [
+ 50.0,
+ 51.1
+ ],
+ "highThresholds": [
+ 70.3453,
+ 71.3453
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json
index cea90dcf4195..ecfa69379297 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json
@@ -1,65 +1,71 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01",
- "actionGroupPatch": {
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "enabled": false
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-03-01",
+ "actionGroupPatch": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": false
- }
- ]
- }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": false
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
index 5f107a50da50..6d7f50245e2c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
@@ -1,376 +1,399 @@
{
- "swagger": "2.0",
- "info": {
- "title": "MonitorManagementClient",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2019-03-01"
+ "swagger": "2.0",
+ "info": {
+ "title": "MonitorManagementClient",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2019-03-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/metricBaselines": {
- "get": {
- "tags": [
- "Baseline",
- "Metric"
- ],
- "operationId": "Baselines_List",
- "description": "**Lists the metric baseline values for a resource**.",
- "x-ms-examples": {
- "Get metric baselines": {
- "$ref": "./examples/metricBaselines.json"
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/metricBaselines": {
+ "get": {
+ "tags": [
+ "Baseline",
+ "Metric"
+ ],
+ "operationId": "Baselines_List",
+ "description": "**Lists the metric baseline values for a resource**.",
+ "x-ms-examples": {
+ "Get metric baselines": {
+ "$ref": "./examples/metricBaselines.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNamesParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNamespaceParameter"
},
- "x-ms-pageable": {
- "nextLinkName": null
+ {
+ "$ref": "#/parameters/TimespanParameter"
},
- "parameters": [
- {
- "$ref": "#/parameters/ResourceUriParameter"
- },
- {
- "$ref": "#/parameters/MetricNamesParameter"
- },
- {
- "$ref": "#/parameters/MetricNamespaceParameter"
- },
- {
- "$ref": "#/parameters/TimespanParameter"
- },
- {
- "$ref": "#/parameters/IntervalParameter"
- },
- {
- "$ref": "#/parameters/AggregationsParameter"
- },
- {
- "$ref": "#/parameters/SensitivitiesParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "type": "string",
- "description": "The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.",
- "required": false
- },
- {
- "$ref": "#/parameters/BaselineResultTypeParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
+ {
+ "$ref": "#/parameters/IntervalParameter"
+ },
+ {
+ "$ref": "#/parameters/AggregationsParameter"
+ },
+ {
+ "$ref": "#/parameters/SensitivitiesParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "type": "string",
+ "description": "The **$filter** is used to reduce the set of metric data returned.
Example:
Metric contains metadata A, B and C.
- Return all time series of C where A = a1 and B = b1 or b2
**$filter=A eq ‘a1’ and B eq ‘b1’ or B eq ‘b2’ and C eq ‘*’**
- Invalid variant:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘*’ or B = ‘b2’**
This is invalid because the logical or operator cannot separate two different metadata names.
- Return all time series where A = a1, B = b1 and C = c1:
**$filter=A eq ‘a1’ and B eq ‘b1’ and C eq ‘c1’**
- Return all time series where A = a1
**$filter=A eq ‘a1’ and B eq ‘*’ and C eq ‘*’**.",
+ "required": false
+ },
+ {
+ "$ref": "#/parameters/BaselineResultTypeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to get the list of metric baseline values.",
- "schema": {
- "$ref": "#/definitions/MetricBaselinesResponse"
- }
+ },
+ "200": {
+ "description": "Successful request to get the list of metric baseline values.",
+ "schema": {
+ "$ref": "#/definitions/MetricBaselinesResponse"
}
}
}
}
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
},
- "definitions": {
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
+ "MetricBaselinesResponse": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SingleMetricBaseline"
},
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ "description": "The list of metric baselines."
}
},
- "MetricBaselinesResponse": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SingleMetricBaseline"
- },
- "description": "The list of metric baselines."
- }
- },
- "description": "A list of metric baselines."
- },
- "SingleMetricBaseline": {
- "properties": {
- "id": {
- "type": "string",
- "description": "The metric baseline Id."
- },
- "type": {
- "type": "string",
- "description": "The resource type of the metric baseline resource."
- },
- "name": {
- "type": "string",
- "description": "The name of the metric for which the baselines were retrieved."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/MetricBaselinesProperties",
- "description": "The metric baseline properties of the metric."
- }
+ "description": "A list of metric baselines."
+ },
+ "SingleMetricBaseline": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The metric baseline Id."
+ },
+ "type": {
+ "type": "string",
+ "description": "The resource type of the metric baseline resource."
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the metric for which the baselines were retrieved."
},
- "required": [ "id", "type", "name", "properties" ],
- "description": "The baseline results of a single metric."
- },
- "MetricBaselinesProperties": {
- "type": "object",
"properties": {
- "timespan": {
- "type": "string",
- "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
- },
- "interval": {
- "type": "string",
- "format": "duration",
- "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MetricBaselinesProperties",
+ "description": "The metric baseline properties of the metric."
+ }
+ },
+ "required": [
+ "id",
+ "type",
+ "name",
+ "properties"
+ ],
+ "description": "The baseline results of a single metric."
+ },
+ "MetricBaselinesProperties": {
+ "type": "object",
+ "properties": {
+ "timespan": {
+ "type": "string",
+ "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
+ },
+ "interval": {
+ "type": "string",
+ "format": "duration",
+ "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
+ },
+ "namespace": {
+ "type": "string",
+ "description": "The namespace of the metrics been queried."
+ },
+ "baselines": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TimeSeriesBaseline"
},
- "namespace": {
- "type": "string",
- "description": "The namespace of the metrics been queried."
+ "description": "The baseline for each time series that was queried."
+ }
+ },
+ "required": [
+ "timespan",
+ "interval",
+ "baselines"
+ ],
+ "description": "The response to a metric baselines query."
+ },
+ "TimeSeriesBaseline": {
+ "properties": {
+ "aggregation": {
+ "type": "string",
+ "description": "The aggregation type of the metric."
+ },
+ "dimensions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSingleDimension"
},
- "baselines": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TimeSeriesBaseline"
- },
- "description": "The baseline for each time series that was queried."
- }
+ "description": "The dimensions of this time series."
},
- "required": [ "timespan", "interval", "baselines" ],
- "description": "The response to a metric baselines query."
- },
- "TimeSeriesBaseline": {
- "properties": {
- "aggregation": {
+ "timestamps": {
+ "type": "array",
+ "items": {
"type": "string",
- "description": "The aggregation type of the metric."
- },
- "dimensions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MetricSingleDimension"
- },
- "description": "The dimensions of this time series."
- },
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "The timestamp for the baseline value in ISO 8601 format."
- },
- "description": "The list of timestamps of the baselines."
+ "format": "date-time",
+ "description": "The timestamp for the baseline value in ISO 8601 format."
},
- "data": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SingleBaseline"
- },
- "description": "The baseline values for each sensitivity."
+ "description": "The list of timestamps of the baselines."
+ },
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SingleBaseline"
},
- "metadata": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/BaselineMetadata"
- },
- "description": "The baseline metadata values."
- }
+ "description": "The baseline values for each sensitivity."
},
- "required": [ "aggregation", "timestamps", "data" ],
- "description": "The baseline values for a single time series."
- },
- "MetricSingleDimension": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "Name of the dimension."
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BaselineMetadata"
},
- "value": {
- "type": "string",
- "description": "Value of the dimension."
- }
+ "description": "The baseline metadata values."
+ }
+ },
+ "required": [
+ "aggregation",
+ "timestamps",
+ "data"
+ ],
+ "description": "The baseline values for a single time series."
+ },
+ "MetricSingleDimension": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the dimension."
},
- "required": [ "name", "value" ],
- "description": "The metric dimension name and value."
+ "value": {
+ "type": "string",
+ "description": "Value of the dimension."
+ }
},
- "SingleBaseline": {
- "type": "object",
- "properties": {
- "sensitivity": {
- "type": "string",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "BaselineSensitivity",
- "modelAsString": true
- },
- "description": "the sensitivity of the baseline."
- },
- "lowThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single low threshold value."
- },
- "description": "The low thresholds of the baseline."
+ "required": [
+ "name",
+ "value"
+ ],
+ "description": "The metric dimension name and value."
+ },
+ "SingleBaseline": {
+ "type": "object",
+ "properties": {
+ "sensitivity": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "BaselineSensitivity",
+ "modelAsString": true
},
- "highThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single high threshold value."
- },
- "description": "The high thresholds of the baseline."
- }
+ "description": "the sensitivity of the baseline."
},
- "required": [ "sensitivity", "lowThresholds", "highThresholds" ],
- "description": "The baseline values for a single sensitivity value."
- },
- "BaselineMetadata": {
- "properties": {
- "name": {
- "type": "string",
- "description": "Name of the baseline metadata."
+ "lowThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single low threshold value."
},
- "value": {
- "type": "string",
- "description": "Value of the baseline metadata."
- }
+ "description": "The low thresholds of the baseline."
},
- "required": [ "name", "value" ],
- "description": "Represents a baseline metadata value."
- }
- },
- "parameters": {
- "ResourceUriParameter": {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The identifier of the resource.",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "TimespanParameter": {
- "name": "timespan",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
- "x-ms-parameter-location": "method"
- },
- "IntervalParameter": {
- "name": "interval",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "duration",
- "description": "The interval (i.e. timegrain) of the query.",
- "x-ms-parameter-location": "method"
- },
- "MetricNamesParameter": {
- "name": "metricnames",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The names of the metrics (comma separated) to retrieve.",
- "x-ms-parameter-location": "method"
- },
- "MetricNamespaceParameter": {
- "name": "metricnamespace",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Metric namespace to query metric definitions for.",
- "x-ms-parameter-location": "method"
- },
- "AggregationsParameter": {
- "name": "aggregation",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The list of aggregation types (comma separated) to retrieve.",
- "x-ms-parameter-location": "method"
- },
- "SensitivitiesParameter": {
- "name": "sensitivities",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The list of sensitivities (comma separated) to retrieve.",
- "x-ms-parameter-location": "method"
+ "highThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single high threshold value."
+ },
+ "description": "The high thresholds of the baseline."
+ }
},
- "BaselineResultTypeParameter": {
- "name": "resultType",
- "in": "query",
- "type": "string",
- "enum": [
- "Data",
- "Metadata"
- ],
- "x-ms-enum": {
- "name": "ResultType",
- "modelAsString": false
+ "required": [
+ "sensitivity",
+ "lowThresholds",
+ "highThresholds"
+ ],
+ "description": "The baseline values for a single sensitivity value."
+ },
+ "BaselineMetadata": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the baseline metadata."
},
- "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.",
- "x-ms-parameter-location": "method",
- "required": false
+ "value": {
+ "type": "string",
+ "description": "Value of the baseline metadata."
+ }
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "required": [
+ "name",
+ "value"
+ ],
+ "description": "Represents a baseline metadata value."
+ }
+ },
+ "parameters": {
+ "ResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The identifier of the resource.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "TimespanParameter": {
+ "name": "timespan",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
+ "x-ms-parameter-location": "method"
+ },
+ "IntervalParameter": {
+ "name": "interval",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "format": "duration",
+ "description": "The interval (i.e. timegrain) of the query.",
+ "x-ms-parameter-location": "method"
+ },
+ "MetricNamesParameter": {
+ "name": "metricnames",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The names of the metrics (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "MetricNamespaceParameter": {
+ "name": "metricnamespace",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Metric namespace to query metric definitions for.",
+ "x-ms-parameter-location": "method"
+ },
+ "AggregationsParameter": {
+ "name": "aggregation",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The list of aggregation types (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "SensitivitiesParameter": {
+ "name": "sensitivities",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The list of sensitivities (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "BaselineResultTypeParameter": {
+ "name": "resultType",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "Data",
+ "Metadata"
+ ],
+ "x-ms-enum": {
+ "name": "ResultType",
+ "modelAsString": false
+ },
+ "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.",
+ "x-ms-parameter-location": "method",
+ "required": false
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json
new file mode 100644
index 000000000000..fd6200e7e7d8
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/actionGroups_API.json
@@ -0,0 +1,879 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Action Groups API",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
+ },
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
+ "put": {
+ "description": "Create a new action group or update an existing one.",
+ "operationId": "ActionGroups_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an action group": {
+ "$ref": "./examples/createOrUpdateActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "actionGroup",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The action group to create or use for the update."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "201": {
+ "description": "A new action group was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "description": "Get an action group.",
+ "operationId": "ActionGroups_Get",
+ "x-ms-examples": {
+ "Get an action group": {
+ "$ref": "./examples/getActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "description": "Delete an action group.",
+ "operationId": "ActionGroups_Delete",
+ "x-ms-examples": {
+ "Delete an action group": {
+ "$ref": "./examples/deleteActionGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The action group was successfully deleted."
+ },
+ "204": {
+ "description": "The action group does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the action group could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
+ "operationId": "ActionGroups_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "actionGroupPatch",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActionGroupPatchBody"
+ },
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "An existing action group was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupResource"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Patch an action group": {
+ "$ref": "./examples/patchActionGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a subscription.",
+ "operationId": "ActionGroups_ListBySubscriptionId",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
+ "get": {
+ "description": "Get a list of all action groups in a resource group.",
+ "operationId": "ActionGroups_ListByResourceGroup",
+ "x-ms-examples": {
+ "List action groups": {
+ "$ref": "./examples/listActionGroups.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActionGroupList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of action groups could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
+ "post": {
+ "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.",
+ "operationId": "ActionGroups_EnableReceiver",
+ "x-ms-examples": {
+ "Enable the receiver": {
+ "$ref": "./examples/enableReceiver.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActionGroupNameParameter"
+ },
+ {
+ "name": "enableRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/EnableRequest"
+ },
+ "description": "The receiver to re-enable."
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The receiver was successfully enabled."
+ },
+ "409": {
+ "description": "The receiver is already enabled in the action group."
+ },
+ "default": {
+ "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ },
+ "ActionGroupResource": {
+ "description": "An action group resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroup",
+ "description": "The action groups properties of the resource."
+ }
+ }
+ },
+ "ActionGroupList": {
+ "description": "A list of action groups.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionGroupResource"
+ },
+ "description": "The list of action groups."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "ActionGroup": {
+ "description": "An Azure action group.",
+ "properties": {
+ "groupShortName": {
+ "type": "string",
+ "maxLength": 12,
+ "description": "The short name of the action group. This will be used in SMS messages."
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
+ },
+ "emailReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EmailReceiver"
+ },
+ "description": "The list of email receivers that are part of this action group."
+ },
+ "smsReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SmsReceiver"
+ },
+ "description": "The list of SMS receivers that are part of this action group."
+ },
+ "webhookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/WebhookReceiver"
+ },
+ "description": "The list of webhook receivers that are part of this action group."
+ },
+ "itsmReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ItsmReceiver"
+ },
+ "description": "The list of ITSM receivers that are part of this action group."
+ },
+ "azureAppPushReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureAppPushReceiver"
+ },
+ "description": "The list of AzureAppPush receivers that are part of this action group."
+ },
+ "automationRunbookReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutomationRunbookReceiver"
+ },
+ "description": "The list of AutomationRunbook receivers that are part of this action group."
+ },
+ "voiceReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceReceiver"
+ },
+ "description": "The list of voice receivers that are part of this action group."
+ },
+ "logicAppReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LogicAppReceiver"
+ },
+ "description": "The list of logic app receivers that are part of this action group."
+ },
+ "azureFunctionReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFunctionReceiver"
+ },
+ "description": "The list of azure function receivers that are part of this action group."
+ },
+ "armRoleReceivers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArmRoleReceiver"
+ },
+ "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported."
+ }
+ },
+ "required": [
+ "groupShortName",
+ "enabled"
+ ]
+ },
+ "EmailReceiver": {
+ "description": "An email receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address of this receiver."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The receiver status of the e-mail."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress",
+ "useCommonAlertSchema"
+ ]
+ },
+ "SmsReceiver": {
+ "description": "An SMS receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the SMS receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the SMS receiver."
+ },
+ "status": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReceiverStatus",
+ "description": "The status of the receiver."
+ }
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "WebhookReceiver": {
+ "description": "A webhook receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ },
+ "useAadAuth": {
+ "type": "boolean",
+ "default": false,
+ "description": "Indicates whether or not use AAD authentication."
+ },
+ "objectId": {
+ "type": "string",
+ "description": "Indicates the webhook app object Id for aad auth."
+ },
+ "identifierUri": {
+ "type": "string",
+ "description": "Indicates the identifier uri for aad auth."
+ },
+ "tenantId": {
+ "type": "string",
+ "description": "Indicates the tenant id for aad auth."
+ }
+ },
+ "required": [
+ "name",
+ "serviceUri",
+ "useCommonAlertSchema"
+ ]
+ },
+ "ItsmReceiver": {
+ "description": "An Itsm receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
+ },
+ "workspaceId": {
+ "type": "string",
+ "description": "OMS LA instance identifier."
+ },
+ "connectionId": {
+ "type": "string",
+ "description": "Unique identification of ITSM connection among multiple defined in above workspace."
+ },
+ "ticketConfiguration": {
+ "type": "string",
+ "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
+ },
+ "region": {
+ "type": "string",
+ "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
+ }
+ },
+ "required": [
+ "name",
+ "workspaceId",
+ "connectionId",
+ "ticketConfiguration",
+ "region"
+ ]
+ },
+ "AzureAppPushReceiver": {
+ "description": "The Azure mobile App push notification receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
+ },
+ "emailAddress": {
+ "type": "string",
+ "description": "The email address registered for the Azure mobile app."
+ }
+ },
+ "required": [
+ "name",
+ "emailAddress"
+ ]
+ },
+ "AutomationRunbookReceiver": {
+ "description": "The Azure Automation Runbook notification receiver.",
+ "properties": {
+ "automationAccountId": {
+ "type": "string",
+ "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
+ },
+ "runbookName": {
+ "type": "string",
+ "description": "The name for this runbook."
+ },
+ "webhookResourceId": {
+ "type": "string",
+ "description": "The resource id for webhook linked to this runbook."
+ },
+ "isGlobalRunbook": {
+ "type": "boolean",
+ "description": "Indicates whether this instance is global runbook."
+ },
+ "name": {
+ "type": "string",
+ "description": "Indicates name of the webhook."
+ },
+ "serviceUri": {
+ "type": "string",
+ "description": "The URI where webhooks should be sent."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "automationAccountId",
+ "runbookName",
+ "webhookResourceId",
+ "isGlobalRunbook",
+ "useCommonAlertSchema"
+ ]
+ },
+ "VoiceReceiver": {
+ "description": "A voice receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the voice receiver. Names must be unique across all receivers within an action group."
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "The country code of the voice receiver."
+ },
+ "phoneNumber": {
+ "type": "string",
+ "description": "The phone number of the voice receiver."
+ }
+ },
+ "required": [
+ "name",
+ "countryCode",
+ "phoneNumber"
+ ]
+ },
+ "LogicAppReceiver": {
+ "description": "A logic app receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "The azure resource id of the logic app receiver."
+ },
+ "callbackUrl": {
+ "type": "string",
+ "description": "The callback url where http request sent to."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "name",
+ "resourceId",
+ "callbackUrl",
+ "useCommonAlertSchema"
+ ]
+ },
+ "AzureFunctionReceiver": {
+ "description": "An azure function receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
+ },
+ "functionAppResourceId": {
+ "type": "string",
+ "description": "The azure resource id of the function app."
+ },
+ "functionName": {
+ "type": "string",
+ "description": "The function name in the function app."
+ },
+ "httpTriggerUrl": {
+ "type": "string",
+ "description": "The http trigger url where http request sent to."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "name",
+ "functionAppResourceId",
+ "functionName",
+ "httpTriggerUrl",
+ "useCommonAlertSchema"
+ ]
+ },
+ "ArmRoleReceiver": {
+ "description": "An arm role receiver.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group."
+ },
+ "roleId": {
+ "type": "string",
+ "description": "The arm role id."
+ },
+ "useCommonAlertSchema": {
+ "type": "boolean",
+ "description": "Indicates whether to use common alert schema."
+ }
+ },
+ "required": [
+ "name",
+ "roleId",
+ "useCommonAlertSchema"
+ ]
+ },
+ "ReceiverStatus": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ReceiverStatus",
+ "modelAsString": false
+ },
+ "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
+ },
+ "EnableRequest": {
+ "description": "Describes a receiver that should be resubscribed.",
+ "properties": {
+ "receiverName": {
+ "type": "string",
+ "description": "The name of the receiver to resubscribe."
+ }
+ },
+ "required": [
+ "receiverName"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "ActionGroupPatchBody": {
+ "description": "An action group object for the body of patch operations.",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActionGroupPatch",
+ "description": "The action group settings for an update operation."
+ }
+ }
+ },
+ "ActionGroupPatch": {
+ "description": "An Azure action group for patch operations.",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ActionGroupNameParameter": {
+ "name": "actionGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the action group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json
new file mode 100644
index 000000000000..88867a138a2d
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/createOrUpdateActionGroup.json
@@ -0,0 +1,345 @@
+{
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-06-01",
+ "actionGroup": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook 1",
+ "serviceUri": "http://www.example.com/webhook1",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Sample webhook 2",
+ "serviceUri": "http://www.example.com/webhook2",
+ "useCommonAlertSchema": true,
+ "useAadAuth": true,
+ "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
+ "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
+ "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
+ "useCommonAlertSchema": false
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
+ "useCommonAlertSchema": true
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook 1",
+ "serviceUri": "http://www.example.com/webhook1",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Sample webhook 2",
+ "serviceUri": "http://www.example.com/webhook2",
+ "useCommonAlertSchema": true,
+ "useAadAuth": true,
+ "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
+ "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
+ "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
+ "useCommonAlertSchema": false
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
+ "useCommonAlertSchema": true
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook 1",
+ "serviceUri": "http://www.example.com/webhook1",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Sample webhook 2",
+ "serviceUri": "http://www.example.com/webhook2",
+ "useCommonAlertSchema": true,
+ "useAadAuth": true,
+ "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
+ "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
+ "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
+ }
+ ],
+ "itsmReceivers": [
+ {
+ "name": "Sample itsm",
+ "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
+ "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
+ "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
+ "region": "westcentralus"
+ }
+ ],
+ "azureAppPushReceivers": [
+ {
+ "name": "Sample azureAppPush",
+ "emailAddress": "johndoe@email.com"
+ }
+ ],
+ "automationRunbookReceivers": [
+ {
+ "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
+ "runbookName": "Sample runbook",
+ "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
+ "isGlobalRunbook": false,
+ "name": "testRunbook",
+ "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "voiceReceivers": [
+ {
+ "name": "Sample voice",
+ "countryCode": "1",
+ "phoneNumber": "1234567890"
+ }
+ ],
+ "logicAppReceivers": [
+ {
+ "name": "Sample logicApp",
+ "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
+ "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
+ "useCommonAlertSchema": false
+ }
+ ],
+ "azureFunctionReceivers": [
+ {
+ "name": "Sample azureFunction",
+ "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
+ "functionName": "HttpTriggerCSharp1",
+ "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "armRoleReceivers": [
+ {
+ "name": "Sample armRole",
+ "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
+ "useCommonAlertSchema": true
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json
new file mode 100644
index 000000000000..684daa169057
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/deleteActionGroup.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
+ },
+ "204": {
+ "headers": {},
+ "body": null
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json
new file mode 100644
index 000000000000..540e4e403ccc
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/enableReceiver.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-06-01",
+ "enableRequest": {
+ "receiverName": "John Doe's mobile"
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": null
+ },
+ "409": {
+ "headers": {},
+ "body": null
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json
new file mode 100644
index 000000000000..3403250360cb
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/getActionGroup.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Sample webhook 2",
+ "serviceUri": "http://www.example.com/webhook2",
+ "useCommonAlertSchema": true,
+ "useAadAuth": true,
+ "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
+ "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
+ "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
+ }
+ ],
+ "itsmReceivers": [],
+ "azureAppPushReceivers": [],
+ "automationRunbookReceivers": [],
+ "voiceReceivers": [],
+ "logicAppReceivers": [],
+ "azureFunctionReceivers": [],
+ "armRoleReceivers": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json
new file mode 100644
index 000000000000..6e5bc16598f4
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/listActionGroups.json
@@ -0,0 +1,113 @@
+{
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Disabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Disabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Sample webhook 2",
+ "serviceUri": "http://www.example.com/webhook2",
+ "useCommonAlertSchema": true,
+ "useAadAuth": true,
+ "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
+ "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
+ "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
+ }
+ ],
+ "itsmReceivers": [],
+ "azureAppPushReceivers": [],
+ "automationRunbookReceivers": [],
+ "voiceReceivers": [],
+ "logicAppReceivers": [],
+ "azureFunctionReceivers": [],
+ "armRoleReceivers": []
+ }
+ },
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup2",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "groupShortName": "sample2",
+ "enabled": false,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [],
+ "itsmReceivers": [],
+ "azureAppPushReceivers": [],
+ "automationRunbookReceivers": [],
+ "voiceReceivers": [],
+ "logicAppReceivers": [],
+ "azureFunctionReceivers": [],
+ "armRoleReceivers": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json
new file mode 100644
index 000000000000..aa9a7207ceb9
--- /dev/null
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-06-01/examples/patchActionGroup.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-NotificationRules",
+ "actionGroupName": "SampleActionGroup",
+ "api-version": "2019-06-01",
+ "actionGroupPatch": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "type": "Microsoft.Insights/ActionGroups",
+ "name": "SampleActionGroup",
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "groupShortName": "sample",
+ "enabled": true,
+ "emailReceivers": [
+ {
+ "name": "John Doe's email",
+ "emailAddress": "johndoe@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ },
+ {
+ "name": "Jane Smith's email",
+ "emailAddress": "janesmith@email.com",
+ "status": "Enabled",
+ "useCommonAlertSchema": true
+ }
+ ],
+ "smsReceivers": [
+ {
+ "name": "John Doe's mobile",
+ "countryCode": "1",
+ "phoneNumber": "1234567890",
+ "status": "Enabled"
+ },
+ {
+ "name": "Jane Smith's mobile",
+ "countryCode": "1",
+ "phoneNumber": "0987654321",
+ "status": "Enabled"
+ }
+ ],
+ "webhookReceivers": [
+ {
+ "name": "Sample webhook",
+ "serviceUri": "http://www.example.com/webhook",
+ "useCommonAlertSchema": false
+ },
+ {
+ "name": "Sample webhook 2",
+ "serviceUri": "http://www.example.com/webhook2",
+ "useCommonAlertSchema": true,
+ "useAadAuth": true,
+ "objectId": "d3bb868c-fe44-452c-aa26-769a6538c808",
+ "identifierUri": "http://someidentifier/d7811ba3-7996-4a93-99b6-6b2f3f355f8a",
+ "tenantId": "68a4459a-ccb8-493c-b9da-dd30457d1b84"
+ }
+ ],
+ "itsmReceivers": [],
+ "azureAppPushReceivers": [],
+ "automationRunbookReceivers": [],
+ "voiceReceivers": [],
+ "logicAppReceivers": [],
+ "azureFunctionReceivers": [],
+ "armRoleReceivers": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/readme.go.md b/specification/monitor/resource-manager/readme.go.md
index 02fad6d8193b..25cac5bb818a 100644
--- a/specification/monitor/resource-manager/readme.go.md
+++ b/specification/monitor/resource-manager/readme.go.md
@@ -18,6 +18,7 @@ batch:
- tag: package-2018-09
- tag: package-2018-11-preview
- tag: package-2019-03
+ - tag: package-2019-06
```
### Tag: package-2017-09 and go
@@ -64,3 +65,12 @@ Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-06' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/monitor/mgmt/2019-06-01/$(namespace)
+```
diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md
index 9debf04da650..9be937e9e92f 100644
--- a/specification/monitor/resource-manager/readme.md
+++ b/specification/monitor/resource-manager/readme.md
@@ -28,9 +28,40 @@ These are the global settings for the MonitorClient API.
title: MonitorClient
description: Monitor Management Client
openapi-type: arm
-tag: package-2019-03
+tag: package-2019-06
```
+
+### Tag: package-2019-06
+
+These settings apply only when `--tag=package-2019-06` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-06'
+input-file:
+- Microsoft.Insights/stable/2015-04-01/autoscale_API.json
+- Microsoft.Insights/stable/2015-04-01/operations_API.json
+- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
+- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
+- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
+- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
+- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
+- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json
+- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
+- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
+- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
+- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
+- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
+- Microsoft.Insights/stable/2018-01-01/metrics_API.json
+- Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
+- Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
+- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
+- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
+- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
+- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
+- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
+```
+
+
### Tag: package-2019-03
These settings apply only when `--tag=package-2019-03` is specified on the command line.
@@ -230,100 +261,192 @@ input-file:
- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
```
-### Tag: package-2018-01-01-only
+### Tag: package-2019-06-01-only
-These settings apply only when `--tag=package-2018-01-01-only` is specified on the command line.
+These settings apply only when `--tag=package-2019-06-01-only` is specified on the command line.
-``` yaml $(tag) == 'package-2018-01-01-only'
+```yaml $(tag) == 'package-2019-06-01-only'
input-file:
-- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
-- Microsoft.Insights/stable/2018-01-01/metrics_API.json
+- Microsoft.Insights/stable/2019-06-01/actionGroups_API.json
```
-### Tag: package-2018-03-01-only
-These settings apply only when `--tag=package-2018-03-01-only` is specified on the command line.
+### Tag: package-2019-03-01-only
-``` yaml $(tag) == 'package-2018-03-01-only'
+These settings apply only when `--tag=package-2019-03-01-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-03-01-only'
input-file:
-- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
-- Microsoft.Insights/stable/2018-03-01/actionGroups_API.json
+- Microsoft.Insights/stable/2019-03-01/actionGroups_API.json
+- Microsoft.Insights/stable/2019-03-01/metricBaselines_API.json
```
+
+### Tag: package-2018-11-27-preview-only
+
+These settings apply only when `--tag=package-2018-11-27-preview-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2018-11-27-preview-only'
+input-file:
+- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
+```
+
+
+### Tag: package-2018-09-01-only
+
+These settings apply only when `--tag=package-2018-09-01-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2018-09-01-only'
+input-file:
+- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json
+- Microsoft.Insights/stable/2018-09-01/baseline_API.json
+- Microsoft.Insights/stable/2018-09-01/calculateBaseline_API.json
+```
+
+
+### Tag: package-2018-06-01-preview-only
+
+These settings apply only when `--tag=package-2018-06-01-preview-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2018-06-01-preview-only'
+input-file:
+- Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json
+- Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json
+```
+
+
### Tag: package-2018-04-16-only
These settings apply only when `--tag=package-2018-04-16-only` is specified on the command line.
-``` yaml $(tag) == 'package-2018-04-16-only'
+```yaml $(tag) == 'package-2018-04-16-only'
input-file:
- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
```
-### Tag: package-2015-04-01-only
-These settings apply only when `--tag=package-2015-04-01-only` is specified on the command line.
+### Tag: package-2018-03-01-only
-``` yaml $(tag) == 'package-2015-04-01-only'
+These settings apply only when `--tag=package-2018-03-01-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2018-03-01-only'
input-file:
-- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
-- Microsoft.Insights/stable/2015-04-01/autoscale_API.json
-- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
-- Microsoft.Insights/stable/2015-04-01/operations_API.json
-- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
+- Microsoft.Insights/stable/2018-03-01/actionGroups_API.json
+- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
```
-### Tag: package-2016-03-01-only
-These settings apply only when `--tag=package-2016-03-01-only` is specified on the command line.
+### Tag: package-2018-01-01-only
-``` yaml $(tag) == 'package-2016-03-01-only'
+These settings apply only when `--tag=package-2018-01-01-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2018-01-01-only'
input-file:
-- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
-- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
-- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
-- Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json
+- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
+- Microsoft.Insights/stable/2018-01-01/metrics_API.json
```
-### Tag: package-2016-09-01-only
-These settings apply only when `--tag=package-2016-09-01-only` is specified on the command line.
+### Tag: package-2017-12-01-preview-only
-``` yaml $(tag) == 'package-2016-09-01-only'
+These settings apply only when `--tag=package-2017-12-01-preview-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2017-12-01-preview-only'
input-file:
-- Microsoft.Insights/stable/2016-09-01/metrics_API.json
-- Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json
+- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
```
-### Tag: package-2017-04-01-only
-These settings apply only when `--tag=package-2017-04-01-only` is specified on the command line.
+### Tag: package-2017-11-01-preview-only
-``` yaml $(tag) == 'package-2017-04-01-only'
+These settings apply only when `--tag=package-2017-11-01-preview-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2017-11-01-preview-only'
input-file:
-- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json
-- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
+- Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
+- Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
```
+
### Tag: package-2017-05-01-preview-only
These settings apply only when `--tag=package-2017-05-01-preview-only` is specified on the command line.
-``` yaml $(tag) == 'package-2017-05-01-preview-only'
+```yaml $(tag) == 'package-2017-05-01-preview-only'
input-file:
-- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
+- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json
- Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json
```
-### Tag: package-2017-11-01-preview-only
-These settings apply only when `--tag=package-2017-11-01-preview-only` is specified on the command line.
+### Tag: package-2017-04-01-only
+
+These settings apply only when `--tag=package-2017-04-01-only` is specified on the command line.
-``` yaml $(tag) == 'package-2017-11-01-preview-only'
+```yaml $(tag) == 'package-2017-04-01-only'
input-file:
-- Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
-- Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
+- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json
+- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
+```
+
+
+### Tag: package-2017-03-01-preview-only
+
+These settings apply only when `--tag=package-2017-03-01-preview-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2017-03-01-preview-only'
+input-file:
+- Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json
+```
+
+
+### Tag: package-2016-09-01-only
+
+These settings apply only when `--tag=package-2016-09-01-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2016-09-01-only'
+input-file:
+- Microsoft.Insights/stable/2016-09-01/metrics_API.json
+- Microsoft.Insights/stable/2016-09-01/serviceDiagnosticsSettings_API.json
+```
+
+
+### Tag: package-2016-03-01-only
+
+These settings apply only when `--tag=package-2016-03-01-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2016-03-01-only'
+input-file:
+- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
+- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
+- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
+- Microsoft.Insights/stable/2016-03-01/metricDefinitions_API.json
+```
+
+
+### Tag: package-2015-07-01-only
+
+These settings apply only when `--tag=package-2015-07-01-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2015-07-01-only'
+input-file:
+- Microsoft.Insights/stable/2015-07-01/serviceDiagnosticsSettings_API.json
+```
+
+
+### Tag: package-2015-04-01-only
+
+These settings apply only when `--tag=package-2015-04-01-only` is specified on the command line.
+
+```yaml $(tag) == 'package-2015-04-01-only'
+input-file:
+- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
+- Microsoft.Insights/stable/2015-04-01/autoscale_API.json
+- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
+- Microsoft.Insights/stable/2015-04-01/operations_API.json
+- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
```
---
@@ -338,6 +461,8 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
+ after_scripts:
+ - python ./scripts/multiapi_init_gen.py azure-mgmt-monitor
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
diff --git a/specification/monitor/resource-manager/readme.python.md b/specification/monitor/resource-manager/readme.python.md
index 3958eb44b2d3..753cfc0a5965 100644
--- a/specification/monitor/resource-manager/readme.python.md
+++ b/specification/monitor/resource-manager/readme.python.md
@@ -1,27 +1,228 @@
## Python
These settings apply only when `--python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
``` yaml $(python)
-python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
- namespace: azure.mgmt.monitor
package-name: azure-mgmt-monitor
- package-version: 0.6.0
clear-output-folder: true
+ no-namespace-folders: true
+ python-base-folder: monitor/azure-mgmt-monitor/azure/mgmt/monitor
+ python-base-namespace: azure.mgmt.monitor
```
-``` yaml $(python) && $(python-mode) == 'update'
+
+### Python multi-api
+
+Generate all API versions currently shipped for this package
+
+```yaml $(python) && $(multiapi)
+batch:
+ - tag: package-2019-06-01-only
+ - tag: package-2019-03-01-only
+ - tag: package-2018-11-27-preview-only
+ - tag: package-2018-09-01-only
+ - tag: package-2018-06-01-preview-only
+ - tag: package-2018-04-16-only
+ - tag: package-2018-03-01-only
+ - tag: package-2018-01-01-only
+ - tag: package-2017-12-01-preview-only
+ - tag: package-2017-11-01-preview-only
+ - tag: package-2017-05-01-preview-only
+ - tag: package-2017-04-01-only
+ - tag: package-2017-03-01-preview-only
+ - tag: package-2016-09-01-only
+ - tag: package-2016-03-01-only
+ - tag: package-2015-07-01-only
+ - tag: package-2015-04-01-only
+```
+
+
+### Tag: package-2019-06-01-only and python
+
+These settings apply only when `--tag=package-2019-06-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-01-only' && $(python)
python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor
+ namespace: $(python-base-namespace).v2019_06_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_06_01
```
-``` yaml $(python) && $(python-mode) == 'create'
+
+### Tag: package-2019-03-01-only and python
+
+These settings apply only when `--tag=package-2019-03-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-03-01-only' && $(python)
python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor
+ namespace: $(python-base-namespace).v2019_03_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_03_01
```
+
+### Tag: package-2018-11-27-preview-only and python
+
+These settings apply only when `--tag=package-2018-11-27-preview-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-11-27-preview-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2018_11_27_preview
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_11_27_preview
+```
+
+### Tag: package-2018-09-01-only and python
+
+These settings apply only when `--tag=package-2018-09-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-09-01-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2018_09_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_09_01
+```
+
+### Tag: package-2018-06-01-preview-only and python
+
+These settings apply only when `--tag=package-2018-06-01-preview-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-06-01-preview-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2018_06_01_preview
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_06_01_preview
+```
+
+### Tag: package-2018-04-16-only and python
+
+These settings apply only when `--tag=package-2018-04-16-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-04-16-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2018_04_16
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_04_16
+```
+
+### Tag: package-2018-03-01-only and python
+
+These settings apply only when `--tag=package-2018-03-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-03-01-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2018_03_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_03_01
+```
+
+### Tag: package-2018-01-01-only and python
+
+These settings apply only when `--tag=package-2018-01-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-01-01-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2018_01_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_01_01
+```
+
+### Tag: package-2017-12-01-preview-only and python
+
+These settings apply only when `--tag=package-2017-12-01-preview-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2017-12-01-preview-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2017_12_01_preview
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_12_01_preview
+```
+
+### Tag: package-2017-11-01-preview-only and python
+
+These settings apply only when `--tag=package-2017-11-01-preview-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2017-11-01-preview-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2017_11_01_preview
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_11_01_preview
+```
+
+### Tag: package-2017-05-01-preview-only and python
+
+These settings apply only when `--tag=package-2017-05-01-preview-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2017-05-01-preview-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2017_05_01_preview
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_05_01_preview
+```
+
+### Tag: package-2017-04-01-only and python
+
+These settings apply only when `--tag=package-2017-04-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2017-04-01-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2017_04_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_04_01
+```
+
+### Tag: package-2017-03-01-preview-only and python
+
+These settings apply only when `--tag=package-2017-03-01-preview-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2017-03-01-preview-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2017_03_01_preview
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_03_01_preview
+```
+
+### Tag: package-2016-09-01-only and python
+
+These settings apply only when `--tag=package-2016-09-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2016-09-01-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2016_09_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_09_01
+```
+
+### Tag: package-2016-03-01-only and python
+
+These settings apply only when `--tag=package-2016-03-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2016-03-01-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2016_03_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_03_01
+```
+
+### Tag: package-2015-07-01-only and python
+
+These settings apply only when `--tag=package-2015-07-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2015-07-01-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2015_07_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_07_01
+```
+
+### Tag: package-2015-04-01-only and python
+
+These settings apply only when `--tag=package-2015-04-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2015-04-01-only' && $(python)
+python:
+ namespace: $(python-base-namespace).v2015_04_01
+ output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_04_01
+```
\ No newline at end of file
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/examples/IdentityDelete.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/examples/IdentityDelete.json
index b2adb366a46c..0c25e33f3257 100644
--- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/examples/IdentityDelete.json
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/preview/2015-08-31-preview/examples/IdentityDelete.json
@@ -6,11 +6,7 @@
"resourceName": "resourceName"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/IdentityDelete.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/IdentityDelete.json
index 58b4248e2a64..0a9700aa8938 100644
--- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/IdentityDelete.json
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/examples/IdentityDelete.json
@@ -6,11 +6,7 @@
"resourceName": "resourceName"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/CheckNameAvailability.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/CheckNameAvailability.json
index fcad6babede5..10161ea1d3d9 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/CheckNameAvailability.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/CheckNameAvailability.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationCreateOrUpdate.json
index 7b1c0a923c2a..4cb86a501129 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationCreateOrUpdate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationCreateOrUpdate.json
@@ -6,7 +6,7 @@
"api-version": "2017-12-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
+ "properties": {
"value": "off",
"source": "user-override"
}
@@ -30,4 +30,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationGet.json
index 024f87a440d1..2239c50cb476 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ConfigurationGet.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseCreate.json
index 5459c5080944..fe6446eba8ca 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseCreate.json
@@ -6,9 +6,9 @@
"api-version": "2017-12-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "charset":"utf8",
- "collation":"utf8_general_ci"
+ "properties": {
+ "charset": "utf8",
+ "collation": "utf8_general_ci"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseDelete.json
index de60cc340354..5a92a30f21a8 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseGet.json
index e21c5cbef64e..14c67b04f652 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseListByServer.json
index 80032843b496..076cf15c5b86 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/DatabaseListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleCreate.json
index 9f749c46fcaa..c93a4fe1b8cc 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleCreate.json
@@ -6,9 +6,9 @@
"api-version": "2017-12-01-preview",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "startIpAddress":"0.0.0.0",
- "endIpAddress":"255.255.255.255"
+ "properties": {
+ "startIpAddress": "0.0.0.0",
+ "endIpAddress": "255.255.255.255"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleDelete.json
index 9bd78a018f7d..24b609a399b8 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleGet.json
index 399a1ea5b114..a072465af30d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleListByServer.json
index 3b00d3c2bbd0..af1300560888 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/FirewallRuleListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/LogFileListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/LogFileListByServer.json
index 42686020cbb7..1158a53674ab 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/LogFileListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/LogFileListByServer.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/OperationList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/OperationList.json
index 17898b0ec9ae..3c2143e5e4f0 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/OperationList.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/OperationList.json
@@ -214,4 +214,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/PerformanceTiersListByLocation.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/PerformanceTiersListByLocation.json
index 65f92bde8968..372295debcc7 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/PerformanceTiersListByLocation.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/PerformanceTiersListByLocation.json
@@ -92,4 +92,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ReplicasListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ReplicasListByServer.json
index d92bda51d4f5..3ba3044c3b9f 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ReplicasListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ReplicasListByServer.json
@@ -30,7 +30,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver.mysql.database.azure.com",
"version": "5.6",
@@ -48,7 +48,7 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
@@ -61,7 +61,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver1.mysql.database.azure.com",
"version": "5.6",
@@ -79,20 +79,20 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
- "properties": {
+ "properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver2.mysql.database.azure.com",
"version": "5.6",
@@ -106,4 +106,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateGeoRestoreMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateGeoRestoreMode.json
index 9efce0135830..1a584362d449 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateGeoRestoreMode.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateGeoRestoreMode.json
@@ -1,87 +1,87 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2017-12-01-preview",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2017-12-01-preview",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "createMode": "GeoRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers"
- }
+ "location": "westus",
+ "properties": {
+ "createMode": "GeoRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers",
- "location": "westus",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "westus",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers",
+ "location": "westus",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreatePointInTimeRestore.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreatePointInTimeRestore.json
index ea5a8b6e8573..978ac08c0c50 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreatePointInTimeRestore.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreatePointInTimeRestore.json
@@ -1,88 +1,88 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2017-12-01-preview",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2017-12-01-preview",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "brazilsouth",
- "properties": {
- "restorePointInTime": "2017-12-14T00:00:37.467Z",
- "createMode": "PointInTimeRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "brazilsouth",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers"
- }
+ "location": "brazilsouth",
+ "properties": {
+ "restorePointInTime": "2017-12-14T00:00:37.467Z",
+ "createMode": "PointInTimeRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers",
- "location": "brazilsouth",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "brazilsouth",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers",
+ "location": "brazilsouth",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateReplicaMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateReplicaMode.json
index 42d22bb2929f..6b0fe8b632e2 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateReplicaMode.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerCreateReplicaMode.json
@@ -81,4 +81,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerDelete.json
index 17cf2924102c..079f432114ff 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerRestart.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerRestart.json
index 0f58486f743a..1bb9a7ec0414 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerRestart.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerRestart.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2017-12-01-preview",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
\ No newline at end of file
+ "parameters": {
+ "serverName": "testserver",
+ "resourceGroupName": "TestGroup",
+ "api-version": "2017-12-01-preview",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMax.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMax.json
index ce8f70a65a88..7e9b8bb82f78 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMax.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMax.json
@@ -1,39 +1,48 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-12-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-12-01-preview",
- "parameters": {
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"],
- "retentionDays": 5,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"],
- "retentionDays": 5,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMin.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMin.json
index 32d9e90c033a..4c103677e54b 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMin.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsCreateMin.json
@@ -1,34 +1,33 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-12-01-preview",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-12-01-preview",
- "parameters": {
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true
- }
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [],
+ "disabledAlerts": [],
+ "retentionDays": 0,
+ "storageEndpoint": ""
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageEndpoint": ""
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsGet.json
index d189ddd73a3f..4939ece1a0c6 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/ServerSecurityAlertsGet.json
@@ -1,26 +1,30 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "test@microsoft.com;user@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly"
+ ],
+ "retentionDays": 0,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json
index e49272d97d31..63349a42c85e 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json
@@ -6,35 +6,35 @@
"virtualNetworkRuleName": "vnet-firewall-rule",
"api-version": "2017-12-01-preview",
"parameters": {
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
}
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "202": {}
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json
index a6dc2113e0d5..8d51878323cd 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesDelete.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2017-12-01-preview"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "TestGroup",
+ "serverName": "vnet-test-svr",
+ "virtualNetworkRuleName": "vnet-firewall-rule",
+ "api-version": "2017-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ },
+ "204": {
+ "body": ""
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesGet.json
index 176df67d2998..3e670a430e5e 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesGet.json
@@ -7,17 +7,17 @@
"api-version": "2017-12-01-preview"
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesList.json
index 3574662d1ed5..b9dbbb781c98 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesList.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/examples/VirtualNetworkRulesList.json
@@ -7,31 +7,31 @@
"api-version": "2017-12-01-preview"
},
"responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- ]
- }
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ },
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
index 938a97c6e252..b7a1f683cc53 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2017-12-01-preview/mysql.json
@@ -45,7 +45,7 @@
"$ref": "./examples/ServerCreate.json"
},
"Create a database as a point in time restore": {
- "$ref":"./examples/ServerCreatePointInTimeRestore.json"
+ "$ref": "./examples/ServerCreatePointInTimeRestore.json"
},
"Create a server as a geo restore ": {
"$ref": "./examples/ServerCreateGeoRestoreMode.json"
@@ -293,7 +293,9 @@
],
"operationId": "Servers_Restart",
"x-ms-examples": {
- "ServerRestart": { "$ref": "./examples/ServerRestart.json" }
+ "ServerRestart": {
+ "$ref": "./examples/ServerRestart.json"
+ }
},
"description": "Restarts a server.",
"parameters": [
@@ -326,7 +328,7 @@
},
"x-ms-long-running-operation": true
}
- },
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/replicas": {
"get": {
"tags": [
@@ -1443,7 +1445,7 @@
"format": "int32",
"description": "Max storage allowed for a server."
},
- "storageAutogrow" : {
+ "storageAutogrow": {
"type": "string",
"description": "Enable Storage Auto Grow.",
"enum": [
@@ -2270,7 +2272,7 @@
}
},
"description": "An error response from the Batch service."
- }
+ }
},
"parameters": {
"SubscriptionIdParameter": {
@@ -2355,4 +2357,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json
index 4543f9ced197..df008637bdb5 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/CheckNameAvailability.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json
index 0a9da92eaee8..4e4e1cd91396 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationCreateOrUpdate.json
@@ -6,7 +6,7 @@
"api-version": "2017-12-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
+ "properties": {
"value": "off",
"source": "user-override"
}
@@ -30,4 +30,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json
index e58485efa99e..61d65e032a4a 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationGet.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json
index 90d4e18a56e4..4f8651a74f7e 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ConfigurationListByServer.json
@@ -598,4 +598,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json
index 73848f69214f..ef9319f5e8b1 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseCreate.json
@@ -6,9 +6,9 @@
"api-version": "2017-12-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "charset":"utf8",
- "collation":"utf8_general_ci"
+ "properties": {
+ "charset": "utf8",
+ "collation": "utf8_general_ci"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json
index 6706a74576de..a708f740d475 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseGet.json
index cc7a8b270676..71a6289d50fe 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json
index c5563821a18e..209210b13f9d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/DatabaseListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json
index 9d9cee7bb309..3b9dacd5b712 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleCreate.json
@@ -6,9 +6,9 @@
"api-version": "2017-12-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "startIpAddress":"0.0.0.0",
- "endIpAddress":"255.255.255.255"
+ "properties": {
+ "startIpAddress": "0.0.0.0",
+ "endIpAddress": "255.255.255.255"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json
index d8348f45a659..b78f19daba9d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json
index e78102ff408a..3a57e76e26b3 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json
index 40de6a14928d..49ed7c0d8de1 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/FirewallRuleListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json
index a442a7cfe19e..488659020a22 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/LogFileListByServer.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/OperationList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/OperationList.json
index fe26bba54b89..d58a0f0af262 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/OperationList.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/OperationList.json
@@ -214,4 +214,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json
index 4e8093cfd7dc..e06b0f4b64ec 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/PerformanceTiersListByLocation.json
@@ -92,4 +92,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json
index e190fcacbadd..b9d7472cb3ab 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/QueryTextsListByServer.json
@@ -4,7 +4,10 @@
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "testResourceGroupName",
"serverName": "testServerName",
- "queryIds": [ "1", "2" ]
+ "queryIds": [
+ "1",
+ "2"
+ ]
},
"responses": {
"200": {
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json
index 6a501bd5ceab..e127d2619fb9 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/RecommendedActionSessionCreate.json
@@ -1,14 +1,14 @@
{
- "parameters": {
- "api-version": "2018-06-01-privatepreview",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "testResourceGroupName",
- "serverName": "testServerName",
- "advisorName": "Index",
- "databaseName": "someDatabaseName"
- },
- "responses": {
- "200": {},
- "202": {}
- }
+ "parameters": {
+ "api-version": "2018-06-01-privatepreview",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "testResourceGroupName",
+ "serverName": "testServerName",
+ "advisorName": "Index",
+ "databaseName": "someDatabaseName"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
}
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json
index 931fd7889be2..91e3babfd5de 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ReplicasListByServer.json
@@ -30,7 +30,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver.mysql.database.azure.com",
"version": "5.6",
@@ -48,7 +48,7 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
@@ -61,7 +61,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver1.mysql.database.azure.com",
"version": "5.6",
@@ -79,20 +79,20 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
- "properties": {
+ "properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver2.mysql.database.azure.com",
"version": "5.6",
@@ -106,4 +106,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreate.json
index 95e43a06f2fd..1990e33ffbe6 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreate.json
@@ -91,4 +91,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json
index 24ed1b914bbb..756e3baeedfa 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateGeoRestoreMode.json
@@ -1,87 +1,87 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2017-12-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2017-12-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "createMode": "GeoRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers"
- }
+ "location": "westus",
+ "properties": {
+ "createMode": "GeoRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers",
- "location": "westus",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "westus",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers",
+ "location": "westus",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json
index bba4057c8d8c..690482a16c7a 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreatePointInTimeRestore.json
@@ -1,88 +1,88 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2017-12-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2017-12-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "brazilsouth",
- "properties": {
- "restorePointInTime": "2017-12-14T00:00:37.467Z",
- "createMode": "PointInTimeRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "brazilsouth",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers"
- }
+ "location": "brazilsouth",
+ "properties": {
+ "restorePointInTime": "2017-12-14T00:00:37.467Z",
+ "createMode": "PointInTimeRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers",
- "location": "brazilsouth",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "brazilsouth",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers",
+ "location": "brazilsouth",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json
index c906294eb2ae..bd008b4de0d1 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerCreateReplicaMode.json
@@ -81,4 +81,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerDelete.json
index 6427e09c2b08..6cb3de624950 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerGet.json
index 381f09f4870d..2f315136b484 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerList.json
index ca2c00b01b1e..ea5765692f3d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerList.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerList.json
@@ -86,4 +86,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json
index 93fab5d2ecf0..6e0256e1c27c 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerListByResourceGroup.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerRestart.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerRestart.json
index bc355a010136..791eb7edcb7f 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerRestart.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerRestart.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2017-12-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
\ No newline at end of file
+ "parameters": {
+ "serverName": "testserver",
+ "resourceGroupName": "TestGroup",
+ "api-version": "2017-12-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json
index 7e0e08e7fce9..5b613db3291d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMax.json
@@ -1,39 +1,48 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-12-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-12-01",
- "parameters": {
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"],
- "retentionDays": 5,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"],
- "retentionDays": 5,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json
index cca181d831ee..b9c9fe160f3d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsCreateMin.json
@@ -1,34 +1,33 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-12-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-12-01",
- "parameters": {
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true
- }
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [],
+ "disabledAlerts": [],
+ "retentionDays": 0,
+ "storageEndpoint": ""
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageEndpoint": ""
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json
index d189ddd73a3f..4939ece1a0c6 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerSecurityAlertsGet.json
@@ -1,26 +1,30 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "test@microsoft.com;user@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly"
+ ],
+ "retentionDays": 0,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerUpdate.json
index cf7bf6844965..09623b8abe29 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerUpdate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/ServerUpdate.json
@@ -44,4 +44,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json
index f0b884dab2e6..bb59c49ea32f 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsGet.json
@@ -13,19 +13,19 @@
"name": "66-636923268000000000-636923277000000000-avg-duration",
"type": "Microsoft.DBforMySQL/servers/queryStatistics",
"properties": {
- "aggregationFunction" : "avg",
+ "aggregationFunction": "avg",
"databaseNames": [
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql"
],
"startTime": "2019-05-01T17:00:00Z",
"endTime": "2019-05-01T17:15:00Z",
- "metricDisplayName":"Query duration",
+ "metricDisplayName": "Query duration",
"metricName": "duration",
"metricValue": 123.301446136,
"metricValueUnit": "milliseconds",
"queryExecutionCount": 1,
"queryId": "66"
- }
+ }
}
}
}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json
index e05826343693..e2bd9ada4f9e 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/TopQueryStatisticsListByServer.json
@@ -24,13 +24,13 @@
"name": "66-636923268000000000-636923277000000000-avg-duration",
"type": "Microsoft.DBforMySQL/servers/queryStatistics",
"properties": {
- "aggregationFunction" : "avg",
+ "aggregationFunction": "avg",
"databaseNames": [
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql"
],
"startTime": "2019-05-01T17:00:00Z",
"endTime": "2019-05-01T17:15:00Z",
- "metricDisplayName":"Query duration",
+ "metricDisplayName": "Query duration",
"metricName": "duration",
"metricValue": 123.301446136,
"metricValueUnit": "milliseconds",
@@ -43,13 +43,13 @@
"name": "66-636924483000000000-636924492000000000-avg-duration",
"type": "Microsoft.DBforMySQL/servers/queryStatistics",
"properties": {
- "aggregationFunction" : "avg",
+ "aggregationFunction": "avg",
"databaseNames": [
"/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testResourceGroupName/providers/Microsoft.DBforMySQL/servers/testServerName/databases/mysql"
],
"startTime": "2019-05-03T02:45:00Z",
"endTime": "2019-05-03T03:00:00Z",
- "metricDisplayName":"Query duration",
+ "metricDisplayName": "Query duration",
"metricName": "duration",
"metricValue": 1712.301446136,
"metricValueUnit": "milliseconds",
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json
index e7baa8266bbd..9a4bfd76b984 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesCreateOrUpdate.json
@@ -6,35 +6,35 @@
"virtualNetworkRuleName": "vnet-firewall-rule",
"api-version": "2017-12-01",
"parameters": {
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
}
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "202": {}
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
index fb3336a3e4b5..0fa496b85696 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2017-12-01"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "TestGroup",
+ "serverName": "vnet-test-svr",
+ "virtualNetworkRuleName": "vnet-firewall-rule",
+ "api-version": "2017-12-01"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ },
+ "204": {
+ "body": ""
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json
index 50f18a6578e2..145aa65e22e4 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesGet.json
@@ -7,17 +7,17 @@
"api-version": "2017-12-01"
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json
index 459eed49d500..3bf5f1281229 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesList.json
@@ -7,31 +7,31 @@
"api-version": "2017-12-01"
},
"responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- ]
- }
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ },
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
index b67153f9ea44..0b8d89484000 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/preview/2018-06-01-privatepreview/mysql.json
@@ -45,7 +45,7 @@
"$ref": "./examples/ServerCreate.json"
},
"Create a database as a point in time restore": {
- "$ref":"./examples/ServerCreatePointInTimeRestore.json"
+ "$ref": "./examples/ServerCreatePointInTimeRestore.json"
},
"Create a server as a geo restore ": {
"$ref": "./examples/ServerCreateGeoRestoreMode.json"
@@ -293,7 +293,9 @@
],
"operationId": "Servers_Restart",
"x-ms-examples": {
- "ServerRestart": { "$ref": "./examples/ServerRestart.json" }
+ "ServerRestart": {
+ "$ref": "./examples/ServerRestart.json"
+ }
},
"description": "Restarts a server.",
"parameters": [
@@ -2003,7 +2005,7 @@
"format": "int32",
"description": "Max storage allowed for a server."
},
- "storageAutogrow" : {
+ "storageAutogrow": {
"type": "string",
"description": "Enable Storage Auto Grow.",
"enum": [
@@ -3136,8 +3138,7 @@
}
},
"AdvisorProperties": {
- "properties": {
- },
+ "properties": {},
"description": "The properties of a recommendation action advisor."
},
"Advisor": {
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/CheckNameAvailability.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/CheckNameAvailability.json
index 4543f9ced197..df008637bdb5 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/CheckNameAvailability.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/CheckNameAvailability.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json
index 0a9da92eaee8..4e4e1cd91396 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationCreateOrUpdate.json
@@ -6,7 +6,7 @@
"api-version": "2017-12-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
+ "properties": {
"value": "off",
"source": "user-override"
}
@@ -30,4 +30,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationGet.json
index e58485efa99e..61d65e032a4a 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationGet.json
@@ -23,4 +23,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationListByServer.json
index 90d4e18a56e4..4f8651a74f7e 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ConfigurationListByServer.json
@@ -598,4 +598,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseCreate.json
index 73848f69214f..ef9319f5e8b1 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseCreate.json
@@ -6,9 +6,9 @@
"api-version": "2017-12-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "charset":"utf8",
- "collation":"utf8_general_ci"
+ "properties": {
+ "charset": "utf8",
+ "collation": "utf8_general_ci"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseDelete.json
index 6706a74576de..a708f740d475 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseGet.json
index cc7a8b270676..71a6289d50fe 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseListByServer.json
index c5563821a18e..209210b13f9d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/DatabaseListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleCreate.json
index 9d9cee7bb309..3b9dacd5b712 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleCreate.json
@@ -6,9 +6,9 @@
"api-version": "2017-12-01",
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "properties":{
- "startIpAddress":"0.0.0.0",
- "endIpAddress":"255.255.255.255"
+ "properties": {
+ "startIpAddress": "0.0.0.0",
+ "endIpAddress": "255.255.255.255"
}
}
},
@@ -37,4 +37,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleDelete.json
index d8348f45a659..b78f19daba9d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleDelete.json
@@ -11,4 +11,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleGet.json
index e78102ff408a..3a57e76e26b3 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleGet.json
@@ -19,4 +19,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleListByServer.json
index 40de6a14928d..49ed7c0d8de1 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/FirewallRuleListByServer.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/LogFileListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/LogFileListByServer.json
index a442a7cfe19e..488659020a22 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/LogFileListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/LogFileListByServer.json
@@ -25,4 +25,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/OperationList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/OperationList.json
index fe26bba54b89..d58a0f0af262 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/OperationList.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/OperationList.json
@@ -214,4 +214,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/PerformanceTiersListByLocation.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/PerformanceTiersListByLocation.json
index 4e8093cfd7dc..e06b0f4b64ec 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/PerformanceTiersListByLocation.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/PerformanceTiersListByLocation.json
@@ -92,4 +92,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ReplicasListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ReplicasListByServer.json
index 931fd7889be2..91e3babfd5de 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ReplicasListByServer.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ReplicasListByServer.json
@@ -30,7 +30,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver.mysql.database.azure.com",
"version": "5.6",
@@ -48,7 +48,7 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
@@ -61,7 +61,7 @@
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver1.mysql.database.azure.com",
"version": "5.6",
@@ -79,20 +79,20 @@
"tags": {
"elasticServer": "1"
},
- "sku": {
+ "sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
- "properties": {
+ "properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
+ "sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver2.mysql.database.azure.com",
"version": "5.6",
@@ -106,4 +106,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreate.json
index 95e43a06f2fd..1990e33ffbe6 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreate.json
@@ -91,4 +91,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json
index 24ed1b914bbb..756e3baeedfa 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateGeoRestoreMode.json
@@ -1,87 +1,87 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2017-12-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2017-12-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "createMode": "GeoRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers"
- }
+ "location": "westus",
+ "properties": {
+ "createMode": "GeoRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers",
- "location": "westus",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "westus",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers",
+ "location": "westus",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 14,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json
index bba4057c8d8c..690482a16c7a 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreatePointInTimeRestore.json
@@ -1,88 +1,88 @@
{
+ "parameters": {
+ "serverName": "targetserver",
+ "resourceGroupName": "TargetResourceGroup",
+ "api-version": "2017-12-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2017-12-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "brazilsouth",
- "properties": {
- "restorePointInTime": "2017-12-14T00:00:37.467Z",
- "createMode": "PointInTimeRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "brazilsouth",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers"
- }
+ "location": "brazilsouth",
+ "properties": {
+ "restorePointInTime": "2017-12-14T00:00:37.467Z",
+ "createMode": "PointInTimeRestore",
+ "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMySQL/servers/sourceserver"
+ },
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "ElasticServer": "1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMySQL/servers",
- "location": "brazilsouth",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ },
+ "location": "brazilsouth",
+ "tags": {
+ "ElasticServer": "1"
+ },
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers"
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMySQL/servers/targetserver",
+ "name": "targetserver",
+ "type": "Microsoft.DBforMySQL/servers",
+ "location": "brazilsouth",
+ "sku": {
+ "name": "GP_Gen5_2",
+ "tier": "GeneralPurpose",
+ "family": "Gen5",
+ "capacity": 2
+ },
+ "tags": {
+ "elasticServer": "1"
+ },
+ "properties": {
+ "administratorLogin": "cloudsa",
+ "storageProfile": {
+ "storageMB": 128000,
+ "backupRetentionDays": 7,
+ "geoRedundantBackup": "Enabled"
},
- "202": {}
- }
-}
\ No newline at end of file
+ "version": "5.7",
+ "sslEnforcement": "Enabled",
+ "userVisibleState": "Ready",
+ "fullyQualifiedDomainName": "targetserver.mysql.database.azure.com",
+ "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json
index c906294eb2ae..bd008b4de0d1 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json
@@ -81,4 +81,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerDelete.json
index 6427e09c2b08..6cb3de624950 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerDelete.json
@@ -10,4 +10,4 @@
"202": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerGet.json
index 381f09f4870d..2f315136b484 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerGet.json
@@ -40,4 +40,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerList.json
index ca2c00b01b1e..ea5765692f3d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerList.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerList.json
@@ -86,4 +86,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerListByResourceGroup.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerListByResourceGroup.json
index 93fab5d2ecf0..6e0256e1c27c 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerListByResourceGroup.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerListByResourceGroup.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerRestart.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerRestart.json
index bc355a010136..791eb7edcb7f 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerRestart.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerRestart.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2017-12-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
\ No newline at end of file
+ "parameters": {
+ "serverName": "testserver",
+ "resourceGroupName": "TestGroup",
+ "api-version": "2017-12-01",
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json
index 7e0e08e7fce9..5b613db3291d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMax.json
@@ -1,39 +1,48 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-12-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-12-01",
- "parameters": {
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"],
- "retentionDays": 5,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "testSecurityAlert@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly",
+ "Usage_Anomaly"
+ ],
+ "retentionDays": 5,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"],
- "retentionDays": 5,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json
index cca181d831ee..b9c9fe160f3d 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsCreateMin.json
@@ -1,34 +1,33 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-12-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-12-01",
- "parameters": {
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true
- }
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Enabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [],
+ "disabledAlerts": [],
+ "retentionDays": 0,
+ "storageEndpoint": ""
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageEndpoint": ""
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
+ "202": {}
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json
index d189ddd73a3f..4939ece1a0c6 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerSecurityAlertsGet.json
@@ -1,26 +1,30 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "securityalert-4799",
+ "serverName": "securityalert-6440",
+ "securityAlertPolicyName": "Default",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMySQL/servers/securityalert-6440/securityAlertPolicies/default",
+ "name": "Default",
+ "type": "Microsoft.DBforMySQL/servers/securityAlertPolicies",
+ "properties": {
+ "state": "Disabled",
+ "emailAccountAdmins": true,
+ "emailAddresses": [
+ "test@microsoft.com;user@microsoft.com"
+ ],
+ "disabledAlerts": [
+ "Access_Anomaly"
+ ],
+ "retentionDays": 0,
+ "storageEndpoint": "https://mystorage.blob.core.windows.net"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerUpdate.json
index cf7bf6844965..09623b8abe29 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerUpdate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/ServerUpdate.json
@@ -44,4 +44,4 @@
},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json
index e7baa8266bbd..9a4bfd76b984 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesCreateOrUpdate.json
@@ -6,35 +6,35 @@
"virtualNetworkRuleName": "vnet-firewall-rule",
"api-version": "2017-12-01",
"parameters": {
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
}
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "202": {}
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ },
+ "202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json
index fb3336a3e4b5..0fa496b85696 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesDelete.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2017-12-01"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "parameters": {
+ "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
+ "resourceGroupName": "TestGroup",
+ "serverName": "vnet-test-svr",
+ "virtualNetworkRuleName": "vnet-firewall-rule",
+ "api-version": "2017-12-01"
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {
+ "body": ""
+ },
+ "204": {
+ "body": ""
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json
index 50f18a6578e2..145aa65e22e4 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesGet.json
@@ -7,17 +7,17 @@
"api-version": "2017-12-01"
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
+ "200": {
+ "body": {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json
index 459eed49d500..3bf5f1281229 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/examples/VirtualNetworkRulesList.json
@@ -7,31 +7,31 @@
"api-version": "2017-12-01"
},
"responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- ]
- }
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ },
+ {
+ "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMySQL/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
+ "name": "vnet-firewall-rule",
+ "type": "Microsoft.DBforMySQL/servers/virtualNetworkRules",
+ "properties": {
+ "ignoreMissingVnetServiceEndpoint": false,
+ "state": "Ready",
+ "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
+ }
+ }
+ ]
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json
index 384e97d91ba6..21a4680cb4ed 100644
--- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json
+++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/stable/2017-12-01/mysql.json
@@ -45,7 +45,7 @@
"$ref": "./examples/ServerCreate.json"
},
"Create a database as a point in time restore": {
- "$ref":"./examples/ServerCreatePointInTimeRestore.json"
+ "$ref": "./examples/ServerCreatePointInTimeRestore.json"
},
"Create a server as a geo restore ": {
"$ref": "./examples/ServerCreateGeoRestoreMode.json"
@@ -293,7 +293,9 @@
],
"operationId": "Servers_Restart",
"x-ms-examples": {
- "ServerRestart": { "$ref": "./examples/ServerRestart.json" }
+ "ServerRestart": {
+ "$ref": "./examples/ServerRestart.json"
+ }
},
"description": "Restarts a server.",
"parameters": [
@@ -326,7 +328,7 @@
},
"x-ms-long-running-operation": true
}
- },
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/servers/{serverName}/replicas": {
"get": {
"tags": [
@@ -1443,7 +1445,7 @@
"format": "int32",
"description": "Max storage allowed for a server."
},
- "storageAutogrow" : {
+ "storageAutogrow": {
"type": "string",
"description": "Enable Storage Auto Grow.",
"enum": [
@@ -2270,7 +2272,7 @@
}
},
"description": "An error response from the Batch service."
- }
+ }
},
"parameters": {
"SubscriptionIdParameter": {
@@ -2355,4 +2357,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mysql/resource-manager/readme.go.md b/specification/mysql/resource-manager/readme.go.md
index 6cddaf2787ac..62df079caf6b 100644
--- a/specification/mysql/resource-manager/readme.go.md
+++ b/specification/mysql/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2017-12-01-preview
- tag: package-2017-12-01
```
diff --git a/specification/mysql/resource-manager/readme.java.md b/specification/mysql/resource-manager/readme.java.md
new file mode 100644
index 000000000000..d4a9a8036efe
--- /dev/null
+++ b/specification/mysql/resource-manager/readme.java.md
@@ -0,0 +1,47 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.mysql
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mysql
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2017-12-01-preview
+ - tag: package-2017-12-01
+```
+
+### Tag: package-2017-12-01-preview and java
+
+These settings apply only when `--tag=package-2017-12-01-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2017-12-01-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.mysql.v2017_12_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/mysql/resource-manager/v2017_12_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-12-01 and java
+
+These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.mysql.v2017_12_01
+ output-folder: $(azure-libraries-for-java-folder)/mysql/resource-manager/v2017_12_01
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md
index 8c9dcf968491..c80e920e00fb 100644
--- a/specification/mysql/resource-manager/readme.md
+++ b/specification/mysql/resource-manager/readme.md
@@ -127,34 +127,4 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.mysql
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mysql
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2017-12-01
-```
-
-### Tag: package-2017-12-01 and java
-
-These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.mysql.v2017_12_01
- output-folder: $(azure-libraries-for-java-folder)/mysql/resource-manager/v2017_12_01
-regenerate-manager: true
-generate-interface: true
-```
+See configuration in [readme.java.md](./readme.java.md)
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json
index dcf4d100eb1b..ecae3bae0891 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json
@@ -1656,10 +1656,10 @@
},
"protocolTypes": {
"title": "protocolTypes",
- "description": "Set of protocol types",
- "type": "array",
+ "description": "Set of protocol types",
+ "type": "array",
"items": {
- "type": "string"
+ "type": "string"
},
"example": "['NFSv3', 'NFSv4']"
},
@@ -1693,9 +1693,9 @@
},
"mountTargets": {
"title": "mountTargets",
- "description": "List of mount targets",
+ "description": "List of mount targets",
"items": {
- "$ref": "#/definitions/mountTargetList"
+ "$ref": "#/definitions/mountTargetList"
}
}
}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json
new file mode 100644
index 000000000000..f7e8185facac
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "api-version": "2019-05-01",
+ "body": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json
new file mode 100644
index 000000000000..8968a51a5a99
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json
new file mode 100644
index 000000000000..8d66e1d9a64b
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json
new file mode 100644
index 000000000000..4c8836049b95
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Created"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json
new file mode 100644
index 000000000000..f4d5bf8d5031
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "api-version": "2019-05-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json
new file mode 100644
index 000000000000..cf432f1c14d7
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "location": "eastus",
+ "api-version": "2019-05-01",
+ "body": {
+ "name": "my-exact-filepth",
+ "type": "netAppAccount/capacityPools/volume",
+ "resourceGroup": "myrg"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json
new file mode 100644
index 000000000000..05afbf0db5d4
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "location": "eastus",
+ "api-version": "2019-05-01",
+ "body": {
+ "name": "accName",
+ "type": "netAppAccount",
+ "resourceGroup": "myrg"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isAvailable": true
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json
new file mode 100644
index 000000000000..f3ee2188744e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "eastus",
+ "properties": {
+ "endIp": "1.2.3.4",
+ "mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "startIp": "1.2.3.4",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "subnet": "1.2.3.4",
+ "netmask": "255.255.255.0",
+ "ipAddress": "1.2.3.4",
+ "gateway": "1.2.3.4",
+ "smbServerFqdn": "fullyqualified.domainname.com",
+ "provisioningState": "Created"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json
new file mode 100644
index 000000000000..9b7c0eac8a3d
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "api-version": "2019-05-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "size": 4398046511104,
+ "serviceLevel": "Premium"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Created",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Created",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json
new file mode 100644
index 000000000000..949559f94709
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json
new file mode 100644
index 000000000000..a0994c4c9805
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Created",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json
new file mode 100644
index 000000000000..101578bc6c93
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Created",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json
new file mode 100644
index 000000000000..352fb9f2bff3
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "api-version": "2019-05-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Created",
+ "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "serviceLevel": "Premium",
+ "size": 4398046511104
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json
new file mode 100644
index 000000000000..19a57beace0a
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "snapshotName": "snapshotName",
+ "api-version": "2019-05-01",
+ "body": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Created"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json
new file mode 100644
index 000000000000..b6f87582dda5
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "snapshotName": "snapshotName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json
new file mode 100644
index 000000000000..762f230637d1
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "snapshotName": "snapshotName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json
new file mode 100644
index 000000000000..5bf9ef6dbc3e
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Created"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json
new file mode 100644
index 000000000000..626d011ca2ef
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "snapshotName": "snapshotName",
+ "api-version": "2019-05-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
+ "creationDate": "2017-08-15T13:23:33Z",
+ "provisioningState": "Created"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json
new file mode 100644
index 000000000000..5d5d05bac956
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "api-version": "2019-05-01",
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "serviceLevel": "Premium",
+ "creationToken": "my-unique-file-path",
+ "usageThreshold": 107374182400,
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Created",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Created",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json
new file mode 100644
index 000000000000..c497f27bf6e8
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json
new file mode 100644
index 000000000000..fb6864c7e431
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Created",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json
new file mode 100644
index 000000000000..e707fe00a83d
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Created",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json
new file mode 100644
index 000000000000..dd2c40ea4091
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "subscriptionId": "subscriptionId",
+ "resourceGroupName": "resourceGroup",
+ "accountName": "accountName",
+ "poolName": "poolName",
+ "volumeName": "volumeName",
+ "api-version": "2019-05-01",
+ "body": {}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "eastus",
+ "properties": {
+ "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
+ "creationToken": "some-amazing-filepath",
+ "usageThreshold": 107374182400,
+ "serviceLevel": "Premium",
+ "provisioningState": "Created",
+ "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json
new file mode 100644
index 000000000000..185bff3eace0
--- /dev/null
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json
@@ -0,0 +1,2358 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Microsoft NetApp",
+ "description": "Microsoft NetApp Azure Resource Provider specification",
+ "version": "2019-06-01",
+ "x-ms-code-generation-settings": {
+ "name": "AzureNetAppFilesManagementClient"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "schemes": [
+ "https"
+ ],
+ "host": "management.azure.com",
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.NetApp/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "Describes the Resource Provider",
+ "description": "Lists all of the available Microsoft.NetApp Rest API operations",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": {
+ "post": {
+ "summary": "Check resource name availability",
+ "description": "Check if a resource name is available.",
+ "operationId": "CheckNameAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Name availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/location"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailability"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckNameAvailability": {
+ "$ref": "examples/CheckNameAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": {
+ "post": {
+ "summary": "Check file path availability",
+ "description": "Check if a file path is available.",
+ "operationId": "CheckFilePathAvailability",
+ "parameters": [
+ {
+ "name": "body",
+ "in": "body",
+ "description": "File path availability request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailabilityRequest"
+ },
+ "x-ms-client-flatten": true
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/location"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ResourceNameAvailability"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "CheckFilePathAvailability": {
+ "$ref": "examples/CheckFilePathAvailability.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": {
+ "get": {
+ "summary": "Describe all NetApp Accounts in a resource group",
+ "description": "List and describe all NetApp accounts in the resource group",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccountList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_List": {
+ "$ref": "examples/Accounts_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": {
+ "get": {
+ "summary": "Describe a NetApp Account",
+ "description": "Get the NetApp account",
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Get": {
+ "$ref": "examples/Accounts_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_CreateOrUpdate",
+ "summary": "Create or update a NetApp account",
+ "description": "Create or update the specified NetApp account within the resource group",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "201": {
+ "description": "Account created",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_CreateOrUpdate": {
+ "$ref": "examples/Accounts_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Delete",
+ "summary": "Delete a NetApp account",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "Delete the specified NetApp account",
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Accounts_Delete": {
+ "$ref": "examples/Accounts_Delete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "NetApp Accounts"
+ ],
+ "operationId": "Accounts_Update",
+ "summary": "Update a NetApp account",
+ "description": "Patch the specified NetApp account",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "NetApp Account object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/netAppAccountPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - account updated",
+ "schema": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Accounts_Update": {
+ "$ref": "examples/Accounts_Update.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": {
+ "get": {
+ "summary": "Describe all Capacity Pools",
+ "description": "List all capacity pools in the NetApp Account",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPoolList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_List": {
+ "$ref": "examples/Pools_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": {
+ "get": {
+ "summary": "Describe a Capacity Pool",
+ "description": "Get details of the specified capacity pool",
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_Get": {
+ "$ref": "examples/Pools_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_CreateOrUpdate",
+ "summary": "Create or Update the specified capacity pool within the resource group",
+ "description": "Create or Update a capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - pool updated",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "201": {
+ "description": "Pool created",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Pools_CreateOrUpdate": {
+ "$ref": "examples/Pools_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Update",
+ "summary": "Update a capacity pool",
+ "description": "Patch the specified capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Capacity pool object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/capacityPoolPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Pools_Update": {
+ "$ref": "examples/Pools_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Capacity Pools"
+ ],
+ "operationId": "Pools_Delete",
+ "summary": "Delete a capacity pool",
+ "description": "Delete the specified capacity pool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Pools_Delete": {
+ "$ref": "examples/Pools_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": {
+ "get": {
+ "summary": "Describe all volumes",
+ "description": "List all volumes within the capacity pool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_List",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volumeList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_List": {
+ "$ref": "examples/Volumes_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": {
+ "get": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Get",
+ "summary": "Describe a volume",
+ "description": "Get the details of the specified volume",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_Get": {
+ "$ref": "examples/Volumes_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_CreateOrUpdate",
+ "summary": "Create or Update a volume",
+ "description": "Create or update the specified volume within the capacity pool",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - volume updated",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "201": {
+ "description": "Volume created",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_CreateOrUpdate": {
+ "$ref": "examples/Volumes_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Update",
+ "summary": "Update a volume",
+ "description": "Patch the specified volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Volume object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/volumePatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/volume"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Volumes_Update": {
+ "$ref": "examples/Volumes_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Volumes"
+ ],
+ "operationId": "Volumes_Delete",
+ "summary": "Delete a volume",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "Delete the specified volume",
+ "responses": {
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Volumes_Delete": {
+ "$ref": "examples/Volumes_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": {
+ "get": {
+ "tags": [
+ "MountTargets"
+ ],
+ "operationId": "MountTargets_List",
+ "summary": "Describe all mount targets",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all mount targets associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/mountTargetList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "MountTargets_List": {
+ "$ref": "examples/MountTargets_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_List",
+ "summary": "Describe all snapshots",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "description": "List all snapshots associated with the volume",
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshotsList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_List": {
+ "$ref": "examples/Snapshots_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Get",
+ "summary": "Describe a snapshot",
+ "description": "Get details of the specified snapshot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_Get": {
+ "$ref": "examples/Snapshots_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Create",
+ "summary": "Create a snapshot",
+ "description": "Create the specified snapshot within the given volume",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Snapshot created",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Create request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Snapshots_Create": {
+ "$ref": "examples/Snapshots_Create.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Update",
+ "summary": "Update a snapshot",
+ "description": "Patch a snapshot",
+ "parameters": [
+ {
+ "name": "body",
+ "description": "Snapshot object supplied in the body of the operation.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/snapshotPatch"
+ }
+ },
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted -- Update request accepted; operation will complete asynchronously"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "Snapshots_Update": {
+ "$ref": "examples/Snapshots_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Delete",
+ "summary": "Delete a snapshot",
+ "description": "Delete snapshot",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionId"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroup"
+ },
+ {
+ "$ref": "#/parameters/AccountName"
+ },
+ {
+ "$ref": "#/parameters/PoolName"
+ },
+ {
+ "$ref": "#/parameters/VolumeName"
+ },
+ {
+ "$ref": "#/parameters/SnapshotName"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously"
+ },
+ "204": {
+ "description": "NoContent -- Resource does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Snapshots_Delete": {
+ "$ref": "examples/Snapshots_Delete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "OperationListResult": {
+ "description": "Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Storage operations supported by the Storage resource provider."
+ }
+ }
+ },
+ "Operation": {
+ "description": "Microsoft.NetApp REST API operation definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "Display metadata associated with the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft NetApp.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Type of operation: get, read, delete, etc.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Operation description.",
+ "type": "string"
+ }
+ }
+ },
+ "origin": {
+ "type": "string",
+ "description": "The origin of operations."
+ },
+ "properties": {
+ "$ref": "#/definitions/OperationProperties",
+ "description": "Properties of operation, include metric specifications.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "OperationProperties": {
+ "description": "Properties of operation, include metric specifications.",
+ "properties": {
+ "serviceSpecification": {
+ "$ref": "#/definitions/ServiceSpecification",
+ "description": "One property of operation, include metric specifications."
+ }
+ }
+ },
+ "ServiceSpecification": {
+ "description": "One property of operation, include metric specifications.",
+ "properties": {
+ "metricSpecifications": {
+ "description": "Metric specifications of operation.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSpecification"
+ }
+ }
+ }
+ },
+ "MetricSpecification": {
+ "description": "Metric specification of operation.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of metric specification."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of metric specification."
+ },
+ "displayDescription": {
+ "type": "string",
+ "description": "Display description of metric specification."
+ },
+ "unit": {
+ "type": "string",
+ "description": "Unit could be Bytes or Count."
+ },
+ "dimensions": {
+ "description": "Dimensions of blobs, including blob type and access tier.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Dimension"
+ }
+ },
+ "aggregationType": {
+ "type": "string",
+ "description": "Aggregation type could be Average."
+ },
+ "fillGapWithZero": {
+ "type": "boolean",
+ "description": "The property to decide fill gap with zero or not."
+ },
+ "category": {
+ "type": "string",
+ "description": "The category this metric specification belong to, could be Capacity."
+ },
+ "resourceIdDimensionNameOverride": {
+ "type": "string",
+ "description": "Account Resource Id."
+ }
+ }
+ },
+ "Dimension": {
+ "description": "Dimension of blobs, possibly be blob type or access tier.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Display name of dimension."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "Display name of dimension."
+ }
+ }
+ },
+ "ResourceNameAvailability": {
+ "description": "Information regarding availability of a resource name.",
+ "type": "object",
+ "properties": {
+ "isAvailable": {
+ "description": "true
indicates name is valid and available. false
indicates the name is invalid, unavailable, or both.",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "Invalid
indicates the name provided does not match Azure App Service naming requirements. AlreadyExists
indicates that the name is already in use and is therefore unavailable.",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "InAvailabilityReasonType",
+ "modelAsString": true
+ }
+ },
+ "message": {
+ "description": "If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.",
+ "type": "string"
+ }
+ }
+ },
+ "ResourceNameAvailabilityRequest": {
+ "description": "Resource name availability request content.",
+ "required": [
+ "name",
+ "type",
+ "resourceGroup"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Resource name to verify.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Resource type used for verification.",
+ "enum": [
+ "Microsoft.NetApp/netAppAccounts",
+ "Microsoft.NetApp/netAppAccounts/capacityPools",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes",
+ "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CheckNameResourceTypes",
+ "modelAsString": true
+ }
+ },
+ "resourceGroup": {
+ "description": "Resource group name.",
+ "type": "string"
+ }
+ }
+ },
+ "netAppAccountList": {
+ "description": "List of NetApp account resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "Multiple NetApp accounts",
+ "items": {
+ "$ref": "#/definitions/netAppAccount"
+ }
+ }
+ }
+ },
+ "netAppAccount": {
+ "description": "NetApp account resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "netAppAccountPatch": {
+ "description": "NetApp account patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "NetApp Account properties",
+ "$ref": "#/definitions/accountProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "accountProperties": {
+ "description": "NetApp account properties",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "activeDirectories": {
+ "description": "Active Directories",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/activeDirectory"
+ }
+ }
+ }
+ },
+ "activeDirectory": {
+ "description": "Active Directory",
+ "type": "object",
+ "properties": {
+ "activeDirectoryId": {
+ "type": "string",
+ "description": "Id of the Active Directory"
+ },
+ "username": {
+ "type": "string",
+ "description": "Username of Active Directory domain administrator"
+ },
+ "password": {
+ "type": "string",
+ "description": "Plain text password of Active Directory domain administrator"
+ },
+ "domain": {
+ "type": "string",
+ "description": "Name of the Active Directory domain"
+ },
+ "dns": {
+ "type": "string",
+ "description": "Comma separated list of DNS server IP addresses for the Active Directory domain"
+ },
+ "status": {
+ "type": "string",
+ "description": "Status of the Active Directory"
+ },
+ "smbServerName": {
+ "type": "string",
+ "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes"
+ },
+ "organizationalUnit": {
+ "type": "string",
+ "description": "The Organizational Unit (OU) within the Windows Active Directory"
+ }
+ }
+ },
+ "capacityPoolList": {
+ "description": "List of capacity pool resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of Capacity pools",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/capacityPool"
+ }
+ }
+ }
+ },
+ "capacityPool": {
+ "description": "Capacity pool resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolProperties": {
+ "description": "Pool properties",
+ "type": "object",
+ "required": [
+ "size",
+ "serviceLevel"
+ ],
+ "properties": {
+ "poolId": {
+ "title": "poolId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Pool",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).",
+ "minimum": 4398046511104,
+ "maximum": 549755813888000
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "capacityPoolPatch": {
+ "description": "Capacity pool patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Capacity pool properties",
+ "$ref": "#/definitions/poolPatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "poolPatchProperties": {
+ "description": "Patchable pool properties",
+ "type": "object",
+ "properties": {
+ "size": {
+ "title": "size",
+ "type": "integer",
+ "format": "int64",
+ "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).",
+ "minimum": 4398046511104,
+ "maximum": 549755813888000,
+ "default": 4398046511104
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ }
+ }
+ },
+ "volumeList": {
+ "description": "List of volume resources",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of volumes",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/volume"
+ }
+ }
+ }
+ },
+ "volume": {
+ "description": "Volume resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Volume properties",
+ "$ref": "#/definitions/volumeProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "resourceTags": {
+ "description": "Resource tags",
+ "type": "object"
+ },
+ "volumeProperties": {
+ "description": "Volume properties",
+ "type": "object",
+ "required": [
+ "creationToken",
+ "usageThreshold",
+ "subnetId"
+ ],
+ "properties": {
+ "fileSystemId": {
+ "title": "FileSystem ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique FileSystem Identifier.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca7778"
+ },
+ "creationToken": {
+ "title": "Creation Token or File Path",
+ "type": "string",
+ "description": "A unique file path for the volume. Used when creating mount targets",
+ "minimum": 16,
+ "maximum": 40,
+ "example": "some-amazing-filepath"
+ },
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 109951162777600,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ }
+ }
+ }
+ },
+ "protocolTypes": {
+ "title": "protocolTypes",
+ "description": "Set of protocol types",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": [
+ "NFSv3",
+ "NFSv4"
+ ]
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ },
+ "snapshotId": {
+ "title": "Snapshot ID",
+ "type": "string",
+ "description": "UUID v4 or resource identifier used to identify the Snapshot.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "baremetalTenantId": {
+ "title": "Baremetal Tenant ID",
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Baremetal Tenant Identifier.",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779"
+ },
+ "subnetId": {
+ "type": "string",
+ "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes"
+ },
+ "mountTargets": {
+ "title": "mountTargets",
+ "description": "List of mount targets",
+ "items": {
+ "$ref": "#/definitions/mountTargetList"
+ }
+ }
+ }
+ },
+ "exportPolicyRule": {
+ "description": "Volume Export Policy Rule",
+ "type": "object",
+ "properties": {
+ "ruleIndex": {
+ "type": "integer",
+ "description": "Order index"
+ },
+ "unixReadOnly": {
+ "type": "boolean",
+ "description": "Read only access"
+ },
+ "unixReadWrite": {
+ "type": "boolean",
+ "description": "Read and write access"
+ },
+ "cifs": {
+ "type": "boolean",
+ "description": "Allows CIFS protocol"
+ },
+ "nfsv3": {
+ "type": "boolean",
+ "description": "Allows NFSv3 protocol"
+ },
+ "nfsv4": {
+ "type": "boolean",
+ "description": "Allows NFSv4 protocol"
+ },
+ "allowedClients": {
+ "type": "string",
+ "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names"
+ }
+ }
+ },
+ "volumePatch": {
+ "description": "Volume patch resource",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags"
+ },
+ "properties": {
+ "description": "Patchable volume properties",
+ "$ref": "#/definitions/volumePatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "volumePatchProperties": {
+ "description": "Patchable volume properties",
+ "type": "object",
+ "properties": {
+ "serviceLevel": {
+ "title": "serviceLevel",
+ "type": "string",
+ "description": "The service level of the file system",
+ "enum": [
+ "Standard",
+ "Premium",
+ "Ultra"
+ ],
+ "x-ms-enum": {
+ "name": "ServiceLevel",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard",
+ "description": "Standard service level"
+ },
+ {
+ "value": "Premium",
+ "description": "Premium service level"
+ },
+ {
+ "value": "Ultra",
+ "description": "Ultra service level"
+ }
+ ]
+ },
+ "example": "Ultra",
+ "default": "Premium"
+ },
+ "usageThreshold": {
+ "title": "usageThreshold",
+ "type": "integer",
+ "format": "int64",
+ "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.",
+ "minimum": 107374182400,
+ "maximum": 109951162777600,
+ "default": 107374182400,
+ "example": 107374182400
+ },
+ "exportPolicy": {
+ "title": "exportPolicy",
+ "description": "Set of export policy rules",
+ "properties": {
+ "rules": {
+ "title": "Export policy rule",
+ "description": "Export policy rule",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/exportPolicyRule"
+ }
+ }
+ }
+ }
+ }
+ },
+ "mountTargetList": {
+ "description": "List of Mount Targets",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Mount targets",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/mountTarget"
+ }
+ }
+ }
+ },
+ "mountTarget": {
+ "description": "Mount Target",
+ "type": "object",
+ "required": [
+ "location",
+ "properties"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ },
+ "properties": {
+ "description": "Mount Target Properties",
+ "$ref": "#/definitions/mountTargetProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "mountTargetProperties": {
+ "description": "Mount target properties",
+ "type": "object",
+ "required": [
+ "fileSystemId"
+ ],
+ "properties": {
+ "mountTargetId": {
+ "title": "mountTargetId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "fileSystemId": {
+ "title": "fileSystemId",
+ "type": "string",
+ "description": "UUID v4 used to identify the MountTarget",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "ipAddress": {
+ "title": "ipAddress",
+ "description": "The mount target's IPv4 address",
+ "type": "string",
+ "readOnly": true,
+ "example": "1.2.3.4"
+ },
+ "subnet": {
+ "title": "subnet",
+ "type": "string",
+ "description": "The subnet",
+ "example": "1.2.3.4"
+ },
+ "startIp": {
+ "title": "startIp",
+ "description": "The start of IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "endIp": {
+ "title": "endIp",
+ "description": "The end of IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "gateway": {
+ "title": "gateway",
+ "description": "The gateway of the IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "1.2.3.4"
+ },
+ "netmask": {
+ "title": "netmask",
+ "description": "The netmask of the IPv4 address range to use when creating a new mount target",
+ "type": "string",
+ "example": "255.255.255.0"
+ },
+ "smbServerFqdn": {
+ "title": "smbServerFQDN",
+ "description": "The SMB server's Fully Qualified Domain Name, FQDN",
+ "type": "string",
+ "example": "fullyqualified.domainname.com"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ },
+ "snapshotsList": {
+ "description": "List of Snapshots",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "A list of Snapshots",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/snapshot"
+ }
+ }
+ }
+ },
+ "snapshot": {
+ "description": "Snapshot of a Volume",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type"
+ },
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ },
+ "properties": {
+ "description": "Snapshot Properties",
+ "$ref": "#/definitions/snapshotProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotPatch": {
+ "description": "Snapshot patch",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "tags": {
+ "description": "Resource tags",
+ "$ref": "#/definitions/resourceTags",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "snapshotProperties": {
+ "description": "Snapshot properties",
+ "type": "object",
+ "properties": {
+ "snapshotId": {
+ "title": "snapshotId",
+ "type": "string",
+ "readOnly": true,
+ "description": "UUID v4 used to identify the Snapshot",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "fileSystemId": {
+ "title": "fileSystemId",
+ "type": "string",
+ "description": "UUID v4 used to identify the FileSystem",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
+ "maxLength": 36,
+ "minLength": 36,
+ "example": "9760acf5-4638-11e7-9bdb-020073ca3333"
+ },
+ "creationDate": {
+ "title": "name",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The creation date of the snapshot",
+ "example": "2017-08-15 13:23:33"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure lifecycle management"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionId": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "location": {
+ "name": "location",
+ "description": "The location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ResourceGroup": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "pattern": "^[-\\w\\._\\(\\)]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method"
+ },
+ "AccountName": {
+ "name": "accountName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the NetApp account",
+ "x-ms-parameter-location": "method"
+ },
+ "PoolName": {
+ "name": "poolName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the capacity pool",
+ "x-ms-parameter-location": "method"
+ },
+ "VolumeName": {
+ "name": "volumeName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the volume",
+ "x-ms-parameter-location": "method"
+ },
+ "MountTargetName": {
+ "name": "mountTargetName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the mount target",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotName": {
+ "name": "snapshotName",
+ "type": "string",
+ "in": "path",
+ "required": true,
+ "description": "The name of the mount target",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "description": "Version of the API to be used with the client request.",
+ "in": "query",
+ "type": "string",
+ "required": true,
+ "default": "2019-06-01"
+ }
+ }
+}
diff --git a/specification/netapp/resource-manager/readme.go.md b/specification/netapp/resource-manager/readme.go.md
index 6d3fca2efc9f..63aad6e6522c 100644
--- a/specification/netapp/resource-manager/readme.go.md
+++ b/specification/netapp/resource-manager/readme.go.md
@@ -13,10 +13,20 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-netapp-2019-06-01
- tag: package-netapp-2019-05-01
- tag: package-2017-08-15
```
+### Tag: package-netapp-2019-06-01 and go
+
+These settings apply only when `--tag=package-netapp-2019-06-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-netapp-2019-06-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace)
+```
+
### Tag: package-netapp-2019-05-01 and go
These settings apply only when `--tag=package-netapp-2019-05-01 --go` is specified on the command line.
diff --git a/specification/netapp/resource-manager/readme.java.md b/specification/netapp/resource-manager/readme.java.md
index ea44e73c4957..0828cd306fe1 100644
--- a/specification/netapp/resource-manager/readme.java.md
+++ b/specification/netapp/resource-manager/readme.java.md
@@ -16,8 +16,20 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-netapp
``` yaml $(java) && $(multiapi)
batch:
- - tag: package-netapp-2019-05-01
- - tag: package-2017-08-15
+ - tag: package-netapp-2019-06-01
+```
+
+### Tag: package-netapp-2019-06-01 and java
+
+These settings apply only when `--tag=package-netapp-2019-06-01 --java` is specified on the command line.
+Please also specify the `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-netapp-2019-06-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.netapp.v2019_06_01
+ output-folder: $(azure-libraries-for-java-folder)/netapp/resource-manager/v2019_06_01
+regenerate-manager: true
+generate-interface: true
```
### Tag: package-netapp-2019-05-01 and java
diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md
index 324c8442f242..ab402e1cfb59 100644
--- a/specification/netapp/resource-manager/readme.md
+++ b/specification/netapp/resource-manager/readme.md
@@ -28,9 +28,17 @@ These are the global settings for the Azure NetApp Files API.
title: NetAppManagementClient
description: Microsoft NetApp Azure Resource Provider specification
openapi-type: arm
-tag: package-netapp-2019-05-01
+tag: package-netapp-2019-06-01
```
+### Tag: package-netapp-2019-06-01
+
+These settings apply only when `--tag=package-netapp-2019-06-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-netapp-2019-06-01'
+input-file:
+- Microsoft.NetApp/stable/2019-06-01/netapp.json
+```
### Tag: package-netapp-2019-05-01
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json
index cec2ed2196e9..1c27643a1fe2 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/applicationGateway.json
@@ -178,6 +178,9 @@
}
},
"x-ms-examples": {
+ "Create Application Gateway Without Certificates": {
+ "$ref": "./examples/ApplicationGatewayNoCertificatesCreate.json"
+ },
"Create Application Gateway": {
"$ref": "./examples/ApplicationGatewayCreate.json"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json
index a8b991a255b2..860cc5714cce 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/bastionHost.json
@@ -297,7 +297,6 @@
},
"name": {
"type": "string",
- "readOnly": true,
"description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"etag": {
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
index 20122efe6546..3c027242b7d0 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -4,6 +4,61 @@
"subscriptionId": "subid"
},
"responses": {
- "200": {}
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default",
+ "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions",
+ "properties": {
+ "predefinedPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S"
+ }
+ ],
+ "defaultPolicy": "AppGwSslPolicy20150501",
+ "availableCipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
index 20122efe6546..9799eaf317bc 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -4,6 +4,98 @@
"subscriptionId": "subid"
},
"responses": {
- "200": {}
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "AppGwSslPolicy20150501",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ },
+ {
+ "name": "AppGwSslPolicy20170401",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_1"
+ }
+ },
+ {
+ "name": "AppGwSslPolicy20170401S",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
index 4e1f4c754b51..e925a06eacdf 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -5,6 +5,44 @@
"predefinedPolicyName": "AppGwSslPolicy20150501"
},
"responses": {
- "200": {}
+ "200": {
+ "body": {
+ "name": "AppGwSslPolicy20150501",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayNoCertificatesCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayNoCertificatesCreate.json
new file mode 100644
index 000000000000..95c636c6c747
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ApplicationGatewayNoCertificatesCreate.json
@@ -0,0 +1,678 @@
+{
+ "parameters": {
+ "api-version": "2019-04-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw",
+ "parameters": {
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "location": "eastus",
+ "properties": {
+ "sku": {
+ "name": "Standard_v2",
+ "tier": "Standard_v2",
+ "capacity": 3
+ },
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [],
+ "trustedRootCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "properties": {
+ "port": 81
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "properties": {
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "properties": {
+ "backendAddresses": [
+ {
+ "ipAddress": "10.0.1.1"
+ },
+ {
+ "ipAddress": "10.0.1.2"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "properties": {
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Http",
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "properties": {
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "properties": {
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "properties": {
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "properties": {
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "properties": {
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_add_x_forwarded_for_proxy}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "appgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 81
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": []
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Http",
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_remote-addr}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "probes": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "appgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 81
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": []
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Http",
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_remote-addr}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "probes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json
new file mode 100644
index 000000000000..1b28fb80e8e1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-04-01",
+ "location": "regionName",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
new file mode 100644
index 000000000000..1074655bc017
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-04-01",
+ "location": "regionName",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json
index d8af89168a0d..4e1912b75365 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json
@@ -11,7 +11,7 @@
{
"id": "/subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType",
"type": "Microsoft.Network/availablePrivateEndpointTypes",
- "serviceName": "Microsoft.Provider/resourceType"
+ "resourceName": "Microsoft.Provider/resourceType"
}
]
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
index 82a5a48c73f6..526286508d95 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
@@ -12,7 +12,7 @@
{
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType",
"type": "Microsoft.Network/availablePrivateEndpointTypes",
- "serviceName": "Microsoft.Provider/resourceType"
+ "resourceName": "Microsoft.Provider/resourceType"
}
]
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/BastionHostPut.json
index 4a6b7bf969c4..ae13163921f7 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/BastionHostPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/BastionHostPut.json
@@ -5,6 +5,7 @@
"resourceGroupName": "rg1",
"bastionHostName": "bastionhosttenant'",
"parameters": {
+ "location": "West US",
"properties": {
"ipConfigurations": [
{
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json
new file mode 100644
index 000000000000..20a055c2c1f6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-04-01",
+ "subscriptionId": "subid",
+ "location": "westus",
+ "parameters": {
+ "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "visible": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json
new file mode 100644
index 000000000000..bf14cf2cc546
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-04-01",
+ "subscriptionId": "subid",
+ "location": "westus",
+ "resourceGroupName": "rg1",
+ "parameters": {
+ "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "visible": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json
index 13ebafaba763..bc450e5456c2 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/ExpressRouteConnectionCreate.json
@@ -1,18 +1,18 @@
{
"parameters": {
- "expressRouteGatewayName": "expressRouteGatewayName",
+ "expressRouteGatewayName": "gateway-2",
"resourceGroupName": "resourceGroupName",
"api-version": "2019-04-01",
"subscriptionId": "subid",
"connectionName": "connectionName",
"putExpressRouteConnectionParameters": {
- "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
"name": "connectionName",
"properties": {
"routingWeight": 2,
"authorizationKey": "authorizationKey",
"expressRouteCircuitPeering": {
- "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
}
}
}
@@ -21,11 +21,11 @@
"200": {
"body": {
"name": "connectionName",
- "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
"properties": {
"provisioningState": "Provisioned",
"expressRouteCircuitPeering": {
- "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
},
"authorizationKey": "authorizationKey",
"routingWeight": 2
@@ -35,11 +35,11 @@
"201": {
"body": {
"name": "connectionName",
- "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
"properties": {
"provisioningState": "Provisioned",
"expressRouteCircuitPeering": {
- "id": "/subscriptions/subid2/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
},
"authorizationKey": "authorizationKey",
"routingWeight": 2
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json
index 73ca41d88602..51d8ca4af9c1 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnServerConfigurationPut.json
@@ -22,22 +22,6 @@
"pfsGroup": "PFS14"
}
],
- "p2SVpnServerConfigVpnClientRootCertificates": [
- {
- "name": "p2sVpnServerConfigVpnClientRootCert1",
- "properties": {
- "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
- }
- }
- ],
- "p2SVpnServerConfigVpnClientRevokedCertificates": [
- {
- "name": "p2sVpnServerConfigVpnClientRevokedCert1",
- "properties": {
- "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
- }
- }
- ],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
"p2SVpnServerConfigRadiusServerRootCertificates": [
@@ -47,14 +31,6 @@
"publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
}
}
- ],
- "p2SVpnServerConfigRadiusClientRootCertificates": [
- {
- "name": "p2sVpnServerConfigRadiusClientRootCert1",
- "properties": {
- "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
- }
- }
]
}
}
@@ -81,30 +57,6 @@
"pfsGroup": "PFS14"
}
],
- "p2SVpnServerConfigVpnClientRootCertificates": [
- {
- "name": "p2sVpnServerConfigVpnClientRootCert1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates"
- }
- ],
- "p2SVpnServerConfigVpnClientRevokedCertificates": [
- {
- "name": "p2sVpnServerConfigVpnClientRevokedCert1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
- }
- ],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
"p2SVpnServerConfigRadiusServerRootCertificates": [
@@ -118,18 +70,6 @@
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates"
}
- ],
- "p2SVpnServerConfigRadiusClientRootCertificates": [
- {
- "name": "p2sVpnServerConfigRadiusClientRootCert1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
- }
]
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations"
@@ -155,30 +95,6 @@
"pfsGroup": "PFS14"
}
],
- "p2SVpnServerConfigVpnClientRootCertificates": [
- {
- "name": "p2sVpnServerConfigVpnClientRootCert1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates"
- }
- ],
- "p2SVpnServerConfigVpnClientRevokedCertificates": [
- {
- "name": "p2sVpnServerConfigVpnClientRevokedCert1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
- }
- ],
"radiusServerAddress": "8.9.9.9",
"radiusServerSecret": "123_abc",
"p2SVpnServerConfigRadiusServerRootCertificates": [
@@ -192,18 +108,6 @@
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates"
}
- ],
- "p2SVpnServerConfigRadiusClientRootCertificates": [
- {
- "name": "p2sVpnServerConfigRadiusClientRootCert1",
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1",
- "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
- "properties": {
- "provisioningState": "Succeeded",
- "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
- },
- "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
- }
]
},
"type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations"
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json
index d7e6f6b87492..c51ed2e20d1b 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateEndpointCreateForManualApproval.json
@@ -5,6 +5,7 @@
"resourceGroupName": "rg1",
"privateEndpointName": "testPe",
"parameters": {
+ "location": "eastus2euap",
"properties": {
"manualPrivateLinkServiceConnections": [
{
@@ -28,7 +29,7 @@
"body": {
"name": "testPe",
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
- "location": "eastus",
+ "location": "eastus2euap",
"properties": {
"provisioningState": "Succeeded",
"privateLinkServiceConnections": [],
@@ -63,7 +64,7 @@
"body": {
"name": "testPe",
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
- "location": "eastus",
+ "location": "eastus2euap",
"properties": {
"provisioningState": "Succeeded",
"privateLinkServiceConnections": [
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json
index 49dcb96c21a1..09257d72567e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json
@@ -5,6 +5,7 @@
"resourceGroupName": "rg1",
"serviceName": "testPls",
"parameters": {
+ "location": "eastus2euap",
"properties": {
"visibility": {
"subscriptions": [
@@ -24,7 +25,7 @@
"fqdn2",
"fqdn3"
],
- "loadBalancerFrontendIPConfigurations": [
+ "loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
@@ -50,7 +51,7 @@
"body": {
"name": "testPls",
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
- "location": "eastus",
+ "location": "eastus2euap",
"properties": {
"provisioningState": "Succeeded",
"visibility": {
@@ -72,7 +73,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
- "loadBalancerFrontendIPConfigurations": [
+ "loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
@@ -102,7 +103,7 @@
"body": {
"name": "testPls",
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
- "location": "eastus",
+ "location": "eastus2euap",
"properties": {
"provisioningState": "Succeeded",
"visibility": {
@@ -124,7 +125,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
- "loadBalancerFrontendIPConfigurations": [
+ "loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json
index 38a081c87c82..c21831500d5e 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json
@@ -33,7 +33,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
- "loadBalancerFrontendIPConfigurations": [
+ "loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json
index 0ee3e3d62f5d..bdb19efe43c4 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json
@@ -30,7 +30,7 @@
"fqdn2"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
- "loadBalancerFrontendIPConfigurations": [
+ "loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1"
}
@@ -95,7 +95,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
- "loadBalancerFrontendIPConfigurations": [
+ "loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json
index ccab84e6fb09..f418c7d4ba0c 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json
@@ -33,7 +33,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
- "loadBalancerFrontendIPConfigurations": [
+ "loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1"
}
@@ -96,7 +96,7 @@
"fqdn2"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
- "loadBalancerFrontendIPConfigurations": [
+ "loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2"
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json
index c4094a353d7b..afcc70022124 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json
@@ -19,6 +19,19 @@
}
},
"responses": {
- "200": {}
+ "200": {
+ "body": {
+ "name": "testPlePeConnection",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ }
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json
index 7311ddb8658b..c11dfacdcf70 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PublicIpPrefixCreateDefaults.json
@@ -4,7 +4,15 @@
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"publicIpPrefixName": "test-ipprefix",
- "parameters": {}
+ "parameters": {
+ "location": "westus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "prefixLength": 30
+ }
+ }
},
"responses": {
"200": {
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json
index 4f8c786cef0a..7ee2202e9411 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/RouteFilterUpdate.json
@@ -7,20 +7,6 @@
"routeFilterParameters": {
"tags": {
"key1": "value1"
- },
- "properties": {
- "rules": [
- {
- "name": "ruleName",
- "properties": {
- "access": "Allow",
- "routeFilterRuleType": "Community",
- "communities": [
- "12076:5030"
- ]
- }
- }
- ]
}
}
},
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json
index c447e80d19bb..807ef0d89c20 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json
@@ -303,6 +303,87 @@
"nextLinkName": "nextLink"
}
}
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": {
+ "get": {
+ "operationId": "AvailablePrivateEndpointTypes_List",
+ "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "schema": {
+ "$ref": "#/definitions/AvailablePrivateEndpointTypesResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available PrivateEndpoint types": {
+ "$ref": "./examples/AvailablePrivateEndpointTypesGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": {
+ "get": {
+ "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup",
+ "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "schema": {
+ "$ref": "#/definitions/AvailablePrivateEndpointTypesResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get available PrivateEndpoint types in the resource group": {
+ "$ref": "./examples/AvailablePrivateEndpointTypesResourceGroupGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
}
},
"definitions": {
@@ -420,6 +501,44 @@
}
},
"description": "Response for the ListPrivateEndpoints API service call."
+ },
+ "AvailablePrivateEndpointTypesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AvailablePrivateEndpointType"
+ },
+ "description": "An array of available privateEndpoint type."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "An array of available PrivateEndpoint types."
+ },
+ "AvailablePrivateEndpointType": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the service and resource."
+ },
+ "id": {
+ "type": "string",
+ "description": "A unique identifier of the AvailablePrivateEndpoint Type resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "Resource type."
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "The name of the service and resource."
+ }
+ },
+ "description": "The information of an AvailablePrivateEndpointType."
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json
index 7743e662bedd..e8fa9661b772 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json
@@ -345,7 +345,10 @@
],
"responses": {
"200": {
- "description": "Update successful."
+ "description": "Update successful. The operation returns the resulting PrivateEndpointConnection resource",
+ "schema": {
+ "$ref": "#/definitions/PrivateEndpointConnection"
+ }
},
"default": {
"description": "Error",
@@ -422,6 +425,192 @@
"final-state-via": "location"
}
}
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": {
+ "post": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility",
+ "description": "Checks the subscription is visible to private link service",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest"
+ },
+ "description": "The request body of CheckPrivateLinkService API call."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns whether the subscription is visible to private link service.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkServiceVisibility"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Check private link service visibility": {
+ "$ref": "./examples/CheckPrivateLinkServiceVisibility.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": {
+ "post": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup",
+ "description": "Checks the subscription is visible to private link service",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest"
+ },
+ "description": "The request body of CheckPrivateLinkService API call."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns whether the subscription is visible to private link service.",
+ "schema": {
+ "$ref": "#/definitions/PrivateLinkServiceVisibility"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Check private link service visibility": {
+ "$ref": "./examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": {
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices",
+ "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.",
+ "schema": {
+ "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get list of private link service id that can be linked to a private end point with auto approved": {
+ "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": {
+ "get": {
+ "tags": [
+ "PrivateLinkServices"
+ ],
+ "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup",
+ "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.",
+ "schema": {
+ "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get list of private link service id that can be linked to a private end point with auto approved": {
+ "$ref": "./examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
}
},
"definitions": {
@@ -446,7 +635,7 @@
},
"PrivateLinkServiceProperties": {
"properties": {
- "loadBalancerFrontendIPConfigurations": {
+ "loadBalancerFrontendIpConfigurations": {
"type": "array",
"items": {
"$ref": "./loadBalancer.json#/definitions/FrontendIPConfiguration"
@@ -631,6 +820,50 @@
}
},
"description": "Response for the ListPrivateLinkService API service call."
+ },
+ "CheckPrivateLinkServiceVisibilityRequest": {
+ "properties": {
+ "privateLinkServiceAlias": {
+ "type": "string",
+ "description": "The alias of the private link service."
+ }
+ },
+ "description": "Request body of the CheckPrivateLinkServiceVisibility API service call."
+ },
+ "PrivateLinkServiceVisibility": {
+ "properties": {
+ "visible": {
+ "type": "boolean",
+ "description": "Private Link Service Visibility (True/False)."
+ }
+ },
+ "description": "Response for the CheckPrivateLinkServiceVisibility API service call."
+ },
+ "AutoApprovedPrivateLinkServicesResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutoApprovedPrivateLinkService"
+ },
+ "description": "An array of auto approved private link service."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "An array of private link service id that can be linked to a private end point with auto approved."
+ },
+ "AutoApprovedPrivateLinkService": {
+ "properties": {
+ "privateLinkService": {
+ "type": "string",
+ "description": "The id of the private link service resource."
+ }
+ },
+ "description": "The information of an AutoApprovedPrivateLinkService."
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json
index 0ddf701b4ae2..80d83143dc79 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json
@@ -1297,6 +1297,14 @@
"provisioningState": {
"type": "string",
"description": "The provisioning state of the resource."
+ },
+ "privateEndpointNetworkPolicies": {
+ "type": "string",
+ "description": "Enable or Disable private end point on the subnet."
+ },
+ "privateLinkServiceNetworkPolicies": {
+ "type": "string",
+ "description": "Enable or Disable private link service on the subnet."
}
},
"description": "Properties of the subnet."
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json
new file mode 100644
index 000000000000..2de50c068afa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationGateway.json
@@ -0,0 +1,2668 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": {
+ "delete": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_Delete",
+ "x-ms-examples": {
+ "Delete ApplicationGateway": {
+ "$ref": "./examples/ApplicationGatewayDelete.json"
+ }
+ },
+ "description": "Deletes the specified application gateway.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist."
+ },
+ "200": {
+ "description": "Delete successful."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_Get",
+ "x-ms-examples": {
+ "Get ApplicationGateway": {
+ "$ref": "./examples/ApplicationGatewayGet.json"
+ }
+ },
+ "description": "Gets the specified application gateway.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns an ApplicationGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_CreateOrUpdate",
+ "description": "Creates or updates the specified application gateway.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application gateway."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ },
+ "description": "Parameters supplied to the create or update application gateway operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting ApplicationGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting ApplicationGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Application Gateway": {
+ "$ref": "./examples/ApplicationGatewayCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_UpdateTags",
+ "x-ms-examples": {
+ "Update Application Gateway tags": {
+ "$ref": "./examples/ApplicationGatewayUpdateTags.json"
+ }
+ },
+ "description": "Updates the specified application gateway tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application gateway."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update application gateway tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ApplicationGateway resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGateway"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_List",
+ "x-ms-examples": {
+ "Lists all application gateways in a resource group": {
+ "$ref": "./examples/ApplicationGatewayList.json"
+ }
+ },
+ "description": "Lists all application gateways in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of ApplicationGateway resources.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAll",
+ "x-ms-examples": {
+ "Lists all application gateways in a subscription": {
+ "$ref": "./examples/ApplicationGatewayListAll.json"
+ }
+ },
+ "description": "Gets all the application gateways in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of ApplicationGateway resources.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": {
+ "post": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_Start",
+ "x-ms-examples": {
+ "Start Application Gateway": {
+ "$ref": "./examples/ApplicationGatewayStart.json"
+ }
+ },
+ "description": "Starts the specified application gateway.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation starts the ApplicationGateway resource."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": {
+ "post": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_Stop",
+ "x-ms-examples": {
+ "Stop Application Gateway": {
+ "$ref": "./examples/ApplicationGatewayStop.json"
+ }
+ },
+ "description": "Stops the specified application gateway in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation stops the ApplicationGateway resource."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": {
+ "post": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_BackendHealth",
+ "description": "Gets the backend health of the specified application gateway in a resource group.",
+ "x-ms-examples": {
+ "Get Backend Health": {
+ "$ref": "./examples/ApplicationGatewayBackendHealthGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands BackendAddressPool and BackendHttpSettings referenced in backend health."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealth"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": {
+ "post": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_BackendHealthOnDemand",
+ "description": "Gets the backend health for given combination of backend pool and http setting of the specified application gateway in a resource group.",
+ "x-ms-examples": {
+ "Test Backend Health": {
+ "$ref": "./examples/ApplicationGatewayBackendHealthTest.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationGatewayName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application gateway."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Expands BackendAddressPool and BackendHttpSettings referenced in backend health."
+ },
+ {
+ "name": "probeRequest",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayOnDemandProbe"
+ },
+ "description": "Request body for on-demand test probe operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthOnDemand"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableServerVariables",
+ "x-ms-examples": {
+ "Get Available Server Variables": {
+ "$ref": "./examples/ApplicationGatewayAvailableServerVariablesGet.json"
+ }
+ },
+ "description": "Lists all available server variables.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of all available server variables.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableServerVariablesResult"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableRequestHeaders",
+ "x-ms-examples": {
+ "Get Available Request Headers": {
+ "$ref": "./examples/ApplicationGatewayAvailableRequestHeadersGet.json"
+ }
+ },
+ "description": "Lists all available request headers.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of all available request headers.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableRequestHeadersResult"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableResponseHeaders",
+ "x-ms-examples": {
+ "Get Available Response Headers": {
+ "$ref": "./examples/ApplicationGatewayAvailableResponseHeadersGet.json"
+ }
+ },
+ "description": "Lists all available response headers.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of all available response headers.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableResponseHeadersResult"
+ }
+ },
+ "default": {
+ "description": "Unexpected error.",
+ "schema": {
+ "$ref": "./network.json#/definitions/Error"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableWafRuleSets",
+ "x-ms-examples": {
+ "Get Available Waf Rule Sets": {
+ "$ref": "./examples/ApplicationGatewayAvailableWafRuleSetsGet.json"
+ }
+ },
+ "description": "Lists all available web application firewall rule sets.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of all available web application firewall rule sets.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableSslOptions",
+ "x-ms-examples": {
+ "Get Available Ssl Options": {
+ "$ref": "./examples/ApplicationGatewayAvailableSslOptionsGet.json"
+ }
+ },
+ "description": "Lists available Ssl options for configuring Ssl policy.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns all available Ssl options for configuring Ssl policy.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableSslOptions"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_ListAvailableSslPredefinedPolicies",
+ "x-ms-examples": {
+ "Get Available Ssl Predefined Policies": {
+ "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "description": "Lists all SSL predefined policies for configuring Ssl policy.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a lists of all Ssl predefined policies for configuring Ssl policy.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": {
+ "get": {
+ "tags": [
+ "ApplicationGateways"
+ ],
+ "operationId": "ApplicationGateways_GetSslPredefinedPolicy",
+ "x-ms-examples": {
+ "Get Available Ssl Predefined Policy by name": {
+ "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json"
+ }
+ },
+ "description": "Gets Ssl predefined policy with the specified policy name.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "predefinedPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of Ssl predefined policy."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a Ssl predefined policy with the specified policy name.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicy"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ApplicationGatewayOnDemandProbe": {
+ "properties": {
+ "protocol": {
+ "$ref": "#/definitions/ApplicationGatewayProtocol",
+ "description": "The protocol used for the probe."
+ },
+ "host": {
+ "type": "string",
+ "description": "Host name to send the probe to."
+ },
+ "path": {
+ "type": "string",
+ "description": "Relative path of probe. Valid path starts from '/'. Probe is sent to ://:."
+ },
+ "timeout": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds."
+ },
+ "pickHostNameFromBackendHttpSettings": {
+ "type": "boolean",
+ "description": "Whether the host header should be picked from the backend http settings. Default value is false."
+ },
+ "match": {
+ "$ref": "#/definitions/ApplicationGatewayProbeHealthResponseMatch",
+ "description": "Criterion for classifying a healthy probe response."
+ },
+ "backendPoolName": {
+ "type": "string",
+ "description": "Name of backend pool of application gateway to which probe request will be sent."
+ },
+ "backendHttpSettingName": {
+ "type": "string",
+ "description": "Name of backend http setting of application gateway to be used for test probe."
+ }
+ },
+ "description": "Details of on demand test probe request."
+ },
+ "ApplicationGatewayBackendHealthOnDemand": {
+ "properties": {
+ "backendAddressPool": {
+ "$ref": "#/definitions/ApplicationGatewayBackendAddressPool",
+ "description": "Reference of an ApplicationGatewayBackendAddressPool resource."
+ },
+ "backendHealthHttpSettings": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings",
+ "description": "Application gateway BackendHealthHttp settings."
+ }
+ },
+ "description": "Result of on demand test probe."
+ },
+ "ApplicationGatewayBackendHealth": {
+ "properties": {
+ "backendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthPool"
+ },
+ "description": "A list of ApplicationGatewayBackendHealthPool resources."
+ }
+ },
+ "description": "Response for ApplicationGatewayBackendHealth API service call."
+ },
+ "ApplicationGatewayBackendHealthPool": {
+ "properties": {
+ "backendAddressPool": {
+ "$ref": "#/definitions/ApplicationGatewayBackendAddressPool",
+ "description": "Reference of an ApplicationGatewayBackendAddressPool resource."
+ },
+ "backendHttpSettingsCollection": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings"
+ },
+ "description": "List of ApplicationGatewayBackendHealthHttpSettings resources."
+ }
+ },
+ "description": "Application gateway BackendHealth pool."
+ },
+ "ApplicationGatewayBackendHealthHttpSettings": {
+ "properties": {
+ "backendHttpSettings": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings",
+ "description": "Reference of an ApplicationGatewayBackendHttpSettings resource."
+ },
+ "servers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHealthServer"
+ },
+ "description": "List of ApplicationGatewayBackendHealthServer resources."
+ }
+ },
+ "description": "Application gateway BackendHealthHttp settings."
+ },
+ "ApplicationGatewayBackendHealthServer": {
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "IP address or FQDN of backend server."
+ },
+ "ipConfiguration": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration",
+ "description": "Reference of IP configuration of backend server."
+ },
+ "health": {
+ "type": "string",
+ "description": "Health of backend server.",
+ "enum": [
+ "Unknown",
+ "Up",
+ "Down",
+ "Partial",
+ "Draining"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayBackendHealthServerHealth",
+ "modelAsString": true
+ }
+ },
+ "healthProbeLog": {
+ "type": "string",
+ "description": "Health Probe Log."
+ }
+ },
+ "description": "Application gateway backendhealth http settings."
+ },
+ "ApplicationGatewaySku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of an application gateway SKU.",
+ "enum": [
+ "Standard_Small",
+ "Standard_Medium",
+ "Standard_Large",
+ "WAF_Medium",
+ "WAF_Large",
+ "Standard_v2",
+ "WAF_v2"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySkuName",
+ "modelAsString": true
+ }
+ },
+ "tier": {
+ "type": "string",
+ "description": "Tier of an application gateway.",
+ "enum": [
+ "Standard",
+ "WAF",
+ "Standard_v2",
+ "WAF_v2"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayTier",
+ "modelAsString": true
+ }
+ },
+ "capacity": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Capacity (instance count) of an application gateway."
+ }
+ },
+ "description": "SKU of an application gateway."
+ },
+ "ApplicationGatewaySslPolicy": {
+ "properties": {
+ "disabledSslProtocols": {
+ "type": "array",
+ "description": "Ssl protocols to be disabled on application gateway.",
+ "items": {
+ "type": "string",
+ "$ref": "#/definitions/ProtocolsEnum"
+ }
+ },
+ "policyType": {
+ "type": "string",
+ "description": "Type of Ssl Policy.",
+ "enum": [
+ "Predefined",
+ "Custom"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySslPolicyType",
+ "modelAsString": true
+ }
+ },
+ "policyName": {
+ "$ref": "#/definitions/PolicyNameEnum",
+ "description": "Name of Ssl predefined policy."
+ },
+ "cipherSuites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CipherSuitesEnum"
+ },
+ "description": "Ssl cipher suites to be enabled in the specified order to application gateway."
+ },
+ "minProtocolVersion": {
+ "$ref": "#/definitions/ProtocolsEnum",
+ "description": "Minimum version of Ssl protocol to be supported on application gateway."
+ }
+ },
+ "description": "Application Gateway Ssl policy."
+ },
+ "ApplicationGatewayIPConfigurationPropertiesFormat": {
+ "properties": {
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the subnet resource. A subnet from where application gateway gets its private address."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the application gateway subnet resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of IP configuration of an application gateway."
+ },
+ "ApplicationGatewayIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayIPConfigurationPropertiesFormat",
+ "description": "Properties of the application gateway IP configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the IP configuration that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed."
+ },
+ "ApplicationGatewayAuthenticationCertificatePropertiesFormat": {
+ "properties": {
+ "data": {
+ "type": "string",
+ "description": "Certificate public data."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the authentication certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Authentication certificates properties of an application gateway."
+ },
+ "ApplicationGatewayAuthenticationCertificate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesFormat",
+ "description": "Properties of the application gateway authentication certificate."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the authentication certificate that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Authentication certificates of an application gateway."
+ },
+ "ApplicationGatewayTrustedRootCertificatePropertiesFormat": {
+ "properties": {
+ "data": {
+ "type": "string",
+ "description": "Certificate public data."
+ },
+ "keyVaultSecretId": {
+ "type": "string",
+ "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the trusted root certificate resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Trusted Root certificates properties of an application gateway."
+ },
+ "ApplicationGatewayTrustedRootCertificate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat",
+ "description": "Properties of the application gateway trusted root certificate."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the trusted root certificate that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Trusted Root certificates of an application gateway."
+ },
+ "ApplicationGatewaySslCertificatePropertiesFormat": {
+ "properties": {
+ "data": {
+ "type": "string",
+ "description": "Base-64 encoded pfx certificate. Only applicable in PUT Request."
+ },
+ "password": {
+ "type": "string",
+ "description": "Password for the pfx file specified in data. Only applicable in PUT request."
+ },
+ "publicCertData": {
+ "type": "string",
+ "description": "Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request."
+ },
+ "keyVaultSecretId": {
+ "type": "string",
+ "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the SSL certificate resource Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of SSL certificates of an application gateway."
+ },
+ "ApplicationGatewaySslCertificate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat",
+ "description": "Properties of the application gateway SSL certificate."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the SSL certificate that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "SSL certificates of an application gateway."
+ },
+ "ApplicationGatewayFrontendIPConfigurationPropertiesFormat": {
+ "properties": {
+ "privateIPAddress": {
+ "type": "string",
+ "description": "PrivateIPAddress of the network interface IP Configuration."
+ },
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "The private IP address allocation method."
+ },
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the subnet resource."
+ },
+ "publicIPAddress": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the PublicIP resource."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of Frontend IP configuration of an application gateway."
+ },
+ "ApplicationGatewayFrontendIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat",
+ "description": "Properties of the application gateway frontend IP configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the frontend IP configuration that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Frontend IP configuration of an application gateway."
+ },
+ "ApplicationGatewayFrontendPortPropertiesFormat": {
+ "properties": {
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Frontend port."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the frontend port resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of Frontend port of an application gateway."
+ },
+ "ApplicationGatewayFrontendPort": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat",
+ "description": "Properties of the application gateway frontend port."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the frontend port that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Frontend port of an application gateway."
+ },
+ "ApplicationGatewayBackendAddress": {
+ "properties": {
+ "fqdn": {
+ "type": "string",
+ "description": "Fully qualified domain name (FQDN)."
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "IP address."
+ }
+ },
+ "description": "Backend address of an application gateway."
+ },
+ "ApplicationGatewayBackendAddressPoolPropertiesFormat": {
+ "properties": {
+ "backendIPConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "./networkInterface.json#/definitions/NetworkInterfaceIPConfiguration"
+ },
+ "description": "Collection of references to IPs defined in network interfaces."
+ },
+ "backendAddresses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendAddress"
+ },
+ "description": "Backend addresses."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the backend address pool resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of Backend Address Pool of an application gateway."
+ },
+ "ApplicationGatewayBackendAddressPool": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayBackendAddressPoolPropertiesFormat",
+ "description": "Properties of the application gateway backend address pool."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the backend address pool that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Backend Address Pool of an application gateway."
+ },
+ "ApplicationGatewayBackendHttpSettingsPropertiesFormat": {
+ "properties": {
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The destination port on the backend."
+ },
+ "protocol": {
+ "$ref": "#/definitions/ApplicationGatewayProtocol",
+ "description": "The protocol used to communicate with the backend."
+ },
+ "cookieBasedAffinity": {
+ "type": "string",
+ "description": "Cookie based affinity.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayCookieBasedAffinity",
+ "modelAsString": true
+ }
+ },
+ "requestTimeout": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds."
+ },
+ "probe": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Probe resource of an application gateway."
+ },
+ "authenticationCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Array of references to application gateway authentication certificates."
+ },
+ "trustedRootCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Array of references to application gateway trusted root certificates."
+ },
+ "connectionDraining": {
+ "$ref": "#/definitions/ApplicationGatewayConnectionDraining",
+ "description": "Connection draining of the backend http settings resource."
+ },
+ "hostName": {
+ "type": "string",
+ "description": "Host header to be sent to the backend servers."
+ },
+ "pickHostNameFromBackendAddress": {
+ "type": "boolean",
+ "description": "Whether to pick host header should be picked from the host name of the backend server. Default value is false."
+ },
+ "affinityCookieName": {
+ "type": "string",
+ "description": "Cookie name to use for the affinity cookie."
+ },
+ "probeEnabled": {
+ "type": "boolean",
+ "description": "Whether the probe is enabled. Default value is false."
+ },
+ "path": {
+ "type": "string",
+ "description": "Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of Backend address pool settings of an application gateway."
+ },
+ "ApplicationGatewayBackendHttpSettings": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat",
+ "description": "Properties of the application gateway backend HTTP settings."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the backend http settings that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Backend address pool settings of an application gateway."
+ },
+ "ApplicationGatewayHttpListenerPropertiesFormat": {
+ "properties": {
+ "frontendIPConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Frontend IP configuration resource of an application gateway."
+ },
+ "frontendPort": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Frontend port resource of an application gateway."
+ },
+ "protocol": {
+ "$ref": "#/definitions/ApplicationGatewayProtocol",
+ "description": "Protocol of the HTTP listener."
+ },
+ "hostName": {
+ "type": "string",
+ "description": "Host name of HTTP listener."
+ },
+ "sslCertificate": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "SSL certificate resource of an application gateway."
+ },
+ "requireServerNameIndication": {
+ "type": "boolean",
+ "description": "Applicable only if protocol is https. Enables SNI for multi-hosting."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the HTTP listener resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ },
+ "customErrorConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayCustomError"
+ },
+ "description": "Custom error configurations of the HTTP listener."
+ }
+ },
+ "description": "Properties of HTTP listener of an application gateway."
+ },
+ "ApplicationGatewayHttpListener": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat",
+ "description": "Properties of the application gateway HTTP listener."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the HTTP listener that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Http listener of an application gateway."
+ },
+ "ApplicationGatewayPathRulePropertiesFormat": {
+ "properties": {
+ "paths": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Path rules of URL path map."
+ },
+ "backendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Backend address pool resource of URL path map path rule."
+ },
+ "backendHttpSettings": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Backend http settings resource of URL path map path rule."
+ },
+ "redirectConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Redirect configuration resource of URL path map path rule."
+ },
+ "rewriteRuleSet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Rewrite rule set resource of URL path map path rule."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Path rule of URL path map resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of path rule of an application gateway."
+ },
+ "ApplicationGatewayPathRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayPathRulePropertiesFormat",
+ "description": "Properties of the application gateway path rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the path rule that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Path rule of URL path map of an application gateway."
+ },
+ "ApplicationGatewayProbePropertiesFormat": {
+ "properties": {
+ "protocol": {
+ "$ref": "#/definitions/ApplicationGatewayProtocol",
+ "description": "The protocol used for the probe."
+ },
+ "host": {
+ "type": "string",
+ "description": "Host name to send the probe to."
+ },
+ "path": {
+ "type": "string",
+ "description": "Relative path of probe. Valid path starts from '/'. Probe is sent to ://:."
+ },
+ "interval": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds."
+ },
+ "timeout": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds."
+ },
+ "unhealthyThreshold": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20."
+ },
+ "pickHostNameFromBackendHttpSettings": {
+ "type": "boolean",
+ "description": "Whether the host header should be picked from the backend http settings. Default value is false."
+ },
+ "minServers": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum number of servers that are always marked healthy. Default value is 0."
+ },
+ "match": {
+ "$ref": "#/definitions/ApplicationGatewayProbeHealthResponseMatch",
+ "description": "Criterion for classifying a healthy probe response."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ },
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only.",
+ "minimum": 1,
+ "maximum": 65535
+ }
+ },
+ "description": "Properties of probe of an application gateway."
+ },
+ "ApplicationGatewayProbeHealthResponseMatch": {
+ "properties": {
+ "body": {
+ "type": "string",
+ "description": "Body that must be contained in the health response. Default value is empty."
+ },
+ "statusCodes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399."
+ }
+ },
+ "description": "Application gateway probe health response match."
+ },
+ "ApplicationGatewayProbe": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayProbePropertiesFormat",
+ "description": "Properties of the application gateway probe."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the probe that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Probe of the application gateway."
+ },
+ "ApplicationGatewayRequestRoutingRulePropertiesFormat": {
+ "properties": {
+ "ruleType": {
+ "type": "string",
+ "description": "Rule type.",
+ "enum": [
+ "Basic",
+ "PathBasedRouting"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayRequestRoutingRuleType",
+ "modelAsString": true
+ }
+ },
+ "backendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Backend address pool resource of the application gateway."
+ },
+ "backendHttpSettings": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Backend http settings resource of the application gateway."
+ },
+ "httpListener": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Http listener resource of the application gateway."
+ },
+ "urlPathMap": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "URL path map resource of the application gateway."
+ },
+ "rewriteRuleSet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Rewrite Rule Set resource in Basic rule of the application gateway."
+ },
+ "redirectConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Redirect configuration resource of the application gateway."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the request routing rule resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of request routing rule of the application gateway."
+ },
+ "ApplicationGatewayRequestRoutingRule": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat",
+ "description": "Properties of the application gateway request routing rule."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the request routing rule that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Request routing rule of an application gateway."
+ },
+ "ApplicationGatewayRewriteRuleSet": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat",
+ "description": "Properties of the application gateway rewrite rule set."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the rewrite rule set that is unique within an Application Gateway."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Rewrite rule set of an application gateway."
+ },
+ "ApplicationGatewayRewriteRuleSetPropertiesFormat": {
+ "properties": {
+ "rewriteRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRewriteRule"
+ },
+ "description": "Rewrite rules in the rewrite rule set."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Provisioning state of the rewrite rule set resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of rewrite rule set of the application gateway."
+ },
+ "ApplicationGatewayRewriteRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the rewrite rule that is unique within an Application Gateway."
+ },
+ "ruleSequence": {
+ "type": "integer",
+ "description": "Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet."
+ },
+ "conditions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRewriteRuleCondition"
+ },
+ "description": "Conditions based on which the action set execution will be evaluated."
+ },
+ "actionSet": {
+ "type": "object",
+ "$ref": "#/definitions/ApplicationGatewayRewriteRuleActionSet",
+ "description": "Set of actions to be done as part of the rewrite Rule."
+ }
+ },
+ "description": "Rewrite rule of an application gateway."
+ },
+ "ApplicationGatewayRewriteRuleCondition": {
+ "properties": {
+ "variable": {
+ "type": "string",
+ "description": "The condition parameter of the RewriteRuleCondition."
+ },
+ "pattern": {
+ "type": "string",
+ "description": "The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition."
+ },
+ "ignoreCase": {
+ "type": "boolean",
+ "description": "Setting this paramter to truth value with force the pattern to do a case in-sensitive comparison."
+ },
+ "negate": {
+ "type": "boolean",
+ "description": "Setting this value as truth will force to check the negation of the condition given by the user."
+ }
+ },
+ "description": "Set of conditions in the Rewrite Rule in Application Gateway."
+ },
+ "ApplicationGatewayRewriteRuleActionSet": {
+ "properties": {
+ "requestHeaderConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration"
+ },
+ "description": "Request Header Actions in the Action Set."
+ },
+ "responseHeaderConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration"
+ },
+ "description": "Response Header Actions in the Action Set."
+ }
+ },
+ "description": "Set of actions in the Rewrite Rule in Application Gateway."
+ },
+ "ApplicationGatewayHeaderConfiguration": {
+ "properties": {
+ "headerName": {
+ "type": "string",
+ "description": "Header name of the header configuration."
+ },
+ "headerValue": {
+ "type": "string",
+ "description": "Header value of the header configuration."
+ }
+ },
+ "description": "Header configuration of the Actions set in Application Gateway."
+ },
+ "ApplicationGatewayRedirectConfigurationPropertiesFormat": {
+ "properties": {
+ "redirectType": {
+ "type": "string",
+ "$ref": "#/definitions/RedirectTypeEnum",
+ "description": "HTTP redirection type."
+ },
+ "targetListener": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference to a listener to redirect the request to."
+ },
+ "targetUrl": {
+ "type": "string",
+ "description": "Url to redirect the request to."
+ },
+ "includePath": {
+ "type": "boolean",
+ "description": "Include path in the redirected url."
+ },
+ "includeQueryString": {
+ "type": "boolean",
+ "description": "Include query string in the redirected url."
+ },
+ "requestRoutingRules": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Request routing specifying redirect configuration."
+ },
+ "urlPathMaps": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Url path maps specifying default redirect configuration."
+ },
+ "pathRules": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "Path rules specifying redirect configuration."
+ }
+ },
+ "description": "Properties of redirect configuration of the application gateway."
+ },
+ "ApplicationGatewayRedirectConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat",
+ "description": "Properties of the application gateway redirect configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the redirect configuration that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Redirect configuration of an application gateway."
+ },
+ "ApplicationGatewayPropertiesFormat": {
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/ApplicationGatewaySku",
+ "description": "SKU of the application gateway resource."
+ },
+ "sslPolicy": {
+ "$ref": "#/definitions/ApplicationGatewaySslPolicy",
+ "description": "SSL policy of the application gateway resource."
+ },
+ "operationalState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Operational state of the application gateway resource.",
+ "enum": [
+ "Stopped",
+ "Starting",
+ "Running",
+ "Stopping"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayOperationalState",
+ "modelAsString": true
+ }
+ },
+ "gatewayIPConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayIPConfiguration"
+ },
+ "description": "Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "authenticationCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayAuthenticationCertificate"
+ },
+ "description": "Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "trustedRootCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayTrustedRootCertificate"
+ },
+ "description": "Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "sslCertificates": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewaySslCertificate"
+ },
+ "description": "SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "frontendIPConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFrontendIPConfiguration"
+ },
+ "description": "Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "frontendPorts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFrontendPort"
+ },
+ "description": "Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "probes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayProbe"
+ },
+ "description": "Probes of the application gateway resource."
+ },
+ "backendAddressPools": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendAddressPool"
+ },
+ "description": "Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "backendHttpSettingsCollection": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings"
+ },
+ "description": "Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "httpListeners": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayHttpListener"
+ },
+ "description": "Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "urlPathMaps": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayUrlPathMap"
+ },
+ "description": "URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "requestRoutingRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRequestRoutingRule"
+ },
+ "description": "Request routing rules of the application gateway resource."
+ },
+ "rewriteRuleSets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRewriteRuleSet"
+ },
+ "description": "Rewrite rules for the application gateway resource."
+ },
+ "redirectConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayRedirectConfiguration"
+ },
+ "description": "Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ },
+ "webApplicationFirewallConfiguration": {
+ "$ref": "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration",
+ "description": "Web application firewall configuration."
+ },
+ "firewallPolicy": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the FirewallPolicy resource."
+ },
+ "enableHttp2": {
+ "type": "boolean",
+ "description": "Whether HTTP2 is enabled on the application gateway resource."
+ },
+ "enableFips": {
+ "type": "boolean",
+ "description": "Whether FIPS is enabled on the application gateway resource."
+ },
+ "autoscaleConfiguration": {
+ "$ref": "#/definitions/ApplicationGatewayAutoscaleConfiguration",
+ "description": "Autoscale Configuration."
+ },
+ "resourceGuid": {
+ "type": "string",
+ "description": "Resource GUID property of the application gateway resource."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the application gateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ },
+ "customErrorConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayCustomError"
+ },
+ "description": "Custom error configurations of the application gateway resource."
+ }
+ },
+ "description": "Properties of the application gateway."
+ },
+ "ApplicationGateway": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayPropertiesFormat",
+ "description": "Properties of the application gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of availability zones denoting where the resource needs to come from."
+ },
+ "identity": {
+ "$ref": "./network.json#/definitions/ManagedServiceIdentity",
+ "description": "The identity of the application gateway, if configured."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Application gateway resource."
+ },
+ "ApplicationGatewayListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGateway"
+ },
+ "description": "List of an application gateways in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListApplicationGateways API service call."
+ },
+ "ApplicationGatewayUrlPathMapPropertiesFormat": {
+ "properties": {
+ "defaultBackendAddressPool": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Default backend address pool resource of URL path map."
+ },
+ "defaultBackendHttpSettings": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Default backend http settings resource of URL path map."
+ },
+ "defaultRewriteRuleSet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Default Rewrite rule set resource of URL path map."
+ },
+ "defaultRedirectConfiguration": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Default redirect configuration resource of URL path map."
+ },
+ "pathRules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayPathRule"
+ },
+ "description": "Path rule of URL path map resource."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the backend http settings resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Properties of UrlPathMap of the application gateway."
+ },
+ "ApplicationGatewayUrlPathMap": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat",
+ "description": "Properties of the application gateway URL path map."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the URL path map that is unique within an Application Gateway."
+ },
+ "etag": {
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the resource."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "UrlPathMaps give a url path to the backend mapping information for PathBasedRouting."
+ },
+ "ApplicationGatewayWebApplicationFirewallConfiguration": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether the web application firewall is enabled or not."
+ },
+ "firewallMode": {
+ "type": "string",
+ "description": "Web application firewall mode.",
+ "enum": [
+ "Detection",
+ "Prevention"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayFirewallMode",
+ "modelAsString": true
+ }
+ },
+ "ruleSetType": {
+ "type": "string",
+ "description": "The type of the web application firewall rule set. Possible values are: 'OWASP'."
+ },
+ "ruleSetVersion": {
+ "type": "string",
+ "description": "The version of the rule set type."
+ },
+ "disabledRuleGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup"
+ },
+ "description": "The disabled rule groups."
+ },
+ "requestBodyCheck": {
+ "type": "boolean",
+ "description": "Whether allow WAF to check request Body."
+ },
+ "maxRequestBodySize": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 128,
+ "exclusiveMaximum": false,
+ "minimum": 8,
+ "exclusiveMinimum": false,
+ "description": "Maximum request body size for WAF."
+ },
+ "maxRequestBodySizeInKb": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 128,
+ "exclusiveMaximum": false,
+ "minimum": 8,
+ "exclusiveMinimum": false,
+ "description": "Maximum request body size in Kb for WAF."
+ },
+ "fileUploadLimitInMb": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "exclusiveMinimum": false,
+ "description": "Maximum file upload size in Mb for WAF."
+ },
+ "exclusions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallExclusion"
+ },
+ "description": "The exclusion list."
+ }
+ },
+ "required": [
+ "enabled",
+ "firewallMode",
+ "ruleSetType",
+ "ruleSetVersion"
+ ],
+ "description": "Application gateway web application firewall configuration."
+ },
+ "ApplicationGatewayAutoscaleConfiguration": {
+ "properties": {
+ "minCapacity": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "exclusiveMinimum": false,
+ "description": "Lower bound on number of Application Gateway capacity."
+ },
+ "maxCapacity": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 2,
+ "exclusiveMinimum": false,
+ "description": "Upper bound on number of Application Gateway capacity."
+ }
+ },
+ "required": [
+ "minCapacity"
+ ],
+ "description": "Application Gateway autoscale configuration."
+ },
+ "ApplicationGatewayConnectionDraining": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Whether connection draining is enabled or not."
+ },
+ "drainTimeoutInSec": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 3600,
+ "exclusiveMaximum": false,
+ "minimum": 1,
+ "exclusiveMinimum": false,
+ "description": "The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds."
+ }
+ },
+ "required": [
+ "enabled",
+ "drainTimeoutInSec"
+ ],
+ "description": "Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration."
+ },
+ "ApplicationGatewayFirewallDisabledRuleGroup": {
+ "properties": {
+ "ruleGroupName": {
+ "type": "string",
+ "description": "The name of the rule group that will be disabled."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "type": "integer",
+ "format": "int32",
+ "x-nullable": false
+ },
+ "description": "The list of rules that will be disabled. If null, all rules of the rule group will be disabled."
+ }
+ },
+ "required": [
+ "ruleGroupName"
+ ],
+ "description": "Allows to disable rules within a rule group or an entire rule group."
+ },
+ "ApplicationGatewayAvailableServerVariablesResult": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Response for ApplicationGatewayAvailableServerVariables API service call."
+ },
+ "ApplicationGatewayAvailableRequestHeadersResult": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Response for ApplicationGatewayAvailableRequestHeaders API service call."
+ },
+ "ApplicationGatewayAvailableResponseHeadersResult": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Response for ApplicationGatewayAvailableResponseHeaders API service call."
+ },
+ "ApplicationGatewayFirewallExclusion": {
+ "properties": {
+ "matchVariable": {
+ "type": "string",
+ "description": "The variable to be excluded."
+ },
+ "selectorMatchOperator": {
+ "type": "string",
+ "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to."
+ },
+ "selector": {
+ "type": "string",
+ "description": "When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to."
+ }
+ },
+ "required": [
+ "matchVariable",
+ "selectorMatchOperator",
+ "selector"
+ ],
+ "description": "Allow to exclude some variable satisfy the condition for the WAF check."
+ },
+ "ApplicationGatewayAvailableWafRuleSetsResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallRuleSet"
+ },
+ "description": "The list of application gateway rule sets."
+ }
+ },
+ "description": "Response for ApplicationGatewayAvailableWafRuleSets API service call."
+ },
+ "ApplicationGatewayFirewallRuleSet": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat",
+ "description": "Properties of the application gateway firewall rule set."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "A web application firewall rule set."
+ },
+ "ApplicationGatewayFirewallRuleSetPropertiesFormat": {
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "description": "The provisioning state of the web application firewall rule set."
+ },
+ "ruleSetType": {
+ "type": "string",
+ "description": "The type of the web application firewall rule set."
+ },
+ "ruleSetVersion": {
+ "type": "string",
+ "description": "The version of the web application firewall rule set type."
+ },
+ "ruleGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallRuleGroup"
+ },
+ "description": "The rule groups of the web application firewall rule set."
+ }
+ },
+ "required": [
+ "ruleSetType",
+ "ruleSetVersion",
+ "ruleGroups"
+ ],
+ "description": "Properties of the web application firewall rule set."
+ },
+ "ApplicationGatewayFirewallRuleGroup": {
+ "properties": {
+ "ruleGroupName": {
+ "type": "string",
+ "description": "The name of the web application firewall rule group."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the web application firewall rule group."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewayFirewallRule"
+ },
+ "description": "The rules of the web application firewall rule group."
+ }
+ },
+ "required": [
+ "ruleGroupName",
+ "rules"
+ ],
+ "description": "A web application firewall rule group."
+ },
+ "ApplicationGatewayFirewallRule": {
+ "properties": {
+ "ruleId": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The identifier of the web application firewall rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description of the web application firewall rule."
+ }
+ },
+ "required": [
+ "ruleId"
+ ],
+ "description": "A web application firewall rule."
+ },
+ "ApplicationGatewayAvailableSslOptions": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat",
+ "description": "Properties of the application gateway available SSL options."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Response for ApplicationGatewayAvailableSslOptions API service call."
+ },
+ "ApplicationGatewayAvailableSslOptionsPropertiesFormat": {
+ "properties": {
+ "predefinedPolicies": {
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "List of available Ssl predefined policy."
+ },
+ "defaultPolicy": {
+ "$ref": "#/definitions/PolicyNameEnum",
+ "description": "Name of the Ssl predefined policy applied by default to application gateway."
+ },
+ "availableCipherSuites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CipherSuitesEnum"
+ },
+ "description": "List of available Ssl cipher suites."
+ },
+ "availableProtocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProtocolsEnum"
+ },
+ "description": "List of available Ssl protocols."
+ }
+ },
+ "description": "Properties of ApplicationGatewayAvailableSslOptions."
+ },
+ "ApplicationGatewayAvailableSslPredefinedPolicies": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicy"
+ },
+ "description": "List of available Ssl predefined policy."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ApplicationGatewayAvailableSslOptions API service call."
+ },
+ "ApplicationGatewaySslPredefinedPolicy": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the Ssl predefined policy."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat",
+ "description": "Properties of the application gateway SSL predefined policy."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "An Ssl predefined policy."
+ },
+ "ApplicationGatewaySslPredefinedPolicyPropertiesFormat": {
+ "properties": {
+ "cipherSuites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CipherSuitesEnum"
+ },
+ "description": "Ssl cipher suites to be enabled in the specified order for application gateway."
+ },
+ "minProtocolVersion": {
+ "$ref": "#/definitions/ProtocolsEnum",
+ "description": "Minimum version of Ssl protocol to be supported on application gateway."
+ }
+ },
+ "description": "Properties of ApplicationGatewaySslPredefinedPolicy."
+ },
+ "ApplicationGatewayCustomError": {
+ "properties": {
+ "statusCode": {
+ "type": "string",
+ "description": "Status code of the application gateway customer error.",
+ "enum": [
+ "HttpStatus403",
+ "HttpStatus502"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayCustomErrorStatusCode",
+ "modelAsString": true
+ }
+ },
+ "customErrorPageUrl": {
+ "type": "string",
+ "description": "Error page URL of the application gateway customer error."
+ }
+ },
+ "description": "Customer error of an application gateway."
+ },
+ "PolicyNameEnum": {
+ "type": "string",
+ "description": "Ssl predefined policy name enums.",
+ "enum": [
+ "AppGwSslPolicy20150501",
+ "AppGwSslPolicy20170401",
+ "AppGwSslPolicy20170401S"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySslPolicyName",
+ "modelAsString": true
+ }
+ },
+ "ProtocolsEnum": {
+ "type": "string",
+ "description": "Ssl protocol enums.",
+ "enum": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySslProtocol",
+ "modelAsString": true
+ }
+ },
+ "CipherSuitesEnum": {
+ "type": "string",
+ "description": "Ssl cipher suites enums.",
+ "enum": [
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewaySslCipherSuite",
+ "modelAsString": true
+ }
+ },
+ "RedirectTypeEnum": {
+ "type": "string",
+ "description": "Redirect type enum.",
+ "enum": [
+ "Permanent",
+ "Found",
+ "SeeOther",
+ "Temporary"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayRedirectType",
+ "modelAsString": true
+ }
+ },
+ "ApplicationGatewayProtocol": {
+ "type": "string",
+ "description": "Application Gateway protocol.",
+ "enum": [
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "ApplicationGatewayProtocol",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json
new file mode 100644
index 000000000000..3a2b5c1a5e96
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json
@@ -0,0 +1,371 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": {
+ "delete": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_Delete",
+ "description": "Deletes the specified application security group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationSecurityGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application security group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete application security group": {
+ "$ref": "./examples/ApplicationSecurityGroupDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_Get",
+ "description": "Gets information about the specified application security group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationSecurityGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application security group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the specified application security group resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get application security group": {
+ "$ref": "./examples/ApplicationSecurityGroupGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_CreateOrUpdate",
+ "description": "Creates or updates an application security group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationSecurityGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application security group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ },
+ "description": "Parameters supplied to the create or update ApplicationSecurityGroup operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting application security group resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting application security group resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create application security group": {
+ "$ref": "./examples/ApplicationSecurityGroupCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "applicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_UpdateTags",
+ "description": "Updates an application security group's tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "applicationSecurityGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the application security group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to update application security group tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting ApplicationSecurityGroup resource.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Update application security group tags": {
+ "$ref": "./examples/ApplicationSecurityGroupUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": {
+ "get": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_ListAll",
+ "description": "Gets all application security groups in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of application security group resources.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all application security groups": {
+ "$ref": "./examples/ApplicationSecurityGroupListAll.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups": {
+ "get": {
+ "tags": [
+ "ApplicationSecurityGroups"
+ ],
+ "operationId": "ApplicationSecurityGroups_List",
+ "description": "Gets all the application security groups in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of application security group resources.",
+ "schema": {
+ "$ref": "#/definitions/ApplicationSecurityGroupListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List load balancers in resource group": {
+ "$ref": "./examples/ApplicationSecurityGroupList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ApplicationSecurityGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApplicationSecurityGroupPropertiesFormat",
+ "description": "Properties of the application security group."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "An application security group in a resource group."
+ },
+ "ApplicationSecurityGroupPropertiesFormat": {
+ "properties": {
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state of the application security group resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'."
+ }
+ },
+ "description": "Application security group properties."
+ },
+ "ApplicationSecurityGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApplicationSecurityGroup"
+ },
+ "description": "A list of application security groups."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "A list of application security groups."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availableDelegations.json
similarity index 65%
rename from specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json
rename to specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availableDelegations.json
index 68764771e26d..2b19a8851542 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availableDelegations.json
@@ -3,7 +3,7 @@
"info": {
"title": "NetworkManagementClient",
"description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
- "version": "2019-04-01"
+ "version": "2019-06-01"
},
"host": "management.azure.com",
"schemes": [
@@ -34,17 +34,17 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations": {
"get": {
- "operationId": "AvailablePrivateEndpointTypes_List",
- "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "operationId": "AvailableDelegations_List",
+ "description": "Gets all of the available subnet delegations for this subscription in this region.",
"parameters": [
{
"name": "location",
"in": "path",
"required": true,
"type": "string",
- "description": "The location of the domain name."
+ "description": "The location of the subnet."
},
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
@@ -55,15 +55,15 @@
],
"responses": {
"200": {
- "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.",
"schema": {
- "$ref": "#/definitions/AvailablePrivateEndpointTypesResult"
+ "$ref": "#/definitions/AvailableDelegationsResult"
}
}
},
"x-ms-examples": {
- "Get available PrivateEndpoint types": {
- "$ref": "./examples/AvailablePrivateEndpointTypesGet.json"
+ "Get available delegations": {
+ "$ref": "./examples/AvailableDelegationsSubscriptionGet.json"
}
},
"x-ms-pageable": {
@@ -71,10 +71,10 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": {
"get": {
- "operationId": "AvailableResourceGroupPrivateEndpointTypes_List",
- "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "operationId": "AvailableResourceGroupDelegations_List",
+ "description": "Gets all of the available subnet delegations for this resource group in this region.",
"parameters": [
{
"name": "location",
@@ -99,15 +99,15 @@
],
"responses": {
"200": {
- "description": "Request successful. Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.",
+ "description": "Request successful. Returns all of the possible delegations for a subnet in this subscription in the region.",
"schema": {
- "$ref": "#/definitions/AvailablePrivateEndpointTypesResult"
+ "$ref": "#/definitions/AvailableDelegationsResult"
}
}
},
"x-ms-examples": {
- "Get available PrivateEndpoint types in the resource group": {
- "$ref": "./examples/AvailablePrivateEndpointTypesResourceGroupGet.json"
+ "Get available delegations in the resource group": {
+ "$ref": "./examples/AvailableDelegationsResourceGroupGet.json"
}
},
"x-ms-pageable": {
@@ -117,14 +117,14 @@
}
},
"definitions": {
- "AvailablePrivateEndpointTypesResult": {
+ "AvailableDelegationsResult": {
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/AvailablePrivateEndpointType"
+ "$ref": "#/definitions/AvailableDelegation"
},
- "description": "An array of available privateEndpoint type."
+ "description": "An array of available delegations."
},
"nextLink": {
"readOnly": true,
@@ -132,13 +132,17 @@
"description": "The URL to get the next set of results."
}
},
- "description": "An array of available PrivateEndpoint types."
+ "description": "An array of available delegations."
},
- "AvailablePrivateEndpointType": {
+ "AvailableDelegation": {
"properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the AvailableDelegation resource."
+ },
"id": {
"type": "string",
- "description": "A unique identifier of the AvailablePrivateEndpoint Type resource."
+ "description": "A unique identifier of the AvailableDelegation resource."
},
"type": {
"type": "string",
@@ -147,9 +151,16 @@
"serviceName": {
"type": "string",
"description": "The name of the service and resource."
+ },
+ "actions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Describes the actions permitted to the service upon delegation."
}
},
- "description": "The information of an AvailablePrivateEndpointType."
+ "description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet."
}
}
}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewall.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewall.json
new file mode 100644
index 000000000000..264c1d5ba3db
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewall.json
@@ -0,0 +1,843 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": {
+ "delete": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_Delete",
+ "description": "Deletes the specified Azure Firewall.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "azureFirewallName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Firewall."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist."
+ },
+ "200": {
+ "description": "Delete successful."
+ }
+ },
+ "x-ms-examples": {
+ "Delete Azure Firewall": {
+ "$ref": "./examples/AzureFirewallDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_Get",
+ "description": "Gets the specified Azure Firewall.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "azureFirewallName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Firewall."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns an AzureFirewall resource.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Azure Firewall": {
+ "$ref": "./examples/AzureFirewallGet.json"
+ },
+ "Get Azure Firewall With Zones": {
+ "$ref": "./examples/AzureFirewallGetWithZones.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_CreateOrUpdate",
+ "description": "Creates or updates the specified Azure Firewall.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "azureFirewallName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Firewall."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ },
+ "description": "Parameters supplied to the create or update Azure Firewall operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting AzureFirewall resource.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting AzureFirewall resource.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Azure Firewall": {
+ "$ref": "./examples/AzureFirewallPut.json"
+ },
+ "Create Azure Firewall With Zones": {
+ "$ref": "./examples/AzureFirewallPutWithZones.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_UpdateTags",
+ "description": "Updates tags for an Azure Firewall resource.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "azureFirewallName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Azure Firewall."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ },
+ "description": "Parameters supplied to the create or update Azure Firewall operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting AzureFirewall resource.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewall"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Update Azure Firewall Tags": {
+ "$ref": "./examples/AzureFirewallUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls": {
+ "get": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_List",
+ "description": "Lists all Azure Firewalls in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of AzureFirewall resources.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewallListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Azure Firewalls for a given resource group": {
+ "$ref": "./examples/AzureFirewallListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": {
+ "get": {
+ "tags": [
+ "AzureFirewalls"
+ ],
+ "operationId": "AzureFirewalls_ListAll",
+ "description": "Gets all the Azure Firewalls in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of AzureFirewall resources.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewallListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Azure Firewalls for a given subscription": {
+ "$ref": "./examples/AzureFirewallListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AzureFirewallIPConfigurationPropertiesFormat": {
+ "properties": {
+ "privateIPAddress": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes."
+ },
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the subnet resource. This resource must be named 'AzureFirewallSubnet'."
+ },
+ "publicIPAddress": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the PublicIP resource. This field is a mandatory input if subnet is not null."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ }
+ },
+ "description": "Properties of IP configuration of an Azure Firewall."
+ },
+ "AzureFirewallIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallIPConfigurationPropertiesFormat",
+ "description": "Properties of the azure firewall IP configuration."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration of an Azure Firewall."
+ },
+ "AzureFirewallPropertiesFormat": {
+ "properties": {
+ "applicationRuleCollections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallApplicationRuleCollection"
+ },
+ "description": "Collection of application rule collections used by Azure Firewall."
+ },
+ "natRuleCollections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNatRuleCollection"
+ },
+ "description": "Collection of NAT rule collections used by Azure Firewall."
+ },
+ "networkRuleCollections": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNetworkRuleCollection"
+ },
+ "description": "Collection of network rule collections used by Azure Firewall."
+ },
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallIPConfiguration"
+ },
+ "description": "IP configuration of the Azure Firewall resource."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ },
+ "threatIntelMode": {
+ "description": "The operation mode for Threat Intelligence.",
+ "$ref": "#/definitions/AzureFirewallThreatIntelMode"
+ }
+ },
+ "description": "Properties of the Azure Firewall."
+ },
+ "AzureFirewall": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallPropertiesFormat",
+ "description": "Properties of the azure firewall."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of availability zones denoting where the resource needs to come from."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Azure Firewall resource."
+ },
+ "AzureFirewallListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewall"
+ },
+ "description": "List of Azure Firewalls in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListAzureFirewalls API service call."
+ },
+ "AzureFirewallThreatIntelMode": {
+ "type": "string",
+ "description": "The operation mode for Threat Intel.",
+ "enum": [
+ "Alert",
+ "Deny",
+ "Off"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallThreatIntelMode",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallApplicationRuleCollectionPropertiesFormat": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 65000,
+ "exclusiveMaximum": false,
+ "minimum": 100,
+ "exclusiveMinimum": false,
+ "description": "Priority of the application rule collection resource."
+ },
+ "action": {
+ "$ref": "#/definitions/AzureFirewallRCAction",
+ "description": "The action type of a rule collection."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallApplicationRule"
+ },
+ "description": "Collection of rules used by a application rule collection."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ }
+ },
+ "description": "Properties of the application rule collection."
+ },
+ "AzureFirewallApplicationRuleCollection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat",
+ "description": "Properties of the azure firewall application rule collection."
+ },
+ "name": {
+ "type": "string",
+ "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Application rule collection resource."
+ },
+ "AzureFirewallApplicationRuleProtocol": {
+ "properties": {
+ "protocolType": {
+ "description": "Protocol type.",
+ "$ref": "#/definitions/AzureFirewallApplicationRuleProtocolType"
+ },
+ "port": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 64000,
+ "exclusiveMaximum": false,
+ "minimum": 0,
+ "exclusiveMinimum": false,
+ "description": "Port number for the protocol, cannot be greater than 64000. This field is optional."
+ }
+ },
+ "description": "Properties of the application rule protocol."
+ },
+ "AzureFirewallApplicationRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the application rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the rule."
+ },
+ "sourceAddresses": {
+ "type": "array",
+ "description": "List of source IP addresses for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "protocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallApplicationRuleProtocol"
+ },
+ "description": "Array of ApplicationRuleProtocols."
+ },
+ "targetFqdns": {
+ "type": "array",
+ "description": "List of FQDNs for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdnTags": {
+ "type": "array",
+ "description": "List of FQDN Tags for this rule.",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "Properties of an application rule."
+ },
+ "AzureFirewallNatRuleCollectionProperties": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 65000,
+ "exclusiveMaximum": false,
+ "minimum": 100,
+ "exclusiveMinimum": false,
+ "description": "Priority of the NAT rule collection resource."
+ },
+ "action": {
+ "$ref": "#/definitions/AzureFirewallNatRCAction",
+ "description": "The action type of a NAT rule collection."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNatRule"
+ },
+ "description": "Collection of rules used by a NAT rule collection."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ }
+ },
+ "description": "Properties of the NAT rule collection."
+ },
+ "AzureFirewallNatRuleCollection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallNatRuleCollectionProperties",
+ "description": "Properties of the azure firewall NAT rule collection."
+ },
+ "name": {
+ "type": "string",
+ "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "NAT rule collection resource."
+ },
+ "AzureFirewallNatRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the NAT rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the rule."
+ },
+ "sourceAddresses": {
+ "type": "array",
+ "description": "List of source IP addresses for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationAddresses": {
+ "type": "array",
+ "description": "List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationPorts": {
+ "type": "array",
+ "description": "List of destination ports.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "protocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol"
+ },
+ "description": "Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule."
+ },
+ "translatedAddress": {
+ "type": "string",
+ "description": "The translated address for this NAT rule."
+ },
+ "translatedPort": {
+ "type": "string",
+ "description": "The translated port for this NAT rule."
+ }
+ },
+ "description": "Properties of a NAT rule."
+ },
+ "AzureFirewallNatRCAction": {
+ "properties": {
+ "type": {
+ "description": "The type of action.",
+ "$ref": "#/definitions/AzureFirewallNatRCActionType"
+ }
+ },
+ "description": "AzureFirewall NAT Rule Collection Action."
+ },
+ "AzureFirewallNatRCActionType": {
+ "type": "string",
+ "description": "The action type of a NAT rule collection.",
+ "enum": [
+ "Snat",
+ "Dnat"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallNatRCActionType",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallNetworkRuleCollectionPropertiesFormat": {
+ "properties": {
+ "priority": {
+ "type": "integer",
+ "format": "int32",
+ "maximum": 65000,
+ "exclusiveMaximum": false,
+ "minimum": 100,
+ "exclusiveMinimum": false,
+ "description": "Priority of the network rule collection resource."
+ },
+ "action": {
+ "$ref": "#/definitions/AzureFirewallRCAction",
+ "description": "The action type of a rule collection."
+ },
+ "rules": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNetworkRule"
+ },
+ "description": "Collection of rules used by a network rule collection."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ }
+ },
+ "description": "Properties of the network rule collection."
+ },
+ "AzureFirewallNetworkRuleCollection": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat",
+ "description": "Properties of the azure firewall network rule collection."
+ },
+ "name": {
+ "type": "string",
+ "description": "Gets name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Network rule collection resource."
+ },
+ "AzureFirewallNetworkRule": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the network rule."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the rule."
+ },
+ "protocols": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallNetworkRuleProtocol"
+ },
+ "description": "Array of AzureFirewallNetworkRuleProtocols."
+ },
+ "sourceAddresses": {
+ "type": "array",
+ "description": "List of source IP addresses for this rule.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationAddresses": {
+ "type": "array",
+ "description": "List of destination IP addresses.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "destinationPorts": {
+ "type": "array",
+ "description": "List of destination ports.",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "Properties of the network rule."
+ },
+ "AzureFirewallRCAction": {
+ "properties": {
+ "type": {
+ "description": "The type of action.",
+ "$ref": "#/definitions/AzureFirewallRCActionType"
+ }
+ },
+ "description": "Properties of the AzureFirewallRCAction."
+ },
+ "AzureFirewallRCActionType": {
+ "type": "string",
+ "description": "The action type of a rule collection.",
+ "enum": [
+ "Allow",
+ "Deny"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallRCActionType",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallNetworkRuleProtocol": {
+ "type": "string",
+ "description": "The protocol of a Network Rule resource.",
+ "enum": [
+ "TCP",
+ "UDP",
+ "Any",
+ "ICMP"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallNetworkRuleProtocol",
+ "modelAsString": true
+ }
+ },
+ "AzureFirewallApplicationRuleProtocolType": {
+ "type": "string",
+ "description": "The protocol type of a Application Rule resource.",
+ "enum": [
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFirewallApplicationRuleProtocolType",
+ "modelAsString": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json
new file mode 100644
index 000000000000..e783e38509a1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json
@@ -0,0 +1,124 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": {
+ "get": {
+ "tags": [
+ "AzureFirewallFqdnTags"
+ ],
+ "operationId": "AzureFirewallFqdnTags_ListAll",
+ "description": "Gets all the Azure Firewall FQDN Tags in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of Azure Firewall FQDN Tag resources.",
+ "schema": {
+ "$ref": "#/definitions/AzureFirewallFqdnTagListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Azure Firewall FQDN Tags for a given subscription": {
+ "$ref": "./examples/AzureFirewallFqdnTagsListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "AzureFirewallFqdnTagPropertiesFormat": {
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The provisioning state of the resource."
+ },
+ "fqdnTagName": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The name of this FQDN Tag."
+ }
+ },
+ "description": "Azure Firewall FQDN Tag Properties."
+ },
+ "AzureFirewallFqdnTag": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat",
+ "description": "Properties of the azure firewall FQDN tag."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Azure Firewall FQDN Tag Resource."
+ },
+ "AzureFirewallFqdnTagListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AzureFirewallFqdnTag"
+ },
+ "description": "List of Azure Firewall FQDN Tags in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListAzureFirewallFqdnTags API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/bastionHost.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/bastionHost.json
new file mode 100644
index 000000000000..8da661f085d9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/bastionHost.json
@@ -0,0 +1,377 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": {
+ "delete": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_Delete",
+ "description": "Deletes the specified Bastion Host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "bastionHostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Bastion Host."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource with the specified name does not exist."
+ },
+ "200": {
+ "description": "Delete successful."
+ }
+ },
+ "x-ms-examples": {
+ "Delete Bastion Host": {
+ "$ref": "./examples/BastionHostDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ },
+ "get": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_Get",
+ "description": "Gets the specified Bastion Host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "bastionHostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Bastion Host."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns an BastionHost resource.",
+ "schema": {
+ "$ref": "#/definitions/BastionHost"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Bastion Host": {
+ "$ref": "./examples/BastionHostGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_CreateOrUpdate",
+ "description": "Creates or updates the specified Bastion Host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "bastionHostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Bastion Host."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BastionHost"
+ },
+ "description": "Parameters supplied to the create or update Bastion Host operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting Bastion Host resource.",
+ "schema": {
+ "$ref": "#/definitions/BastionHost"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting Bastion Host resource.",
+ "schema": {
+ "$ref": "#/definitions/BastionHost"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create Bastion Host": {
+ "$ref": "./examples/BastionHostPut.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts": {
+ "get": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_List",
+ "description": "Lists all Bastion Hosts in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of Bastion Host resources.",
+ "schema": {
+ "$ref": "#/definitions/BastionHostListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Bastion Hosts for a given subscription": {
+ "$ref": "./examples/BastionHostListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts": {
+ "get": {
+ "tags": [
+ "BastionHosts"
+ ],
+ "operationId": "BastionHosts_ListByResourceGroup",
+ "description": "Lists all Bastion Hosts in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success. The operation returns a list of BastionHost resources.",
+ "schema": {
+ "$ref": "#/definitions/BastionHostListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all Bastion Hosts for a given resource group": {
+ "$ref": "./examples/BastionHostListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "BastionHostIPConfigurationPropertiesFormat": {
+ "properties": {
+ "subnet": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the subnet resource."
+ },
+ "publicIPAddress": {
+ "$ref": "./network.json#/definitions/SubResource",
+ "description": "Reference of the PublicIP resource."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ },
+ "privateIPAllocationMethod": {
+ "$ref": "./network.json#/definitions/IPAllocationMethod",
+ "description": "Private IP allocation method."
+ }
+ },
+ "required": [
+ "subnet",
+ "publicIPAddress"
+ ],
+ "description": "Properties of IP configuration of an Bastion Host."
+ },
+ "BastionHostIPConfiguration": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BastionHostIPConfigurationPropertiesFormat",
+ "description": "Represents the ip configuration associated with the resource."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Ip configuration type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "IP configuration of an Bastion Host."
+ },
+ "BastionHostPropertiesFormat": {
+ "properties": {
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BastionHostIPConfiguration"
+ },
+ "description": "IP configuration of the Bastion Host resource."
+ },
+ "dnsName": {
+ "type": "string",
+ "description": "FQDN for the endpoint on which bastion host is accessible."
+ },
+ "provisioningState": {
+ "description": "The provisioning state of the resource.",
+ "$ref": "./network.json#/definitions/ProvisioningState"
+ }
+ },
+ "description": "Properties of the Bastion Host."
+ },
+ "BastionHost": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BastionHostPropertiesFormat",
+ "description": "Represents the bastion host resource."
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Gets a unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Bastion Host resource."
+ },
+ "BastionHostListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BastionHost"
+ },
+ "description": "List of Bastion Hosts in a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of results."
+ }
+ },
+ "description": "Response for ListBastionHosts API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json
new file mode 100644
index 000000000000..01de0ac3dbdc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json
@@ -0,0 +1,90 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability": {
+ "get": {
+ "operationId": "CheckDnsNameAvailability",
+ "description": "Checks whether a domain name in the cloudapp.azure.com zone is available for use.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location of the domain name."
+ },
+ {
+ "name": "domainNameLabel",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns whether the DNS name is available.",
+ "schema": {
+ "$ref": "#/definitions/DnsNameAvailabilityResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Check Dns Name Availability": {
+ "$ref": "./examples/CheckDnsNameAvailability.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DnsNameAvailabilityResult": {
+ "properties": {
+ "available": {
+ "type": "boolean",
+ "description": "Domain availability (True/False)."
+ }
+ },
+ "description": "Response for the CheckDnsNameAvailability API service call."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json
new file mode 100644
index 000000000000..4e91aec296c0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json
@@ -0,0 +1,400 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": {
+ "delete": {
+ "tags": [
+ "ddosCustomPolicies"
+ ],
+ "operationId": "DdosCustomPolicies_Delete",
+ "description": "Deletes the specified DDoS custom policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosCustomPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS custom policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete DDoS custom policy": {
+ "$ref": "./examples/DdosCustomPolicyDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ddosCustomPolicies"
+ ],
+ "operationId": "DdosCustomPolicies_Get",
+ "description": "Gets information about the specified DDoS custom policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosCustomPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS custom policy."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the specified DDoS custom policy resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get DDoS custom policy": {
+ "$ref": "./examples/DdosCustomPolicyGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ddosCustomPolicies"
+ ],
+ "operationId": "DdosCustomPolicies_CreateOrUpdate",
+ "description": "Creates or updates a DDoS custom policy.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosCustomPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS custom policy."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ },
+ "description": "Parameters supplied to the create or update operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting DDoS custom policy resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting DDoS custom policy resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create DDoS custom policy": {
+ "$ref": "./examples/DdosCustomPolicyCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ddosCustomPolicies"
+ ],
+ "operationId": "DdosCustomPolicies_UpdateTags",
+ "description": "Update a DDoS custom policy tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosCustomPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS custom policy."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the update DDoS custom policy resource tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting DDoS custom policy resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosCustomPolicy"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "DDoS Custom policy Update tags": {
+ "$ref": "./examples/DdosCustomPolicyUpdateTags.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DdosCustomPolicy": {
+ "description": "A DDoS custom policy in a resource group.",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DdosCustomPolicyPropertiesFormat",
+ "description": "Properties of the DDoS custom policy."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ]
+ },
+ "DdosCustomPolicyPropertiesFormat": {
+ "properties": {
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state of the DDoS custom policy resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'."
+ },
+ "publicIPAddresses": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "The list of public IPs associated with the DDoS custom policy resource. This list is read-only."
+ },
+ "protocolCustomSettings": {
+ "readOnly": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProtocolCustomSettingsFormat"
+ },
+ "description": "The protocol-specific DDoS policy customization parameters."
+ }
+ },
+ "description": "DDoS custom policy properties."
+ },
+ "ProtocolCustomSettingsFormat": {
+ "properties": {
+ "protocol": {
+ "readOnly": false,
+ "type": "string",
+ "enum": [
+ "Tcp",
+ "Udp",
+ "Syn"
+ ],
+ "x-ms-enum": {
+ "name": "DdosCustomPolicyProtocol",
+ "modelAsString": true
+ },
+ "description": "The protocol for which the DDoS protection policy is being customized."
+ },
+ "triggerRateOverride": {
+ "readOnly": false,
+ "type": "string",
+ "description": "The customized DDoS protection trigger rate."
+ },
+ "sourceRateOverride": {
+ "readOnly": false,
+ "type": "string",
+ "description": "The customized DDoS protection source rate."
+ },
+ "triggerSensitivityOverride": {
+ "readOnly": false,
+ "type": "string",
+ "enum": [
+ "Relaxed",
+ "Low",
+ "Default",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "DdosCustomPolicyTriggerSensitivityOverride",
+ "modelAsString": true
+ },
+ "description": "The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic."
+ }
+ },
+ "description": "DDoS custom policy properties."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/CloudErrorBody",
+ "description": "Cloud error body."
+ }
+ },
+ "description": "An error response from the Batch service."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Batch service."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json
new file mode 100644
index 000000000000..75e566efb60f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json
@@ -0,0 +1,401 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": {
+ "delete": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_Delete",
+ "description": "Deletes the specified DDoS protection plan.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosProtectionPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS protection plan."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "200": {
+ "description": "Delete successful."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Delete DDoS protection plan": {
+ "$ref": "./examples/DdosProtectionPlanDelete.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_Get",
+ "description": "Gets information about the specified DDoS protection plan.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosProtectionPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS protection plan."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns the specified DDoS protection plan resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get DDoS protection plan": {
+ "$ref": "./examples/DdosProtectionPlanGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_CreateOrUpdate",
+ "description": "Creates or updates a DDoS protection plan.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosProtectionPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS protection plan."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ },
+ "description": "Parameters supplied to the create or update operation."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Create successful. The operation returns the resulting DDoS protection plan resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ }
+ },
+ "200": {
+ "description": "Update successful. The operation returns the resulting DDoS protection plan resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create DDoS protection plan": {
+ "$ref": "./examples/DdosProtectionPlanCreate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_UpdateTags",
+ "description": "Update a DDoS protection plan tags.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "ddosProtectionPlanName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the DDoS protection plan."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./network.json#/definitions/TagsObject"
+ },
+ "description": "Parameters supplied to the update DDoS protection plan resource tags."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting DDoS protection plan resource.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "DDoS protection plan Update tags": {
+ "$ref": "./examples/DdosProtectionPlanUpdateTags.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans": {
+ "get": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_List",
+ "description": "Gets all DDoS protection plans in a subscription.",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of DDoS protection plan resources.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlanListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all DDoS protection plans": {
+ "$ref": "./examples/DdosProtectionPlanListAll.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans": {
+ "get": {
+ "tags": [
+ "DdosProtectionPlans"
+ ],
+ "operationId": "DdosProtectionPlans_ListByResourceGroup",
+ "description": "Gets all the DDoS protection plans in a resource group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. The operation returns a list of DDoS protection plan resources.",
+ "schema": {
+ "$ref": "#/definitions/DdosProtectionPlanListResult"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List DDoS protection plans in resource group": {
+ "$ref": "./examples/DdosProtectionPlanList.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "DdosProtectionPlan": {
+ "description": "A DDoS protection plan in a resource group.",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DdosProtectionPlanPropertiesFormat",
+ "description": "Properties of the DDoS protection plan."
+ },
+ "etag": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ }
+ },
+ "DdosProtectionPlanPropertiesFormat": {
+ "properties": {
+ "resourceGuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state of the DDoS protection plan resource. Possible values are: 'Succeeded', 'Updating', 'Deleting', and 'Failed'."
+ },
+ "virtualNetworks": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "description": "The list of virtual networks associated with the DDoS protection plan resource. This list is read-only."
+ }
+ },
+ "description": "DDoS protection plan properties."
+ },
+ "DdosProtectionPlanListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DdosProtectionPlan"
+ },
+ "description": "A list of DDoS protection plans."
+ },
+ "nextLink": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "A list of DDoS protection plans."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/endpointService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/endpointService.json
new file mode 100644
index 000000000000..040d0aa783d6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/endpointService.json
@@ -0,0 +1,113 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2019-06-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices": {
+ "get": {
+ "operationId": "AvailableEndpointServices_List",
+ "description": "List what values of endpoint services are available for use.",
+ "parameters": [
+ {
+ "name": "location",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The location to check available endpoint services."
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Request successful. Returns list of available endpoint services.",
+ "schema": {
+ "$ref": "#/definitions/EndpointServicesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "EndpointServicesList": {
+ "$ref": "./examples/EndpointServicesList.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "EndpointServicesListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EndpointServiceResult"
+ },
+ "description": "List of available endpoint services in a region."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "Response for the ListAvailableEndpointServices API service call."
+ },
+ "EndpointServiceResult": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the endpoint service.",
+ "readOnly": true
+ },
+ "type": {
+ "type": "string",
+ "description": "Type of the endpoint service.",
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Endpoint service."
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json
new file mode 100644
index 000000000000..d7f2485b6b1c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ "Accept-Charset"
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json
new file mode 100644
index 000000000000..51e0d480f00f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ "Access-Control-Allow-Origin"
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableServerVariablesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableServerVariablesGet.json
new file mode 100644
index 000000000000..7a16b61b0b32
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableServerVariablesGet.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd0dddd4"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ "request_query"
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
new file mode 100644
index 000000000000..36159e0dcf09
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "default",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default",
+ "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions",
+ "properties": {
+ "predefinedPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S"
+ }
+ ],
+ "defaultPolicy": "AppGwSslPolicy20150501",
+ "availableCipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "availableProtocols": [
+ "TLSv1_0",
+ "TLSv1_1",
+ "TLSv1_2"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
new file mode 100644
index 000000000000..b2d50ae8e9f9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "AppGwSslPolicy20150501",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ },
+ {
+ "name": "AppGwSslPolicy20170401",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_1"
+ }
+ },
+ {
+ "name": "AppGwSslPolicy20170401S",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_2"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
new file mode 100644
index 000000000000..d23105c1d1ce
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "predefinedPolicyName": "AppGwSslPolicy20150501"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "AppGwSslPolicy20150501",
+ "id": "/subscriptions/subid/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501",
+ "properties": {
+ "cipherSuites": [
+ "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_DHE_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_AES_256_GCM_SHA384",
+ "TLS_RSA_WITH_AES_128_GCM_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA256",
+ "TLS_RSA_WITH_AES_128_CBC_SHA256",
+ "TLS_RSA_WITH_AES_256_CBC_SHA",
+ "TLS_RSA_WITH_AES_128_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256",
+ "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA",
+ "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256",
+ "TLS_DHE_DSS_WITH_AES_256_CBC_SHA",
+ "TLS_DHE_DSS_WITH_AES_128_CBC_SHA",
+ "TLS_RSA_WITH_3DES_EDE_CBC_SHA",
+ "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ ],
+ "minProtocolVersion": "TLSv1_0"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json
new file mode 100644
index 000000000000..1f854921bd65
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "OWASP_3.0",
+ "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/",
+ "type": "Microsoft.Network/applicationGatewayAvailableWafRuleSets",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleSetType": "OWASP",
+ "ruleSetVersion": "3.0",
+ "ruleGroups": [
+ {
+ "ruleGroupName": "General",
+ "description": "",
+ "rules": [
+ {
+ "ruleId": 200004,
+ "description": "Possible Multipart Unmatched Boundary."
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthGet.json
new file mode 100644
index 000000000000..907801992147
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthGet.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "appgw",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "backendAddressPools": [
+ {
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool"
+ },
+ "backendHttpSettingsCollection": [
+ {
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
+ },
+ "servers": [
+ {
+ "address": "10.220.1.8",
+ "health": "Up"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool"
+ },
+ "backendHttpSettingsCollection": [
+ {
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
+ },
+ "servers": [
+ {
+ "address": "10.220.1.4",
+ "health": "Up"
+ },
+ {
+ "address": "10.220.1.5",
+ "health": "Up"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthTest.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthTest.json
new file mode 100644
index 000000000000..50901dfecb5d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayBackendHealthTest.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw",
+ "probeRequest": {
+ "protocol": "Http",
+ "pickHostNameFromBackendHttpSettings": true,
+ "path": "/",
+ "timeout": 30,
+ "backendPoolName": "MFAnalyticsPool",
+ "backendHttpSettingName": "MFPoolSettings"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool"
+ },
+ "backendHealthHttpSettings": {
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings"
+ },
+ "servers": [
+ {
+ "address": "10.220.1.4",
+ "health": "Up"
+ },
+ {
+ "address": "10.220.1.5",
+ "health": "Up"
+ }
+ ]
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayCreate.json
new file mode 100644
index 000000000000..265b0e4714ff
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayCreate.json
@@ -0,0 +1,732 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw",
+ "parameters": {
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {}
+ }
+ },
+ "location": "eastus",
+ "properties": {
+ "sku": {
+ "name": "Standard_v2",
+ "tier": "Standard_v2",
+ "capacity": 3
+ },
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "properties": {
+ "data": "****",
+ "password": "****"
+ }
+ },
+ {
+ "name": "sslcert2",
+ "properties": {
+ "keyVaultSecretId": "https://kv/secret"
+ }
+ }
+ ],
+ "trustedRootCertificates": [
+ {
+ "name": "rootcert",
+ "properties": {
+ "data": "****"
+ }
+ },
+ {
+ "name": "rootcert1",
+ "properties": {
+ "keyVaultSecretId": "https://kv/secret"
+ }
+ }
+ ],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "properties": {
+ "port": 443
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "properties": {
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "properties": {
+ "backendAddresses": [
+ {
+ "ipAddress": "10.0.1.1"
+ },
+ {
+ "ipAddress": "10.0.1.2"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "properties": {
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "properties": {
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "properties": {
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "properties": {
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "properties": {
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "properties": {
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_add_x_forwarded_for_proxy}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "appgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "*****"
+ }
+ }
+ ],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 443
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": []
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_remote-addr}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "probes": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "appgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "*****"
+ }
+ }
+ ],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 443
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": []
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_remote-addr}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "probes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayDelete.json
new file mode 100644
index 000000000000..efcd8b6f7bc6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "202": {},
+ "204": {},
+ "200": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayGet.json
new file mode 100644
index 000000000000..c78ed94b34c3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayGet.json
@@ -0,0 +1,252 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "appgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "*****"
+ }
+ }
+ ],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 443
+ }
+ },
+ {
+ "name": "appgwfp80",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": []
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ },
+ {
+ "name": "appgwhttplistener",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80"
+ },
+ "protocol": "Http"
+ }
+ }
+ ],
+ "urlPathMaps": [
+ {
+ "name": "pathMap1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "defaultBackendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "defaultBackendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "defaultRewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ },
+ "pathRules": [
+ {
+ "name": "apiPaths",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "paths": [
+ "/api",
+ "/v1/api"
+ ],
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ },
+ "rewriteRuleSet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1"
+ }
+ }
+ },
+ {
+ "name": "appgwPathBasedRule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "PathBasedRouting",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener"
+ },
+ "urlPathMap": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1"
+ }
+ }
+ }
+ ],
+ "rewriteRuleSets": [
+ {
+ "name": "rewriteRuleSet1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rewriteRules": [
+ {
+ "name": "Set X-Forwarded-For",
+ "ruleSequence": 102,
+ "conditions": [
+ {
+ "variable": "http_req_Authorization",
+ "pattern": "^Bearer",
+ "ignoreCase": true,
+ "negate": false
+ }
+ ],
+ "actionSet": {
+ "requestHeaderConfigurations": [
+ {
+ "headerName": "X-Forwarded-For",
+ "headerValue": "{var_remote-addr}"
+ }
+ ],
+ "responseHeaderConfigurations": [
+ {
+ "headerName": "Strict-Transport-Security",
+ "headerValue": "max-age=31536000"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "probes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayList.json
new file mode 100644
index 000000000000..9cd20c26b403
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayList.json
@@ -0,0 +1,125 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "properties": {
+ "data": "base64-pfxData",
+ "password": "pass1"
+ }
+ }
+ ],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "properties": {
+ "port": 443
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "properties": {
+ "backendAddresses": [
+ {
+ "ipAddress": "10.0.1.1"
+ },
+ {
+ "ipAddress": "10.0.1.2"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "properties": {
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "properties": {
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayListAll.json
new file mode 100644
index 000000000000..42e72ad3ece1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayListAll.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "appgw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "southcentralus",
+ "properties": {
+ "sku": {
+ "name": "Standard_Medium",
+ "tier": "Standard",
+ "capacity": 3
+ },
+ "gatewayIPConfigurations": [
+ {
+ "name": "appgwipc",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [
+ {
+ "name": "sslcert",
+ "properties": {
+ "data": "base64-pfxData",
+ "password": "pass1"
+ }
+ }
+ ],
+ "frontendIPConfigurations": [
+ {
+ "name": "appgwfip",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "appgwfp",
+ "properties": {
+ "port": 443
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "appgwpool",
+ "properties": {
+ "backendAddresses": [
+ {
+ "ipAddress": "10.0.1.1"
+ },
+ {
+ "ipAddress": "10.0.1.2"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "appgwbhs",
+ "properties": {
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "appgwhl",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp"
+ },
+ "protocol": "Https",
+ "sslCertificate": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert"
+ },
+ "requireServerNameIndication": false
+ }
+ }
+ ],
+ "requestRoutingRules": [
+ {
+ "name": "appgwrule",
+ "properties": {
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStart.json
new file mode 100644
index 000000000000..5187fc361482
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStart.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStop.json
new file mode 100644
index 000000000000..5187fc361482
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayStop.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "appgw"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayUpdateTags.json
new file mode 100644
index 000000000000..00619c5e69bd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationGatewayUpdateTags.json
@@ -0,0 +1,148 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationGatewayName": "AppGw",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "AppGw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw",
+ "type": "Microsoft.Network/applicationGateways",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "sku": {
+ "name": "Standard_Small",
+ "tier": "Standard",
+ "capacity": 2
+ },
+ "operationalState": "Running",
+ "gatewayIPConfigurations": [
+ {
+ "name": "GatewayIp01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1"
+ }
+ }
+ }
+ ],
+ "sslCertificates": [],
+ "authenticationCertificates": [],
+ "frontendIPConfigurations": [
+ {
+ "name": "FrontEndConfig01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1"
+ }
+ }
+ }
+ ],
+ "frontendPorts": [
+ {
+ "name": "FrontEndPort01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "Pool01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendAddresses": [
+ {
+ "ipAddress": "10.10.10.1"
+ },
+ {
+ "ipAddress": "10.10.10.2"
+ },
+ {
+ "ipAddress": "10.10.10.3"
+ }
+ ]
+ }
+ }
+ ],
+ "backendHttpSettingsCollection": [
+ {
+ "name": "PoolSetting01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "port": 80,
+ "protocol": "Http",
+ "cookieBasedAffinity": "Disabled",
+ "pickHostNameFromBackendAddress": false,
+ "requestTimeout": 30
+ }
+ }
+ ],
+ "httpListeners": [
+ {
+ "name": "listener1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01"
+ },
+ "frontendPort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01"
+ },
+ "protocol": "Http",
+ "requireServerNameIndication": false
+ }
+ }
+ ],
+ "urlPathMaps": [],
+ "requestRoutingRules": [
+ {
+ "name": "Rule01",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ruleType": "Basic",
+ "httpListener": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01"
+ },
+ "backendHttpSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01"
+ }
+ }
+ }
+ ],
+ "probes": [],
+ "redirectConfigurations": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupCreate.json
new file mode 100644
index 000000000000..074a8925cc0f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupCreate.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationSecurityGroupName": "test-asg",
+ "parameters": {
+ "location": "westus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-asg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-asg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupDelete.json
new file mode 100644
index 000000000000..172a2cc5ceb1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationSecurityGroupName": "test-asg"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupGet.json
new file mode 100644
index 000000000000..8734fa66f7bc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupGet.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationSecurityGroupName": "test-asg"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-asg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupList.json
new file mode 100644
index 000000000000..c67272a37064
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupList.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1",
+ "name": "asg1",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2",
+ "name": "asg2",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupListAll.json
new file mode 100644
index 000000000000..ef74dcbb659b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupListAll.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1",
+ "name": "asg1",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2",
+ "name": "asg2",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupUpdateTags.json
new file mode 100644
index 000000000000..c3e45d6b0e95
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ApplicationSecurityGroupUpdateTags.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "applicationSecurityGroupName": "test-asg",
+ "location": "westus",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-asg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg",
+ "type": "Microsoft.Network/applicationSecurityGroups",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json
new file mode 100644
index 000000000000..fa6cb8ec4fa9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "location": "regionName",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
new file mode 100644
index 000000000000..d3a024d3fcdf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "location": "regionName",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
+ },
+ {
+ "privateLinkService": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsResourceGroupGet.json
new file mode 100644
index 000000000000..d62bd1479581
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsResourceGroupGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "location": "westcentralus",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Provider.resourceType",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType",
+ "type": "Microsoft.Network/availableDelegations",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": [
+ "Microsoft.Network/resource/action"
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsSubscriptionGet.json
new file mode 100644
index 000000000000..adc2c5ca785b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailableDelegationsSubscriptionGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "location": "westcentralus",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Provider.resourceType",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType",
+ "type": "Microsoft.Network/availableDelegations",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": [
+ "Microsoft.Network/resource/action"
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json
new file mode 100644
index 000000000000..2b36cdc3eb00
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "location": "regionName",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType",
+ "type": "Microsoft.Network/availablePrivateEndpointTypes",
+ "resourceName": "Microsoft.Provider/resourceType"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
new file mode 100644
index 000000000000..527f28df1079
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "location": "regionName",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType",
+ "type": "Microsoft.Network/availablePrivateEndpointTypes",
+ "resourceName": "Microsoft.Provider/resourceType"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallDelete.json
new file mode 100644
index 000000000000..cd87d370bae9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallFqdnTagsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallFqdnTagsListBySubscription.json
new file mode 100644
index 000000000000..e46ca004ef99
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallFqdnTagsListBySubscription.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "azfwfqdntag",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag",
+ "type": "Microsoft.Network/azureFirewallFqdnTags",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "fqdnTagName": "azfwfqdntag"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGet.json
new file mode 100644
index 000000000000..59446c78f26c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGet.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGetWithZones.json
new file mode 100644
index 000000000000..e23e50ece3f2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallGetWithZones.json
@@ -0,0 +1,140 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US 2",
+ "zones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListByResourceGroup.json
new file mode 100644
index 000000000000..daa622865e1a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListByResourceGroup.json
@@ -0,0 +1,139 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListBySubscription.json
new file mode 100644
index 000000000000..dfd9b6749338
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallListBySubscription.json
@@ -0,0 +1,138 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPut.json
new file mode 100644
index 000000000000..34778b7a0d63
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPut.json
@@ -0,0 +1,377 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall",
+ "parameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "location": "West US",
+ "zones": [],
+ "properties": {
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "zones": [],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPutWithZones.json
new file mode 100644
index 000000000000..891652a4be6c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallPutWithZones.json
@@ -0,0 +1,389 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "azureFirewallName": "azurefirewall",
+ "parameters": {
+ "location": "West US 2",
+ "tags": {
+ "key1": "value1"
+ },
+ "zones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "properties": {
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US 2",
+ "zones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "azurefirewall",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall",
+ "type": "Microsoft.Network/azureFirewalls",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US 2",
+ "zones": [
+ "1",
+ "2",
+ "3"
+ ],
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert",
+ "ipConfigurations": [
+ {
+ "name": "azureFirewallIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfirewallgw/ipConfigurations/azureFirewallIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.0",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ],
+ "applicationRuleCollections": [
+ {
+ "name": "apprulecoll",
+ "properties": {
+ "priority": 110,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "rule1",
+ "description": "Deny inbound rule",
+ "protocols": [
+ {
+ "protocolType": "Https",
+ "port": 443
+ }
+ ],
+ "targetFqdns": [
+ "www.test.com"
+ ],
+ "sourceAddresses": [
+ "216.58.216.164",
+ "10.0.0.0/24"
+ ]
+ }
+ ]
+ }
+ }
+ ],
+ "natRuleCollections": [
+ {
+ "name": "natrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Dnat"
+ },
+ "rules": [
+ {
+ "name": "DNAT-HTTPS-traffic",
+ "description": "D-NAT all outbound web traffic for inspection",
+ "sourceAddresses": [
+ "*"
+ ],
+ "destinationAddresses": [
+ "1.2.3.4"
+ ],
+ "destinationPorts": [
+ "443"
+ ],
+ "protocols": [
+ "TCP"
+ ],
+ "translatedAddress": "1.2.3.5",
+ "translatedPort": "8443"
+ }
+ ]
+ }
+ }
+ ],
+ "networkRuleCollections": [
+ {
+ "name": "netrulecoll",
+ "properties": {
+ "priority": 112,
+ "action": {
+ "type": "Deny"
+ },
+ "rules": [
+ {
+ "name": "L4-traffic",
+ "description": "Block traffic based on source IPs and ports",
+ "sourceAddresses": [
+ "192.168.1.1-192.168.1.12",
+ "10.1.4.12-10.1.4.255"
+ ],
+ "destinationPorts": [
+ "443-444",
+ "8443"
+ ],
+ "destinationAddresses": [
+ "*"
+ ],
+ "protocols": [
+ "TCP"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallUpdateTags.json
new file mode 100644
index 000000000000..2c21b5d0a590
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AzureFirewallUpdateTags.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "azfwtest",
+ "azureFirewallName": "fw1",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "fw1",
+ "id": "/subscriptions/subid/resourceGroups/azfwtest/providers/Microsoft.Network/azureFirewalls/fw1",
+ "type": "Microsoft.Network/azureFirewalls",
+ "location": "brazilsouth",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "threatIntelMode": "Alert"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostDelete.json
new file mode 100644
index 000000000000..5c37bf67b71f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "bastionHostName": "bastionhosttenant"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostGet.json
new file mode 100644
index 000000000000..d0f2fde93ae2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostGet.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "bastionHostName": "bastionhosttenant'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListByResourceGroup.json
new file mode 100644
index 000000000000..e116df5d8335
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListByResourceGroup.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListBySubscription.json
new file mode 100644
index 000000000000..c76495f159b8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostListBySubscription.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostPut.json
new file mode 100644
index 000000000000..ca3b6fe79ae0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/BastionHostPut.json
@@ -0,0 +1,89 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "bastionHostName": "bastionhosttenant'",
+ "parameters": {
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "bastionhost'",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'",
+ "type": "Microsoft.Network/bastionHosts",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com",
+ "ipConfigurations": [
+ {
+ "name": "bastionHostIpConfiguration",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckDnsNameAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckDnsNameAvailability.json
new file mode 100644
index 000000000000..13b4946c534f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckDnsNameAvailability.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "location": "westus",
+ "domainNameLabel": "testdns"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "available": false
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json
new file mode 100644
index 000000000000..b2a6af0b8579
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "location": "westus",
+ "parameters": {
+ "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "visible": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json
new file mode 100644
index 000000000000..71aed28e49ff
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "location": "westus",
+ "resourceGroupName": "rg1",
+ "parameters": {
+ "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "visible": true
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyCreate.json
new file mode 100644
index 000000000000..f725eb7fc9c5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyCreate.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosCustomPolicyName": "test-ddos-custom-policy",
+ "parameters": {
+ "location": "centraluseuap",
+ "properties": {
+ "protocolCustomSettings": [
+ {
+ "protocol": "Tcp"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ddos-custom-policy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy",
+ "type": "Microsoft.Network/ddosCustomPolicies",
+ "location": "centraluseuap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "publicIPAddresses": [],
+ "protocolCustomSettings": [
+ {
+ "protocol": "Tcp",
+ "triggerRateOverride": "20000"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-ddos-custom-policy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy",
+ "type": "Microsoft.Network/ddosCustomPolicies",
+ "location": "centraluseuap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "publicIPAddresses": [],
+ "protocolCustomSettings": [
+ {
+ "protocol": "Tcp",
+ "triggerRateOverride": "20000"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyDelete.json
new file mode 100644
index 000000000000..b3a5edafd305
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyDelete.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosCustomPolicyName": "test-ddos-custom-policy",
+ "parameters": {
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyGet.json
new file mode 100644
index 000000000000..acb6f2674b1a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosCustomPolicyName": "test-ddos-custom-policy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ddos-custom-policy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy",
+ "type": "Microsoft.Network/ddosCustomPolicies",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "publicIPAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyUpdateTags.json
new file mode 100644
index 000000000000..3b04667be78e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosCustomPolicyUpdateTags.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosCustomPolicyName": "test-ddos-custom-policy",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ddos-custom-policy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy",
+ "type": "Microsoft.Network/ddosCustomPolicies",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "publicIPAddresses": [],
+ "protocolCustomSettings": [
+ {
+ "protocol": "Tcp",
+ "triggerRateOverride": "20000"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanCreate.json
new file mode 100644
index 000000000000..a93d6d8adc64
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanCreate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosProtectionPlanName": "test-plan",
+ "parameters": {
+ "location": "westus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-plan",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-plan",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanDelete.json
new file mode 100644
index 000000000000..6ea36203556b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosProtectionPlanName": "test-plan"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanGet.json
new file mode 100644
index 000000000000..d2df9369b0bf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosProtectionPlanName": "test-plan"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-plan",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanList.json
new file mode 100644
index 000000000000..fac1c0b1a990
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanList.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1",
+ "name": "plan1",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2",
+ "name": "plan2",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanListAll.json
new file mode 100644
index 000000000000..17b8a23e7fa1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanListAll.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1",
+ "name": "plan1",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2",
+ "name": "plan2",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanUpdateTags.json
new file mode 100644
index 000000000000..bb1468e13dfe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DdosProtectionPlanUpdateTags.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "ddosProtectionPlanName": "test-plan",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-plan",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan",
+ "type": "Microsoft.Network/ddosProtectionPlans",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworks": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleGet.json
new file mode 100644
index 000000000000..0964ee88c6f3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleGet.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "networkSecurityGroupName": "nsg1",
+ "defaultSecurityRuleName": "AllowVnetInBound"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleList.json
new file mode 100644
index 000000000000..1555b988e9b8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/DefaultSecurityRuleList.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "networkSecurityGroupName": "nsg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound",
+ "sourcePortRanges": [],
+ "destinationPortRanges": [],
+ "sourceAddressPrefixes": [],
+ "destinationAddressPrefixes": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/EndpointServicesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/EndpointServicesList.json
new file mode 100644
index 000000000000..b67404641639
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/EndpointServicesList.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "location": "westus",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Storage",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage",
+ "type": "Microsoft.Network/virtualNetworkEndpointServices"
+ },
+ {
+ "name": "Microsoft.Sql",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql",
+ "type": "Microsoft.Network/virtualNetworkEndpointServices"
+ },
+ {
+ "name": "Microsoft.AzureActiveDirectory",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory",
+ "type": "Microsoft.Network/virtualNetworkEndpointServices"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitARPTableList.json
new file mode 100644
index 000000000000..f14eaa358f1b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitARPTableList.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName",
+ "devicePath": "devicePath"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "IPAddress",
+ "macAddress": "macAddress"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json
new file mode 100644
index 000000000000..a53266575699
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationCreate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "authorizationName": "authorizatinName",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "authorizationParameters": {
+ "properties": {
+ "authorizationKey": "authKey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "authorizationName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName",
+ "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "authorizationName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName",
+ "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json
new file mode 100644
index 000000000000..a1014d76bd0a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "authorizationName": "authorizationName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationGet.json
new file mode 100644
index 000000000000..55867db2b5e3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "authorizationName": "authorizationName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "MyAuthorization1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authKey",
+ "authorizationUseStatus": "Available"
+ },
+ "type": "Microsoft.Network/expressRouteCircuits/authorizations"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationList.json
new file mode 100644
index 000000000000..c6cf3945a8d7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitAuthorizationList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "MyAuthorization1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authKey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionCreate.json
new file mode 100644
index 000000000000..f3a7bdd54cb5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionCreate.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "connectionName": "circuitConnectionUSAUS",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering",
+ "type": "Microsoft.Network/expressRouteCircuits/peerings/connections",
+ "expressRouteCircuitConnectionParameters": {
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/29"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSAUS",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSAUS",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionDelete.json
new file mode 100644
index 000000000000..e1cfce9f5017
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionDelete.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering",
+ "connectionName": "circuitConnectionUSAUS",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionGet.json
new file mode 100644
index 000000000000..b8fded611342
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "connectionName": "circuitConnectionUSAUS",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSAUS",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Network/expressRouteCircuits/peerings/connections"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionList.json
new file mode 100644
index 000000000000..e15cdbd9b44a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitConnectionList.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSAUS",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
+ "addressPrefix": "10.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "circuitConnectionUSEUR",
+ "properties": {
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering"
+ },
+ "addressPrefix": "20.0.0.0/24",
+ "circuitConnectionStatus": "Connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreate.json
new file mode 100644
index 000000000000..e6d93225a08d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreate.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "parameters": {
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ },
+ "properties": {
+ "authorizations": [],
+ "peerings": [],
+ "allowClassicOperations": false,
+ "serviceProviderProperties": {
+ "serviceProviderName": "Equinix",
+ "peeringLocation": "Silicon Valley",
+ "bandwidthInMbps": 200
+ }
+ },
+ "location": "Brazil South"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "circuitName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "Brazil South",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "serviceProviderProperties": {
+ "serviceProviderName": "Equinix",
+ "peeringLocation": "Silicon Valley",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "circuitName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "Brazil South",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "serviceProviderProperties": {
+ "serviceProviderName": "Equinix",
+ "peeringLocation": "Silicon Valley",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json
new file mode 100644
index 000000000000..38589dd20d8d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "circuitName": "expressRouteCircuit1",
+ "parameters": {
+ "location": "westus",
+ "sku": {
+ "name": "Premium_MeteredData",
+ "tier": "Premium",
+ "family": "MeteredData"
+ },
+ "properties": {
+ "expressRoutePort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName"
+ },
+ "bandwidthInGbps": 10
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "expressRouteCircuit1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "expressRoutePort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName"
+ },
+ "bandwidthInGbps": 10,
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "20",
+ "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b",
+ "serviceProviderProvisioningState": "Provisioned"
+ },
+ "sku": {
+ "name": "Premium_MeteredData",
+ "tier": "Premium",
+ "family": "MeteredData"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "expressRouteCircuit1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "expressRoutePort": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName"
+ },
+ "bandwidthInGbps": 10,
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "20",
+ "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b",
+ "serviceProviderProvisioningState": "Provisioned"
+ },
+ "sku": {
+ "name": "Premium_MeteredData",
+ "tier": "Premium",
+ "family": "MeteredData"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitDelete.json
new file mode 100644
index 000000000000..6a4d8fc5b6ec
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitGet.json
new file mode 100644
index 000000000000..f8217bfe6383
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "circuitName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListByResourceGroup.json
new file mode 100644
index 000000000000..de7df5a6ed00
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListByResourceGroup.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "circuitName1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1",
+ "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [
+ {
+ "name": "MyAuthorization1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1",
+ "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authkey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ },
+ {
+ "name": "circuitName2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [
+ {
+ "name": "MyAuthorization2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authkey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListBySubscription.json
new file mode 100644
index 000000000000..e5db41ac9996
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitListBySubscription.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "circuitName1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1",
+ "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [
+ {
+ "name": "MyAuthorization1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1",
+ "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authkey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "113",
+ "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1",
+ "serviceProviderProvisioningState": "Provisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ },
+ {
+ "name": "circuitName2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peerings": [],
+ "authorizations": [
+ {
+ "name": "MyAuthorization2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2",
+ "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "authorizationKey": "authkey",
+ "authorizationUseStatus": "Available"
+ }
+ }
+ ],
+ "serviceProviderProperties": {
+ "serviceProviderName": "providerName",
+ "peeringLocation": "peeringLocation",
+ "bandwidthInMbps": 200
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringCreate.json
new file mode 100644
index 000000000000..5247255872f0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringCreate.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "peeringParameters": {
+ "properties": {
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "vlanId": 200
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ },
+ "expressRouteConnection": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ },
+ "expressRouteConnection": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringDelete.json
new file mode 100644
index 000000000000..e4d30574e1bf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringGet.json
new file mode 100644
index 000000000000..2d9ed2ac8cbb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringGet.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "peeringName": "MicrosoftPeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "MicrosoftPeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering",
+ "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "MicrosoftPeering",
+ "azureASN": 12076,
+ "peerASN": 100,
+ "primaryPeerAddressPrefix": "123.0.0.0/30",
+ "secondaryPeerAddressPrefix": "123.0.0.4/30",
+ "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A",
+ "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A",
+ "state": "Enabled",
+ "vlanId": 300,
+ "gatewayManagerEtag": "103",
+ "lastModifiedBy": "Customer",
+ "microsoftPeeringConfig": {
+ "advertisedPublicPrefixes": [
+ "123.1.0.0/24"
+ ],
+ "advertisedCommunities": [],
+ "advertisedPublicPrefixesState": "ValidationNeeded",
+ "customerASN": 23,
+ "legacyMode": 0,
+ "routingRegistryName": "ARIN"
+ },
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled",
+ "microsoftPeeringConfig": {
+ "advertisedPublicPrefixes": [
+ "3FFE:FFFF:0:CD31::/120"
+ ],
+ "advertisedCommunities": [],
+ "advertisedPublicPrefixesState": "ValidationNeeded",
+ "customerASN": 23,
+ "legacyMode": 0,
+ "routingRegistryName": "ARIN"
+ }
+ },
+ "routeFilter": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName"
+ }
+ },
+ "type": "Microsoft.Network/expressRouteCircuits/peerings"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringList.json
new file mode 100644
index 000000000000..ecd157122d32
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringList.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "MicrosoftPeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering",
+ "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "MicrosoftPeering",
+ "azureASN": 12076,
+ "peerASN": 100,
+ "primaryPeerAddressPrefix": "123.0.0.0/30",
+ "secondaryPeerAddressPrefix": "123.0.0.4/30",
+ "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A",
+ "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A",
+ "state": "Enabled",
+ "vlanId": 300,
+ "gatewayManagerEtag": "103",
+ "lastModifiedBy": "Customer",
+ "microsoftPeeringConfig": {
+ "advertisedPublicPrefixes": [
+ "123.1.0.0/24"
+ ],
+ "advertisedCommunities": [],
+ "advertisedPublicPrefixesState": "ValidationNeeded",
+ "customerASN": 23,
+ "legacyMode": 0,
+ "routingRegistryName": "ARIN"
+ },
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled",
+ "microsoftPeeringConfig": {
+ "advertisedPublicPrefixes": [
+ "3FFE:FFFF:0:CD31::/120"
+ ],
+ "advertisedCommunities": [],
+ "advertisedPublicPrefixesState": "ValidationNeeded",
+ "customerASN": 23,
+ "legacyMode": 0,
+ "routingRegistryName": "ARIN"
+ }
+ },
+ "expressRouteConnection": ""
+ }
+ },
+ {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
+ "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 100,
+ "primaryPeerAddressPrefix": "10.0.0.0/30",
+ "secondaryPeerAddressPrefix": "10.0.0.4/30",
+ "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A",
+ "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "103",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ },
+ "expressRouteConnection": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringStats.json
new file mode 100644
index 000000000000..af0de526633c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitPeeringStats.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primarybytesIn": 537408,
+ "primarybytesOut": 44032550,
+ "secondarybytesIn": 0,
+ "secondarybytesOut": 39002500
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableList.json
new file mode 100644
index 000000000000..cbc1921c4091
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName",
+ "devicePath": "devicePath"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "network": "",
+ "nextHop": "",
+ "locPrf": "",
+ "weight": 0,
+ "path": ""
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
new file mode 100644
index 000000000000..485f4be3d2d5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitRouteTableSummaryList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "peeringName": "peeringName",
+ "devicePath": "devicePath"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "neighbor": "100.65.171.1",
+ "v": 4,
+ "as": 9583,
+ "upDown": "never",
+ "statePfxRcd": "Idle"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitStats.json
new file mode 100644
index 000000000000..1fed3dd7c326
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitStats.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "circuitName": "circuitName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "primarybytesIn": 537408,
+ "primarybytesOut": 44032550,
+ "secondarybytesIn": 0,
+ "secondarybytesOut": 39002500
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitUpdateTags.json
new file mode 100644
index 000000000000..1900121a561f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCircuitUpdateTags.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "ertest",
+ "circuitName": "er1",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "er1",
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1",
+ "type": "Microsoft.Network/expressRouteCircuits",
+ "location": "brazilsouth",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Failed",
+ "peerings": [],
+ "authorizations": [],
+ "serviceProviderProperties": {
+ "serviceProviderName": "Equinix",
+ "peeringLocation": "Silicon Valley",
+ "bandwidthInMbps": 1000
+ },
+ "circuitProvisioningState": "Enabled",
+ "allowClassicOperations": false,
+ "gatewayManagerEtag": "",
+ "serviceKey": "0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c",
+ "serviceProviderProvisioningState": "NotProvisioned"
+ },
+ "sku": {
+ "name": "Standard_MeteredData",
+ "tier": "Standard",
+ "family": "MeteredData"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionCreate.json
new file mode 100644
index 000000000000..78c719462e1b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionCreate.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "gateway-2",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "connectionName": "connectionName",
+ "putExpressRouteConnectionParameters": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
+ "name": "connectionName",
+ "properties": {
+ "routingWeight": 2,
+ "authorizationKey": "authorizationKey",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "authorizationKey",
+ "routingWeight": 2
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "authorizationKey",
+ "routingWeight": 2
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionDelete.json
new file mode 100644
index 000000000000..0d1cb8a4867e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "resourceGroupName": "resourceGroupName",
+ "connectionName": "connectionName",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionGet.json
new file mode 100644
index 000000000000..935fbcd5e17e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "connectionName": "connectionName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "authorizationKey",
+ "routingWeight": 1
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionList.json
new file mode 100644
index 000000000000..8739e325d67d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteConnectionList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "resourceGroupName": "resourceGroupName",
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "authorizationKey",
+ "routingWeight": 1
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json
new file mode 100644
index 000000000000..ca00d7e2604f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "peeringParameters": {
+ "properties": {
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "vlanId": 200,
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126"
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json
new file mode 100644
index 000000000000..ab176cb6c528
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json
new file mode 100644
index 000000000000..0cf29ce2b54d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json
new file mode 100644
index 000000000000..7e4db8e4e6f7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "AzurePrivatePeering",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering",
+ "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringType": "AzurePrivatePeering",
+ "azureASN": 12076,
+ "peerASN": 200,
+ "primaryPeerAddressPrefix": "192.168.16.252/30",
+ "secondaryPeerAddressPrefix": "192.168.18.252/30",
+ "primaryAzurePort": "",
+ "secondaryAzurePort": "",
+ "state": "Enabled",
+ "vlanId": 200,
+ "gatewayManagerEtag": "",
+ "lastModifiedBy": "Customer",
+ "ipv6PeeringConfig": {
+ "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126",
+ "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126",
+ "state": "Enabled"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionGet.json
new file mode 100644
index 000000000000..2e3c103c5b9d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "crossConnectionName": ""
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"",
+ "properties": {
+ "provisioningState": "Enabled",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionList.json
new file mode 100644
index 000000000000..3143175d98b9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionList.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "properties": {
+ "provisioningState": "Enabled",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json
new file mode 100644
index 000000000000..23f12c713ced
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "properties": {
+ "provisioningState": "Enabled",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdate.json
new file mode 100644
index 000000000000..0ff9eba3ddbe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "crossConnectionName": "",
+ "parameters": {
+ "properties": {
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "properties": {
+ "provisioningState": "Enabled",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdateTags.json
new file mode 100644
index 000000000000..efcd0b7adb78
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionUpdateTags.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "crossConnectionName": "",
+ "crossConnectionParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "er1",
+ "id": "/subscriptions/subid/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/",
+ "type": "Microsoft.Network/expressRouteCrossConnections",
+ "location": "brazilsouth",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Failed",
+ "expressRouteCircuit": {
+ "id": "/subscriptions/subid/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1"
+ },
+ "peerings": [],
+ "peeringLocation": "SiliconValley",
+ "bandwidthInMbps": 1000,
+ "primaryAzurePort": "bvtazureixp01",
+ "secondaryAzurePort": "bvtazureixp01",
+ "sTag": 2,
+ "serviceProviderProvisioningState": "NotProvisioned"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsArpTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsArpTable.json
new file mode 100644
index 000000000000..8b9d7956de84
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsArpTable.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "devicePath": "primary",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "age": 0,
+ "interface": "Microsoft",
+ "ipAddress": "192.116.14.254",
+ "macAddress": "885a.9269.9110"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTable.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTable.json
new file mode 100644
index 000000000000..602fbd8ba65d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTable.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "devicePath": "primary",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "network": "10.6.0.0/16",
+ "nextHop": "10.6.1.12",
+ "locPrf": "",
+ "weight": 0,
+ "path": "65514"
+ },
+ {
+ "network": "10.7.0.0/16",
+ "nextHop": "10.7.1.13",
+ "locPrf": "",
+ "weight": 0,
+ "path": "65514"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json
new file mode 100644
index 000000000000..1d39d6cd3f31
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "peeringName": "AzurePrivatePeering",
+ "crossConnectionName": "",
+ "resourceGroupName": "CrossConnection-SiliconValley",
+ "devicePath": "primary",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "neighbor": "10.6.1.112",
+ "asn": 65514,
+ "upDown": "1d14h",
+ "stateOrPrefixesReceived": "Active"
+ },
+ {
+ "neighbor": "10.6.1.113",
+ "asn": 65514,
+ "upDown": "1d14h",
+ "stateOrPrefixesReceived": "1"
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayCreate.json
new file mode 100644
index 000000000000..de195a465674
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayCreate.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "gateway-2",
+ "subscriptionId": "subid",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-06-01",
+ "putExpressRouteGatewayParameters": {
+ "location": "westus",
+ "properties": {
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 3
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "gateway-2",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 3
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "gateway-2",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 3
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayDelete.json
new file mode 100644
index 000000000000..7800b0fb5622
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayGet.json
new file mode 100644
index 000000000000..cdcd052e3b7e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "expressRouteGatewayName": "expressRouteGatewayName",
+ "resourceGroupName": "resourceGroupName",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "expressRouteGatewayName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListByResourceGroup.json
new file mode 100644
index 000000000000..ac93f097a265
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListByResourceGroup.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "resourceGroupName": "resourceGroupName",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "expressRouteGatewayName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 2
+ }
+ },
+ "expressRouteConnections": [
+ {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d",
+ "routingWeight": 1
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListBySubscription.json
new file mode 100644
index 000000000000..9ecc3b3e8f18
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteGatewayListBySubscription.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "expressRouteGatewayName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "westus",
+ "type": "Microsoft.Network/expressRouteGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName"
+ },
+ "autoScaleConfiguration": {
+ "bounds": {
+ "min": 2
+ }
+ },
+ "expressRouteConnections": [
+ {
+ "name": "connectionName",
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName",
+ "properties": {
+ "provisioningState": "Provisioned",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"
+ },
+ "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d",
+ "routingWeight": 1
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkGet.json
new file mode 100644
index 000000000000..e052c79748f9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName",
+ "linkName": "linkName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "linkName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkList.json
new file mode 100644
index 000000000000..7a9b4b503581
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteLinkList.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "link1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "name": "link2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortCreate.json
new file mode 100644
index 000000000000..28c36c634ba5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortCreate.json
@@ -0,0 +1,112 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "encapsulation": "QinQ"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortDelete.json
new file mode 100644
index 000000000000..00fe8a3fc150
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortGet.json
new file mode 100644
index 000000000000..7f07581fdb69
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortGet.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortList.json
new file mode 100644
index 000000000000..b3f77c0067fa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortList.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortListByResourceGroup.json
new file mode 100644
index 000000000000..49f6de98f9b0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortListByResourceGroup.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateLink.json
new file mode 100644
index 000000000000..82c623276aca
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateLink.json
@@ -0,0 +1,120 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "encapsulation": "QinQ",
+ "links": [
+ {
+ "name": "link1",
+ "properties": {
+ "adminState": "Enabled"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Enabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Enabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateTags.json
new file mode 100644
index 000000000000..5a77692114af
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortUpdateTags.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "expressRoutePortName": "portName",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "portName",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName",
+ "type": "Microsoft.Network/expressRoutePorts",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocation": "peeringLocationName",
+ "bandwidthInGbps": 100,
+ "provisionedBandwidthInGbps": 0.0,
+ "mtu": "1500",
+ "encapsulation": "QinQ",
+ "etherType": "0x8100",
+ "allocationDate": "Friday, July 1, 2018",
+ "links": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1",
+ "name": "link1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router1",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId1",
+ "rackId": "rackId1",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2",
+ "name": "link2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routerName": "router2",
+ "interfaceName": "Ethernet 0/0",
+ "patchPanelId": "patchPanelId2",
+ "rackId": "rackId2",
+ "connectorType": "LC",
+ "adminState": "Disabled"
+ }
+ }
+ ],
+ "circuits": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationGet.json
new file mode 100644
index 000000000000..9aec8942a1e0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01",
+ "locationName": "locationName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "locationName",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName",
+ "type": "Microsoft.Network/expressRoutePortsLocations",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "address": "123 Main Street, City, State, Zip",
+ "contact": "email@address.com",
+ "availableBandwidths": [
+ {
+ "offerName": "100 Gbps",
+ "valueInGbps": 100
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationList.json
new file mode 100644
index 000000000000..6199c081a47f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRoutePortsLocationList.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "locationName",
+ "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/locationName",
+ "type": "Microsoft.Network/expressRoutePortsLocations",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "address": "123 Main Street, City, State, Zip",
+ "contact": "email@address.com",
+ "availableBandwidths": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteProviderList.json
new file mode 100644
index 000000000000..7d823a67d12c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ExpressRouteProviderList.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "providerName",
+ "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/",
+ "type": "Microsoft.Network/expressRouteServiceProviders",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "peeringLocations": [
+ "peeringLocation1",
+ "peeringLocation2"
+ ],
+ "bandwidthsOffered": [
+ {
+ "offerName": "50Mbps",
+ "valueInMbps": 50
+ },
+ {
+ "offerName": "100Mbps",
+ "valueInMbps": 100
+ },
+ {
+ "offerName": "200Mbps",
+ "valueInMbps": 200
+ },
+ {
+ "offerName": "500Mbps",
+ "valueInMbps": 500
+ },
+ {
+ "offerName": "1Gbps",
+ "valueInMbps": 1000
+ },
+ {
+ "offerName": "2Gbps",
+ "valueInMbps": 2000
+ },
+ {
+ "offerName": "5Gbps",
+ "valueInMbps": 5000
+ },
+ {
+ "offerName": "10Gbps",
+ "valueInMbps": 10000
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionGet.json
new file mode 100644
index 000000000000..29a325ce3883
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "connectionName": "connection1",
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "connection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionList.json
new file mode 100644
index 000000000000..1ced8ef7603f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/HubVirtualNetworkConnectionList.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "connectionName": "connection1",
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "connection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet1"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ },
+ {
+ "name": "connection2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/vnet2"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleCreate.json
new file mode 100644
index 000000000000..b083b32d2eaa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleCreate.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb1",
+ "inboundNatRuleName": "natRule1.1",
+ "inboundNatRuleParameters": {
+ "properties": {
+ "protocol": "Tcp",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "idleTimeoutInMinutes": 4,
+ "enableTcpReset": false,
+ "enableFloatingIP": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "natRule1.1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "natRule1.1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleDelete.json
new file mode 100644
index 000000000000..7575eebe6fe8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb1",
+ "inboundNatRuleName": "natRule1.1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleGet.json
new file mode 100644
index 000000000000..c7e3db466e73
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb1",
+ "inboundNatRuleName": "natRule1.1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "natRule1.1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleList.json
new file mode 100644
index 000000000000..6526242a03e1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/InboundNatRuleList.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "natRule1.1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3390,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ },
+ {
+ "name": "natRule1.3",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1"
+ },
+ "frontendPort": 3392,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 4,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolGet.json
new file mode 100644
index 000000000000..ea8e107c75c0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "backendAddressPoolName": "backend",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "backend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolList.json
new file mode 100644
index 000000000000..6ce58f376d6e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerBackendAddressPoolList.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "backend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json
new file mode 100644
index 000000000000..186e2d491a0b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreate.json
@@ -0,0 +1,339 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "properties": {}
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "properties": {
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json
new file mode 100644
index 000000000000..bd1ded7c66f1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateStandardSku.json
@@ -0,0 +1,339 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "properties": {}
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "properties": {
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "inboundNatPools": [],
+ "outboundRules": []
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithInboundNatPool.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithInboundNatPool.json
new file mode 100644
index 000000000000..07175aab2657
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithInboundNatPool.json
@@ -0,0 +1,184 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "properties": {
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "properties": {
+ "serviceEndpoints": [],
+ "resourceNavigationLinks": []
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
+ }
+ },
+ "name": "test",
+ "zones": [],
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
+ }
+ ],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "outboundRules": [],
+ "inboundNatPools": [
+ {
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
+ },
+ "protocol": "Tcp",
+ "frontendPortRangeStart": 8080,
+ "frontendPortRangeEnd": 8085,
+ "backendPort": 8888,
+ "idleTimeoutInMinutes": 10,
+ "enableFloatingIP": true,
+ "enableTcpReset": true
+ },
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
+ },
+ "inboundNatPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "outboundRules": [],
+ "inboundNatPools": [
+ {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
+ "type": "Microsoft.Network/loadBalancers/inboundNatPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendPortRangeStart": 8080,
+ "frontendPortRangeEnd": 8085,
+ "backendPort": 8888,
+ "idleTimeoutInMinutes": 10,
+ "enableFloatingIP": true,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet"
+ },
+ "inboundNatPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "outboundRules": [],
+ "inboundNatPools": [
+ {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test",
+ "type": "Microsoft.Network/loadBalancers/inboundNatPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendPortRangeStart": 8080,
+ "frontendPortRangeEnd": 8085,
+ "backendPort": 8888,
+ "idleTimeoutInMinutes": 10,
+ "enableFloatingIP": true,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithOutboundRules.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithOutboundRules.json
new file mode 100644
index 000000000000..df754b27e339
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithOutboundRules.json
@@ -0,0 +1,423 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
+ }
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "properties": {}
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "frontendPort": 80,
+ "backendPort": 80,
+ "idleTimeoutInMinutes": 15,
+ "enableFloatingIP": true,
+ "disableOutboundSnat": true
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "properties": {
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "inboundNatPools": [],
+ "outboundRules": [
+ {
+ "name": "rule1",
+ "properties": {
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "protocol": "All"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ],
+ "outboundRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
+ }
+ ],
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "outboundRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "disableOutboundSnat": true,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "outboundRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1",
+ "type": "Microsoft.Network/loadBalancers/outboundRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "allocatedOutboundPorts": 1024,
+ "protocol": "All",
+ "enableTcpReset": false,
+ "idleTimeoutInMinutes": 4,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ],
+ "outboundRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
+ }
+ ],
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "outboundRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false,
+ "loadDistribution": "Default",
+ "disableOutboundSnat": true,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": false
+ }
+ }
+ ],
+ "outboundRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1",
+ "type": "Microsoft.Network/loadBalancers/outboundRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "allocatedOutboundPorts": 1024,
+ "protocol": "All",
+ "enableTcpReset": false,
+ "idleTimeoutInMinutes": 4,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json
new file mode 100644
index 000000000000..e31f1ba1ba8d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerCreateWithZones.json
@@ -0,0 +1,348 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ },
+ "zones": [
+ "1"
+ ]
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "properties": {}
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "properties": {
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "properties": {
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "inboundNatPools": [],
+ "outboundRules": []
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "location": "eastus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerDelete.json
new file mode 100644
index 000000000000..0c9427c65cb3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json
new file mode 100644
index 000000000000..5487fe648611
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "frontendIPConfigurationName": "frontend",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "frontend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json
new file mode 100644
index 000000000000..dc194f07f680
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerFrontendIPConfigurationList.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "resourceGroupName": "testrg",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "loadBalancerName": "lb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "frontend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json
new file mode 100644
index 000000000000..71178dad1fb7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerGet.json
@@ -0,0 +1,139 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json
new file mode 100644
index 000000000000..56210059a6c7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerList.json
@@ -0,0 +1,161 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "felb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "belb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "prlb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "inrlb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ },
+ {
+ "name": "lb2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "inboundNatPools": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json
new file mode 100644
index 000000000000..9d04121de085
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerListAll.json
@@ -0,0 +1,160 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "felb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "belb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/backendAddressPools",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "prlb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "inrlb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers/inboundNatRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true
+ }
+ }
+ ],
+ "inboundNatPools": []
+ }
+ },
+ {
+ "name": "lb3",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3",
+ "etag": "W/\"00000000-0000-0000-0000-00000000\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "sku": {
+ "name": "Basic"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-00000000",
+ "frontendIPConfigurations": [],
+ "backendAddressPools": [],
+ "loadBalancingRules": [],
+ "probes": [],
+ "inboundNatRules": [],
+ "inboundNatPools": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleGet.json
new file mode 100644
index 000000000000..0e3e46804cc0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleGet.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb1",
+ "loadBalancingRuleName": "rule1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleList.json
new file mode 100644
index 000000000000..f6e67e513381
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerLoadBalancingRuleList.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/loadBalancingRules",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListSimple.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListSimple.json
new file mode 100644
index 000000000000..442ab6035f71
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListSimple.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "mynic",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet"
+ },
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListVmss.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListVmss.json
new file mode 100644
index 000000000000..410f59ab8406
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerNetworkInterfaceListVmss.json
@@ -0,0 +1,112 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "vmss1Nic",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "vmss1IpConfig",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net"
+ },
+ "macAddress": "00-00-00-00-00-00",
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false,
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0"
+ }
+ }
+ },
+ {
+ "name": "vmss1Nic",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "vmss1IpConfig",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.5",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1"
+ }
+ ]
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net"
+ },
+ "macAddress": "00-00-00-00-00-00",
+ "enableAcceleratedNetworking": false,
+ "enableIPForwarding": false,
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleGet.json
new file mode 100644
index 000000000000..14a5a8a8e2e3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleGet.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb1",
+ "outboundRuleName": "rule1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1",
+ "type": "Microsoft.Network/loadBalancers/outboundRules",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend"
+ }
+ ],
+ "allocatedOutboundPorts": 64,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleList.json
new file mode 100644
index 000000000000..e3e97ad2c919
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerOutboundRuleList.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1",
+ "type": "Microsoft.Network/loadBalancers/outboundRules",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend"
+ }
+ ],
+ "allocatedOutboundPorts": 64,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "enableTcpReset": true,
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeGet.json
new file mode 100644
index 000000000000..db0bd4a1c781
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "probeName": "probe1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "probe1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeList.json
new file mode 100644
index 000000000000..50e3f045efae
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerProbeList.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "loadBalancerName": "lb",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "prlb",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/loadBalancers/probes",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerUpdateTags.json
new file mode 100644
index 000000000000..e2f510ef6783
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LoadBalancerUpdateTags.json
@@ -0,0 +1,132 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "loadBalancerName": "lb",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfigurations": [
+ {
+ "name": "fe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "be-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rulelb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb"
+ },
+ "disableOutboundSnat": false
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe-lb",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "in-nat-rule",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": true,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp"
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayCreate.json
new file mode 100644
index 000000000000..1b3b27b107d6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayCreate.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "localNetworkGatewayName": "localgw",
+ "parameters": {
+ "properties": {
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "11.12.13.14"
+ },
+ "location": "Central US"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "localgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Updating",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "11.12.13.14"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "localgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Updating",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "11.12.13.14"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayDelete.json
new file mode 100644
index 000000000000..03c7812d0cb7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "localNetworkGatewayName": "localgw"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayGet.json
new file mode 100644
index 000000000000..7ce0d4441e8c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayGet.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "localNetworkGatewayName": "localgw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "localgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "x.x.x.x"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayList.json
new file mode 100644
index 000000000000..56dca91e5c31
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "localgw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "x.x.x.x"
+ }
+ },
+ {
+ "name": "localgw2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.2.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "x.x.x.x"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayUpdateTags.json
new file mode 100644
index 000000000000..74acc2314cf4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/LocalNetworkGatewayUpdateTags.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "localNetworkGatewayName": "lgw",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "lgw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw",
+ "type": "Microsoft.Network/localNetworkGateways",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "12.0.0.0/8"
+ ]
+ },
+ "gatewayIpAddress": "12.0.0.1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayCreateOrUpdate.json
new file mode 100644
index 000000000000..38c66b2dcf93
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayCreateOrUpdate.json
@@ -0,0 +1,118 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "natGatewayName": "test-natgateway",
+ "parameters": {
+ "location": "westus",
+ "sku": {
+ "name": "Standard"
+ },
+ "properties": {
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ },
+ "202": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayDelete.json
new file mode 100644
index 000000000000..1bb5ab2f60eb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "natGatewayName": "test-natGateway"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayGet.json
new file mode 100644
index 000000000000..562fd2bcfe0c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayGet.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "natGatewayName": "test-natGateway"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayList.json
new file mode 100644
index 000000000000..5fc97d9805bc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayList.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ },
+ {
+ "name": "test-natGateway2",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayListAll.json
new file mode 100644
index 000000000000..999ec5d1aafe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayListAll.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ },
+ {
+ "name": "test-natGateway2",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayUpdateTags.json
new file mode 100644
index 000000000000..f47d4afb80fa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NatGatewayUpdateTags.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "natGatewayName": "test-natGateway",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-natGateway",
+ "sku": {
+ "name": "Standard"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway",
+ "location": "westus",
+ "properties": {
+ "idleTimeoutInMinutes": 5,
+ "provisioningState": "Succeeded",
+ "publicIpAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ],
+ "publicIpPrefixes": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1"
+ }
+ ]
+ },
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.Network/natGateways"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceCreate.json
new file mode 100644
index 000000000000..8e7ca9b9bfe1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceCreate.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-nic",
+ "parameters": {
+ "properties": {
+ "enableAcceleratedNetworking": true,
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "properties": {
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ }
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceDelete.json
new file mode 100644
index 000000000000..31f4de05ffc1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-nic"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveNSGList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveNSGList.json
new file mode 100644
index 000000000000..319cc89bdfb2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveNSGList.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "nic1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg"
+ },
+ "association": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "networkInterface": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1"
+ }
+ },
+ "effectiveSecurityRules": [
+ {
+ "name": "securityRules/rule1",
+ "protocol": "Tcp",
+ "sourcePortRange": "456-456",
+ "destinationPortRange": "6579-6579",
+ "sourceAddressPrefix": "0.0.0.0/32",
+ "destinationAddressPrefix": "0.0.0.0/32",
+ "access": "Allow",
+ "priority": 234,
+ "direction": "Inbound"
+ },
+ {
+ "name": "securityRules/default-allow-rdp",
+ "protocol": "Tcp",
+ "sourcePortRange": "0-65535",
+ "destinationPortRange": "3389-3389",
+ "sourceAddressPrefix": "1.1.1.1/32",
+ "destinationAddressPrefix": "0.0.0.0/0",
+ "access": "Allow",
+ "priority": 1000,
+ "direction": "Inbound"
+ },
+ {
+ "name": "defaultSecurityRules/AllowInternetOutBound",
+ "protocol": "All",
+ "sourcePortRange": "0-65535",
+ "destinationPortRange": "0-65535",
+ "sourceAddressPrefix": "0.0.0.0/0",
+ "destinationAddressPrefix": "Internet",
+ "expandedDestinationAddressPrefix": [
+ "32.0.0.0/3",
+ "4.0.0.0/6",
+ "2.0.0.0/7",
+ "1.0.0.0/8"
+ ],
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveRouteTableList.json
new file mode 100644
index 000000000000..9335afb3f3bc
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceEffectiveRouteTableList.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "nic1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "172.20.2.0/24"
+ ],
+ "nextHopType": "VnetLocal",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "0.0.0.0/0"
+ ],
+ "nextHopType": "Internet",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "10.0.0.0/8"
+ ],
+ "nextHopType": "None",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "100.64.0.0/10"
+ ],
+ "nextHopType": "None",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "172.16.0.0/12"
+ ],
+ "nextHopType": "None",
+ "nextHopIpAddress": []
+ },
+ {
+ "source": "Default",
+ "state": "Active",
+ "addressPrefix": [
+ "192.168.0.0/16"
+ ],
+ "nextHopType": "None",
+ "nextHopIpAddress": []
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceGet.json
new file mode 100644
index 000000000000..3c1aab1e6c74
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceGet.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-nic"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "test.bx.internal.cloudapp.net"
+ },
+ "macAddress": "00-0D-3A-1B-C7-21",
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationGet.json
new file mode 100644
index 000000000000..3cea12bd7dd3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationGet.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "mynic",
+ "ipConfigurationName": "ipconfig1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet"
+ },
+ "privateIPAddressVersion": "IPv4",
+ "loadBalancerBackendAddressPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1"
+ }
+ ],
+ "loadBalancerInboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1"
+ }
+ ],
+ "virtualNetworkTaps": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP2"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationList.json
new file mode 100644
index 000000000000..551b427e58eb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceIPConfigurationList.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "nic1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "10.0.0.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceList.json
new file mode 100644
index 000000000000..57302337385c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceList.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "test.bx.internal.cloudapp.net"
+ },
+ "macAddress": "00-0D-3A-1B-C7-21",
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ },
+ {
+ "name": "test-nic2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceListAll.json
new file mode 100644
index 000000000000..8174f060b99f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceListAll.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": [],
+ "internalDomainNameSuffix": "test.bx.internal.cloudapp.net"
+ },
+ "macAddress": "00-0D-3A-1B-C7-21",
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false,
+ "networkSecurityGroup": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg"
+ },
+ "primary": true,
+ "virtualMachine": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ },
+ {
+ "name": "test-nic2",
+ "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceLoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceLoadBalancerList.json
new file mode 100644
index 000000000000..18a63827e432
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceLoadBalancerList.json
@@ -0,0 +1,139 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "nic1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "lbname1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "type": "Microsoft.Network/loadBalancers",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "frontendIPConfigurations": [
+ {
+ "name": "lbfrontend",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP"
+ },
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1"
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1"
+ }
+ ]
+ }
+ }
+ ],
+ "backendAddressPools": [
+ {
+ "name": "bepool1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "backendIPConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1"
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1"
+ }
+ ]
+ }
+ }
+ ],
+ "loadBalancingRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend"
+ },
+ "frontendPort": 80,
+ "backendPort": 80,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "loadDistribution": "Default",
+ "backendAddressPool": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1"
+ },
+ "probe": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1"
+ }
+ }
+ }
+ ],
+ "probes": [
+ {
+ "name": "probe1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "Http",
+ "port": 80,
+ "requestPath": "healthcheck.aspx",
+ "intervalInSeconds": 15,
+ "numberOfProbes": 2,
+ "loadBalancingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1"
+ }
+ ]
+ }
+ }
+ ],
+ "inboundNatRules": [
+ {
+ "name": "inbound1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1",
+ "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "frontendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend"
+ },
+ "frontendPort": 3389,
+ "backendPort": 3389,
+ "enableFloatingIP": false,
+ "idleTimeoutInMinutes": 15,
+ "protocol": "Tcp",
+ "backendIPConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1"
+ }
+ }
+ }
+ ],
+ "outboundRules": [],
+ "inboundNatPools": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationCreate.json
new file mode 100644
index 000000000000..24ea42134dc0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationCreate.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "mynic",
+ "tapConfigurationName": "tapconfiguration1",
+ "api-version": "2019-06-01",
+ "tapConfigurationParameters": {
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "tapConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1",
+ "etag": "etag",
+ "type": "Microsoft.Network/networkInterfaces/tapConfigurations",
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ },
+ "provisioningState": "Succeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "tapConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1",
+ "etag": "etag",
+ "type": "Microsoft.Network/networkInterfaces/tapConfigurations",
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ },
+ "provisioningState": "Succeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationDelete.json
new file mode 100644
index 000000000000..498972782118
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-networkinterface",
+ "tapConfigurationName": "test-tapconfiguration"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationGet.json
new file mode 100644
index 000000000000..f107c1453e54
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "subid",
+ "resourceGroupName": "testrg",
+ "networkInterfaceName": "mynic",
+ "tapConfigurationName": "tapconfiguration1",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "tapConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1",
+ "etag": "etag",
+ "type": "Microsoft.Network/networkInterfaces/tapConfigurations",
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ },
+ "provisioningState": "Succeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationList.json
new file mode 100644
index 000000000000..b60be89c275c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceTapConfigurationList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "mynic"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "tapConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1",
+ "etag": "etag",
+ "type": "Microsoft.Network/networkInterfaces/tapConfigurations",
+ "properties": {
+ "virtualNetworkTap": {
+ "id": "/subscriptions/subid/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap"
+ },
+ "provisioningState": "Succeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceUpdateTags.json
new file mode 100644
index 000000000000..a10d2fa5ce2f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkInterfaceUpdateTags.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkInterfaceName": "test-nic",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-nic",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic",
+ "location": "eastus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAddress": "172.20.2.4",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default"
+ },
+ "primary": true,
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "dnsSettings": {
+ "dnsServers": [],
+ "appliedDnsServers": []
+ },
+ "enableAcceleratedNetworking": true,
+ "enableIPForwarding": false
+ },
+ "type": "Microsoft.Network/networkInterfaces"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileCreateConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileCreateConfigOnly.json
new file mode 100644
index 000000000000..ebd78465e92e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileCreateConfigOnly.json
@@ -0,0 +1,110 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "networkProfile1",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "networkProfile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "networkProfile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileDelete.json
new file mode 100644
index 000000000000..95a44ddfd0ba
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "networkProfile1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetConfigOnly.json
new file mode 100644
index 000000000000..e09de00f3504
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetConfigOnly.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "networkProfile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "networkProfile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ },
+ {
+ "name": "ipconfigprofile2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ },
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile3",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetWithContainerNic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetWithContainerNic.json
new file mode 100644
index 000000000000..f80c47d3bd97
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileGetWithContainerNic.json
@@ -0,0 +1,203 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "networkProfile1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "networkProfile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ },
+ {
+ "name": "ipconfigprofile2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ],
+ "containerNetworkInterfaces": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ },
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile3",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ],
+ "containerNetworkInterfaces": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": [
+ {
+ "name": "containerGroup1_eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup1_eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup2_eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup2_eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup3_eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ },
+ {
+ "name": "containerGroup3_eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1",
+ "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "containerNetworkInterfaceConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1"
+ },
+ "container": {
+ "id": "/subscriptions/subid/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3"
+ },
+ "ipConfigurations": []
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileList.json
new file mode 100644
index 000000000000..8ca0f774bda2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileList.json
@@ -0,0 +1,97 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "name": "networkProfile1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ },
+ {
+ "name": "ipconfigprofile2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2",
+ "name": "networkProfile2",
+ "properties": {
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile3",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileListAll.json
new file mode 100644
index 000000000000..c12ae0ee648e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileListAll.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1",
+ "name": "networkProfile1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2",
+ "name": "networkProfile2",
+ "properties": {
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth1",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile3",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileUpdateTags.json
new file mode 100644
index 000000000000..5f0723c05f54
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkProfileUpdateTags.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkProfileName": "test-np",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-np",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf",
+ "containerNetworkInterfaceConfigurations": [
+ {
+ "name": "eth0",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipConfigurations": [
+ {
+ "name": "ipconfigprofile1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1",
+ "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"",
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1"
+ }
+ }
+ }
+ ]
+ },
+ "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations"
+ }
+ ],
+ "containerNetworkInterfaces": []
+ },
+ "type": "Microsoft.Network/networkProfiles",
+ "location": "centraluseuap"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreate.json
new file mode 100644
index 000000000000..7e646dd0f327
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreate.json
@@ -0,0 +1,233 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "parameters": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreateWithRule.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreateWithRule.json
new file mode 100644
index 000000000000..f25cd684e53f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupCreateWithRule.json
@@ -0,0 +1,282 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "parameters": {
+ "properties": {
+ "securityRules": [
+ {
+ "name": "rule1",
+ "properties": {
+ "protocol": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "destinationPortRange": "80",
+ "sourcePortRange": "*",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupDelete.json
new file mode 100644
index 000000000000..a618b7f5de3c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupGet.json
new file mode 100644
index 000000000000..b1354d59769c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupGet.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupList.json
new file mode 100644
index 000000000000..d3fcf3a8dd63
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupList.json
@@ -0,0 +1,231 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nsg1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "nsg3",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupListAll.json
new file mode 100644
index 000000000000..903b592968d2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupListAll.json
@@ -0,0 +1,230 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nsg1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "nsg3",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleCreate.json
new file mode 100644
index 000000000000..59884ad6a46c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleCreate.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "securityRuleName": "rule1",
+ "securityRuleParameters": {
+ "properties": {
+ "protocol": "*",
+ "sourceAddressPrefix": "10.0.0.0/8",
+ "destinationAddressPrefix": "11.0.0.0/8",
+ "access": "Deny",
+ "destinationPortRange": "8080",
+ "sourcePortRange": "*",
+ "priority": 100,
+ "direction": "Outbound"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "8080",
+ "sourceAddressPrefix": "10.0.0.0/8",
+ "destinationAddressPrefix": "11.0.0.0/8",
+ "access": "Deny",
+ "priority": 100,
+ "direction": "Outbound"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "8080",
+ "sourceAddressPrefix": "10.0.0.0/8",
+ "destinationAddressPrefix": "11.0.0.0/8",
+ "access": "Deny",
+ "priority": 100,
+ "direction": "Outbound"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleDelete.json
new file mode 100644
index 000000000000..9800d44afc36
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "securityRuleName": "rule1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleGet.json
new file mode 100644
index 000000000000..2d84db7b20ae
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleGet.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "securityRuleName": "rule1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleList.json
new file mode 100644
index 000000000000..c9b34d577865
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupRuleList.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "80",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 130,
+ "direction": "Inbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupUpdateTags.json
new file mode 100644
index 000000000000..f4110de31f8e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkSecurityGroupUpdateTags.json
@@ -0,0 +1,130 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkSecurityGroupName": "testnsg",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg",
+ "type": "Microsoft.Network/networkSecurityGroups",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "securityRules": [],
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowAzureLoadBalancerInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from azure load balancer",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "AzureLoadBalancer",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "DenyAllInBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all inbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Inbound"
+ }
+ },
+ {
+ "name": "AllowVnetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "AllowInternetOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow outbound traffic from all VMs to Internet",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "Internet",
+ "access": "Allow",
+ "priority": 65001,
+ "direction": "Outbound"
+ }
+ },
+ {
+ "name": "DenyAllOutBound",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Deny all outbound traffic",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAvailableProvidersListGet.json
new file mode 100644
index 000000000000..a0d1c37571b4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAvailableProvidersListGet.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "azureLocations": [
+ "West US"
+ ],
+ "country": "United States",
+ "state": "washington",
+ "city": "seattle"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "countries": [
+ {
+ "countryName": "United States",
+ "states": [
+ {
+ "stateName": "washington",
+ "cities": [
+ {
+ "cityName": "seattle",
+ "providers": [
+ "Comcast Cable Communications, Inc. - ASN 7922",
+ "Comcast Cable Communications, LLC - ASN 7922",
+ "Level 3 Communications, Inc. (GBLX) - ASN 3549",
+ "Qwest Communications Company, LLC - ASN 209"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "countries": [
+ {
+ "countryName": "United States",
+ "states": [
+ {
+ "stateName": "washington",
+ "cities": [
+ {
+ "cityName": "seattle",
+ "providers": [
+ "Comcast Cable Communications, Inc. - ASN 7922",
+ "Comcast Cable Communications, LLC - ASN 7922",
+ "Level 3 Communications, Inc. (GBLX) - ASN 3549",
+ "Qwest Communications Company, LLC - ASN 209"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAzureReachabilityReportGet.json
new file mode 100644
index 000000000000..5e502d6d4c12
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherAzureReachabilityReportGet.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "providerLocation": {
+ "country": "United States",
+ "state": "washington"
+ },
+ "providers": [
+ "Frontier Communications of America, Inc. - ASN 5650"
+ ],
+ "azureLocations": [
+ "West US"
+ ],
+ "startTime": "2017-09-07T00:00:00Z",
+ "endTime": "2017-09-10T00:00:00Z"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "aggregationLevel": "State",
+ "providerLocation": {
+ "country": "United States",
+ "state": "washington"
+ },
+ "reachabilityReport": [
+ {
+ "provider": "Frontier Communications of America, Inc. - ASN 5650",
+ "azureLocation": "West US",
+ "latencies": [
+ {
+ "timeStamp": "2017-09-07T00:00:00Z",
+ "score": 94
+ },
+ {
+ "timeStamp": "2017-09-08T00:00:00Z",
+ "score": 94
+ },
+ {
+ "timeStamp": "2017-09-09T00:00:00Z",
+ "score": 94
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "aggregationLevel": "State",
+ "providerLocation": {
+ "country": "United States",
+ "state": "washington"
+ },
+ "reachabilityReport": [
+ {
+ "provider": "Frontier Communications of America, Inc. - ASN 5650",
+ "azureLocation": "West US",
+ "latencies": [
+ {
+ "timeStamp": "2017-09-07T00:00:00Z",
+ "score": 94
+ },
+ {
+ "timeStamp": "2017-09-08T00:00:00Z",
+ "score": 94
+ },
+ {
+ "timeStamp": "2017-09-09T00:00:00Z",
+ "score": 94
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorCreate.json
new file mode 100644
index 000000000000..e31b2635799a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorCreate.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "connectionMonitorName": "cm1",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "source": {
+ "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1"
+ },
+ "destination": {
+ "address": "bing.com",
+ "port": 80
+ },
+ "monitoringIntervalInSeconds": 60
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "cm1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1",
+ "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "source": {
+ "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1",
+ "port": 0
+ },
+ "destination": {
+ "address": "bing.com",
+ "port": 80
+ },
+ "monitoringIntervalInSeconds": 60,
+ "autoStart": true,
+ "monitoringStatus": "NotStarted"
+ },
+ "location": "eastus",
+ "type": "Microsoft.Network/networkWatchers/connectionMonitors"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "cm1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1",
+ "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "source": {
+ "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1",
+ "port": 0
+ },
+ "destination": {
+ "address": "bing.com",
+ "port": 80
+ },
+ "monitoringIntervalInSeconds": 60,
+ "autoStart": true,
+ "monitoringStatus": "NotStarted"
+ },
+ "location": "eastus",
+ "type": "Microsoft.Network/networkWatchers/connectionMonitors"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorDelete.json
new file mode 100644
index 000000000000..fc23a165af9d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "connectionMonitorName": "cm1"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorGet.json
new file mode 100644
index 000000000000..5be221ce1d16
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorGet.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "connectionMonitorName": "cm1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "cm1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "source": {
+ "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1",
+ "port": 0
+ },
+ "destination": {
+ "address": "bing.com",
+ "port": 80
+ },
+ "monitoringIntervalInSeconds": 60,
+ "autoStart": true,
+ "startTime": "2018-01-08T03:42:33.3387305Z",
+ "monitoringStatus": "Running"
+ },
+ "location": "centraluseuap",
+ "type": "Microsoft.Network/networkWatchers/connectionMonitors"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorList.json
new file mode 100644
index 000000000000..7a35958530f1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorList.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "cm1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "source": {
+ "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1",
+ "port": 0
+ },
+ "destination": {
+ "address": "bing.com",
+ "port": 80
+ },
+ "monitoringIntervalInSeconds": 60,
+ "autoStart": true,
+ "startTime": "2018-01-08T03:42:33.3387305Z",
+ "monitoringStatus": "Running"
+ },
+ "location": "centraluseuap",
+ "type": "Microsoft.Network/networkWatchers/connectionMonitors"
+ },
+ {
+ "name": "cm2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "source": {
+ "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm2",
+ "port": 0
+ },
+ "destination": {
+ "address": "google.com",
+ "port": 80
+ },
+ "monitoringIntervalInSeconds": 30,
+ "autoStart": true,
+ "startTime": "2018-01-08T05:42:33.3387305Z",
+ "monitoringStatus": "Running"
+ },
+ "location": "centraluseuap",
+ "type": "Microsoft.Network/networkWatchers/connectionMonitors"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorQuery.json
new file mode 100644
index 000000000000..b7278b5d44ca
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorQuery.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "connectionMonitorName": "cm1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sourceStatus": "Active",
+ "states": [
+ {
+ "connectionState": "Reachable",
+ "startTime": "2018-01-08T03:42:33.3387305Z",
+ "endTime": "2018-01-08T05:12:41.5265438Z",
+ "evaluationState": "Completed",
+ "hops": [
+ {
+ "type": "Source",
+ "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e",
+ "address": "10.1.1.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1",
+ "nextHopIds": [
+ "75c8d819-b208-4584-a311-1aa45ce753f9"
+ ],
+ "issues": []
+ },
+ {
+ "type": "VirtualNetwork",
+ "id": "75c8d819-b208-4584-a311-1aa45ce753f9",
+ "address": "192.168.100.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
+ "nextHopIds": [],
+ "issues": []
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "sourceStatus": "Active",
+ "states": [
+ {
+ "connectionState": "Reachable",
+ "startTime": "2018-01-08T03:42:33.3387305Z",
+ "endTime": "2018-01-08T05:12:41.5265438Z",
+ "evaluationState": "Completed",
+ "hops": [
+ {
+ "type": "Source",
+ "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e",
+ "address": "10.1.1.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1",
+ "nextHopIds": [
+ "75c8d819-b208-4584-a311-1aa45ce753f9"
+ ],
+ "issues": []
+ },
+ {
+ "type": "VirtualNetwork",
+ "id": "75c8d819-b208-4584-a311-1aa45ce753f9",
+ "address": "192.168.100.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
+ "nextHopIds": [],
+ "issues": []
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStart.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStart.json
new file mode 100644
index 000000000000..28d3fa396a41
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStart.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "connectionMonitorName": "cm1"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStop.json
new file mode 100644
index 000000000000..28d3fa396a41
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectionMonitorStop.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "connectionMonitorName": "cm1"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectivityCheck.json
new file mode 100644
index 000000000000..53a0cb55215a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherConnectivityCheck.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "source": {
+ "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"
+ },
+ "destination": {
+ "address": "192.168.100.4",
+ "port": 3389
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "hops": [
+ {
+ "type": "Source",
+ "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e",
+ "address": "10.1.1.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1",
+ "nextHopIds": [
+ "75c8d819-b208-4584-a311-1aa45ce753f9"
+ ],
+ "issues": []
+ },
+ {
+ "type": "VirtualNetwork",
+ "id": "75c8d819-b208-4584-a311-1aa45ce753f9",
+ "address": "192.168.100.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
+ "nextHopIds": [],
+ "issues": []
+ }
+ ],
+ "connectionStatus": "Connected",
+ "avgLatencyInMs": 1,
+ "minLatencyInMs": 1,
+ "maxLatencyInMs": 4,
+ "probesSent": 100,
+ "probesFailed": 0
+ }
+ },
+ "202": {
+ "body": {
+ "hops": [
+ {
+ "type": "Source",
+ "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e",
+ "address": "10.1.1.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1",
+ "nextHopIds": [
+ "75c8d819-b208-4584-a311-1aa45ce753f9"
+ ],
+ "issues": []
+ },
+ {
+ "type": "VirtualNetwork",
+ "id": "75c8d819-b208-4584-a311-1aa45ce753f9",
+ "address": "192.168.100.4",
+ "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1",
+ "nextHopIds": [],
+ "issues": []
+ }
+ ],
+ "connectionStatus": "Connected",
+ "avgLatencyInMs": 1,
+ "minLatencyInMs": 1,
+ "maxLatencyInMs": 4,
+ "probesSent": 100,
+ "probesFailed": 0
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherCreate.json
new file mode 100644
index 000000000000..e48a7404a7b0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherCreate.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "location": "eastus",
+ "properties": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherDelete.json
new file mode 100644
index 000000000000..edcdd0324917
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogConfigure.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogConfigure.json
new file mode 100644
index 000000000000..43b5c53ffa6d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogConfigure.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogStatusQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogStatusQuery.json
new file mode 100644
index 000000000000..522e77e6ff29
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherFlowLogStatusQuery.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "enabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherGet.json
new file mode 100644
index 000000000000..3a32b617cf1e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherGet.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherIpFlowVerify.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherIpFlowVerify.json
new file mode 100644
index 000000000000..2a7581327c45
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherIpFlowVerify.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "direction": "Outbound",
+ "protocol": "TCP",
+ "localPort": "80",
+ "remotePort": "80",
+ "localIPAddress": "10.2.0.4",
+ "remoteIPAddress": "121.10.1.1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access": "Allow",
+ "ruleName": "Rule1"
+ }
+ },
+ "202": {
+ "body": {
+ "access": "Allow",
+ "ruleName": "Rule1"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherList.json
new file mode 100644
index 000000000000..a95303d58639
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherList.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "name": "nw2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherListAll.json
new file mode 100644
index 000000000000..b4eb0169ea36
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherListAll.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "name": "nw2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json
new file mode 100644
index 000000000000..16bc92475a60
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json
@@ -0,0 +1,198 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "profiles": [
+ {
+ "direction": "Inbound",
+ "protocol": "TCP",
+ "source": "10.1.0.4",
+ "destination": "12.11.12.14",
+ "destinationPort": "12100"
+ }
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "results": [
+ {
+ "profile": {
+ "direction": "Inbound",
+ "protocol": "TCP",
+ "source": "10.1.0.4",
+ "destination": "12.11.12.14",
+ "destinationPort": "12100"
+ },
+ "networkSecurityGroupResult": {
+ "securityRuleAccessResult": "Allow",
+ "evaluatedNetworkSecurityGroups": [
+ {
+ "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet",
+ "matchedRule": {
+ "ruleName": "UserRule_fe_rule",
+ "action": "Allow"
+ },
+ "rulesEvaluationResult": [
+ {
+ "name": "UserRule_Cleanuptool-Allow-100",
+ "protocolMatched": true,
+ "sourceMatched": false,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Allow-101",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Allow-102",
+ "protocolMatched": true,
+ "sourceMatched": false,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Deny-103",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_fe_rule",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": true
+ }
+ ]
+ },
+ {
+ "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG",
+ "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic",
+ "matchedRule": {
+ "ruleName": "UserRule_fe_rule",
+ "action": "Allow"
+ },
+ "rulesEvaluationResult": [
+ {
+ "name": "UserRule_fe_rule",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": true
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "results": [
+ {
+ "profile": {
+ "direction": "Inbound",
+ "protocol": "TCP",
+ "source": "10.1.0.4",
+ "destination": "12.11.12.14",
+ "destinationPort": "12100"
+ },
+ "networkSecurityGroupResult": {
+ "securityRuleAccessResult": "Allow",
+ "evaluatedNetworkSecurityGroups": [
+ {
+ "networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1",
+ "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet",
+ "matchedRule": {
+ "ruleName": "UserRule_fe_rule",
+ "action": "Allow"
+ },
+ "rulesEvaluationResult": [
+ {
+ "name": "UserRule_Cleanuptool-Allow-100",
+ "protocolMatched": true,
+ "sourceMatched": false,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Allow-101",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Allow-102",
+ "protocolMatched": true,
+ "sourceMatched": false,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_Cleanuptool-Deny-103",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": false
+ },
+ {
+ "name": "UserRule_fe_rule",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": true
+ }
+ ]
+ },
+ {
+ "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG",
+ "appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic",
+ "matchedRule": {
+ "ruleName": "UserRule_fe_rule",
+ "action": "Allow"
+ },
+ "rulesEvaluationResult": [
+ {
+ "name": "UserRule_fe_rule",
+ "protocolMatched": true,
+ "sourceMatched": true,
+ "sourcePortMatched": true,
+ "destinationMatched": true,
+ "destinationPortMatched": true
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNextHopGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNextHopGet.json
new file mode 100644
index 000000000000..e4c12a3bf745
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherNextHopGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "sourceIPAddress": "10.0.0.5",
+ "destinationIPAddress": "10.0.0.10",
+ "targetNicResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextHopType": "VnetLocal",
+ "nextHopIpAddress": "10.0.0.1",
+ "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1"
+ }
+ },
+ "202": {
+ "body": {
+ "nextHopType": "VnetLocal",
+ "nextHopIpAddress": "10.0.0.1",
+ "routeTableId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureCreate.json
new file mode 100644
index 000000000000..3a7610c0c97a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureCreate.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1",
+ "parameters": {
+ "properties": {
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap",
+ "filePath": "D:\\capture\\pc1.cap"
+ },
+ "filters": [
+ {
+ "protocol": "TCP",
+ "localIPAddress": "10.0.0.4",
+ "localPort": "80"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "properties": {
+ "provisioningState": "Updating",
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap",
+ "filePath": "D:\\capture\\pc1.cap"
+ },
+ "filters": [
+ {
+ "protocol": "TCP",
+ "localIPAddress": "10.0.0.4",
+ "localPort": "80"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureDelete.json
new file mode 100644
index 000000000000..9db919796e53
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1"
+ },
+ "responses": {
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureGet.json
new file mode 100644
index 000000000000..087574ed359d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap",
+ "filePath": "D:\\capture\\pc1.cap"
+ },
+ "filters": [
+ {
+ "protocol": "TCP",
+ "localIPAddress": "10.0.0.4",
+ "localPort": "80"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureQueryStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureQueryStatus.json
new file mode 100644
index 000000000000..ba9fe38de6e5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureQueryStatus.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "captureStartTime": "2016-09-07T12:35:24Z",
+ "packetCaptureStatus": "Stopped",
+ "stopReason": "TimeExceeded",
+ "packetCaptureError": []
+ }
+ },
+ "202": {
+ "body": {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "captureStartTime": "2016-09-07T12:35:24Z",
+ "packetCaptureStatus": "Stopped",
+ "stopReason": "TimeExceeded",
+ "packetCaptureError": []
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureStop.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureStop.json
new file mode 100644
index 000000000000..076099f969fe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCaptureStop.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "packetCaptureName": "pc1"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCapturesList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCapturesList.json
new file mode 100644
index 000000000000..70b00c3a107b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherPacketCapturesList.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "pc1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Updating",
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap",
+ "filePath": "D:\\capture\\pc1.cap"
+ },
+ "filters": [
+ {
+ "protocol": "TCP",
+ "localIPAddress": "10.0.0.4",
+ "localPort": "80"
+ }
+ ]
+ }
+ },
+ {
+ "name": "pc2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "target": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "bytesToCapturePerPacket": 10000,
+ "totalBytesPerSession": 100000,
+ "timeLimitInSeconds": 100,
+ "storageLocation": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore",
+ "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap",
+ "filePath": "D:\\capture\\pc2.cap"
+ },
+ "filters": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherSecurityGroupViewGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherSecurityGroupViewGet.json
new file mode 100644
index 000000000000..f104ba60baaf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherSecurityGroupViewGet.json
@@ -0,0 +1,141 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1",
+ "securityRuleAssociations": {
+ "subnetAssociation": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "securityRules": [
+ {
+ "name": "fe_rule",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow Frontend",
+ "protocol": "Tcp",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "10.1.0.0/24",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 100,
+ "direction": "Inbound"
+ }
+ }
+ ]
+ },
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "effectiveSecurityRules": [
+ {
+ "name": "DefaultOutboundDenyAll",
+ "protocol": "All",
+ "sourcePortRange": "0-65535",
+ "destinationPortRange": "0-65535",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1",
+ "securityRuleAssociations": {
+ "subnetAssociation": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "securityRules": [
+ {
+ "name": "fe_rule",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow Frontend",
+ "protocol": "Tcp",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "10.1.0.0/24",
+ "destinationAddressPrefix": "*",
+ "access": "Allow",
+ "priority": 100,
+ "direction": "Inbound"
+ }
+ }
+ ]
+ },
+ "defaultSecurityRules": [
+ {
+ "name": "AllowVnetInBound",
+ "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "description": "Allow inbound traffic from all VMs in VNET",
+ "protocol": "*",
+ "sourcePortRange": "*",
+ "destinationPortRange": "*",
+ "sourceAddressPrefix": "VirtualNetwork",
+ "destinationAddressPrefix": "VirtualNetwork",
+ "access": "Allow",
+ "priority": 65000,
+ "direction": "Inbound"
+ }
+ }
+ ],
+ "effectiveSecurityRules": [
+ {
+ "name": "DefaultOutboundDenyAll",
+ "protocol": "All",
+ "sourcePortRange": "0-65535",
+ "destinationPortRange": "0-65535",
+ "sourceAddressPrefix": "*",
+ "destinationAddressPrefix": "*",
+ "access": "Deny",
+ "priority": 65500,
+ "direction": "Outbound"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTopologyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTopologyGet.json
new file mode 100644
index 000000000000..be46cc5a50a6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTopologyGet.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceGroupName": "rg2"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "ce592f46-8164-4bf2-ad36-b8e4acf6fb68",
+ "createdDateTime": "2017-08-02T19:31:55.9461781Z",
+ "lastModified": "2017-05-27T00:00:13.2005337Z",
+ "resources": [
+ {
+ "name": "MultiTierApp0",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0",
+ "location": "westus",
+ "associations": [
+ {
+ "name": "appNic0",
+ "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0",
+ "associationType": "Contains"
+ },
+ {
+ "name": "appNic10",
+ "resourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10",
+ "associationType": "Contains"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootGet.json
new file mode 100644
index 000000000000..01ae4a582103
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootGet.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
+ "properties": {
+ "storageId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1",
+ "storagePath": "https://st1.blob.core.windows.net/cn1"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "startTime": "2017-01-12T00:19:47.0442834Z",
+ "endTime": "2017-01-12T00:20:09.914Z",
+ "code": "UnHealthy",
+ "results": [
+ {
+ "id": "000000",
+ "reasonType": "VipUnResponsive",
+ "summary": "We are sorry, your VPN gateway is unreachable from the Internet",
+ "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected",
+ "recommendedActions": [
+ {
+ "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet",
+ "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal",
+ "actionUriText": "Verify"
+ },
+ {
+ "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support",
+ "actionUri": "http://azure.microsoft.com/support",
+ "actionUriText": "contact support"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "startTime": "2017-01-12T00:19:47.0442834Z",
+ "endTime": "2017-01-12T00:20:09.914Z",
+ "code": "UnHealthy",
+ "results": [
+ {
+ "id": "000000",
+ "reasonType": "VipUnResponsive",
+ "summary": "We are sorry, your VPN gateway is unreachable from the Internet",
+ "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected",
+ "recommendedActions": [
+ {
+ "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet",
+ "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal",
+ "actionUriText": "Verify"
+ },
+ {
+ "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support",
+ "actionUri": "http://azure.microsoft.com/support",
+ "actionUriText": "contact support"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootResultQuery.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootResultQuery.json
new file mode 100644
index 000000000000..3957ec7c20f4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherTroubleshootResultQuery.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "targetResourceId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "startTime": "2017-01-12T00:19:47.0442834Z",
+ "endTime": "2017-01-12T00:20:09.914Z",
+ "code": "UnHealthy",
+ "results": [
+ {
+ "id": "000000",
+ "reasonType": "VipUnResponsive",
+ "summary": "We are sorry, your VPN gateway is unreachable from the Internet",
+ "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected",
+ "recommendedActions": [
+ {
+ "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet",
+ "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal",
+ "actionUriText": "Verify"
+ },
+ {
+ "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support",
+ "actionUri": "http://azure.microsoft.com/support",
+ "actionUriText": "contact support"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ "202": {
+ "body": {
+ "startTime": "2017-01-12T00:19:47.0442834Z",
+ "endTime": "2017-01-12T00:20:09.914Z",
+ "code": "UnHealthy",
+ "results": [
+ {
+ "id": "000000",
+ "reasonType": "VipUnResponsive",
+ "summary": "We are sorry, your VPN gateway is unreachable from the Internet",
+ "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected",
+ "recommendedActions": [
+ {
+ "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet",
+ "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal",
+ "actionUriText": "Verify"
+ },
+ {
+ "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support",
+ "actionUri": "http://azure.microsoft.com/support",
+ "actionUriText": "contact support"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherUpdateTags.json
new file mode 100644
index 000000000000..45ec9e297a5b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/NetworkWatcherUpdateTags.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "networkWatcherName": "nw1",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/networkWatchers",
+ "location": "eastus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/OperationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/OperationList.json
new file mode 100644
index 000000000000..51f6b7574a50
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/OperationList.json
@@ -0,0 +1,137 @@
+{
+ "parameters": {
+ "location": "westus",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Network/localnetworkgateways/read",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "LocalNetworkGateway",
+ "operation": "Get LocalNetworkGateway",
+ "description": "Gets LocalNetworkGateway"
+ }
+ },
+ {
+ "name": "Microsoft.Network/localnetworkgateways/write",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "LocalNetworkGateway",
+ "operation": "Create or update LocalNetworkGateway",
+ "description": "Creates or updates an existing LocalNetworkGateway"
+ }
+ },
+ {
+ "name": "Microsoft.Network/localnetworkgateways/delete",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "LocalNetworkGateway",
+ "operation": "Delete LocalNetworkGateway",
+ "description": "Deletes LocalNetworkGateway"
+ }
+ },
+ {
+ "name": "Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "Network Interface metric definition",
+ "operation": "Read Network Interface metric definitions",
+ "description": "Gets available metrics for the Network Interface"
+ },
+ "origin": "system",
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "BytesSentRate",
+ "displayName": "Bytes Sent",
+ "displayDescription": "Number of bytes the Network Interface sent",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "00:01:00",
+ "retention": "00:00:00",
+ "blobDuration": "01:00:00"
+ },
+ {
+ "timeGrain": "01:00:00",
+ "retention": "00:00:00",
+ "blobDuration": "1.00:00:00"
+ }
+ ],
+ "enableRegionalMdmAccount": false,
+ "metricFilterPattern": "^__Ready__$",
+ "fillGapWithZero": false,
+ "dimensions": [],
+ "isInternal": false
+ },
+ {
+ "name": "BytesReceivedRate",
+ "displayName": "Bytes Received",
+ "displayDescription": "Number of bytes the Network Interface received",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "availabilities": [
+ {
+ "timeGrain": "00:01:00",
+ "retention": "00:00:00",
+ "blobDuration": "01:00:00"
+ },
+ {
+ "timeGrain": "01:00:00",
+ "retention": "00:00:00",
+ "blobDuration": "1.00:00:00"
+ }
+ ],
+ "enableRegionalMdmAccount": false,
+ "metricFilterPattern": "^__Ready__$",
+ "fillGapWithZero": false,
+ "dimensions": [],
+ "isInternal": false
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Network",
+ "resource": "Network Security Groups Log Definitions",
+ "operation": "Get Network Security Group Event Log Definitions",
+ "description": "Gets the events for network security group"
+ },
+ "origin": "system",
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "NetworkSecurityGroupEvent",
+ "displayName": "Network Security Group Event",
+ "blobDuration": "PT1H"
+ },
+ {
+ "name": "NetworkSecurityGroupRuleCounter",
+ "displayName": "Network Security Group Rule Counter",
+ "blobDuration": "PT1H"
+ },
+ {
+ "name": "NetworkSecurityGroupFlowEvent",
+ "displayName": "Network Security Group Rule Flow Event",
+ "blobDuration": "PT1H"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayDelete.json
new file mode 100644
index 000000000000..a3e24088f6e1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGenerateVpnProfile.json
new file mode 100644
index 000000000000..019ee1ed06ab
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGenerateVpnProfile.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "gatewayName": "p2sVpnGateway1",
+ "parameters": {
+ "authenticationMethod": "EAPTLS"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGet.json
new file mode 100644
index 000000000000..f5f5b417f88c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGet.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGetConnectionHealth.json
new file mode 100644
index 000000000000..5032cf76a204
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayGetConnectionHealth.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayList.json
new file mode 100644
index 000000000000..cdaf98dd73df
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayList.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ },
+ {
+ "name": "p2sVpnGateway2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.4.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayListByResourceGroup.json
new file mode 100644
index 000000000000..cdaf98dd73df
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayListByResourceGroup.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ },
+ {
+ "name": "p2sVpnGateway2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.4.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayPut.json
new file mode 100644
index 000000000000..8090518ab6c6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayPut.json
@@ -0,0 +1,105 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "p2SVpnGatewayParameters": {
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 0,
+ "allocatedIpAddresses": [],
+ "totalIngressBytesTransferred": 0,
+ "totalEgressBytesTransferred": 0
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayUpdateTags.json
new file mode 100644
index 000000000000..30162c973ea6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnGatewayUpdateTags.json
@@ -0,0 +1,100 @@
+{
+ "parameters": {
+ "gatewayName": "p2sVpnGateway1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "p2SVpnGatewayParameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "p2sVpnGateway1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "type": "Microsoft.Network/p2sVpnGateways",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualHub": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1"
+ },
+ "p2SVpnServerConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1"
+ },
+ "vpnClientAddressPool": {
+ "addressPrefixes": [
+ "101.3.0.0/16"
+ ]
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ },
+ "vpnGatewayScaleUnit": 1,
+ "vpnClientConnectionHealth": {
+ "vpnClientConnectionsCount": 2,
+ "allocatedIpAddresses": [
+ "1.1.1.1",
+ "2.2.2.2"
+ ],
+ "totalIngressBytesTransferred": 2000,
+ "totalEgressBytesTransferred": 3000
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationDelete.json
new file mode 100644
index 000000000000..120346be9ea4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1",
+ "virtualWanName": "virtualWan1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationGet.json
new file mode 100644
index 000000000000..284e35795313
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationGet.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "virtualWanName": "virtualWan1",
+ "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnServerConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRevokedCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRevokedCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "p2SVpnServerConfigRadiusServerRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusServerRootCer1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCer1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ }
+ ],
+ "p2SVpnServerConfigRadiusClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusClientRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationList.json
new file mode 100644
index 000000000000..d70611905d21
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationList.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "virtualWanName": "virtualWan1",
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": [
+ {
+ "name": "p2sVpnServerConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ },
+ "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRootCertificates"
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRevokedCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRevokedCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/VpnClientRevokedCert2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ },
+ "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigVpnClientRevokedCertificates"
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "p2SVpnServerConfigRadiusServerRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusServerRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ },
+ "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusServerRootCertificates"
+ }
+ ],
+ "p2SVpnServerConfigRadiusClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusClientRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "Thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ },
+ "type": "Microsoft.Network/virtualWans/p2sVpnServerConfigurations/p2sVpnServerConfigRadiusClientRootCertificates"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationPut.json
new file mode 100644
index 000000000000..eb5b0e27eec4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/P2SVpnServerConfigurationPut.json
@@ -0,0 +1,206 @@
+{
+ "parameters": {
+ "virtualWanName": "virtualWan1",
+ "p2SVpnServerConfigurationName": "p2sVpnServerConfiguration1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "p2SVpnServerConfigurationParameters": {
+ "properties": {
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRootCert1",
+ "properties": {
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRevokedCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRevokedCert1",
+ "properties": {
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "p2SVpnServerConfigRadiusServerRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusServerRootCert1",
+ "properties": {
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ }
+ ],
+ "p2SVpnServerConfigRadiusClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusClientRootCert1",
+ "properties": {
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "p2sVpnServerConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRevokedCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRevokedCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "p2SVpnServerConfigRadiusServerRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusServerRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ }
+ ],
+ "p2SVpnServerConfigRadiusClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusClientRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "p2sVpnServerConfiguration1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations//p2sVpnServerConfiguration1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "vpnProtocols": [
+ "IkeV2"
+ ],
+ "vpnClientIpsecPolicies": [
+ {
+ "saLifeTimeSeconds": 86472,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup14",
+ "pfsGroup": "PFS14"
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRootCertificates/p2sVpnServerConfigVpnClientRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN"
+ }
+ }
+ ],
+ "p2SVpnServerConfigVpnClientRevokedCertificates": [
+ {
+ "name": "p2sVpnServerConfigVpnClientRevokedCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigVpnClientRevokedCertificates/p2sVpnServerConfigVpnClientRevokedCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ }
+ ],
+ "radiusServerAddress": "8.9.9.9",
+ "radiusServerSecret": "123_abc",
+ "p2SVpnServerConfigRadiusServerRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusServerRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusServerRootCertificates/p2sVpnServerConfigRadiusServerRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM"
+ }
+ }
+ ],
+ "p2SVpnServerConfigRadiusClientRootCertificates": [
+ {
+ "name": "p2sVpnServerConfigRadiusClientRootCert1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1/p2sVpnServerConfigRadiusClientRootCertificates/p2sVpnServerConfigRadiusClientRootCert1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionGet.json
new file mode 100644
index 000000000000..2afc1329c1bb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionGet.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "connectionName": "60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering"
+ },
+ "addressPrefix": "20.0.0.0/29",
+ "circuitConnectionStatus": "Connected",
+ "connectionName": "circuitConnectionWestusEastus",
+ "authResourceGuid": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionList.json
new file mode 100644
index 000000000000..0e12baeaa432
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PeerExpressRouteCircuitConnectionList.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid1",
+ "circuitName": "ExpressRouteARMCircuitA",
+ "peeringName": "AzurePrivatePeering"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013",
+ "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering"
+ },
+ "addressPrefix": "20.0.0.0/29",
+ "circuitConnectionStatus": "Connected",
+ "connectionName": "circuitConnectionWestusEastus",
+ "authResourceGuid": ""
+ }
+ },
+ {
+ "name": "c8b17193-8dd3-4f61-866d-8cdd2e2e268e",
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e",
+ "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "expressRouteCircuitPeering": {
+ "id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering"
+ },
+ "peerExpressRouteCircuitPeering": {
+ "id": "/subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering"
+ },
+ "addressPrefix": "30.0.0.0/29",
+ "circuitConnectionStatus": "Connected",
+ "connectionName": "circuitConnectionCentralusEastus",
+ "authResourceGuid": "64283012-d377-421d-8398-f6aeb2ac7ea0"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json
new file mode 100644
index 000000000000..ecb7044a44a3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreate.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe",
+ "parameters": {
+ "location": "eastus2euap",
+ "properties": {
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection."
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "location": "eastus2euap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "manualPrivateLinkServiceConnections": [],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "location": "eastus2euap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json
new file mode 100644
index 000000000000..d82668b67042
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointCreateForManualApproval.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection."
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [],
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Awaiting approval",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointDelete.json
new file mode 100644
index 000000000000..ba7e531c8758
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json
new file mode 100644
index 000000000000..425fddb7053d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGet.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "manualPrivateLinkServiceConnections": [],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json
new file mode 100644
index 000000000000..09540ed0e65f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointGetForManualApproval.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "privateEndpointName": "testPe"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPe",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [],
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection.",
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Awaiting approval",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json
new file mode 100644
index 000000000000..f837a0575124
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointList.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1",
+ "name": "pe1",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection for pe1.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "manualPrivateLinkServiceConnections": [],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2",
+ "name": "pe2",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [],
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection for pe2.",
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Awaiting approval",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json
new file mode 100644
index 000000000000..6f4ee037b66d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateEndpointListAll.json
@@ -0,0 +1,114 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1",
+ "name": "pe1",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection for pe1.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2",
+ "name": "pe2",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [],
+ "manualPrivateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please manually approve my connection for pe2.",
+ "privateLinkServiceConnectionState": {
+ "status": "Pending",
+ "description": "Awaiting approval",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3",
+ "name": "pe3",
+ "type": "Microsoft.Network/privateEndpoints",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateLinkServiceConnections": [
+ {
+ "properties": {
+ "privateLinkServiceId": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3",
+ "groupIds": [
+ "groupIdFromResource"
+ ],
+ "requestMessage": "Please approve my connection for pe3.",
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "Auto-approved",
+ "actionRequired": "None"
+ }
+ }
+ }
+ ],
+ "subnet": {
+ "id": "/subscriptions/subId/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3"
+ },
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json
new file mode 100644
index 000000000000..652b11fa202b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json
@@ -0,0 +1,155 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls",
+ "parameters": {
+ "location": "eastus",
+ "properties": {
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPls",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testPls",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDelete.json
new file mode 100644
index 000000000000..2418be97cae1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json
new file mode 100644
index 000000000000..b26fceb67cf1
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls",
+ "peConnectionName": "testPlePeConnection"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json
new file mode 100644
index 000000000000..2f5da8fd8e14
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPls",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "privateEndpointConnection",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json
new file mode 100644
index 000000000000..92b1af7eb93d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json
@@ -0,0 +1,141 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testPls1",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb1",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "pec1",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234"
+ }
+ ]
+ }
+ },
+ {
+ "name": "testPls2",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb2",
+ "properties": {
+ "privateIPAddress": "10.0.1.5",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "pec2",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json
new file mode 100644
index 000000000000..7e48a7b57406
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json
@@ -0,0 +1,142 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testPls1",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2",
+ "subscription3"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2",
+ "fqdn3"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb1",
+ "properties": {
+ "privateIPAddress": "10.0.1.4",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "pec1",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234"
+ }
+ ]
+ }
+ },
+ {
+ "name": "testPls2",
+ "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2",
+ "type": "Microsoft.Network/privateLinkServices",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "visibility": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "autoApproval": {
+ "subscriptions": [
+ "subscription1",
+ "subscription2"
+ ]
+ },
+ "fqdns": [
+ "fqdn1",
+ "fqdn2"
+ ],
+ "alias": "ContosoService.{guid}.azure.privatelinkservice",
+ "loadBalancerFrontendIpConfigurations": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2"
+ }
+ ],
+ "ipConfigurations": [
+ {
+ "name": "fe-lb2",
+ "properties": {
+ "privateIPAddress": "10.0.1.5",
+ "privateIPAllocationMethod": "Static",
+ "privateIPAddressVersion": "IPv4",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2"
+ }
+ }
+ }
+ ],
+ "privateEndpointConnections": [
+ {
+ "name": "pec1",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json
new file mode 100644
index 000000000000..f4219dabe142
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "serviceName": "testPls",
+ "peConnectionName": "testPlePeConnection",
+ "parameters": {
+ "name": "testPlePeConnection",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testPlePeConnection",
+ "properties": {
+ "privateEndpoint": {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
+ },
+ "privateLinkServiceConnectionState": {
+ "status": "Approved",
+ "description": "approved it for some reason."
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateCustomizedValues.json
new file mode 100644
index 000000000000..a2e158c87592
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateCustomizedValues.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip",
+ "zones": [
+ "1"
+ ],
+ "parameters": {
+ "properties": {
+ "publicIPAllocationMethod": "Static",
+ "idleTimeoutInMinutes": 10,
+ "publicIPAddressVersion": "IPv4"
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Static",
+ "idleTimeoutInMinutes": 10,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Static",
+ "idleTimeoutInMinutes": 10,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDefaults.json
new file mode 100644
index 000000000000..2f82d6a64ec8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDefaults.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip",
+ "parameters": {
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Basic"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "sku": {
+ "name": "Basic"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDns.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDns.json
new file mode 100644
index 000000000000..008771c29f5d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressCreateDns.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip",
+ "parameters": {
+ "properties": {
+ "dnsSettings": {
+ "domainNameLabel": "dnslbl"
+ }
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "dnsSettings": {
+ "domainNameLabel": "dnslbl",
+ "fqdn": "dnslbl.westus.cloudapp.azure.com"
+ },
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "dnsSettings": {
+ "domainNameLabel": "dnslbl",
+ "fqdn": "dnslbl.westus.cloudapp.azure.com"
+ },
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressDelete.json
new file mode 100644
index 000000000000..8894ef02a9d0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressGet.json
new file mode 100644
index 000000000000..0fd0823b214b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "testDNS-ip"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ },
+ "ipTags": [
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "SQL"
+ },
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "Storage"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressList.json
new file mode 100644
index 000000000000..970ea97c6779
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressList.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ },
+ "ipTags": [
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "SQL"
+ },
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "Storage"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ },
+ {
+ "name": "ip03",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "40.85.154.247",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "dnsSettings": {
+ "domainNameLabel": "testlbl",
+ "fqdn": "testlbl.westus.cloudapp.azure.com"
+ },
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressListAll.json
new file mode 100644
index 000000000000..376524c24943
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressListAll.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ },
+ {
+ "name": "ip01",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipAddress": "40.85.154.247",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Dynamic",
+ "idleTimeoutInMinutes": 4,
+ "dnsSettings": {
+ "domainNameLabel": "testlbl",
+ "fqdn": "testlbl.westus.cloudapp.azure.com"
+ },
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd"
+ }
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressUpdateTags.json
new file mode 100644
index 000000000000..3856c88fe0b7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpAddressUpdateTags.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpAddressName": "test-ip",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDNS-ip",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "publicIPAllocationMethod": "Static",
+ "idleTimeoutInMinutes": 10,
+ "ipConfiguration": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1"
+ }
+ },
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.Network/publicIPAddresses"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateCustomizedValues.json
new file mode 100644
index 000000000000..3d29db64fc4e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateCustomizedValues.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix",
+ "zones": [
+ "1"
+ ],
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30
+ },
+ "sku": {
+ "name": "Standard"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "location": "westus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix",
+ "location": "westus",
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateDefaults.json
new file mode 100644
index 000000000000..f3a47491b55c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixCreateDefaults.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix",
+ "parameters": {
+ "sku": {
+ "name": "Standard"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30
+ },
+ "sku": {
+ "name": "Standard"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixDelete.json
new file mode 100644
index 000000000000..8d0a446a52e5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixGet.json
new file mode 100644
index 000000000000..970423b03cee
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixGet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "192.168.254.2/30",
+ "ipTags": [],
+ "publicIPAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixList.json
new file mode 100644
index 000000000000..c199968075b3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixList.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "40.85.154.2/30",
+ "ipTags": [
+ {
+ "ipTagType": "FirstPartyUsage",
+ "tag": "SQL"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ },
+ {
+ "name": "ipprefix03",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 31,
+ "ipPrefix": "40.85.153.2/31"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixListAll.json
new file mode 100644
index 000000000000..517dfe366f83
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixListAll.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30,
+ "ipPrefix": "41.85.154.247/30",
+ "publicIPAddresses": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1"
+ }
+ ]
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ },
+ {
+ "name": "ipprefix01",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "ipPrefix": "40.85.154.247/30",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixUpdateTags.json
new file mode 100644
index 000000000000..bc015e5ad8bd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PublicIpPrefixUpdateTags.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "publicIpPrefixName": "test-ipprefix",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-ipprefix",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "publicIPAddressVersion": "IPv4",
+ "prefixLength": 30
+ },
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "type": "Microsoft.Network/publicIPPrefixes"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterCreate.json
new file mode 100644
index 000000000000..7fac4b606bd3
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterCreate.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "routeFilterParameters": {
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "rules": [
+ {
+ "name": "ruleName",
+ "properties": {
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsofot.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsofot.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterDelete.json
new file mode 100644
index 000000000000..72e0df7c1e90
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterGet.json
new file mode 100644
index 000000000000..f3e91815f96f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterGet.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsofot.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterList.json
new file mode 100644
index 000000000000..280f7e92eda8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterList.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsofot.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterListByResourceGroup.json
new file mode 100644
index 000000000000..b3216e851f71
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterListByResourceGroup.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsofot.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleCreate.json
new file mode 100644
index 000000000000..a73aea554d6d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleCreate.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "ruleName": "ruleName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "routeFilterRuleParameters": {
+ "properties": {
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleDelete.json
new file mode 100644
index 000000000000..4b49614994b8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "ruleName": "ruleName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleGet.json
new file mode 100644
index 000000000000..e354e12bdc96
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "ruleName": "filterName",
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleListByRouteFilter.json
new file mode 100644
index 000000000000..e02b3504b7a7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleListByRouteFilter.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid",
+ "routeFilterName": "filterName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleUpdate.json
new file mode 100644
index 000000000000..045064697959
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterRuleUpdate.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "ruleName": "ruleName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "routeFilterRuleParameters": {
+ "properties": {
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030",
+ "12076:5040"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterUpdate.json
new file mode 100644
index 000000000000..a552b4340518
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteFilterUpdate.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "routeFilterName": "filterName",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "routeFilterParameters": {
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "rules": [
+ {
+ "name": "ruleName",
+ "properties": {
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "filterName",
+ "type": "Microsofot.Network/routeFilters",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "rules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "name": "ruleName",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "access": "Allow",
+ "routeFilterRuleType": "Community",
+ "communities": [
+ "12076:5030"
+ ]
+ }
+ }
+ ],
+ "peerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreate.json
new file mode 100644
index 000000000000..10aabc305083
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "parameters": {
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [],
+ "disableBgpRoutePropagation": true
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableBgpRoutePropagation": true,
+ "routes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreateWithRoute.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreateWithRoute.json
new file mode 100644
index 000000000000..7c8d4f52ca00
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableCreateWithRoute.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "parameters": {
+ "properties": {
+ "disableBgpRoutePropagation": true,
+ "routes": [
+ {
+ "name": "route1",
+ "properties": {
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ },
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableBgpRoutePropagation": true,
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableDelete.json
new file mode 100644
index 000000000000..6e0b6f33ad4a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableGet.json
new file mode 100644
index 000000000000..23c35c33cfd8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableGet.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableBgpRoutePropagation": false,
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableList.json
new file mode 100644
index 000000000000..0228bee575bb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableList.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "disableBgpRoutePropagation": true,
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "testrt2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt2",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "disableBgpRoutePropagation": true,
+ "provisioningState": "Succeeded",
+ "routes": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableListAll.json
new file mode 100644
index 000000000000..53c18b34d61f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableListAll.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "testrt3",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/routeTables/testrt3",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": []
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteCreate.json
new file mode 100644
index 000000000000..8f49986ae713
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteCreate.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "routeName": "route1",
+ "routeParameters": {
+ "properties": {
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteDelete.json
new file mode 100644
index 000000000000..08170b2b3d7d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "routeName": "route1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteGet.json
new file mode 100644
index 000000000000..ecdecdf3695c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteGet.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "routeName": "route1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "Internet"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteList.json
new file mode 100644
index 000000000000..a4cb68ab7c03
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableRouteList.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "route1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.3.0/24",
+ "nextHopType": "Internet"
+ }
+ },
+ {
+ "name": "route2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressPrefix": "10.0.2.0/24",
+ "nextHopType": "VirtualNetworkGateway"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableUpdateTags.json
new file mode 100644
index 000000000000..eefbb486aafe
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/RouteTableUpdateTags.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "routeTableName": "testrt",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testrt",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt",
+ "type": "Microsoft.Network/routeTables",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "routes": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceCommunityList.json
new file mode 100644
index 000000000000..c301ec73b91b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceCommunityList.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype",
+ "name": "skype",
+ "type": "Microsofot.Network/bgpServiceCommunities",
+ "properties": {
+ "serviceName": "skype",
+ "bgpCommunities": [
+ {
+ "serviceSupportedRegion": "Global",
+ "communityName": "Skype For Business Online",
+ "communityValue": "12076:5030",
+ "communityPrefixes": [
+ "13.67.56.225/32",
+ "13.67.186.105/32"
+ ],
+ "isAuthorizedToUse": true,
+ "serviceGroup": "O365"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange",
+ "name": "exchange",
+ "type": "Microsofot.Network/bgpServiceCommunities",
+ "properties": {
+ "serviceName": "exchange",
+ "bgpCommunities": [
+ {
+ "serviceSupportedRegion": "Global",
+ "communityName": "Exchange Online",
+ "communityValue": "12076:5040",
+ "communityPrefixes": [
+ "13.67.56.225/32",
+ "13.67.186.105/32"
+ ],
+ "isAuthorizedToUse": true,
+ "serviceGroup": "O365"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreate.json
new file mode 100644
index 000000000000..e41786dcd015
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreate.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "parameters": {
+ "location": "westus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy",
+ "type": "Microsoft.Network/ServiceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testpolicy",
+ "type": "Microsoft.Network/ServiceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreateWithDefinition.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreateWithDefinition.json
new file mode 100644
index 000000000000..cd30c41bed8e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyCreateWithDefinition.json
@@ -0,0 +1,83 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "parameters": {
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy",
+ "type": "Microsoft.Network/ServiceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "testnsg",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy",
+ "type": "Microsoft.Network/ServiceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionCreate.json
new file mode 100644
index 000000000000..da5cc80af357
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionCreate.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "serviceEndpointPolicyDefinitionName": "testDefinition",
+ "ServiceEndpointPolicyDefinitions": {
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDefinition",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "rule1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionDelete.json
new file mode 100644
index 000000000000..6da36a37d55d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "serviceEndpointPolicyDefinitionName": "testDefinition"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionGet.json
new file mode 100644
index 000000000000..0fa9238a9b58
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionGet.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy",
+ "serviceEndpointPolicyDefinitionName": "testDefinition"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testDefinition",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionList.json
new file mode 100644
index 000000000000..320c19dcc87b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDefinitionList.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testPolicy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testDef",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDelete.json
new file mode 100644
index 000000000000..2a398582422d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "serviceEndpointPolicy1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyGet.json
new file mode 100644
index 000000000000..1d8b95181932
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyGet.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testServiceEndpointPolicy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testServiceEndpointPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy",
+ "type": "Microsoft.Network/serviceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyList.json
new file mode 100644
index 000000000000..c1c3e7df67b2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyList.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testServiceEndpointPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ },
+ {
+ "name": "testServiceEndpointPolicy1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition1",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyListAll.json
new file mode 100644
index 000000000000..117973d78d1d
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyListAll.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "testPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy",
+ "type": "Microsoft.Network/serviceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition1",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ },
+ {
+ "name": "testPolicy1",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy2",
+ "type": "Microsoft.Network/serviceEndpointPolicies",
+ "location": "westus",
+ "properties": {
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition2",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": [],
+ "provisioningState": "Succeeded",
+ "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyUpdateTags.json
new file mode 100644
index 000000000000..2ebdd3bbfd1a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceEndpointPolicyUpdateTags.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "serviceEndpointPolicyName": "testServiceEndpointPolicy",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "testServiceEndpointPolicy",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy",
+ "type": "Microsoft.Network/serviceEndpointPolicies",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "serviceEndpointPolicyDefinitions": [
+ {
+ "name": "StorageServiceEndpointPolicyDefinition",
+ "properties": {
+ "description": "Storage Service EndpointPolicy Definition",
+ "service": "Microsoft.Storage",
+ "serviceResources": [
+ "/subscriptions/subid1",
+ "/subscriptions/subid1/resourceGroups/storageRg",
+ "/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
+ ]
+ }
+ }
+ ],
+ "subnets": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceTagsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceTagsList.json
new file mode 100644
index 000000000000..e25d9fe67741
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/ServiceTagsList.json
@@ -0,0 +1,88 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "location": "westcentralus",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "public",
+ "id": "/subscriptions/subId/providers/Microsoft.Network/serviceTags/public",
+ "type": "Microsoft.Network/serviceTags",
+ "changeNumber": "63",
+ "cloud": "Public",
+ "values": [
+ {
+ "name": "ApiManagement",
+ "id": "ApiManagement",
+ "properties": {
+ "changeNumber": "7",
+ "region": "",
+ "systemService": "AzureApiManagement",
+ "addressPrefixes": [
+ "13.64.39.16/32",
+ "40.74.146.80/31",
+ "40.74.147.32/28"
+ ]
+ }
+ },
+ {
+ "name": "ApiManagement.AustraliaCentral",
+ "id": "ApiManagement.AustraliaCentral",
+ "properties": {
+ "changeNumber": "2",
+ "region": "australiacentral",
+ "systemService": "AzureApiManagement",
+ "addressPrefixes": [
+ "20.36.106.68/31",
+ "20.36.107.176/28"
+ ]
+ }
+ },
+ {
+ "name": "AppService",
+ "id": "AppService",
+ "properties": {
+ "changeNumber": "13",
+ "region": "",
+ "systemService": "AzureAppService",
+ "addressPrefixes": [
+ "13.64.73.110/32",
+ "191.235.208.12/32",
+ "191.235.215.184/32"
+ ]
+ }
+ },
+ {
+ "name": "ServiceBus",
+ "id": "ServiceBus",
+ "properties": {
+ "changeNumber": "10",
+ "region": "",
+ "systemService": "AzureServiceBus",
+ "addressPrefixes": [
+ "23.98.82.96/29",
+ "40.68.127.68/32",
+ "40.70.146.64/29"
+ ]
+ }
+ },
+ {
+ "name": "ServiceBus.EastUS2",
+ "id": "ServiceBus.EastUS2",
+ "properties": {
+ "changeNumber": "1",
+ "region": "eastus2",
+ "systemService": "AzureServiceBus",
+ "addressPrefixes": [
+ "13.68.110.36/32",
+ "40.70.146.64/29"
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreate.json
new file mode 100644
index 000000000000..f180511ab77a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreate.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "subnetParameters": {
+ "properties": {
+ "addressPrefix": "10.0.0.0/16"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateServiceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateServiceEndpoint.json
new file mode 100644
index 000000000000..ff4ba173632f
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateServiceEndpoint.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "subnetParameters": {
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateWithDelegation.json
new file mode 100644
index 000000000000..79287da043a9
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetCreateWithDelegation.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "subnetParameters": {
+ "properties": {
+ "addressPrefix": "10.0.0.0/16"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetDelete.json
new file mode 100644
index 000000000000..d56a87147e5a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGet.json
new file mode 100644
index 000000000000..cf722e3bb7c4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGet.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGetWithDelegation.json
new file mode 100644
index 000000000000..95ca9e7156aa
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetGetWithDelegation.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subnetName": "subnet1",
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subId/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Provider/resourceType",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetList.json
new file mode 100644
index 000000000000..4e5fa6f8da75
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetList.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "virtualNetworkName": "vnetname",
+ "resourceGroupName": "subnet-test",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1",
+ "name": "subnet1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet2",
+ "name": "subnet2",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetPrepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetPrepareNetworkPolicies.json
new file mode 100644
index 000000000000..30e3b4626326
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/SubnetPrepareNetworkPolicies.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "subnetName": "subnet1",
+ "prepareNetworkPoliciesRequestParameters": {
+ "serviceName": "Microsoft.Sql/managedInstances"
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageList.json
new file mode 100644
index 000000000000..349864633b35
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageList.json
@@ -0,0 +1,265 @@
+{
+ "parameters": {
+ "location": "westus",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "currentValue": 8.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/VirtualNetworks",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Virtual Networks",
+ "value": "VirtualNetworks"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 3.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/StaticPublicIPAddresses",
+ "limit": 20.0,
+ "name": {
+ "localizedValue": "Static Public IP Addresses",
+ "value": "StaticPublicIPAddresses"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 1.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkSecurityGroups",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Network Security Groups",
+ "value": "NetworkSecurityGroups"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 8.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PublicIPAddresses",
+ "limit": 60.0,
+ "name": {
+ "localizedValue": "Public IP Addresses",
+ "value": "PublicIPAddresses"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 2.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkInterfaces",
+ "limit": 350.0,
+ "name": {
+ "localizedValue": "Network Interfaces",
+ "value": "NetworkInterfaces"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 2.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/LoadBalancers",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Load Balancers",
+ "value": "LoadBalancers"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 1.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/ApplicationGateways",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Application Gateways",
+ "value": "ApplicationGateways"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteTables",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Route Tables",
+ "value": "RouteTables"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFilters",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Route Filters",
+ "value": "RouteFilters"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkWatchers",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Network Watchers",
+ "value": "NetworkWatchers"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PacketCaptures",
+ "limit": 10.0,
+ "name": {
+ "localizedValue": "Packet Captures",
+ "value": "PacketCaptures"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/DnsServersPerVirtualNetwork",
+ "limit": 9.0,
+ "name": {
+ "localizedValue": "DNS servers per Virtual Network",
+ "value": "DnsServersPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SubnetsPerVirtualNetwork",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Subnets per Virtual Network",
+ "value": "SubnetsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/IPConfigurationsPerVirtualNetwork",
+ "limit": 4096.0,
+ "name": {
+ "localizedValue": "IP Configurations per Virtual Network",
+ "value": "IPConfigurationsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PeeringsPerVirtualNetwork",
+ "limit": 10.0,
+ "name": {
+ "localizedValue": "Peerings per Virtual Network",
+ "value": "PeeringsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecurityRulesPerNetworkSecurityGroup",
+ "limit": 200.0,
+ "name": {
+ "localizedValue": "Security rules per Network Security Group",
+ "value": "SecurityRulesPerNetworkSecurityGroup"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup",
+ "limit": 2000.0,
+ "name": {
+ "localizedValue": "Security rules addresses or ports per Network Security Group",
+ "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerLoadBalancer",
+ "limit": 150.0,
+ "name": {
+ "localizedValue": "Inbound Rules per Load Balancer",
+ "value": "InboundRulesPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/FrontendIPConfigurationPerLoadBalancer",
+ "limit": 10.0,
+ "name": {
+ "localizedValue": "Frontend IP Configurations per Load Balancer",
+ "value": "FrontendIPConfigurationPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/outboundRulesPerLoadBalancer",
+ "limit": 5.0,
+ "name": {
+ "localizedValue": "Outbound Rules per Load Balancer",
+ "value": "outboundRulesPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RoutesPerRouteTable",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Routes per Route Table",
+ "value": "RoutesPerRouteTable"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecondaryIPConfigurationsPerNetworkInterface",
+ "limit": 256.0,
+ "name": {
+ "localizedValue": "Secondary IP Configurations per Network Interface",
+ "value": "SecondaryIPConfigurationsPerNetworkInterface"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerNetworkInterface",
+ "limit": 500.0,
+ "name": {
+ "localizedValue": "Inbound rules per Network Interface",
+ "value": "InboundRulesPerNetworkInterface"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFilterRulesPerRouteFilter",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Route filter rules per Route Filter",
+ "value": "RouteFilterRulesPerRouteFilter"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFiltersPerExpressRouteBgpPeering",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Route filters per Express route BGP Peering",
+ "value": "RouteFiltersPerExpressRouteBgpPeering"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageListSpacedLocation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageListSpacedLocation.json
new file mode 100644
index 000000000000..61d61ffb62f4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/UsageListSpacedLocation.json
@@ -0,0 +1,335 @@
+{
+ "parameters": {
+ "location": "West US",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "currentValue": 12.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/VirtualNetworks",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Virtual Networks",
+ "value": "VirtualNetworks"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 1.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/StaticPublicIPAddresses",
+ "limit": 20.0,
+ "name": {
+ "localizedValue": "Static Public IP Addresses",
+ "value": "StaticPublicIPAddresses"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 3.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkSecurityGroups",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Network Security Groups",
+ "value": "NetworkSecurityGroups"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 12.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PublicIPAddresses",
+ "limit": 60.0,
+ "name": {
+ "localizedValue": "Public IP Addresses",
+ "value": "PublicIPAddresses"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PublicIpPrefixes",
+ "limit": 2147483647.0,
+ "name": {
+ "localizedValue": "Public Ip Prefixes",
+ "value": "PublicIpPrefixes"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 2.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkInterfaces",
+ "limit": 24000.0,
+ "name": {
+ "localizedValue": "Network Interfaces",
+ "value": "NetworkInterfaces"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/LoadBalancers",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Load Balancers",
+ "value": "LoadBalancers"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 3.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ApplicationGateways",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Application Gateways",
+ "value": "ApplicationGateways"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 5.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteTables",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Route Tables",
+ "value": "RouteTables"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFilters",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Route Filters",
+ "value": "RouteFilters"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkWatchers",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Network Watchers",
+ "value": "NetworkWatchers"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PacketCaptures",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Packet Captures",
+ "value": "PacketCaptures"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ApplicationSecurityGroups",
+ "limit": 500.0,
+ "name": {
+ "localizedValue": "Application Security Groups.",
+ "value": "ApplicationSecurityGroups"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/DdosProtectionPlans",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "DDoS Protection Plans.",
+ "value": "DdosProtectionPlans"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/ServiceEndpointPolicies",
+ "limit": 200.0,
+ "name": {
+ "localizedValue": "Service Endpoint Policies",
+ "value": "ServiceEndpointPolicies"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/NetworkIntentPolicies",
+ "limit": 200.0,
+ "name": {
+ "localizedValue": "Network Intent Policies",
+ "value": "NetworkIntentPolicies"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/DnsServersPerVirtualNetwork",
+ "limit": 9.0,
+ "name": {
+ "localizedValue": "DNS servers per Virtual Network",
+ "value": "DnsServersPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SubnetsPerVirtualNetwork",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Subnets per Virtual Network",
+ "value": "SubnetsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/IPConfigurationsPerVirtualNetwork",
+ "limit": 16384.0,
+ "name": {
+ "localizedValue": "IP Configurations per Virtual Network",
+ "value": "IPConfigurationsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/PeeringsPerVirtualNetwork",
+ "limit": 50.0,
+ "name": {
+ "localizedValue": "Peerings per Virtual Network",
+ "value": "PeeringsPerVirtualNetwork"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkSecurityGroup",
+ "limit": 1000.0,
+ "name": {
+ "localizedValue": "Security rules per Network Security Group",
+ "value": "SecurityRulesPerNetworkSecurityGroup"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkIntentPolicy",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Security rules per Network Intent Policy",
+ "value": "SecurityRulesPerNetworkIntentPolicy"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RoutesPerNetworkIntentPolicy",
+ "limit": 100.0,
+ "name": {
+ "localizedValue": "Routes per Network Intent Policy",
+ "value": "RoutesPerNetworkIntentPolicy"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup",
+ "limit": 2000.0,
+ "name": {
+ "localizedValue": "Security rules addresses or ports per Network Security Group",
+ "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerLoadBalancer",
+ "limit": 150.0,
+ "name": {
+ "localizedValue": "Inbound Rules per Load Balancer",
+ "value": "InboundRulesPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/FrontendIPConfigurationPerLoadBalancer",
+ "limit": 10.0,
+ "name": {
+ "localizedValue": "Frontend IP Configurations per Load Balancer",
+ "value": "FrontendIPConfigurationPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/OutboundRulesPerLoadBalancer",
+ "limit": 5.0,
+ "name": {
+ "localizedValue": "Outbound Rules per Load Balancer",
+ "value": "OutboundRulesPerLoadBalancer"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RoutesPerRouteTable",
+ "limit": 400.0,
+ "name": {
+ "localizedValue": "Routes per Route Table",
+ "value": "RoutesPerRouteTable"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/SecondaryIPConfigurationsPerNetworkInterface",
+ "limit": 256.0,
+ "name": {
+ "localizedValue": "Secondary IP Configurations per Network Interface",
+ "value": "SecondaryIPConfigurationsPerNetworkInterface"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerNetworkInterface",
+ "limit": 500.0,
+ "name": {
+ "localizedValue": "Inbound rules per Network Interface",
+ "value": "InboundRulesPerNetworkInterface"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFilterRulesPerRouteFilter",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Route filter rules per Route Filter",
+ "value": "RouteFilterRulesPerRouteFilter"
+ },
+ "unit": "Count"
+ },
+ {
+ "currentValue": 0.0,
+ "id": "/subscriptions/subid/providers/Microsoft.Network/locations/West US/usages/RouteFiltersPerExpressRouteBgpPeering",
+ "limit": 1.0,
+ "name": {
+ "localizedValue": "Route filters per Express route BGP Peering",
+ "value": "RouteFiltersPerExpressRouteBgpPeering"
+ },
+ "unit": "Count"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubDelete.json
new file mode 100644
index 000000000000..82fc7cc7686b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubGet.json
new file mode 100644
index 000000000000..eae50b176383
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubGet.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub1",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub1",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "addressPrefix": "10.10.1.0/24"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubList.json
new file mode 100644
index 000000000000..daf0ff24137e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubList.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub1",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [
+ {
+ "name": "connection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ],
+ "addressPrefix": "10.10.1.0/24"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "East US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [
+ {
+ "name": "connection2",
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ],
+ "addressPrefix": "210.10.1.0/24"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubListByResourceGroup.json
new file mode 100644
index 000000000000..c2fc19569f67
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubListByResourceGroup.json
@@ -0,0 +1,73 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "resourceGroupName": "rg1",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub1",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [
+ {
+ "name": "connection1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualNetworks/SpokeVnet1"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ],
+ "addressPrefix": "10.10.1.0/24"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "East US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [
+ {
+ "name": "connection2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/virtualHubs/virtualHub2/hubVirtualNetworkConnections/connection2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "remoteVirtualNetwork": {
+ "id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsofot.Network/virtualNetworks/SpokeVnet2"
+ },
+ "allowHubToRemoteVnetTransit": true,
+ "allowRemoteVnetToUseHubVnetGateways": false
+ }
+ }
+ ],
+ "addressPrefix": "210.10.1.0/24"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubPut.json
new file mode 100644
index 000000000000..7b74aa116265
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubPut.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub2",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "virtualHubParameters": {
+ "location": "West US",
+ "tags": {
+ "key1": "value1"
+ },
+ "properties": {
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "addressPrefix": "10.168.0.0/24"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "addressPrefix": "10.168.0.0/24"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "addressPrefix": "10.168.0.0/24"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubUpdateTags.json
new file mode 100644
index 000000000000..ec5eaecf0990
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualHubUpdateTags.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "virtualHubName": "virtualHub2",
+ "resourceGroupName": "rg1",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "virtualHubParameters": {
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "addressPrefix": "10.168.0.0/24"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2",
+ "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
+ "location": "West US",
+ "name": "virtualHub2",
+ "type": "Microsoft.Network/virtualHubs",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "virtualWan": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1"
+ },
+ "virtualNetworkConnections": [],
+ "addressPrefix": "10.168.0.0/24"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCheckIPAddressAvailability.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCheckIPAddressAvailability.json
new file mode 100644
index 000000000000..e55c250634f4
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCheckIPAddressAvailability.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "ipAddress": "10.0.1.4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "available": false,
+ "availableIPAddresses": [
+ "10.0.1.5",
+ "10.0.1.6",
+ "10.0.1.7",
+ "10.0.1.8",
+ "10.0.1.9"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreate.json
new file mode 100644
index 000000000000..5b74a3575264
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreate.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ }
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json
new file mode 100644
index 000000000000..cf3a1d4e311b
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json
@@ -0,0 +1,126 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "vnetTest",
+ "virtualNetworkName": "vnet1",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage"
+ }
+ ],
+ "serviceEndpointPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "location": "eastus2euap"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vnet1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus2euap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "ipConfigurations": [],
+ "resourceNavigationLinks": [],
+ "serviceEndpoints": [
+ {
+ "provisioningState": "Succeeded",
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ]
+ }
+ ],
+ "serviceEndpointPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "vnet1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus2euap",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "ipConfigurations": [],
+ "resourceNavigationLinks": [],
+ "serviceEndpoints": [
+ {
+ "provisioningState": "Succeeded",
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ]
+ }
+ ],
+ "serviceEndpointPolicies": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1"
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpoints.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpoints.json
new file mode 100644
index 000000000000..3e71ab1f4c9a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateServiceEndpoints.json
@@ -0,0 +1,111 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "vnetTest",
+ "virtualNetworkName": "vnet1",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "serviceEndpoints": [
+ {
+ "service": "Microsoft.Storage"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vnet1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "ipConfigurations": [],
+ "resourceNavigationLinks": [],
+ "serviceEndpoints": [
+ {
+ "provisioningState": "Succeeded",
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ]
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "vnet1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "id": "/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/16",
+ "ipConfigurations": [],
+ "resourceNavigationLinks": [],
+ "serviceEndpoints": [
+ {
+ "provisioningState": "Succeeded",
+ "service": "Microsoft.Storage",
+ "locations": [
+ "eastus2(stage)",
+ "usnorth(stage)"
+ ]
+ }
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnet.json
new file mode 100644
index 000000000000..29ff54dd6daf
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnet.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24"
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json
new file mode 100644
index 000000000000..6a915c182658
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-2",
+ "properties": {
+ "addressPrefixes": [
+ "10.0.0.0/28",
+ "10.0.1.0/28"
+ ]
+ }
+ }
+ ]
+ },
+ "location": "eastus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2",
+ "name": "test-2",
+ "properties": {
+ "addressPrefixes": [
+ "10.0.0.0/28",
+ "10.1.0.0/28"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2",
+ "name": "test-2",
+ "properties": {
+ "addressPrefixes": [
+ "10.0.0.0/28",
+ "10.0.1.0/28"
+ ],
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithDelegation.json
new file mode 100644
index 000000000000..3a996b62d1a5
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkCreateSubnetWithDelegation.json
@@ -0,0 +1,114 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subId",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet",
+ "parameters": {
+ "properties": {
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "properties": {
+ "serviceName": "Microsoft.Sql/managedInstances"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "location": "westcentralus"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Sql/managedInstances",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "test-vnet",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet",
+ "type": "Microsoft.Network/virtualNetworks",
+ "location": "westcentralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "addressSpace": {
+ "addressPrefixes": [
+ "10.0.0.0/16"
+ ]
+ },
+ "subnets": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1",
+ "name": "test-1",
+ "properties": {
+ "addressPrefix": "10.0.0.0/24",
+ "provisioningState": "Succeeded",
+ "delegations": [
+ {
+ "name": "myDelegation",
+ "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "serviceName": "Microsoft.Sql/managedInstances",
+ "actions": []
+ }
+ }
+ ],
+ "purpose": ""
+ }
+ }
+ ],
+ "virtualNetworkPeerings": []
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkDelete.json
new file mode 100644
index 000000000000..a9316b9bd589
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkName": "test-vnet"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionCreate.json
new file mode 100644
index 000000000000..9345d369fc68
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionCreate.json
@@ -0,0 +1,131 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "connS2S",
+ "parameters": {
+ "properties": {
+ "virtualNetworkGateway1": {
+ "properties": {
+ "ipConfigurations": [
+ {
+ "properties": {
+ "privateIPAllocationMethod": "Dynamic",
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ },
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ }
+ },
+ "name": "gwipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1"
+ }
+ ],
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 2
+ },
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ }
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "location": "centralus",
+ "tags": {}
+ },
+ "localNetworkGateway2": {
+ "properties": {
+ "localNetworkAddressSpace": {
+ "addressPrefixes": [
+ "10.1.0.0/16"
+ ]
+ },
+ "gatewayIpAddress": "x.x.x.x"
+ },
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "location": "centralus",
+ "tags": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "sharedKey": "Abc123",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": []
+ },
+ "location": "centralus"
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "connS2S",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Updating",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "sharedKey": "Abc123",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "connS2S",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Updating",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "sharedKey": "Abc123",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionDelete.json
new file mode 100644
index 000000000000..c12d6fa33d54
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "conn1"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGet.json
new file mode 100644
index 000000000000..c3c9f38110e6
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGet.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "connS2S"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "connS2S",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "sharedKey": "Abc123",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "connectionStatus": "Connecting",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json
new file mode 100644
index 000000000000..45e6bb7a0919
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "connS2S"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": "AzureAbc123"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json
new file mode 100644
index 000000000000..55891b3ca5b0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "conn1",
+ "parameters": {
+ "keyLength": 128
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "keyLength": 128
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json
new file mode 100644
index 000000000000..05e7e95e00d7
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "connS2S",
+ "parameters": {
+ "value": "AzureAbc123"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": "AzureAbc123"
+ }
+ },
+ "201": {
+ "body": {
+ "value": "AzureAbc123"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json
new file mode 100644
index 000000000000..ecee5fae2831
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayConnectionName": "test",
+ "parameters": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/test",
+ "type": "Microsoft.Network/connections",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "routingWeight": 0,
+ "sharedKey": "temp1234",
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "connectionStatus": "Unknown",
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionsList.json
new file mode 100644
index 000000000000..416447a6553c
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayConnectionsList.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "conn1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1",
+ "properties": {}
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv1",
+ "routingWeight": 0,
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ },
+ {
+ "name": "conn2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/connections",
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "virtualNetworkGateway1": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2",
+ "properties": {}
+ },
+ "localNetworkGateway2": {
+ "properties": {},
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2"
+ },
+ "connectionType": "IPsec",
+ "connectionProtocol": "IKEv2",
+ "routingWeight": 0,
+ "enableBgp": false,
+ "usePolicyBasedTrafficSelectors": false,
+ "ipsecPolicies": [],
+ "ingressBytesTransferred": 0,
+ "egressBytesTransferred": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayDelete.json
new file mode 100644
index 000000000000..5d9af33b3844
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json
new file mode 100644
index 000000000000..9ca488f9f4eb
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "parameters": {}
+ },
+ "responses": {
+ "200": {
+ "body": ""
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json
new file mode 100644
index 000000000000..6ade35eb9e57
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "parameters": {}
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGet.json
new file mode 100644
index 000000000000..75ecc7da9012
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGet.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "vpngw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "gwipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 0
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "vpnClientConfiguration": {
+ "vpnClientProtocols": [
+ "OpenVPN"
+ ],
+ "vpnClientRootCertificates": [],
+ "vpnClientRevokedCertificates": [],
+ "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1",
+ "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17",
+ "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/"
+ },
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json
new file mode 100644
index 000000000000..e24112a7f88a
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "peer": "test"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json
new file mode 100644
index 000000000000..e4a21a7b56ef
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
new file mode 100644
index 000000000000..0fe2a3baf8a2
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "saLifeTimeSeconds": 86473,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup2",
+ "pfsGroup": "PFS2"
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json
new file mode 100644
index 000000000000..3057f56047a8
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json
new file mode 100644
index 000000000000..ecd3ecd4949e
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "resourceGroupName": "p2s-vnet-test",
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "virtualNetworkGatewayName": "vpnp2sgw"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "vpnConnectionId": "IKEv2_1e1cfe59-5c7c-4315-a876-b11fbfdfeed4",
+ "vpnConnectionDuration": 900,
+ "vpnConnectionTime": "2019-05-02T22:26:22",
+ "publicIpAddress": "167.220.2.232:45522",
+ "privateIpAddress": "192.168.210.2",
+ "vpnUserName": "gwp2schildcert",
+ "maxBandwidth": 240000000,
+ "egressPacketsTransferred": 557,
+ "egressBytesTransferred": 33420,
+ "ingressPacketsTransferred": 557,
+ "ingressBytesTransferred": 33420,
+ "maxPacketsPerSecond": 4
+ },
+ {
+ "vpnConnectionId": "IKEv2_571cfe59-2c7d-1415-e813-c51fbfdfea16",
+ "vpnConnectionDuration": 800,
+ "vpnConnectionTime": "2019-05-01T21:06:12",
+ "publicIpAddress": "167.220.2.232:45213",
+ "privateIpAddress": "192.168.210.1",
+ "vpnUserName": "gwp2schildcert",
+ "maxBandwidth": 220000000,
+ "egressPacketsTransferred": 357,
+ "egressBytesTransferred": 23420,
+ "ingressPacketsTransferred": 357,
+ "ingressBytesTransferred": 23420,
+ "maxPacketsPerSecond": 4
+ }
+ ]
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayLearnedRoutes.json
new file mode 100644
index 000000000000..e4a21a7b56ef
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayLearnedRoutes.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayList.json
new file mode 100644
index 000000000000..644137ba8f00
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayList.json
@@ -0,0 +1,124 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "vpngw1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "loc1",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "default",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 2
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "vpnClientConfiguration": {
+ "vpnClientProtocols": [],
+ "vpnClientRootCertificates": [],
+ "vpnClientRevokedCertificates": []
+ },
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.0.0.14",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ },
+ {
+ "name": "vpngw2",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "loc2",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "default",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 2
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "vpnClientConfiguration": {
+ "vpnClientProtocols": [
+ "OpenVPN"
+ ],
+ "vpnClientRootCertificates": [],
+ "vpnClientRevokedCertificates": [],
+ "aadTenant": "https://login.microsoftonline.com/99163270-c9ab-4279-bb12-5353ed9bf6e1",
+ "aadAudience": "fd11706c-e78c-4828-8be7-ac7dcefd4b17",
+ "aadIssuer": "https://sts.windows.net/99163270-c9ab-4279-bb12-5353ed9bf6e1/"
+ },
+ "bgpSettings": {
+ "asn": 65515,
+ "bgpPeeringAddress": "10.1.0.46",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayReset.json
new file mode 100644
index 000000000000..5b3604e9d6bd
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayReset.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": {
+ "name": "vpngw",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "type": "Microsoft.Network/virtualNetworkGateways",
+ "location": "centralus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "resourceGuid": "00000000-0000-0000-0000-000000000000",
+ "ipConfigurations": [
+ {
+ "name": "gwipconfig1",
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1",
+ "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "privateIPAllocationMethod": "Dynamic",
+ "publicIPAddress": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip"
+ },
+ "subnet": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet"
+ }
+ }
+ }
+ ],
+ "sku": {
+ "name": "VpnGw1",
+ "tier": "VpnGw1",
+ "capacity": 0
+ },
+ "gatewayType": "Vpn",
+ "vpnType": "RouteBased",
+ "enableBgp": false,
+ "activeActive": false,
+ "bgpSettings": {
+ "asn": 65514,
+ "bgpPeeringAddress": "10.0.1.30",
+ "peerWeight": 0
+ },
+ "customRoutes": {
+ "addressPrefixes": [
+ "101.168.0.6/32"
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json
new file mode 100644
index 000000000000..57f686ee2dae
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "202": {},
+ "200": {}
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json
new file mode 100644
index 000000000000..852dbb68dae0
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw",
+ "vpnclientIpsecParams": {
+ "saLifeTimeSeconds": 86473,
+ "saDataSizeKilobytes": 429497,
+ "ipsecEncryption": "AES256",
+ "ipsecIntegrity": "SHA256",
+ "ikeEncryption": "AES256",
+ "ikeIntegrity": "SHA384",
+ "dhGroup": "DHGroup2",
+ "pfsGroup": "PFS2"
+ }
+ },
+ "responses": {
+ "202": {},
+ "200": {
+ "body": ""
+ }
+ }
+}
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json
new file mode 100644
index 000000000000..71c2500bff90
--- /dev/null
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "virtualNetworkGatewayName": "vpngw"
+ },
+ "responses": {
+ "200": {
+ "body": "